Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
university:tools:alice-sa-1.0-users-guide [11 Aug 2015 02:49] – [Examples:] Doug Merceruniversity:tools:m1k:alice:sa-users-guide [27 Jan 2021 23:01] (current) – use interwiki links Robin Getz
Line 1: Line 1:
 ======ALICE Spectrum Analyzer:====== ======ALICE Spectrum Analyzer:======
 +
 +**This software uses an older version of libsmu / pysmu and is no longer recommended for use.**
 +
 +[[university:tools:m1k:alice:desk-top-users-guide|ALICE Desktop 1.1]] is now recommended.
 +
  
 =====Objective:===== =====Objective:=====
Line 11: Line 16:
 All OS:\\ All OS:\\
 alice-SA-1.0.py(w)\\ alice-SA-1.0.py(w)\\
-adi_logo_alice.gif\\ 
 {{:university:tools:alice-1.0.zip|alice-1.0.zip}} {{:university:tools:alice-1.0.zip|alice-1.0.zip}}
  
 Windows:\\ Windows:\\
-[[https://ci.appveyor.com/project/analogdevicesinc/libsmu/build/artifacts|libpysmu.pyd]] (needs to be in Python27\DLLs directory)+[[https://ci.appveyor.com/api/projects/analogdevicesinc/libsmu/artifacts/libpysmu.pyd?branch=master&job=Platform%3A%20x64|libpysmu.pyd (64 bit)]] [[https://ci.appveyor.com/api/projects/analogdevicesinc/libsmu/artifacts/libpysmu.pyd?branch=master&job=Platform%3A%20x86|libpysmu.pyd (32 bit)]] (needs to be in Python27\DLLs directory) 
 + 
 +Use of the [[university:tools:m1k:alice:install|Windows installer]] is highly recommended. 
  
 Linux:\\ Linux:\\
Line 33: Line 39:
 [[university:tools:m1k:hw|ADALM1000 Hardware]]\\ [[university:tools:m1k:hw|ADALM1000 Hardware]]\\
 [[university:tools:m1k:design|ADALM1000 Design Document]]\\ [[university:tools:m1k:design|ADALM1000 Design Document]]\\
-[[university:tools:m1k-analog-inputs|ADALM1000 Analog Inputs]]\\ +[[university:tools:m1k:analog-inputs|ADALM1000 Analog Inputs]]\\ 
-[[university:tools:m1k-fet-probes|ADALM1000 Low Capacitance FET Input Buffers]]+[[university:tools:m1k:fet-probes|ADALM1000 Low Capacitance FET Input Buffers]]
  
 =====Screen Setup:===== =====Screen Setup:=====
Line 67: Line 73:
 ====Curves drop down menu==== ====Curves drop down menu====
  
-The Curves button allows the selection of which signal waveforms will be displayed. The All button selects all four curves to be displayed and the None button clears all four curves. The Marker option turns on a text marker which displays the amplitude and frequency at the peak of the displayed signal. Options to display the difference ( subtraction ) of the CA-– CB-traces or the CB-– CA-traces. It is also possible to select which of the possible stored reference traces, if saved via the Store trace option, will be displayed.+The Curves button allows the selection of which signal waveforms will be displayed. The All button selects all four curves to be displayed and the None button clears all four curves. The Marker option turns on a text marker which displays the amplitude and frequency at the peak of the displayed signal. Options to display the difference ( subtraction ) of the CA-dBV – CB-dBV traces or the CB-dBV – CA-dBV traces. It is also possible to select which of the possible stored reference traces, if saved via the Store trace option, will be displayed
 + 
 +The color of the CA-dBV and CB-dBV traces will turn red if the input signal goes beyond the 0 to +5 V analog input signal range. 
 + 
 +====PWR-ON==== 
 + 
 +The green PWR-On button toggles on and off the fixed analog +2.5 V and +5 V power supplies. The button turns red when the supplies are off. The power supplies do not turn completely off but go to around +2 V and can supply only about 20 mA when shorted to ground. This is much less than the 200 mA or so they could supply if accidentally shorted when on. It is good practice to turn off the supplies ( or better yet disconnect ) when making any modifications to the circuit under test.
  
 ====Run, Stop, Exit==== ====Run, Stop, Exit====
Line 78: Line 90:
 Load Config, commands for saving and loading configuration settings (.cfg file)\\ Load Config, commands for saving and loading configuration settings (.cfg file)\\
 Save Screen, command for saving the graphics display area to an encapsulated postscript file (.eps)\\ Save Screen, command for saving the graphics display area to an encapsulated postscript file (.eps)\\
-Save Data, command for saving the captured channel A and B amplitude vs frequency data to a coma separated values file (.csv)+Save Data, command for saving the captured channel A and B amplitude vs frequency data to a coma separated values file (.csv). The amplitude data can be saved as magnitude in Vrms ( type a 0 ) or in dBV ( type a 1 ).
  
 ====Options drop down menu==== ====Options drop down menu====
  
 Smooth, an option to enabling smoothing where spline curves are used to connect the FFT frequency points rather than the default straight lines. Smooth, an option to enabling smoothing where spline curves are used to connect the FFT frequency points rather than the default straight lines.
 +
 +Cut-DC, an option that will remove the DC component from the sampled data record. It element by element subtracts the average value of the sample record.
  
 Store trace, no explanation required, you can store a reference trace with it. Store trace, no explanation required, you can store a reference trace with it.
 +
 Screen setup, to select the number of vertical divisions on the grid. Also for selecting smaller grids. Can be handy when you want to capture smaller spectrum analyzer bit map pictures for documentation or a website. Screen setup, to select the number of vertical divisions on the grid. Also for selecting smaller grids. Can be handy when you want to capture smaller spectrum analyzer bit map pictures for documentation or a website.
  
Line 116: Line 131:
  
 The current low level ALM1000 software only outputs signals as single shot bursts when the analog signals ( voltage and current ) are being sampled. The Sync AWG check box must be checked if you want to produce outputs in sync with the analog trace sweeps. If you are in Hi-Z mode for both CH A and CH B and are using the ALM as just a 2 input spectrum analyzer the box should not be checked. The current low level ALM1000 software only outputs signals as single shot bursts when the analog signals ( voltage and current ) are being sampled. The Sync AWG check box must be checked if you want to produce outputs in sync with the analog trace sweeps. If you are in Hi-Z mode for both CH A and CH B and are using the ALM as just a 2 input spectrum analyzer the box should not be checked.
 +
 +The Sweep Gen drop down menu provides controls for generating frequency sweeps of the analog output sources. The screen traces are up-dated after each frequency step. It is best to select Peek Hold mode to display the amplitude response vs frequency. First is a radio button to select which output channel, or none will be swept. The selected output will be swept from the display Start Frequency to the Stop Frequency. The number of steps can be set using the Sweep Steps button. Lastly, there is a radio button selector for single or continuous sweep. The frequency sweep is started, or restarted from the beginning each time the Run button is pressed.
  
 The ALM hardware provides four 3.3V CMOS digital input / output pins. At this time only static hi low functionality is supported. A simple interface is provided here. The D Inp line displays the current state of any of the four pins configured as input as either [0] or [1] one for each pin, PIO 0, PIO 1, PIO, 2 and PIO 3 from left to right and are updated once each time the analog scope display is refreshed. The D Out line consists of four single digit entry fields, one for each pin, PIO 0, PIO 1, PIO, 2 and PIO 3 from left to right. An 'x' in a given entry will configure the pin as input. A '0' or '1' will configure the pin as output and set it either low or high. All the pins are changed when Return ( Enter ) is typed in one of the entry fields. When a pin is configure as an Output its state will also appear in the D Input line but as a 0 or 1 without the enclosing []. The ALM hardware provides four 3.3V CMOS digital input / output pins. At this time only static hi low functionality is supported. A simple interface is provided here. The D Inp line displays the current state of any of the four pins configured as input as either [0] or [1] one for each pin, PIO 0, PIO 1, PIO, 2 and PIO 3 from left to right and are updated once each time the analog scope display is refreshed. The D Out line consists of four single digit entry fields, one for each pin, PIO 0, PIO 1, PIO, 2 and PIO 3 from left to right. An 'x' in a given entry will configure the pin as input. A '0' or '1' will configure the pin as output and set it either low or high. All the pins are changed when Return ( Enter ) is typed in one of the entry fields. When a pin is configure as an Output its state will also appear in the D Input line but as a 0 or 1 without the enclosing [].
Line 121: Line 138:
 At the bottom of this section, just above the ADI logo, are entry windows which allow input gain and offset correction for any external resistor divider attenuator networks that might be added to the channel A and B inputs ( possibly used when in the high impedance or Split I/O modes ). For more on the use of input attenuators please refer to the following two documents: At the bottom of this section, just above the ADI logo, are entry windows which allow input gain and offset correction for any external resistor divider attenuator networks that might be added to the channel A and B inputs ( possibly used when in the high impedance or Split I/O modes ). For more on the use of input attenuators please refer to the following two documents:
  
-[[university:tools:m1k-analog-inputs|M1K Analog Inputs]]\\ +[[university:tools:m1k:analog-inputs|M1K Analog Inputs]]\\ 
-[[university:tools:m1k-breadboard-adapter|M1K Breadboard Adapters]]+[[university:tools:m1k:breadboard-adapter|M1K Breadboard Adapters]]
  
 =====Frequency Analysis:===== =====Frequency Analysis:=====
Line 200: Line 217:
 <WRAP centeralign>Figure E1 RLC circuits</WRAP> <WRAP centeralign>Figure E1 RLC circuits</WRAP>
  
-In a linear system, the frequency response can be obtained by sweeping sinusoidal inputs over a range of frequencies. This series of sinusoidal signals at different frequencies can then be used to compute the frequency response. ALICE-SA does not include a sweep generator function but test signal with a wide frequency content can be generated, a very narrow square pulse. FFT analysis can be used to obtain the transfer function for a network from its impulse response.+In a linear system, the frequency response can be obtained by sweeping sinusoidal inputs over a range of frequencies. This series of sinusoidal signals at different frequencies can then be used to compute the frequency response. While ALICE-SA does include a sweep generator functionsweep with many frequency points using large FFT sample sizes can take many seconds or even minutes to up-date the plotHowever, FFT analysis can be used to obtain the transfer function for a network from its impulse response. We can generate a test signal with a wide frequency content, a very narrow square pulse, which will produce a plot from a single sample record at a much higher up-date rate
  
 **Using the FFT to get a transfer function of a system is not overly complex.** **Using the FFT to get a transfer function of a system is not overly complex.**
Line 213: Line 230:
 Shape - Square\\ Shape - Square\\
 Mode - SVMI\\ Mode - SVMI\\
-VMIN = 0.6\\ +VMIN = 1.3\\ 
-VMAX = 4.( pulse amplitude set to allow some headroom for overshoot and ringing )\\+VMAX = 3.( pulse amplitude set to allow some headroom for overshoot and ringing )\\
 Freq = 12.2\\ Freq = 12.2\\
-Phase = 180 ( phase id set to 180 degrees to center the pulse in the time sample record )\\+Phase = 180 ( phase is set to 180 degrees to center the pulse in the time sample record )\\
 DutyCycle = 0.08 ( can be adjusted down to 0.012% for flatter input signal energy ) DutyCycle = 0.08 ( can be adjusted down to 0.012% for flatter input signal energy )
  
university/tools/m1k/alice/sa-users-guide.1439254192.txt.gz · Last modified: 11 Aug 2015 02:49 (external edit)