Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:instrumentation:tutorials:ad2-waveform-generator:start [2016/08/25 21:23] – Martha | learn:instrumentation:tutorials:ad2-waveform-generator:start [2021/06/02 23:50] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== Using the Waveform Generator (REDIRECT) ====== |
- | Waveform generators are used to test circuits by generating defined signals that are then fed into the circuit under analysis. You can have an arbitrary waveform generator | + | ~~REDIRECT> |
- | + | ~~NOSEMANTIC~~ | |
- | ---- | + | {{tag>redirect}} |
- | + | ||
- | ==== Inventory | + | |
- | * 1 [[http:// | + | |
- | * You may also use the [[http:// | + | |
- | * [[http:// | + | |
- | * A computer with USB port to run the software | + | |
- | + | ||
- | ---- | + | |
- | ====== Step 1: The Waveform Generator | + | |
- | There isn't much to cover as far as background material for a waveform | + | |
- | + | ||
- | Once you have your Analog Discovery 2 and WaveForms all set up, open the waveform | + | |
- | {{ : | + | |
- | + | ||
- | The waveform generator tool will open. | + | |
- | {{ : | + | |
- | + | ||
- | There are three main areas to pay attention to: | + | |
- | * The control toolbar | + | |
- | {{ : | + | |
- | * The configuration panels, which will change based on the type of waveform you want to generate. | + | |
- | {{ : | + | |
- | * The preview plot | + | |
- | {{ : | + | |
- | + | ||
- | Let's take them one at a time, starting with the control toolbar. | + | |
- | + | ||
- | ---- | + | |
- | ====== Step 2: The Control Toolbar ====== | + | |
- | There are only a few controls associated with the control toolbar. | + | |
- | {{ : | + | |
- | + | ||
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * " | + | |
- | * Below that, you will find the "Run All" button. This will control the function generation on all channels that have been turned on, even overriding the " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Clicking on the "No synchronization" | + | |
- | {{ : | + | |
- | + | ||
- | In "no synchronization mode, no synchronization or trigger parameters are available. | + | |
- | + | ||
- | In " | + | |
- | + | ||
- | In " | + | |
- | + | ||
- | The " | + | |
- | + | ||
- | For the trigger settings, the button displayed below in Fig. 9 lets you determine what type of trigger source you want. You can select " | + | |
- | {{ : | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | The button in Fig. 11 below lets you set a wait time. Once the trigger condition has been met, the signal will enter the idle condition, outputting the offset value for that amount of time. Once that time has expired, the output will then be the selected waveform type. Any time from 20ns to 24 hours is valid, or you can select " | + | |
- | {{ : | + | |
- | + | ||
- | The button displayed in Fig. 12 lets you set how long the signal will run once the Wavegen has been triggered and any wait time has expired. Any time from 20 ns to 24 hr can be selected, or you can choose " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | The button in Fig. 13 lets you set how many times you want the set signal to repeat before returning the output to idel state. You can set this to any value between 1 and 30,000 cycles, or choose infinite. | + | |
- | {{ : | + | |
- | + | ||
- | If you check " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | The following example involves some details from the next step, but demonstrates the trigger functionality well. The settings will produce a 1kHz signal at 1V offset and 1V amplitude. The trigger is set to manual, and once triggered, the output will wait for 500μs, then output for 2ms. This cycle will automatically repeat 2 times, then the output will enter idle state, outputting 1V DC. The whole thing will take 5ms to happen. | + | |
- | {{ : | + | |
- | + | ||
- | By connecting the Waveforms Oscilloscope, | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | The scope window settings have been adjusted to make the signal more obvious. The signal is idle until triggered, at which point it enters the first wait time at -0.6ms, waits for 500μs, then completes that first cycle at 1.9ms. The second cycle begins its wait period at the same time, waits for 500μs, and then completes at 4.4ms. The output is then in idle, which is the offset value of 1V. | + | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | ====== Step 3: The Configuration Panes ====== | + | |
- | There are several different configuration panes depending on which type of signal you want to generate. | + | |
- | {{ : | + | |
- | + | ||
- | There are some functions that are the same regardless of what signal you are generating. | + | |
- | + | ||
- | Clicking " | + | |
- | {{ : | + | |
- | + | ||
- | The " | + | |
- | + | ||
- | We'll skip the " | + | |
- | {{ : | + | |
- | + | ||
- | Clicking the top gear icon allows you to determine what the wavegen channel will output while in an idle state. You can choose either the initial value or the offset. For many signals this will be the same value, but if you change the phase for example, these values will be different. Be aware that stopping the waveform output does not disable the idle output, so if you turn it off but have changed the offset of initial values to something not 0V, there will still be a DC signal on the wavegen channel even when you have turned it off. The only way to fully disable this idle output and prevent shorting is either keep the offset or initial values at 0V or uncheck the " | + | |
- | {{ : | + | |
- | + | ||
- | The " | + | |
- | {{ : | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | This menu is where there are some major differences, | + | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | ====== Step 4: The Configuration Pane: Simple ====== | + | |
- | The first option is " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | From here you can set the type of signal you want from the " | + | |
- | {{ : | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Once you choose a waveform type, you have several editable parameters below that. Any edits you make will update on the plot to the right. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Most signal types have all parameters available. For a " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | The " | + | |
- | + | ||
- | " | + | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | ====== Step: The Configuration Pane: Basic ====== | + | |
- | " | + | |
- | {{ : | + | |
- | + | ||
- | On the left you have all of your signal type options. To the right of that, you now have sliders for each parameter. | + | |
- | {{ : | + | |
- | + | ||
- | You can hard set the range of each slider, with the slider itself determining the actual value. For example, if you are trying to find the exact cutoff frequency of a specific filter, you can set your top bottom frequency values to just above and below your calculated value. Then use the slider to adjust the frequency within that window to pinpoint the cutoff exactly. Sliders can be adjusted in real time while the Wavegen is running and while the output is connected to any other Waveforms tool or a circuit. | + | |
- | + | ||
- | Above each slider you can click on the Frequency button to open or close the slider. It doesn' | + | |
- | {{ : | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | ---- | + | |
- | ====== Step 6: The Configuration Pane: Custom ====== | + | |
- | " | + | |
- | + | ||
- | {{tag>learn instrumentation tutorial analog-discovery-2 ad2 power-supplies power}} | + |