Arbitrary Function Generator: User Manual
Arbitrary Function Generator: User Manual
Arbitrary Function Generator: User Manual
AFG-2225
User Manual
GW INSTEK PART NO.82AF-22250EA1
Table of Contents
SAFETY INSTRUCTIONS .................................. 6
OPERATION ................................................... 54
Select a Waveform ............................................................. 55
MODULATION ............................................... 64
Amplitude Modulation (AM) ............................................. 66
Frequency Modulation (FM) .............................................. 75
Frequency Shift Keying (FSK) Modulation .......................... 84
Phase Modulation (PM) .................................................... 91
SUM modulation ............................................................. 100
Frequency Sweep ............................................................. 108
3
AFG-2225 User Manual
4
Table of Contents
5
AFG-2225 User Manual
SAFETY INSTRUCTIONS
This chapter contains important safety instructions
that should be followed when operating and
storing the function generator. Read the following
before any operation to ensure your safety and to
keep the function generator in the best condition.
Safety Symbols
These safety symbols may appear in this manual or on the
instrument.
6
SAFETY INSTRUCTIONS
Double Insulated
Safety Guidelines
7
AFG-2225 User Manual
8
SAFETY INSTRUCTIONS
9
AFG-2225 User Manual
10
GETTING STARTED
GETTING STARTED
The Getting started chapter introduces the
function generator’s main features, appearance, set
up procedure and power-up.
Main Features
Model name Frequency bandwidth
AFG-2225 25MHz
Performance DDS Function Generator series
1μHz high frequency resolution maintained at
full range
20ppm frequency stability
Arbitrary Waveform Capability
120 MSa/s sample rate
60 MSa/s repetition rate
4k-point waveform length
10 groups of 4k waveform memories
True waveform output to display
User-defined output section
DWR (Direct Waveform Reconstruction)
capability
Waveform editing via PC
Features Sine, Square, Ramp, Pulse, Noise, standard
waveforms
Internal and external LIN/LOG sweep with
marker output
11
AFG-2225 User Manual
12
GETTING STARTED
Panel Overview
Front Panel
/
Channel
select key
turn
Power
Number pad Operation keys Output key switch
13
AFG-2225 User Manual
Ω
14
GETTING STARTED
Decrease Increase
Keypad The digital keypad is used to enter
values and parameters. The keypad
is often used in conjunction with
the arrow keys and variable knob.
/
15
AFG-2225 User Manual
Rear Panel
rr
v
ost
z rr ountr
OUT
Trigger Counter
OUT
Trigger Counter
Fan Fan.
AC 100-240V
50-60Hz 25W MAX
16
GETTING STARTED
OUT
Trigger Counter
OUT
Trigger Counter
17
AFG-2225 User Manual
Display
18
GETTING STARTED
it.
/
turn
19
AFG-2225 User Manual
20
QUICK REFERENCE
QUICK REFERENCE
This chapter describes the operation shortcuts, built-in help and
factory default settings. This chapter is to be used as a quick
reference, for detailed explanations on parameters, settings and
limitations, please see the operation chapters.
21
AFG-2225 User Manual
Tracking ................................................................................ 43
Menu Tree ......................................................................... 44
Waveform ............................................................................. 44
ARB-Display.......................................................................... 45
ARB-Edit ............................................................................... 46
ARB- Built In ......................................................................... 46
ARB-Save .............................................................................. 47
ARB-Load.............................................................................. 47
ARB-Output .......................................................................... 48
MOD .................................................................................... 48
SWEEP .................................................................................. 49
SWEEP- More ....................................................................... 49
Burst- N Cycle ...................................................................... 50
Burst – Gate ......................................................................... 50
UTIL ...................................................................................... 51
CH1/CH2 ............................................................................. 51
22
QUICK REFERENCE
1. To select a menu
item, press the
corresponding
function keys below
(F1~F5). For example
the function key F1
corresponds to the
Soft key “Sine”.
23
AFG-2225 Series User Manual
/
24
APPENDIX
25
AFG-2225 Series User Manual
26
APPENDIX
Selecting a Waveform
Square Wave
+ %(F2).
Ramp Wave
(F4).
50 Ω
+%(F2).
27
AFG-2225 Series User Manual
Sine Wave
(F1).
50 Ω
28
APPENDIX
Modulation
AM
6. Press 1 + 0 + 0 + Hz z
(F2).
8. Press 8 + 0 + % (F1). %
29
AFG-2225 Series User Manual
FM
6. Press 1 + 0 + 0 + Hz z
(F2).
8. Press 1 + 0 + 0 + Hz z
(F3).
30
APPENDIX
FSK Modulation
5. Press 1 + 0 + Hz (F2). z
7. Press 1 + 0 + 0 + Hz z
(F3).
31
AFG-2225 Series User Manual
PM Modulation
(F3).
(F1).
32
APPENDIX
SUM Modulation
6. Press 1 + 0 + 0 + Hz z
(F2).
8. Press 5 + 0 + % (F1). %
33
AFG-2225 Series User Manual
Sweep
Example: Frequency Sweep. Start Frequency 10mHz, Stop frequency
1MHz. Log sweep, 1 second sweep, Marker Frequency 550 Hz,
Manual Trigger.
(F2).
34
APPENDIX
9. Press 5 + 5 + 0 + Hz z
(F3).
Burst
Example: Burst Mode, N-Cycle (Internally triggered), 1kHz burst
frequency, Burst count = 5, 10 ms Burst period, 0˚ burst phase,
Internal trigger, 10 us delay, rising edge trigger out
(F2).
35
AFG-2225 Series User Manual
(F2).
36
APPENDIX
ARB
ath lt
Math(F2), use the
50 Ω scroll wheel to select
Exporise and then
press Select(F5).
drss
(F1)
50 Ω
37
AFG-2225 Series User Manual
tart
(F1).
50 Ω
5 + 0, Enter (F2),
Return
Return.
1 + 0 + 0, Enter (F2),
ntr Return on
Return, Done (F5).
38
APPENDIX
0 + 0, Enter (F2),
ntr Return
Return.
39
AFG-2225 Series User Manual
Utility Menu
Save
2. Choose a setting
using the scroll wheel on
Recall
2. Choose a setting
using the scroll wheel on
40
APPENDIX
Frequency Counter
Frequency Counter
41
AFG-2225 Series User Manual
Coupling
Frequency Coupling
Amplitude Coupling
42
APPENDIX
Tracking
Example: Tracking
ON (F2) to turn on
the tracking function.
43
AFG-2225 Series User Manual
Menu Tree
Waveform
Waveform
44
APPENDIX
ARB-Display
Display
Start Low
Clear Clear
Enter Enter
Length High
Clear Clear
Enter Enter
Center Center
Clear Clear
Enter Enter
Zoom in Zoom in
Zoom out Zoom out
45
AFG-2225 Series User Manual
ARB-Edit
Edit
ARB- Built In
Built in
46
APPENDIX
ARB-Save
More
Save
ARB-Load
More
Load
47
AFG-2225 Series User Manual
ARB-Output
Output
Start Length
Clear Clear
Enter Enter
MOD
AM FM FSK PM SUM
48
APPENDIX
SWEEP
SWEEP- More
wp
More
49
AFG-2225 Series User Manual
Burst- N Cycle
urst
N Cycle
Burst – Gate
urst
Gate
Polarity Phase
Pos Clear
Neg Degree
50
APPENDIX
UTIL
CH1/CH2
CH1/CH2
51
AFG-2225 Series User Manual
Default Settings
The Preset key is used to restore the default panel rst
settings.
Modulation
(AM/FM/FSK/
PM/SUM) Carrier wave 1kHz sine wave
Modulation wave 100Hz sine wave
AM depth 100%
FM deviation 100Hz
FSK hop frequency 100Hz
FSK frequency 10Hz
PM phase deviation 180˚
SUM amplitude 50%
Modem status Off
52
APPENDIX
53
AFG-2225 Series User Manual
OPERATION
The Operation chapter shows how to output basic waveform
functions. For details on modulation, sweep, burst and arbitrary
waveforms, please see the Modulation and Arbitrary waveform
chapters on pages 64 and 147.
54
APPENDIX
Select a Waveform
The AFG-2225 can output 5 standard waveforms: sine, square, pulse,
ramp and noise.
Sine Wave
55
AFG-2225 Series User Manual
Square Wave
/
56
APPENDIX
/
57
AFG-2225 Series User Manual
~
58
APPENDIX
/
59
AFG-2225 Series User Manual
the frequency.
/
~ z
60
APPENDIX
61
AFG-2225 Series User Manual
the amplitude.
/
~
62
APPENDIX
the DC Offset.
/
63
AFG-2225 Series User Manual
MODULATION
The AFG-2225 Series Arbitrary Function Generators are able to
produce AM, FM, FSK, PM and SUM modulated waveforms.
Depending on the type of waveform produced, different modulation
parameters can be set. Only one modulation mode can be active at
any one time. The function generator also will not allow sweep or
burst mode to be used with AM/FM. Activating a modulation mode
will turn the previous modulation mode off.
64
APPENDIX
65
AFG-2225 Series User Manual
66
APPENDIX
Selecting AM Modulation
2. Press F1 (AM).
AM Carrier Shape
Carrier Shape
~ amp
67
AFG-2225 Series User Manual
Carrier Frequency
The maximum carrier frequency depends on the carrier shape
selected. The default carrier frequency for all carrier shapes is 1kHz.
/
68
APPENDIX
~ z
2. Press F1 (AM).
~ namp
69
AFG-2225 Series User Manual
AM Frequency
The frequency of the modulation waveform (AM Frequency) can be
set from 2mHz to 20kHz.
2. Press F1 (AM).
70
APPENDIX
the AM frequency.
/
~ kz
71
AFG-2225 Series User Manual
Modulation Depth
Modulation depth is the ratio (as a percentage) of the unmodulated
carrier amplitude and the minimum amplitude deviation of the
modulated waveform. In other words, modulation depth is the
maximum amplitude of the modulated waveform compared to the
carrier waveform as a percentage.
2. Press F1 (AM).
the AM depth.
/
72
APPENDIX
2. Press F1 (AM).
Trigger Counter
73
AFG-2225 Series User Manual
74
APPENDIX
75
AFG-2225 Series User Manual
2. Press F2 (FM).
FMCarrier Shape
~ amp
76
APPENDIX
FM Carrier Frequency
When using the AFG-2225 function generator, the carrier frequency
must be equal to or greater than the frequency deviation. If the
frequency deviation is set to value greater than the carrier frequency,
the deviation is set to the maximum allowed. The maximum
frequency of the carrier wave depends on the waveform shape
chosen.
/
~ z
77
AFG-2225 Series User Manual
Sine 1μHz~25MH
Square 1μHz~15MHz
Ramp 1μHz~1MHz
Default frequency 1kHz
FM Wave Shape
The function generator can accept internal as well as external
sources. The AFG-2225 has sine, square, triangle, positive and
negative ramps (UpRamp, DnRamp) as the internal modulating
waveform shapes. Sine is the default wave shape.
2. Press F2 (FM).
~ namp
78
APPENDIX
FM Frequency
The frequency of the modulation waveform (FM Frequency) can be
set from 2mHz to 20kHz.
2. Press F2 (FM).
79
AFG-2225 Series User Manual
the FM frequency.
/
~ kz
80
APPENDIX
Frequency Deviation
The frequency deviation is the peak frequency deviation from the
carrier wave and the modulated wave.
2. Press F2 (FM).
/
~ z
81
AFG-2225 Series User Manual
2. Press F2 (FM).
Trigger Counter
82
APPENDIX
83
AFG-2225 Series User Manual
84
APPENDIX
~ amp
85
AFG-2225 Series User Manual
/
~ z
86
APPENDIX
/
87
AFG-2225 Series User Manual
~ z
FSK Rate
FSK Rate function is used to determine rate at which the output
frequency changes between the carrier and hop frequencies. The
FSK Rate function only applies to internal FSK sources.
88
APPENDIX
/
~ kz
89
AFG-2225 Series User Manual
FSK Source
4. Press F1 (Internal) or F2
(External) to select the FSK
~
source.
90
APPENDIX
91
AFG-2225 Series User Manual
2. Press F4 (PM).
92
APPENDIX
PM Carrier Waveform
~ amp
PM Carrier Frequency
Selects the maxium carrier frequency for the carrier wavefrom. The
default carrier frequency is 1kHz.
/
93
AFG-2225 Series User Manual
~ z
PM Wave Shape
The function generator can accept internal or external sources. The
internal sources can include sine, square, triangle, up ramp and
down ramp. The default wave shape is sine.
2. Press F4 (PM).
~ namp
94
APPENDIX
PM Frequency
The frequency of the modulation waveform (PM Frequency) can be
set from 2mHz to 20kHz.
2. Press F4 (PM).
95
AFG-2225 Series User Manual
the PM frequency.
/
~ kz
96
APPENDIX
Phase Deviation
The maximum phase deviation depends on the the carrier wave
frequency and the modulated waveform.
2. Press F4 (PM).
/
97
AFG-2225 Series User Manual
2. Press F4 (PM).
Trigger Counter
98
APPENDIX
99
AFG-2225 Series User Manual
SUM modulation
Sum modulation adds a modulating signal to a carrier wave.
Typically, sum modulation is used to add noise to a carrier wave.
The modulating signal is added as a percentage of the carrier
amplitude.
If SUM is enabled, any other modulation mode will be disabled.
Likewise, burst and sweep modes cannot be used with SUM and
will be disabled when SUM is enabled.
100
APPENDIX
Background
The SUM carrier waveform is a sinewave by
default.
~ os
101
AFG-2225 Series User Manual
the frequency.
/
~ z
102
APPENDIX
SUM Waveform
The function generator can accept internal and external sources. The
AFG-2225 includes sine, square, triangle, UpRamp and DnRamp as
internal sources. The default waveform is sine.
~ namp
103
AFG-2225 Series User Manual
/
~ kz
104
APPENDIX
SUM Amplitude
The SUM amplitude is the offset (in percent relative to the carrier) of
the signal that is added to the carrier.
/
105
AFG-2225 Series User Manual
Trigger Counter
106
APPENDIX
107
AFG-2225 Series User Manual
Frequency Sweep
The function generator can perform a sweep for sine, square or ramp
waveforms, but not noise, and pulse. When Sweep mode is enabled,
Burst or any other modulation modes will be disabled. When sweep
is enabled, burst mode is automatically disabled.
108
APPENDIX
~ top
frequency.
109
AFG-2225 Series User Manual
Stop
/
~ z
110
APPENDIX
~ ntr
Center
/
~ z
111
AFG-2225 Series User Manual
112
APPENDIX
Sweep Mode
Sweep mode is used to select between linear or logarithmic
sweeping. Linear sweeping is the default setting.
~ o
(Log).
113
AFG-2225 Series User Manual
Sweep Time
The sweep time is used to determine how long it takes to perform a
sweep from the start to stop frequencies. The function generator
automatically determines the number of discrete frequencies used in
the scan depending on the length of the scan.
/
114
APPENDIX
~
Marker Frequency
The marker frequency is the frequency at which the marker signal goes low
/high(The marker signal is high/low at the start of each sweep). The marker
signal is output from the Trigger OUT terminal on the rear panel. The
default is 550 Hz.
115
AFG-2225 Series User Manual
the frequency.
/
~ z
116
APPENDIX
generator outputs the start frequency and waits for a trigger signal
before completing the sweep. The default trigger source is internal.
~ anual
(External) or F3 (Manual).
117
AFG-2225 Series User Manual
Burst Mode
The function generator can create a waveform burst with a
designated number of cycles. Burst mode supports sine, square ,ARB
and ramp waveforms.
118
APPENDIX
Burst Modes
Burst mode can be configured using Triggered (N Cycle mode) or
Gated mode. Using N Cycle/Triggered mode, each time the function
generator receives a trigger, the function generator will output a
specified number of waveform cycles (burst). After the burst, the
function generator will wait for the next trigger before outputting
another burst. N Cycle is the default Burst mode. Triggered mode
can use internal or external triggers.
The alternative to using a specified number of cycles, Gated mode
uses the external trigger to turn on or off the output. When the
Trigger INPUT signal is high, waveforms are continuously output.
When the Trigger INPUT signal goes low, the waveforms will stop
being output after the last waveform completes its period. The
voltage level of the output will remain equal to the starting phase of
the burst waveforms, ready for the signal to go high again.
Burst Mode Burst Count Burst Period Phase Trigger
Source
Triggered (Int) Available Available Available Immediate
Triggered (Ext) Available Not used Available EXT, Bus
Gated pulse (Ext) Not used Not used Available Unused
119
AFG-2225 Series User Manual
In Gated mode, burst count, burst cycle and trigger source are
ignored. If a trigger is input, then the trigger will be ignored and will
not generate any errors.
~ at
Burst Frequency
In the N Cycle and Gated modes, the waveform frequency sets the
repetition rate of the burst waveforms. In N-Cycle mode, the burst is
output at the waveform frequency for the number of cycles set. In
Gated mode the waveform frequency is output while the trigger is
high. Burst mode supports sine, square ,ARB or ramp waveforms.
the frequency.
/
~ z
120
APPENDIX
121
AFG-2225 Series User Manual
/
122
APPENDIX
Burst Period
The burst period is used to determine the time between the start of
one burst and the start of the next burst. It is only used for internally
triggered bursts.
123
AFG-2225 Series User Manual
period time.
/
~
124
APPENDIX
Burst Phase
Burst Phase defines the starting phase of the burst waveform. The
default is 0˚.
the phase.
/
125
AFG-2225 Series User Manual
~ anual
or F3 (Manual).
126
APPENDIX
127
AFG-2225 Series User Manual
Burst Delay
/
~
128
APPENDIX
~ all
129
AFG-2225 Series User Manual
130
APPENDIX
SECONDARY SYSTEM
FUNCTION SETTINGS
The secondary system functions are used to store and recall settings,
view help files, view the software version, update the firmware, set
the buzzer.
131
AFG-2225 Series User Manual
132
APPENDIX
Time Shape
Start frequency Phase deviation
Stop frequency Frequency
Center frequency Burst Type
Span frequency Source
Marker frequency Trigger out
Type
Cycles
Phase
Period
Delay
133
AFG-2225 Series User Manual
134
APPENDIX
135
AFG-2225 Series User Manual
136
APPENDIX
~
Frequency Counter
Input:
Trigger MOD 2. Press F1 (Gate Time), and atm
IN
press F3 (1 Sec) to choose a
gate time of 1 second.
137
AFG-2225 Series User Manual
Frequency Coupling
Offset=CH2-CH1
Ratio=CH2/CH1
138
APPENDIX
~ z
units.
139
AFG-2225 Series User Manual
Amplitude Coupling
Tracking
Example: Tracking
140
APPENDIX
141
AFG-2225 Series User Manual
S_Phase
Example: S_phase
142
APPENDIX
CHANNEL SETTINGS
The channel settings chapter shows how to set the output
impedance, output phase and DSO connection settings.
Output Impedance
Note The load function can only be used if the ARB, MOD,
SWEEP or BURST functions are not active.
143
AFG-2225 Series User Manual
~ h
impedance.
144
APPENDIX
/
145
AFG-2225 Series User Manual
DSO Link
~
(CH3) or F5 (CH4). The
acquired data can then be
displayed.
146
APPENDIX
ARBITRARY WAVEFORMS
The AFG-2225 can create user-defined arbitrary waveforms with a
sample rate of 120MHz. Each waveform can include up to 4k of data
points with a vertical range of ±511.
147
AFG-2225 Series User Manual
148
APPENDIX
149
AFG-2225 Series User Manual
/
150
APPENDIX
151
AFG-2225 Series User Manual
/
Setting the High 10. Repeat steps 4~9 for V_High h
Point (F2).
152
APPENDIX
Setting the Center 11. Repeat steps 4~9 for Center ntr
Point (F3).
153
AFG-2225 Series User Manual
H_From: 200 0
Length: 200
Center:300 100
154
APPENDIX
155
AFG-2225 Series User Manual
H_From*=H_From + Length
Center=Center + Length
*H_From +Length ≤ 4096
H_From: 0 200
Length: 200
Center:100 300
156
APPENDIX
157
AFG-2225 Series User Manual
Display
Horizontal: 0~4095
Vertical: 511~ -511
158
APPENDIX
/
159
AFG-2225 Series User Manual
/
160
APPENDIX
/
161
AFG-2225 Series User Manual
Copy a Waveform
162
APPENDIX
/
163
AFG-2225 Series User Manual
/
164
APPENDIX
165
AFG-2225 Series User Manual
ARB Protection
The protection function designates an area of the arbitrary
waveform that cannot be altered.
166
APPENDIX
/
167
AFG-2225 Series User Manual
168
APPENDIX
/
169
AFG-2225 Series User Manual
170
APPENDIX
/
171
AFG-2225 Series User Manual
Memory0~Memory9
172
APPENDIX
/
173
AFG-2225 Series User Manual
New Folder:
NEW_FOL
A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z
1 2 3 4 5 6 7 8 9 0 _ -
~ akspa
name.
New File(CSV):
NEW_FIL
A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z
1 2 3 4 5 6 7 8 9 0 _ -
174
APPENDIX
~ akspa
name.
175
AFG-2225 Series User Manual
/
176
APPENDIX
177
AFG-2225 Series User Manual
/
178
APPENDIX
179
AFG-2225 Series User Manual
REMOTE INTERFACE
Establishing a Remote Connection .................................. 181
Configure USB interface .................................................... 181
Remote control terminal connection................................. 182
Command Syntax ............................................................... 184
180
APPENDIX
181
AFG-2225 Series User Manual
182
APPENDIX
183
AFG-2225 Series User Manual
Command Syntax
184
APPENDIX
185
AFG-2225 Series User Manual
186
APPENDIX
187
AFG-2225 Series User Manual
For example:
SOURce[1|2]:DCOffset?
SOURce[1|2]:OUTPut?
SOURce1:DCOffset?;OUTPut?
Colon + A colon and semicolon can be
Semicolon (:;) used to combine commands from
different node levels.
For example:
SOURce1:PM:SOURce?
SOURce:PULSe:WIDTh?
SOURce1:PM:SOURce?:;SOURce:
PULSe:WIDTh?
Comma (,) When a command uses multiple
parameters, a comma is used to
separate the parameters.
For example:
SOURce:APPLy:SQUare 10KHZ, 2.0
VPP, -1V
188
APPENDIX
Command List
System Commands .......................................................... 193
SYSTem:ERRor? ................................................................. 193
*IDN? ................................................................................. 193
*RST ................................................................................... 194
SYSTem:VERSion?.............................................................. 194
*OPC .................................................................................. 194
*OPC? ................................................................................. 195
*WAI ................................................................................... 195
Status Register Commands ............................................. 196
*CLS.................................................................................... 196
*ESE .................................................................................... 196
*ESR? .................................................................................. 197
*STB? .................................................................................. 197
*SRE ................................................................................... 198
System Remote Commands ............................................. 199
SYSTem:LOCal ................................................................... 199
SYSTem:REMote ................................................................ 199
DISPlay ON/OFF............................................................... 199
Apply Commands ............................................................ 200
SOURce[1|2]:APPLy:SINusoid ............................................ 202
SOURce[1|2]:APPLy:SQUare .............................................. 202
SOURce[1|2]:APPLy:RAMP ................................................. 203
SOURce[1|2]:APPLy:PULSe ................................................ 203
SOURce[1|2]:APPLy:NOISe ................................................ 204
SOURce[1|2]:APPLy:USER .................................................. 204
SOURce[1|2]:APPLy? .......................................................... 205
Output Commands .......................................................... 206
SOURce[1|2]:FUNCtion ...................................................... 206
SOURce[1|2]:FREQuency ................................................... 207
SOURce[1|2]:AMPlitude ..................................................... 209
SOURce[1|2]:DCOffset ....................................................... 210
SOURce[1|2]:SQUare:DCYCle ............................................ 211
SOURce[1|2]:RAMP:SYMMetry .......................................... 212
OUTPut[1|2] ........................................................................ 213
OUTPut[1|2]:LOAD............................................................. 213
SOURce[1|2]:VOLTage:UNIT ............................................. 214
Pulse Configuration Commands ...................................... 216
SOURce[1|2]:PULSe:PERiod ............................................... 216
SOURce[1|2]:PULSe:WIDTh ............................................... 217
Amplitude Modulation (AM) Commands ......................... 218
AM Overview ...................................................................... 218
189
AFG-2225 Series User Manual
190
APPENDIX
191
AFG-2225 Series User Manual
192
APPENDIX
System Commands
Description Reads an error from the error queue. See page 286
for details regarding the error queue.
Query Syntax SYSTem:ERRor?
Return parameter <string> Returns an error string,
<256 ASCII characters.
Example SYSTem:ERRor?
-138 Suffix not allowed
Returns an error string.
193
AFG-2225 Series User Manual
194
APPENDIX
Description Returns the OPC bit to the output buffer when all
pending operations have completed. I.e. when the
OPC bit is set.
Note Commands cannot be executed until the *OPC?
query has completed.
Query Syntax *OPC?
Return parameter 1
Example *OPC?
1
Returns a “1” when all pending operations are
complete.
195
AFG-2225 Series User Manual
Example *ESE 20
Sets a bit weight of 20 (bits 2 and 4).
Query Syntax *ESE?
Return Parameter Bit Register Bit Register
0 Not used 4 Message Available
1 Not used 5 Standard Event
2 Error Queue 6 Master Summary
3 Questionable 7 Not used
Data
196
APPENDIX
Example *ESE?
4
Bit 2 is set.
197
AFG-2225 Series User Manual
Example *SRE 12
Sets a bit weight of 12 (bits 2 and 3) for the service
request enable register.
Query Syntax *SRE?
Return Parameter Bit Register Bit Register
0 Not used 4 Message Available
1 Not used 5 Standard Event
2 Error Queue 6 Master Summary
3 Questionable 7 Not used
Data
Query Example *SRE?
12
Returns the bit weight of the status byte enable
register.
198
APPENDIX
Description Disables the front panel keys and puts the function
generator into remote mode
Syntax SYSTem:REMote
Example SYST:REM
199
AFG-2225 Series User Manual
Apply Commands
As only basic parameters can be set with the Apply command, other
parameters use the instrument default values.
The Apply command will set the trigger source to immediate and
disable burst, modulation and sweep modes. Turns on the output
commandOUTPut[1|2] ON. The termination setting will not be
changed.
200
APPENDIX
201
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:APPLy:SINusoid Command
Source Specific
SOURce[1|2]:APPLy:SQUare Command
202
APPENDIX
Source Specific
SOURce[1|2]:APPLy:RAMP Command
Source Specific
SOURce[1|2]:APPLy:PULSe Command
203
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:APPLy:NOISe Command
Source Specific
SOURce[1|2]:APPLy:USER Command
204
APPENDIX
Source Specific
SOURce[1|2]:APPLy? Command
205
AFG-2225 Series User Manual
Output Commands
Unlike the Apply commands, the Output commands are low level
commands to program the function generator.
This section describes the low-level commands used to program the
function generator. Although the APPLy command provides the
most straightforward method to program the function generator, the
low-level commands give you more flexibility to change individual
parameters.
Source Specific
SOURce[1|2]:FUNCtion Command
206
APPENDIX
Source Specific
SOURce[1|2]:FREQuency Command
207
AFG-2225 Series User Manual
208
APPENDIX
Source Specific
SOURce[1|2]:AMPlitude Command
209
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:DCOffset Command
210
APPENDIX
Source Specific
SOURce[1|2]:SQUare:DCYCle Command
211
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:RAMP:SYMMetry Command
212
APPENDIX
Source Specific
OUTPut[1|2] Command
Source Specific
OUTPut[1|2]:LOAD Command
213
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:VOLTage:UNIT Command
214
APPENDIX
DBM dBm
Example SOUR1:VOLT:UNIT?
VPP
The amplitude units are set to Vpp.
215
AFG-2225 Series User Manual
10% 10%
Source Specific
SOURce[1|2]:PULSe:PERiod Command
216
APPENDIX
Example SOUR1:PULS:PER?
+1.0000E+01
The period is set to 10 seconds.
Source Specific
SOURce[1|2]:PULSe:WIDTh Command
217
AFG-2225 Series User Manual
AM Overview
218
APPENDIX
Source Specific
SOURce[1|2]:AM:STATe Command
Source Specific
SOURce[1|2]:AM:SOURce Command
219
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:AM:INTernal:FUNCtion Command
220
APPENDIX
Source Specific
SOURce[1|2]:AM:INTernal:FREQuency Command
Source Specific
SOURce[1|2]:AM:DEPTh Command
221
AFG-2225 Series User Manual
222
APPENDIX
FM Overview
223
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:FM:STATe Command
Source Specific
SOURce[1|2]:FM:SOURce Command
224
APPENDIX
Source Specific
SOURce[1|2]:FM:INTernal:FUNCtion Command
225
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:FM:INTernal:FREQuency Command
Source Specific
SOURce[1|2]:FM:DEViation Command
226
APPENDIX
227
AFG-2225 Series User Manual
FSK Overview
The following is an overview of the steps required to generate an
FSK modulated waveform.
Source Specific
SOURce[1|2]:FSKey:STATe Command
228
APPENDIX
Source Specific
SOURce[1|2]:FSKey:SOURce Command
Source Specific
SOURce[1|2]:FSKey:FREQuency Command
229
AFG-2225 Series User Manual
Syntax SOURce[1|2]:FSKey:FREQuency
{<frequency>|MINimum|MAXimum}
Parameter <frequency> 1 μHz~25MHz(sine)
1 μHz~15MHz(Square、
Pulse)
1 μHz~1MHz(Ramp)
Example SOUR1:FSK:FREQ +1.0000E+02
Sets the FSK hop frequency to to 100Hz.
Query Syntax SOURce[1|2]:FSKey:FREQuency?
[MINimum|MAXimum]
Return Parameter <NR3> Returns the frequency in
Hz.
Example SOUR1:FSK:FREQ? MAX
+2.5000E+06
Returns the maximum hop frequency allowed.
Source Specific
SOURce[1|2]:FSKey:INTernal:RATE Command
230
APPENDIX
231
AFG-2225 Series User Manual
PM Overview
232
APPENDIX
Source Specific
SOURce[1|2]:PM:STATe Command
Source Specific
SOURce[1|2]:PM:SOURce Command
233
AFG-2225 Series User Manual
Example SOUR1:PM:SOUR?
INT
The PM source is set to internal.
Source Specific
SOURce[1|2]:PM:INTernal:FUNction Command
Source Specific
SOURce[1|2]:PM:INTernal:FREQuency Command
234
APPENDIX
Source Specific
SOURce[1|2]:PM:DEViation Command
235
AFG-2225 Series User Manual
SUM Overview
236
APPENDIX
Source Specific
SOURce[1|2]:SUM:STATe Command
Source Specific
SOURce[1|2]:SUM:SOURce Command
237
AFG-2225 Series User Manual
EXT External
Example SOUR1:SUM:SOUR?
INT
The SUM source is set to internal.
Source Specific
SOURce[1|2]:SUM:INTernal:FUNction Command
Source Specific
SOURce[1|2]:SUM:INTernal:FREQuency Command
238
APPENDIX
Source Specific
SOURce[1|2]:SUM:AMPL Command
239
AFG-2225 Series User Manual
Sweep Overview
240
APPENDIX
Source Specific
SOURce[1|2]:SWEep:STATe Command
241
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:FREQuency:STARt Command
Source Specific
SOURce[1|2]:FREQuency:STOP Command
242
APPENDIX
Source Specific
SOURce[1|2]:FREQuency:CENTer Command
243
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:FREQuency:SPAN Command
244
APPENDIX
Source Specific
SOURce[1|2]:SWEep:SPACing Command
Source Specific
SOURce[1|2]:SWEep:TIME Command
245
AFG-2225 Series User Manual
Example SOUR1:SWE:TIME?
+2.0000E+01
Returns the sweep time (20 seconds).
Source Specific
SOURce[1|2]:SWEep:SOURce Command
246
APPENDIX
Source Specific
SOURce[1|2]:MARKer:FREQuency Command
Source Specific
SOURce[1|2]:MARKer Command
247
AFG-2225 Series User Manual
248
APPENDIX
Only one burst mode can be used at any one time. The burst mode
depends on the source of the trigger (internal, external, manual) and
the source of the burst.
Function
Burst Mode & Source N Cycle* Cycle Phase
Triggered – IMMediate, BUS Available Available Available
Triggered - EXTernal, MANual Available Unused Available
Gated pulse - IMMediate Unused Unused Available
*burst count
249
AFG-2225 Series User Manual
250
APPENDIX
Source Specific
SOURce[1|2]:BURSt:STATe Command
Source Specific
SOURce[1|2]:BURSt:MODE Command
251
AFG-2225 Series User Manual
Example SOUR1:BURS:MODE?
TRIG
The current burst mode is triggered.
Source Specific
SOURce[1|2]:BURSt:NCYCles Command
252
APPENDIX
Example SOUR1:BURS:NCYC?
+1.0000E+02
The burst cycles are set to 100.
Source Specific
SOURce[1|2]:BURSt:INTernal:PERiod Command
253
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:BURSt:PHASe Command
Description Sets or queries the starting phase for the burst. The
default phase is 0 degrees. At 0 degrees, sine
square and ramp waveforms are at 0 volts.
In gated burst mode, waveforms are continuously
output (burst) when the Trig signal is true. The
voltage level at the starting phase is used to
determine the voltage level of the signal in-
between bursts.
Note The phase command is not used with pulse
waveforms.
Syntax SOURce[1|2]:BURSt:PHASe
{<angle>|MINimum|MAXimum}
Parameter <angle> -360 ~ 360 degrees
Example SOUR1:BURS:PHAS MAX
Sets the phase to 360 degrees.
Query Syntax SOURce[1|2]:BURSt:PHASe? [MINimum|MAXimum]
Return Parameter <NR3> Returns the phase angle in degrees.
Example SOUR1:BURS:PHAS?
+1.2000E+02
The burst phase is 120 degrees.
Source Specific
SOURce[1|2]:BURSt:TRIGger:SOURce Command
254
APPENDIX
Source Specific
SOURce[1|2]:BURSt:TRIGger:DELay Command
255
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:BURSt:TRIGger:SLOPe Command
256
APPENDIX
Source Specific
SOURce[1|2]:BURSt:TRIGger:MANual Command
Source Specific
SOURce[1|2]:BURSt:GATE:POLarity Command
257
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:BURSt:OUTPut:TRIGger:SLOPe Command
Description Sets or queries the trigger edge of the trigger
output signal. The signal is output from the trigger
out terminal on the rear panel. The default trigger
output slope is positive.
Immediate 50% duty cycle square wave is
output at the start of each burst.
External Trigger output disabled.
Gated mode Trigger output disabled.
Manual A >1 ms pulse is output at the
start of each burst.
Syntax SOURce[1|2]:BURSt:OUTPut:TRIGger:SLOPe
{POSitive|NEGative}
Parameter POSitive Rising edge.
NEGative Falling edge.
Example SOUR1:BURS:OUTP:TRIG:SLOP POS
Sets the trigger output signal slope to positive
(rising edge).
Query Syntax SOURce[1|2]:BURSt:OUTPut:TRIGger:SLOPe?
Return Parameter POS Rising edge.
NEG Falling edge.
Example SOUR1:BURS:OUTP:TRIG:SLOP?
POS
The trigger output signal slope to positive.
258
APPENDIX
Source Specific
OUTPut[1|2]:TRIGger Command
259
AFG-2225 Series User Manual
Rate = Hz × # points
Range: Rate: 120MHz
Frequency: 60MHz
# points: 1~4096
260
APPENDIX
Source Specific
SOURce[1|2]:FUNCtion USER Command
Source Specific
SOURce[1|2]:DATA:DAC Command
261
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:ARB:EDIT:COPY Command
262
APPENDIX
Source Specific
SOURce[1|2]:ARB:EDIT:DELete Command
Source Specific
SOURce[1|2]:ARB:EDIT:DELete:ALL Command
Source Specific
SOURce[1|2]:ARB:EDIT:POINt Command
263
AFG-2225 Series User Manual
Source Specific
SOURce[1|2]:ARB:EDIT:LINE Command
Source Specific
SOURce[1|2]:ARB:EDIT:PROTect Command
264
APPENDIX
Source Specific
SOURce[1|2]:ARB:EDIT:PROTect:ALL Command
Source Specific
SOURce[1|2]:ARB:EDIT:UNProtect Command
Source Specific
SOURce[1|2]:ARB:OUTPut Command
265
AFG-2225 Series User Manual
COUNTER
The frequency counter function can be turned on remotely to control
the frequency counter.
Instrument
COUNTER:STATE Command
Instrument
COUNter:GATe Command
266
APPENDIX
Instrument
COUNter:VALue? Command
PHASE
The phase command remotely controls the phase and channel
synchronization.
Instrument
SOURce[1|2]:PHASe Command
267
AFG-2225 Series User Manual
Instrument
SOURce[1|2]:PHASe:SYNChronize Command
COUPLE
The Couple commands can be used to remotely set the frequency
coupling and amplitude coupling.
Instrument
SOURce[1|2]:FREQuency:COUPle:MODE Command
268
APPENDIX
Instrument
SOURce[1|2]:FREQuency:COUPle:OFFSet Command
Instrument
SOURce[1|2]:FREQuency:COUPle:RATio Command
Instrument
SOURce[1|2]:AMPlitude:COUPle:STATe Command
269
AFG-2225 Series User Manual
Example SOURce1:AMPlitude:COUPle:STATe on
Description Turns amplitude coupling on.
Query Syntax SOURce[1|2]:AMPlitude:COUPle:STATe?
Return Parameter 1 ON
0 Off
Example SOURce1:AMPlitude:COUPle:STATe?
1
Amplitude coupling has been enabled.
Instrument
SOURce[1|2]:TRACk Command
270
APPENDIX
Instrument
*SAV Command
Instrument
*RCL Command
Instrument
MEMory:STATe:DELete Command
271
AFG-2225 Series User Manual
Instrument
MEMory:STATe:DELete ALL Command
272
APPENDIX
Error Messages
The AFG-2225 has a number of specific error codes. Use the
SYSTem:ERRor command to recall the error codes. For more
information regarding the error queue.
273
AFG-2225 Series User Manual
274
APPENDIX
Execution Errors
275
AFG-2225 Series User Manual
276
APPENDIX
277
AFG-2225 Series User Manual
278
APPENDIX
Query Errors
279
AFG-2225 Series User Manual
280
APPENDIX
Register types
281
AFG-2225 Series User Manual
Condition Enable
Output Buffer 0 <1>
1 <2>
1
2 <4>
3 <8> OR
4 <16> +
5 <32>
6
20
7 <128>
bit weight
Summary Bit (RQS)
Standard Event Register
Event Enable
0 Operation Complete 0 <1>
1 1 <2>
2 Query Error 2 <4>
3 Device Error 3 <8>
4 Execution Error 4 <16> + OR
5 Command Error 5 <32>
6 6 <64>
7 Power On 7 <128>
bit weight
282
APPENDIX
283
AFG-2225 Series User Manual
284
APPENDIX
285
AFG-2225 Series User Manual
Output Queue
Error Queue
286
APPENDIX
APPENDIX
AFG-2225 Specifications
The specifications apply when the function generator is powered on
for at least 30 minutes under +18°C~+28°C.
AFG-2225 models CH1 CH2
Waveforms Sine, Square, Ramp, Pulse, Noise, ARB
Arbitrary Functions(1)
Sample Rate 120 MSa/s
Repetition Rate 60MHz
Waveform Length 4k points
Amplitude 10 bits
Resolution
Non-Volatile 4k points
Memory
Frequency Characteristics
Range Sine 1uHz~25MHz
Square 1uHz~25MHz
Ramp 1MHz
Resolution 1uHz
Accuracy Stability ±20 ppm
Aging ±1 ppm, per 1 year
Tolerance ≤1 mHz
Output Characteristics
Amplitude Range 1mVpp to 10 Vpp (into 50Ω)
2mVpp to 20 Vpp (open-circuit)
1mVpp to 5 Vpp (into 50Ω) for 20MHz-
25MHz
2mVpp to 10 Vpp (open-circuit) for 20MHz-
25MHz
Accuracy ±2% of setting ±1 mVpp
(at 1 kHz)
Resolution 1mV or 3 digits
Flatness ±1% (0.1dB) ≤100kHz
±3% (0.3 dB) ≤5MHz
±5% (0.4 dB) ≤12MHz
±10%(0.9dB) ≤25MHz
(sine wave relative to 1kHz)
Units Vpp, Vrms, dBm
287
AFG-2225 Series User Manual
288
APPENDIX
289
AFG-2225 Series User Manual
290
APPENDIX
291
AFG-2225 Series User Manual
EC Declaration of Conformity
We
GOOD WILL INSTRUMENT CO., LTD.
No.7-1, Jhongsing Rd., Tucheng Dist., New Taipei City 236, Taiwan
GOOD WILL INSTRUMENT (SUZHOU) CO., LTD.
No. 69, Lushan Road, Suzhou New District Jiangsu, China
declares that the below mentioned product
AFG-2225
Are herewith confirmed to comply with the requirements set out in the
Council Directive on the Approximation of the Law of Member States
relating to Electromagnetic Compatibility (2004/108/EC) and Low
Voltage Equipment Directive (2006/95/EC). For the evaluation
regarding the Electromagnetic Compatibility and Low Voltage
Equipment Directive, the following standards were applied:
◎ EMC
EN 61326-1: Electrical equipment for measurement, control and
EN 61326-2-1: laboratory use –– EMC requirements (2006)
Conducted and Radiated Emissions Electrostatic Discharge
EN 55011: 2009+A1:2010 (Class A) IEC 61000-4-2: 2008
Current Harmonic Radiated Immunity
EN 61000-3-2: 2006+A2:2009 IEC 61000-4-3: 2010
Voltage Fluctuation Electrical Fast Transients
EN 61000-3-3: 2008 IEC 61000-4-4: 2012
Surge Immunity
-------------------------
IEC 61000-4-5: 2005
Conducted Susceptibility
-------------------------
IEC 61000-4-6: 2008
Power Frequency Magnetic Field
-------------------------
IEC 61000-4-8: 2009
Voltage Dips/ Interrupts
-------------------------
IEC 61000-4-11: 2004
◎ Safety
Low Voltage Equipment Directive 2006/95/EC
Safety Requirements
EN 61010-1: 2010
292
APPENDIX
Commmon
Absatan y=|atan(x)|
The absolute of atan(x)
Abssin y=|sin(x)|
The absolute of sin(x)
Abssinehalf y=sin(x),0<x<pi
y=0,pi<x<2pi
Half_wave function
Ampalt y=e(x).sin(x)
Oscillation rise
Attalt y=e(-x).sin(x)
Oscillation down
Diric Even
f(x)=-1^(x*(n-1)/2*pi)
x=0,±2*pi,±4*pi,……
293
AFG-2225 Series User Manual
Diric Odd
f(x)=sin(nx/2)/n*sin(x/2)
x=±pi,±3pi,……
Gauspuls f(x)=a*e^(-(x-b)^2)/c^2)
Gaussian-modulated sinusoidal
pulse
Havercosine y=(1-sin(x))/2
The havercosine function
Haversin y=(1-cos(x))/2
The haversine function
Negramp y=-x
Line segment
294
APPENDIX
Roundhalf y=sqrt(1-x^2)
The half roud
295
AFG-2225 Series User Manual
Stair_up Step up
296
APPENDIX
Math
Arccos The basic trigonometric function
297
AFG-2225 Series User Manual
298
APPENDIX
299
AFG-2225 Series User Manual
Sinec y=sin(x)/x
Sqrt y=sqrt(x)
300
APPENDIX
Xsquare Parabola
301
AFG-2225 Series User Manual
Window
Barthannwin Modified Bartlett-Hann window
302
APPENDIX
303
AFG-2225 Series User Manual
Engineer
Airy The airy function
304
APPENDIX
INDEX
AM commands ......................... 218 Frequency counter ................... 137
Amplitude counter .................. 140 Frequency counter commands266
Apply commands .................... 200 Frequency coupling ................. 138
ARB commands ....................... 260 Front panel diagram .................. 13
ARB error messages ................ 279 FSK commands......................... 228
Arbitrary waveforms............... 147 Function keys
display .......................................... 150 key overview ................................. 13
edit ................................................ 159 Fuse replacement
output ........................................... 169 safety instruction ............................ 8
protection ..................................... 166 Ground
save and load .............................. 171 symbol .............................................. 6
Beeper ........................................ 137 Help menu .................................. 25
Burst commands ...................... 249 lin sweep ................................... 113
Caution symbol ............................ 6 List of features ............................ 11
Channel Settings ...................... 143 log sweep .................................. 113
Channel tracking...................... 141 Menu Tree ................................... 44
Cleaning the instrument ............. 8 Modulation ................................. 64
Command error codes ............ 273 AM .................................................. 66
Command list ........................... 189 carrier frequency ..................... 68
Coupling commands ............... 268 carrier shape ............................. 67
Declaration of conformity ....... 292 depth ......................................... 72
Default settings .......................... 52 frequency .................................. 70
shape ......................................... 69
Digital inputs
source ........................................ 73
how to use...................................... 23
amplitude..................................... 105
Display Burst.............................................. 118
diagram .......................................... 18 count ........................................ 121
Disposal delay ........................................ 128
symbol .............................................. 7 frequency ................................ 120
Disposal instructions ................... 9 modes ...................................... 119
DSO link .................................... 146 output ...................................... 129
EN61010 period ...................................... 123
measurement category .................. 7 phase ....................................... 125
pollution degree.............................. 9 trigger ...................................... 126
Environment carrier frequency ........................ 102
safety instructions .......................... 8 carrier wave ................................. 101
Error messages ......................... 273 FM ................................................... 75
carrier frequency ..................... 77
FM commands.......................... 223
305
AFG-2225 Series User Manual
306
INDEX
307