Signal Generator - Test Suite
Note
User guide: Scopy Overview.
Note
Tester |
Test Date |
Scopy version |
Plugin version (N/A if not applicable) |
Comments |
---|---|---|---|---|
Setup environment:
- M2k.Usb:
Open Scopy.
Connect an ADALM2000 device to the system by USB.
Add the device in device browser.
Test 1: Channel 1 Operation
UID: TST.M2K.SG.CHANNEL_1_OPERATION
Description: This test case verifies the operation of the channel 1 of the signal generator.
- Preconditions:
OS: ANY
Use M2k.Usb setup.
- Steps:
Test the constant voltage generator
Turn on channel 1 and view the configuration window by clicking the on/off button and menu button respectively. Choose Constant from the configuration menu.
Checking increment/decrement value; ±1V
Set the knob to ± 1V interval. No orange dot on the center.
- Change the voltage value using the up and down arrow.
- Expected Result:
The voltage value should change accordingly with an increment or decrement of ±1V from -5V to 5V.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value; ±100mV
Set the knob to ± 100mV interval. With orange dot on the center.
- Change the voltage value using the up and down arrow.
- Expected Result:
The voltage value should change accordingly with an increment or decrement of ±100mV from -5V to 5V.
The graphical representation should follow accordingly.
Actual Result:
Connect AWG ch1 to scope ch1+ and scope ch1- to gnd
- Set the following:
The voltage value of the signal generator to 4.5V
- The Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto.
Expected Result: The voltage reading on the oscilloscope should be from 4.4V to 4.6V using the cursor or from the measured data.
Actual Result:
- Set the following:
The voltage value of the signal generator to -4.5V
- The Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto.
Expected Result: The voltage reading on the oscilloscope should be from -4.4V to -4.6V using the cursor or from the measured data.
Actual Result:
Testing different waveform types
Turn on channel 1 and view the configuration window by clicking the on/off button and menu button respectively. Choose Waveform from the configuration menu
Checking increment/decrement value of Amplitude and Frequency; Large increment
Set the knob to without the orange dot on the center.
- Change the Amplitude or Frequency value using the up and down arrow
- Expected Result:
The amplitude value should change accordingly with a high increment/decrement from 1uV to 10V.
The frequency value should change accordingly with a high increment/decrement from 1mHz to 20MHz.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value of Amplitude and Frequency; ±1 unit on least significant digit
Set the knob to with the orange dot on the center.
- Change the voltage or frequency value using the up and down arrow.
- Expected Result:
The Amplitude value should change accordingly with a ±1 unit on the least significant digit from 1uV to 10V.
The frequency value should change accordingly with a ±1 unit on the least significant digit from 1mHz to 20MHz.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value of the Offset Voltage and Phase; ±1V and ±45°
Set the knob without the orange dot on the center.
- Change the Offset voltage or Phase value using the up and down arrow.
- Expected Result:
The Offset voltage value should change accordingly with ±1 increment/decrement from -5V to 5V.
The phase value should change accordingly with a ±45 increment/decrement from 0° to 360°.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value of Offset voltage and Phase; ±100mV and ±1°
Set the knob to with the orange dot on the center.
- Change the Offset voltage or Phase value using the up and down arrow.
- Expected Result:
The Offset voltage value should change accordingly with ±.1 increment/decrement from -5V to 5V.
The phase value should change accordingly with ±1 increment/decrement from 0° to 360°.
The graphical representation should follow accordingly.
Actual Result:
Testing Sinewave Waveform
Connect AWG ch1 to scope ch1+ and scope ch1- to gnd.Set the following:
- Set the following:
Signal generator’s waveform: Sinewave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
Tveform: Sinewave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 500mV/div, trigger mode: Auto and time base: 5ms.
Expected Result: The measurement reading on Oscilloscope should be: Period: 5ms, Frequency: 200Hz, Peak-peak: 4.8V to 5.2V.
Actual Result:
- Set the following:
Signal generator’s waveform: Sinewave, Amplitude 10V, Frequency: 500kHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 2V/div, trigger mode: Auto and time base: 1us.
Expected Result: The measurement reading on Oscilloscope should be: Period: 2.000us, Frequency: 500 kHz, Peak-peak: 9.6V to 10.2V.
Actual Result:
- Set the following:
Signal generator’s waveform: Sinewave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 200ns.
Expected Result: The measurement reading on Oscilloscope should be: Period: 200ns, Frequency: 5MHz, Peak-peak: 8.9V to 9.2V.
Actual Result:
Testing Square Waveform
- Set the following:
Signal generator’s waveform: Square wave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 5ms.
- Expected Result:
Use the Oscilloscope’s cursor to check the peak to peak value of the Square wave generated, do not include the inherent overshoot of the signal.
The measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.5V.
Actual Result:
- Set the following:
Signal generator’s waveform: Square wave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 2V/div, trigger mode: Auto and time base: 100ns.
Expected Result: Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 9.8V to 10.2V and Min/Max: ±5V
Actual Result:
- Set the following:
Signal generator’s waveform: Square wave, Amplitude 7V, Duty Cycle: 20%, Frequency: 100 kHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2us.
Expected Result: Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±3.5V, +Duty Cycle: 20%, -Duty Cycl: 80%
Actual Result:
- Repeat step 34 with varying duty cycle from 1% to 99%
Expected Result: Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±5V and the varying ±Duty Cycle.
Actual Result:
Testing Triangle Waveform
- Set the following:
Signal generator’s waveform: Triangle, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2ms
Expected Result: Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V.
Actual Result:
- Set the following:
Signal generator’s waveform: Triangle, Amplitude 8V, Frequency: 2MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 100ns
Expected Result: Oscilloscope’s measurement should be Period: 500.000ns, Frequency: 2MHz, peak to peak value: 7.8V to 8.2V and Min/Max: +/- 3.9V.
Actual Result:
Testing Rising Ramp Sawtooth Waveform
- Set the following:
Signal generator’s waveform: Rising Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2ms.
- Expected Result:
Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.7V.
Use the Oscilloscope’s cursor to disregard the overshoot of the signal.
Actual Result:
- Set the following:
Signal generator’s waveform: Rising Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 1us.
- Expected Result:
Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V.
Use the Oscilloscope’s cursor to disregard the overshoot of the signal.
Actual Result:
Testing Falling Ramp Sawtooth Waveform
- Set the following:
Signal generator’s waveform: Falling Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2ms.
Expected Result: Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V
Actual Result:
- Set the following:
Signal generator’s waveform: Falling Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 1us.
- Expected Result:
Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V.
Use the Oscilloscope’s cursor to disregard the overshoot of the signal.
Actual Result:
Testing Trapezoidal waveform
- Set the following:
Signal generator’s waveform: Trapezoidal, Amplitude: 5V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us.
- Oscilloscope: Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us.
Expected Result: Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6.
Actual Result:
- Set the following:
Signal generator’s waveform: Trapezoidal, Amplitude: 10V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us.
- Oscilloscope: Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us.
Expected Result: Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2.
Actual Result:
- Set the following:
Signal generator’s waveform type: Trapezoidal, Amplitude: 10V, Rise Time: 200ns, Fall Time: 200ns, Hold High Time: 200ns, Hold Low time: 200ns.
- Oscilloscope: Volt/div: 2V, Trigger Mode: Auto and Time Base: 200ns
Expected Result: Oscilloscope’s measurement should be Period: 800ns, Frequency: 1.250MHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2.
Actual Result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 2: Channel 2 Operation
UID: TST.M2K.SG.CHANNEL_2_OPERATION
Description: This test case verifies the operation of the channel 2 of the signal generator.
- Preconditions:
OS: ANY
Use M2k.Usb setup.
- Steps:
Test the constant voltage generator
Turn on channel 2 and view the configuration window by clicking the on/off button and menu button respectively. Choose Constant from the configuration menu.
Checking increment/decrement value; ±1V
Set the knob to ± 1V interval. No orange dot on the center.
- Change the voltage value using the up and down arrow
- Expected Result:
The voltage value should change accordingly with an increment or decrement of ±1V from -5V to 5V.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value; ±100mV
Set the knob to ± 100mV interval. With orange dot on the center.
- Change the voltage value using the up and down arrow
- Expected Result:
The voltage value should change accordingly with an increment or decrement of ±100mV from -5V to 5V.
The graphical representation should follow accordingly.
Actual Result:
Connect AWG ch2 to scope ch2+ and scope ch2- to gnd
- Set the following:
The voltage value of the signal generator to 4.5V
- The Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto.
Expected Result: The voltage reading on the oscilloscope should be from 4.4V to 4.6V using the cursor or from the measured data.
Actual Result:
- Set the following:
The voltage value of the signal generator to -4.5V
- The Oscilloscope’s Volts/div from 1V/div to 5V/div and set the trigger mode to auto.
Expected Result: The voltage reading on the oscilloscope should be from -4.4V to -4.6V using the cursor or from the measured data.
Actual Result:
Testing different waveform types
Turn on channel 2 and view the configuration window by clicking the on/off button and menu button respectively. Choose Waveform from the configuration menu
Checking increment/decrement value of Amplitude and Frequency; Large increment
Set the knob to without the orange dot on the center.
- Change the Amplitude or Frequency value using the up and down arrow
- Expected Result:
The amplitude value should change accordingly with a high increment/decrement from 1uV to 10V.
The frequency value should change accordingly with a high increment/decrement from 1mHz to 20MHz.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value of Amplitude and Frequency; ±1 unit on least significant digit
Set the knob to with the orange dot on the center.
- Change the voltage or frequency value using the up and down arrow
- Expected Result:
The Amplitude value should change accordingly with a ±1 unit on the least significant digit from 1uV to 10V.
The frequency value should change accordingly with a ±1 unit on the least significant digit from 1mHz to 20MHz.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value of the Offset Voltage and Phase; ±1V and ±45°
Set the knob without the orange dot on the center.
- Change the Offset voltage or Phase value using the up and down arrow
- Expected Result:
The Offset voltage value should change accordingly with ±1 increment/decrement from -5V to 5V.
The phase value should change accordingly with a ±45 increment/decrement from 0° to 360°.
The graphical representation should follow accordingly.
Actual Result:
Checking increment/decrement value of Offset voltage and Phase; ±100mV and ±1°
Set the knob to with the orange dot on the center.
- Change the Offset voltage or Phase value using the up and down arrow
- Expected Result:
The Offset voltage value should change accordingly with ±.1 increment/decrement from -5V to 5V.
The phase value should change accordingly with ±1 increment/decrement from 0° to 360°.
The graphical representation should follow accordingly.
Actual Result:
Connect AWG ch2 to scope ch2+ and scope ch2- to gnd
Testing Sinewave Waveform
- Set the following:
Signal generator’s waveform: Sinewave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 500mV/div, trigger mode: Auto and time base: 5ms..
Expected Result: The measurement reading on Oscilloscope should be: Period: 5ms, Frequency: 200Hz, Peak-peak: 4.8V to 5.2V
Actual Result:
- Set the following:
Signal generator’s waveform: Sinewave, Amplitude 10V, Frequency: 500kHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 2V/div, trigger mode: Auto and time base: 1us.
Expected Result: The measurement reading on Oscilloscope should be: Period: 2.000us, Frequency: 500 kHz, Peak-peak: 9.6V to 10.2V
Actual Result:
- Set the following:
Signal generator’s waveform: Sinewave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 200ns.
Expected Result: The measurement reading on Oscilloscope should be: Period: 200ns, Frequency: 5MHz, Peak-peak: 8.9V to 9.2V
Actual Result:
Testing Square Waveform
- Set the following:
Signal generator’s waveform: Square wave, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 5ms.
- Expected Result:
Use the Oscilloscope’s cursor to check the peak to peak value of the Square wave generated, do not include the inherent overshoot of the signal.
The measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.5V.
Actual Result:
- Set the following:
Signal generator’s waveform: Square wave, Amplitude 10V, Frequency: 5MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 2V/div, trigger mode: Auto and time base: 100ns.
Expected Result: Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 9.8V to 10.2V and Min/Max: ±5V
Actual Result:
- Set the following:
Signal generator’s waveform: Square wave, Amplitude 7V, Duty Cycle: 20%, Frequency: 100 kHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2us.
Expected Result: Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±3.5V, +Duty Cycle: 20%, -Duty Cycl: 80%
Actual Result:
- Repeat step 34 with varying duty cycle from 1% to 99%
Expected Result: Oscilloscope’s measurement should be Period: 200ns, Frequency: 5MHz, peak to peak value: 6.8V to 7.2V and Min/Max: ±5V and the varying ±Duty Cycle
Actual Result:
Testing Triangle Waveform
- Set the following:
Signal generator’s waveform: Triangle, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2ms.
Expected Result: Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V
Actual Result:
- Set the following:
Signal generator’s waveform: Triangle, Amplitude 8V, Frequency: 2MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 100ns.
Expected Result: Oscilloscope’s measurement should be Period: 500.000ns, Frequency: 2MHz, peak to peak value: 7.8V to 8.2V and Min/Max: +/- 3.9V
Actual Result:
Testing Rising Ramp Sawtooth Waveform
- Set the following:
Signal generator’s waveform: Rising Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2ms.
- Expected Result:
Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.7V.
Use the Oscilloscope’s cursor to disregard the overshoot of the signal.
Actual Result:
- Set the following:
Signal generator’s waveform: Rising Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 1us.
- Expected Result:
Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V.
Use the Oscilloscope’s cursor to disregard the overshoot of the signal.
Actual Result:
Testing Falling Ramp Sawtooth Waveform
- Set the following:
Signal generator’s waveform: Falling Ramp Sawtooth, Amplitude 5V, Frequency: 200Hz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 2ms.
Expected Result: Oscilloscope’s measurement should be Period: 5.000ms, Frequency: 200Hz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6V.
Actual Result:
- Set the following:
Signal generator’s waveform: Falling Ramp Sawtooth, Amplitude 8V, Frequency: 1MHz, offset: 0V and Phase: 0 degrees.
- Oscilloscope: Volts/div: 1V/div, trigger mode: Auto and time base: 1us.
- Expected Result:
Oscilloscope’s measurement should be Period: 1.000us, Frequency: 1MHz, peak to peak value: 7.8V to 8.2V and Min/Max: ±3.9V to ±4.1V.
Use the Oscilloscope’s cursor to disregard the overshoot of the signal.
Actual Result:
Testing Trapezoidal waveform
- Set the following:
Signal generator’s waveform: Trapezoidal, Amplitude: 5V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us.
- Oscilloscope: Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us.
Expected Result: Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 4.8V to 5.2V and Min/Max: ±2.4V to ±2.6.
Actual Result:
- Set the following:
Signal generator’s waveform: Trapezoidal, Amplitude: 10V, Rise Time: 1us, Fall Time: 1us, Hold High Time: 1us, Hold Low time Time: 1us.
- Oscilloscope: Volt/div: 2V, Trigger Mode: Auto and Time Base: 1us.
Expected Result: Oscilloscope’s measurement should be Period: 4.000us, Frequency: 250kHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2.
Actual Result:
- Set the following:
Signal generator’s waveform: Trapezoidal, Amplitude: 10V, Rise Time: 200ns, Fall Time: 200ns, Hold High Time: 200ns, Hold Low time: 200ns.
- Oscilloscope: Volt/div: 2V, Trigger Mode: Auto and Time Base: 200ns.
Expected Result: Oscilloscope’s measurement should be Period: 800ns, Frequency: 1.250MHz, peak to peak value: 9.6V to 10.4V and Min/Max: ±4.8V to ±5.2.
Actual Result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 3: Channel 1 and Channel 2 Operation
UID: TST.M2K.SG.CHANNEL_1_AND_CHANNEL_2_OPERATION
Description: This test case verifies the operation of the channel 1 and channel 2 of the signal generator.
- Preconditions:
OS: ANY
Use M2k.Usb setup.
- Steps:
Test constant voltage generator for both channels simultaneously
Turn on channels 1 and 2 and view the configuration window by clicking the on/off button then the menu button. Choose Constant from the configuration menu for both channels
Connect AWG ch1 to scope ch1+ and scope ch1- to gnd. Connect AWG ch2 to scope ch2+ and scope ch2- to gnd
- Set signal generator’s channel 1 to 4.5V and channel 2 to -4.0V
Expected Result: Open voltmeter instrument in DC mode. Channel 1 should have a voltage of 4.4V to 4.6V and channel 2 should have a voltage of -4.1V to -3.9V
Actual Result:
Set signal generator’s channel 1 to -4.5V and channel 2 to 4.0V
Test different waveforms for both channels simultaneously
Turn on channels 1 and 2 and view the configuration window by clicking the on/off button then the menu button. Choose waveform from the configuration menu for both channels
Connect AWG ch1 to scope ch1+ and scope ch1- to gnd. Connect AWG ch2 to scope ch2+ and scope ch2- to gnd
Test phase configuration
- Set signal generator channels 1 and 2 to either Sine or Triangle waveform type, they should be the same.
Channel 1: Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 0°.
Channel 2: Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 180°.
Set Oscilloscope’s both channel to Time Base: 200us, Volts/Div: 1V.
- Run Oscilloscope, add channel with an input function: f(t) = sin(t1) + sin(t0).
Expected Result: The new plot’s value should be very close to 0V ranging around -0.2V to 0.2V
Actual Result:
- Set signal generator channels 1 and 2 to either Sine or Triangle waveform type, they should be the same.
Channel 1: Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 0°.
Channel 2: Amplitude: 5V, Frequency: 5kHz, offset: 0V and phase: 0°.
Set Oscilloscope’s both channel to Time Base: 200us, Volts/Div: 1V.
- Run Oscilloscope, add channel with an input function: f(t) = sin(t1) - sin(t0).
Expected Result: The new plot’s value should be very close to 0V ranging around -0.2V to 0.2V
Actual Result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 4: Additional Features
UID: TST.M2K.SG.ADDITIONAL_FEATURES
Description: This test case verifies the additional features of the signal generator.
- Preconditions:
OS: ANY
Use M2k.Usb setup.
- Steps:
Test Noise.
- Turn on Signal Generator’s channel 1 and set the following parameters:
Waveform Type: Square Wave, Amplitude: 3V, Offset: 1.5V, Frequency: 1kHz, Phase: 0 degrees and Duty Cycle: 50%
- Connect AWG ch1 to scope ch1+ and scope ch1- to gnd.
Expected Result: Check in the Oscilloscope if the Square Wave signal generated is from 0V to 3V.
Actual Result:
Under Noise choose Uniform Noise Type in the dropdown menu and set it to 500mV.
- Set the Oscilloscope’s setting to Time Base: 100us, Volts/Div: 500mV/Div; Using the cursors measure the noise generated in the square waveform.
Expected Result: The measured voltage should be close to 500mV.
Actual Result:
- Repeat steps 1.3 and 1.4 using different Noise Amplitude [1V, 1.5V, 2V and 2.5V]
Expected Result: The measured voltage should be close to the desired noise voltage.
Actual Result:
Test Buffer
Download buffer test files from here. Open Signal Generator Instrument and click the Buffer Tab.
Connect AWG ch1 to scope ch1+ and scope ch1- to gnd
Test .csv file
- Load the .csv file from the downloaded .zip file
Expected Result: The signal generated should be a stair step signal.
Actual Result:
Test .mat file
Press “Load file” button and make sure the field “File of type” in the dialog box is set to “MATLAB Files (*.mat)”.
- Load the .mat file from the downloaded .zip file. Set the frequency to 20kHz, and the time base of Oscilloscope to 10ms.
Expected Result: The signal generated should be a sine wave signal.
Actual Result:
Test Math
Open Signal Generator Instrument and click the Math tab
Connect AWG ch1 to scope ch1+ and scope ch1- to gnd
Generate Sine waves
- In the Signal Generator Math Function tab:
set frequency to 100Hz
type in the function box 5*sin(t) and click apply.
- in the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 2ms
- Expected Result: The generated sine wave signal should have the following parameters:
peak to peak: 9.6V to 10.4V
frequency: 100Hz
period: 10ms
Actual Result:
- In the Signal Generator Math Function tab:
set frequency to 1kHz
type in the function box 4*sin(10*t) and click apply.
- in the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 20us
- Expected Result: The generated sine wave signal should have the following parameters:
peak to peak: 7.6V to 8.4V
frequency: 10kHz
period: 100us
Actual Result:
- In the Signal Generator Math Function tab:
set frequency to 100kHz
type in the function box 3*sin(50*t) and click apply.
- in the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 100ns
- Expected Result: The generated sine wave signal should have the following parameters:
peak to peak: 5.6V to 6.4V
frequency: 5MHz
period: 200ns
Actual Result:
Generate Square waves
- In the Signal Generator Math Function tab:
set frequency to 500kHz
type in the function box 4*sin(t) + 4*sin(3*t)/3 + 4*sin(5*t)/5 + 4*sin(7*t)/7 + 4*sin(9*t)/9 + 4*sin(11*t)/11 (you can copy and paste the text to Scopy) and click apply.
- in the Oscilloscope instrument set Volts/div: 1V/div, Trigger: Auto, Time base: 500ns
- Expected Result: The generated square wave signal should have the following parameters:
peak to peak: 7V to 7.4V
frequency: 500kHz
period: 2us
Actual Result:
Waveform Phase – Seconds
- Open Waveform tab. Set frequency to 500Hz. Set Phase to 90 degrees. Then change phase unit to seconds.
Expected Result: The value of Phase should automatically change to 500us that is 90 degrees in seconds for a frequency of 500Hz.
Actual Result:
- Increase and decrease the value of phase.
Expected Result: The display should follow accordingly.
Actual Result:
- Increase phase value to 1.5 ms. Then change again the unit to degrees.
Expected Result: The value should now be 270 degrees.
Actual Result:
Change frequency to 1 MHz. Then set phase to 1us. This corresponds to a full period of a 1MHz frequency.
- Change phase unit to degrees.
Expected Result: The value should be 360 degrees.
Actual Result:
Tested OS:
Comments:
Result: PASS/FAIL