CDB5467U CDB5467U Engineering Board and GUI Software Features General Description The CDB5467U is an inexpensive tool designed to evaluate the functionality and performance of the CS5467 analog-to-digital converter (ADC). The evaluation board includes an LT1019 voltage reference, a C8051F320 microcontroller with a USB interface, and firmware.
CDB5467U TABLE OF CONTENTS 1. HARDWARE ............................................................................................................................. 3 1.1 Introduction ........................................................................................................................ 3 1.2 Evaluation Board Overview ................................................................................................ 3 1.3 Analog Section .........................................................
CDB5467U 1. HARDWARE 1.1 Introduction The CDB5467U evaluation board provides a convenient means of evaluating the CS5467 power measurement IC. The CDB5467U evaluation board operates from a single +5V power supply. The evaluation board interfaces the CS5467 to a PC via a USB cable. To accomplish this, the board comes equipped with a C8051F320 microcontroller and a USB interface. Additionally, the CDB5467U GUI software provides easy access to the internal registers of the CS5467.
CDB5467U 1.3 Analog Section The CDB5467U evaluation board provides screw-type terminals (J21, J23, J27, & J28) to connect input signals to the voltage and current channels. The screw terminals are labels as VIN2-, VIN2+, VIN1-, VIN1+, IIN1+, IIN1-, and IIN2+, IIN2-. An R-C network at each channel input provides a simple anti-alias filter. The evaluation board provides three voltage reference options for VREFIN to the CS5467.
CDB5467U analog ground (AGND). With a jumper on J11, J7, J17, J22, J24, J26, J20 and J19 in position VREF, the inputs are connected to the reference voltage selected on J12.
CDB5467U 1.5 Power Supply Section Table 4 illustrates the power supply connections to the evaluation board. The +5V binding post (J3) supplies the positive analog (VA+) for the CS5467 and the +2.5V reference. The VD+_EXT binding post (J5) supplies the digital section of the CS5467 (VD+) and level shifters. Jumper J8 allows the VD+ supply to be sourced from the VD+_EXT binding post (J5), the +5V binding post (J3), or the regulated 3.3V supply derived from the microcontroller.
CDB5467U 1.6 Auto-boot Mode With a jumper connection on J18 (AUTO-BOOT ENABLE), the CS5467 operates in auto-boot mode and the CDB5467U board operates as a stand-alone system without attaching it up to a PC. When in autoboot mode, a hardware reset (press on S1) will cause the CS5467 to boot up using the serial data from the serial EEPROM on the board (U10).
CDB5467U 2. SOFTWARE The evaluation board comes with software and an USB cable to link the evaluation board to the PC. The evaluation software was developed with LabWindows®/CVI®, a software development package from national Instruments. The evaluation software is available for download on the Cirrus Logic web site at http://www.cirrus.com/industrialsoftware and was designed to run under Windows® 2000 or Windows XP®. 2.1 Installation To install the software, go to the Cirrus Logic web site at http://www.
CDB5467U 2.3.1 Setup Menu Setup allows user to establish a USB communication connection with CDB5467U board or select a previously saved data file for further analysis. If the USB item in the Setup menu is selected, the evaluation software will poll the CDB5467U, verifying the serial communication link is ready.
CDB5467U If the Data from Disk item in the Setup menu is selected, a file selection window will appear as shown in Figure 5. User can select a pre-saved data file for further analysis using time domain, FFT, and histogram plots in Data Collection Window of the software. Figure 5. Data from Disc File Selection Window 2.3.
CDB5467U 2.3.3 Quit Menu The Quit menu allows the user to exit the evaluation software. Upon selecting Quit, a message window appears and queries if exiting the evaluation software is desired. See Figure 7. Figure 7.
CDB5467U 2.4 Setup Window The evaluation software provides access to the CS5467's internal registers through the Setup window. See Figure 8. The user can enter the Setup window by pulling down the Menu menu and selecting Setup Window, or by pressing on the keyboard. In the Setup window, all of the CS5467's registers are displayed in hexadecimal notation and are decoded to provide easier readability. Refer to the CS5467 data sheet for information on register functionality and definitions.
CDB5467U 2.4.1 Refresh Screen Button The Refresh Screen button will update the contents of the screen by reading all the register values from the CS5467. It is a good idea to press the Refresh Screen button when entering the Setup window, or after modifying any registers, to reflect the current status of the CS5467. 2.4.2 Reset DUT Button The Reset DUT button will hardware reset the CS5467. The CS5467 will perform a reset as discussed in the CS5467 data sheet.
CDB5467U 2.4.8 Cycle Count / Pulse Output Registers These fields display the values of corresponding register in both hexadecimal and decimal format. Each register can be modified by typing a value in the corresponding Decimal Value or HEX: field. 2.4.9 Voltage Sag / Current Fault / Ichanlevel / Emin (Irmsmin) / VFrms / Tsettle / LoadMIN / Epsilon / Temperature Rigisters These boxes display the values of the corresponding register in both hexadecimal and decimal format.
CDB5467U 2.5.1 Offset / Gain Register In the offset and gain register boxes, the offset and gain registers for all channels are displayed in hexadecimal and decimal. These registers can be modified directly by typing the desired value in the hexadecimal display boxes. There are three types of offset registers: DC offset, AC offset and power offset. The AC offset registers only affect the RMS register values. The power offset registers only affect the active power register values.
CDB5467U 2.6 Conversion Window The Conversion Window allows the user to see the results of single and continuous conversions, perform data averaging, and utilize the power-saving modes of the CS5467. See Figure 10. The Conversion Window can be accessed from the Menu pull-down and selecting Conversion Window, or by pressing . Figure 10. Conversion Window 2.6.1 Single Conversion Button Pressing this button will cause a single conversion to be performed.
CDB5467U 2.6.3 Standby / Sleep Mode Buttons When these buttons are pressed, the CS5467 will enter either standby or sleep power saving modes. To return to normal mode, press the Power Up button. 2.6.4 Power Up Button This button is used to send the Power Up/Halt command to the CS5467. The part will return to normal operating mode and halt any conversions that are being done at this time. 2.6.
CDB5467U 2.7 Pulse Rate Window The CS5467 features a pulse-rate energy output. The CDB5467U has the capability to demonstrate the functionality of this output in the Pulse Rate Output Window. See Figure 11. The Pulse Rate Output Window can be accessed by pressing , or by pulling down the Menu menu, and selecting the Pulse Rate Window item. Figure 11. Pulse Rate Output Window 2.7.
CDB5467U 2.8 Data Collection Window The Data Collection Window (Figure 12) allows the user to collect sample sets of data from the CS5467 and analyze them using time domain, FFT, and histogram plots. The Data collection Window can be accessed by pulling down the Menu menu, and selecting the Data Collection Window item, or by pressing . Figure 12. Data Collection Window 2.8.
CDB5467U 2.8.4 Output Button This button will bring up a window in which the user can output the data to a file for later use, print out a plot, or print out the entire screen. When saving data, only the data channel being displayed on the plot will be saved to a file. 2.8.5 Zoom Button This button allows the user to zoom in on the plot by selecting two points in the plot area. Press the Restore button to return to the normal data plot, or press the Zoom button again to zoom in even further. 2.8.
CDB5467U 2.8.7.3 FFT Window This box allows the user to select the type of windowing algorithm for FFT processing. Windowing algorithms include the Blackman, Blackman-Harris, Hanning, 5-term Hodie, and 7-term Hodie. The 5-term Hodie and 7-term Hodie are windowing algorithms developed at Crystal Semiconductor. 2.8.7.4 Histogram Bin Width This field determines the "bin width" when plotting histograms of the collected data.
CDB5467U 2.8.10 Analyzing Data The evaluation software provides three types of analysis tests: Time Domain, Frequency Domain, and Histogram. The time domain analysis processes acquired conversions to produce a plot of magnitude versus conversion sample number. The frequency domain analysis processes acquired conversions to produce a plot of magnitude versus frequency using the Fast-Fourier transform (results up to Fs/2 are calculated and plotted).
CDB5467U 2.8.11.3 MEAN Indicates the mean of the data sample set. The mean is calculated using the following formula: n–1 ∑ Xi i=0 Mean = ---------------n 2.8.11.4 STD_DEV Indicates the standard deviation of the collected data set. The standard deviation is calculated using the following formula: n–1 ∑ ( Xi – MEAN ) STDDEV = 2 i=0 -----------------------------------------------n 2.8.11.5 VARIANCE Indicates for the variance of the current data set.
CDB5467U 2.8.12 Frequency Domain Information The following describe the indicators associated with FFT (Fast Fourier Transform) analysis. FFT data can be plotted in the Data Collection Window by setting the analysis type selector to FFT (Figure 15). Figure 15. FFT Analysis 2.8.12.1 FREQUENCY Displays the x-axis value of the cursor on the FFT display. 2.8.12.2 MAGNITUDE Displays the y-axis value of the cursor on the FFT display. 2.8.12.3 S/PN Indicates the signal-to-peak noise ratio (decibels). 2.8.12.
CDB5467U 2.8.12.6 SNR Indicates for the signal-to-noise ratio, first 4 harmonics are not included (decibels). 2.8.12.7 FS-Pdb Indicates for the full-scale to signal Ratio (decibels). 2.8.12.8 Time Domain Information The following controls and indicators are associated with time domain analysis. Time domain data can be plotted in the Data Collection Window by setting the analysis type selector to Time Domain (Figure 16). Figure 16. Time Domain Analysis 2.8.12.
CDB5467U 2.8.12.12 MINIMUM Indicates for the minimum value of the collected data set. 2.9 EEPROM Window CDB5467U has an "Auto-Boot" demo feature that uses the on-board serial EEPROM, so that the CDB5467U can operate independently without being connected to a PC. CDB5467U GUI software also provides an EEPROM Window for reading & writing the serial EEPROM (Figure 17). Figure 17. EEPROM Window 2.9.
CDB5467U 2.10 Debug Panel The Debug panel provides the user a way to access CS5467 registers and send commands to CS5467 directly (Figure 18). Refer to 5.15 in CS5467 data sheet for more details. Figure 18.
Qty 6 1 5 2 7 8 4 3 1 2 1 6 1 1 3 1 10 5 1 1 4 1 0 1 6 4 8 12 1 5 1 Description CAP 0.1uF ±10% 50V NPb X7R 1206 CAP 22pF ±5% 50V C0G NPb 0805 CAP 0.1uF ±10% 16V X7R NPb 0603 CAP 47uF ±20% 10V ELEC NPb CASE C CAP 0.1uF ±5% 50V X7R NPb 0805 CAP 220pF ±10% 50V X7R NPb 0805 CAP 0.018uF ±10% 50V X7R NPb 1206 CAP 10uF ±20% 16V ELEC NPb CASE A CAP 1uF ±10% 25V X7R NPb 1206 CAP 47uF ±20% 16V NPb ELEC CASE C DIODE ARRAY 5V (TVS) ESD NPb SOT143 LED SUP RED 1.7V 1mA 1.6MCD NPb SMD HDR 5x2 ML .
DS714DB1 Qty 4 1 12 1 1 1 1 20 0 1 1 1 1 1 1 1 2 1 4 4 0 1 3 REF 1 REF 1 REF 16 0 1 1 Description RES 1k OHM 1/3W ±5% NPb 1210 FILM RES 301 OHM 1/3W ±1% NPb 1210 FILM RES 0 OHM 1/18W ±1% NPb 0805 FILM RES 12k OHM 1/4W ±5% NPb 1206 FILM RES 15k OHM 1/4W ±1% 1206 NPb FILM RES 0 OHM 1/4W NPb 1206 FILM SWT SPST 130G 0/1 5mm TACT ESD NPb CON TEST PT .1"CTR TIN PLAT NPb BLK CON TEST PT .
CDB5467U Figure 19. Schematic - Analog Inputs APPENDIX B.
Figure 20.
Figure 21.
Figure 22.
CDB5467U Figure 23. Top Silkscreen APPENDIX C.
Figure 24.
Figure 25.
Figure 26.
CDB5467U REVISION HISTORY Revision Date DB1 OCT 2007 Changes Initial Release. Contacting Cirrus Logic Support For all product questions and inquiries contact a Cirrus Logic Sales Representative. To find the one nearest to you go to www.cirrus.com IMPORTANT NOTICE Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable.