background image

Copyright 

 Cirrus Logic, Inc. 2012

(All Rights Reserved)

Cirrus Logic, Inc.

http://www.cirrus.com

CDB5480U

CDB5480U Engineering Board and GUI Software

Features

• Standalone Power Meter Application
• Voltage and Current Interfaces
• Low- and High-voltage Sensor Connections
• Adaptable Sensor Filters Onboard
• USB Communication with PC
• UART/SPI Isolated Communication
• Onboard C8051F342 Microcontroller
• Single Supply Operation from USB or an Ex5V DC 

Supply

• Onboard DC-DC Converter and Regulator
• LCD Power Monitor Display
• LabWindows

®

/CVI

®

 GUI Software

– Full Register Setup & Chip Control
– Simplified Register Access
– Quick Calibration Control
– FFT Analysis
– Time Domain Analysis
– Noise Histogram Analysis

• Voltage Reference Access

General Description

The CDB5480U is an extensive tool designed to evaluate the
functionality and performance of the Cirrus Logic CS5480
power/energy measurement device. 

Multiple analog input connection options, configuration input
filters, direct and isolated digital interfaces, multiple power
supply options, an onboard programmable micro-controller, and
visual LEDs with an LCD panel make the board a flexible and
powerful customer development tool for various power/energy
measurement applications. 

The GUI software provides easy and complete access to the
onboard CS5480 device. In addition, it includes the function of
raw ADC data collection with time domain, frequency domain,
and histogram analysis.

Schematics in the PADS™ PowerLogic™ format are available
for download at 

http://www.cirrus.com/en/support

.

ORDERING INFORMATION

CDB5480U-Z Evaluation Board

APR’12

DS893DB5

 

Summary of Contents for CDB5480U

Page 1: ...tage Reference Access General Description The CDB5480U is an extensive tool designed to evaluate the functionality and performance of the Cirrus Logic CS5480 power energy measurement device Multiple analog input connection options configuration input filters direct and isolated digital interfaces multiple power supply options an onboard programmable micro controller and visual LEDs with an LCD pan...

Page 2: ...re sold subject to the terms and conditions of sale supplied at the time of order acknowledgment including those pertaining to warranty indemnification and limitation of liability No responsibility is assumed by Cirrus for the use of this information including use of this information as the basis for manufacture or sale of any items or for infringement of patents or other rights of third parties T...

Page 3: ... Figure 10 GUI Start up Window 16 Figure 11 Connect to the CDB board Window 17 Figure 12 Connect Menu Showing Successful USB Connection 17 Figure 13 USB Error Message 17 Figure 14 Connect Menu Showing Serial Connection Options 18 Figure 15 UART Serial Port Selection Window UART Selected 18 Figure 16 SPI Serial Port Selection Window SPI Selected 19 Figure 17 Unknown Chip ID Error Message 19 Figure ...

Page 4: ...des easy access to the internal registers of the CS5480 The software also provides a means to display the on chip ADC performance in the time domain or frequency domain 1 2 Evaluation Board Overview The board is partitioned into two main sections analog and digital The analog section consists of the CS5480 passive anti aliasing filters and a high voltage section with attenuation resistor networks ...

Page 5: ...screw terminals are labeled as VIN VIN An R C network at the channel input provides a simple configurable anti alias filter By installing jumpers on J6 to position VIN and J11 to position VIN the input voltage signal is supplied from the screw terminals or XLR connection Figure 2 Voltage Channel Low voltage Input Table 1 Voltage Channel Input Signal Selection INPUT Description J11 J6 VIN Selects E...

Page 6: ... Input The on board attenuation network provides the following attenuation With the CS5480 input range of 250mVp at maximum AC line input of is acceptable It is recommended to apply a 10 margin for the AC line input 270Vrms The CDB5480U evaluation board provides input shorting options for calibration and noise performance measurements With a jumper on J6 and J11 in the GND position the inputs are ...

Page 7: ...input shorting options for calibration and noise performance measurements With a jumper on J8 J7 J14 and J13 in the GND position the inputs are connected to analog ground GND Table 2 Current Channel Input Signal Selection INPUT Description J8 J7 J14 J13 IIN1 or IIN2 Selects External Low voltage Fully Differential Signal IIN1 or IIN2 Selects External Low voltage Single ended Signal GND Selects Grou...

Page 8: ...nication protocol with the CS5480 see Figure 5 Figure 5 MCU Connection Window For UART communication place the SSEL jumper to the UART position via J16 and select UART in the serial port selection window To enable SPI communications place the SSEL jumper to the SPI position via J16 and select SPI in the serial port selection window Table 3 provides the serial communication options on the CDB5480U ...

Page 9: ...s place jumpers J18 and J20 in the RX to DIGITAL position and TX to DIGITAL position To enable the high speed digital isolators it is also necessary to install jumper J50 in the VDDA position To enable low speed optical UART communication place jumpers J18 and J20 in the RX to OPTICAL position and TX to OPTICAL position The high speed digital isolators operate from DC to 150Mbps The low speed opti...

Page 10: ...mmended that the CS5480 GND reference is connected to the neutral the non isolated current sensor is connected to the neutral and the CS5480 is supplied by 3 3V isolated from the AC line The DC DC converter U8 provides 1kVDC isolation while no isolation is provided for the 3 3V binding post connections If 3 3V is used from the binding post then the external 3 3VDC power supply must be isolated fro...

Page 11: ...urned on Extreme care should be taken when connecting high voltage signals to the CDB5480U evaluation board In this configuration it is unnecessary to use a burden resistor A single anti alias filter is all that is required for the current channel Below the filter corner frequency the CS5480 inputs will see the same voltage that is across the shunt Therefore the shunt voltage should be kept below ...

Page 12: ... on the system The optimum secondary voltage Vburden at the maximum current input should be 10 less than the maximum channel voltage of 250mVp with I channel PGA 10x The secondary voltage Vburden is determined by converting the primary current to the secondary current Then the secondary current Iburden can be converted into a voltage by Ohm s Law The secondary voltage Vburden is sourced to the CS5...

Page 13: ...more information see AN365 Using the CS5480 84 90 Energy Measurement IC with Rogowski Coil Current Sensors IIN1 IIN2 IIN1 IIN2 GND GND GND LINE CS5480 CDB5480U PHASE NEUTRAL J1 J12 J4 J7 J13 J8 J14 J11 J6 R5 1K C5 C11 0 033UF C6 C12 0 033UF C9 0 027UF C4 0 027UF R11 R22 NO POP R1 R21 100 R2 R22 100 R7 1K R6 1K R9 R23 NO POP R13 R24 NO POP R8 422K R12 422K R14 422K R15 422K R49 R52 1K R50 R53 1K C3...

Page 14: ... is connected to the CDB5480U board the standalone power meter function is disabled and the LCD on the CDB5480U will read Cirrus Logic CS5480 Eval GUI To re enable the standalone power meter feature close the GUI software The standalone power meter feature will initially show the voltage channels RMS register values V1rms N NNNNN and V2rms N NNNNN By clicking the onboard switch S2 the standalone p...

Page 15: ...to store the compressed folder 6 Click the Save button The Download complete window is displayed 7 Click the Open Folder button The location where the compressed folder is stored is displayed 8 Right click on the compressed folder and click Extract All 9 Select a location to extract the files 10 Navigate to the location where the extracted files are stored and double click on the setup exe file 11...

Page 16: ...ation link with CDB5480U board After the USB communication has been established the CS5480 serial port configuration needs to be entered according to the position of jumper J16 Connecting to the CDB5480 is a two step process 1 Use the USB Item to connect to the MCU 2 Use the CS5480 Serial Port Config Item to connect the MCU to the CS5480 2 4 1 USB Item In the Connect menu the USB item allows the u...

Page 17: ...ware or new features being added the version displayed may be different than the image shown here Figure 12 Connect Menu Showing Successful USB Connection If the evaluation software is unable to establish a communication link with the CDB5480U board a message will appear indicating that the initial communication has failed See Figure 13 Figure 13 USB Error Message Check to verify that the USB cabl...

Page 18: ...e the software is configured it is necessary to set J16 on the CDB5464U board to either UART or SPI communication To select UART communication install jumper J16 in the SSEL to UART position To select SPI communication install jumper J16 in the SSEL to SPI position To select UART communications position jumper J16 to the SSEL to UART position and select UART in the Serial Port Selection window See...

Page 19: ...l port has been selected press the OK button The MCU will try to read the chip ID from the CS5480 The chip revision number will be displayed in Device in the Start up window If the red Unknown CHIP ID is shown check the power supply and clock to the CS5480 MODE jumper J15 SSEL jumper J16 and the isolation jumpers J18 J51 and J20 click the RESET button and go back to the USB connection process Figu...

Page 20: ... Menu The System pull down provides three options Setup CS5480 Calibration and Conversion Each window provides a means to evaluate the different functions and performance of the CS5480 See Figure 18 Figure 18 System Pull down Options ...

Page 21: ...n and are decoded to provide easier readability Refer to the CS5480 data sheet for information on register functionality and definitions The Setup window is segmented by function Each subsection may contain more than one CS5480 register in order to configure a particular function Updating the hexadecimal value of a register will change the definitions display according to the new hexadecimal value...

Page 22: ...an be modified by typing a hexadecimal value in the HEX field or by changing any of the values below the HEX field to the desired settings Although the CDB5480U software allows the modification of any of the bits in the configuration registers changing certain reserved bits such as the NO_OSC bit of Config0 may cause the software and board to behave erratically This applies only to the CDB5480U ev...

Page 23: ...ster can be updated either through entering the AC line frequency in the Line Freq field or by entering the direct register value in the HEX field 2 5 1 12 ZXNUM When Automatic Frequency Update is enabled the ZXNUM section is used to adjust the number of zero crossings used in the Epsilon calculation The update rate of Epsilon is increased by reducing the zero crossings The register can be modifie...

Page 24: ...e register section is used to make changes to and display the contents of the CS5480 s VFRMS register When voltage tampering is detected the VFRMS register contains the internal voltage RMS reference used in the active power calculations 2 5 1 18 Register Checksum SerialCtrl Registers The Register Checksum and SerialCtrl Register boxes provide control and status of critical serial port communicati...

Page 25: ...saved configuration and store values into the CS5480 2 6 2 Offset Gain Register In the Offset and Gain Calibration boxes the offset and gain registers for all channels are displayed in hexadecimal and decimal formats These registers can be modified directly by typing the desired value in the display boxes There are three types of offset registers DC offset AC offset and power offset The AC offset ...

Page 26: ...e grounded directly at the screw type terminals 2 Press the corresponding AC or DC offset calibrate button Cal V Cal I or Calibrate All Channels in the cor responding Offset Calibration box es 3 The offset register value s will automatically update when the calibration is completed 2 6 3 2 Gain Calibrations 1 Attach an AC or DC calibration signal to the screw type terminals and make sure the corre...

Page 27: ... line frequency converted from the Epsilon register and the values of each status register Status0 1 2 are also displayed The Conversion window also provides the total active apparent and reactive power register results Figure 21 Conversion Window 2 7 1 Single Conversion Button Pressing the Single Conversion button will cause a single conversion to be performed After a single conversion is complet...

Page 28: ...d the wake up command to the CS5480 The CS5480 will return to normal operating mode 2 7 5 Line Frequency Result When the AFC bit in the Config2 register is set the Epsilon register will be calculated automatically by the CS5480 and the Line Frequency fields will be updated automatically in continuous conversion mode If the AFC bit in the Config2 register is not set and the line frequency is other ...

Page 29: ... performance of the CS5480 See Figure 22 Figure 22 Cirrus Test Pull down Options 2 8 1 Data Collection Window The Data Collection window allows the user to collect sample sets of data from the CS5480 and analyze them using time domain FFT and histogram plots The Data Collection window can be accessed by pulling down the CirrusTest menu and selecting the ADC Data Collection item See Figure 23 Figur...

Page 30: ... Sets on page 32 for more information 2 8 1 4 Output Button The Output 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 1 5 Zoom Button The Zoom button allows the user to zoom in on the plot by selecting two points...

Page 31: ...5 term Hodie and 7 term Hodie The 5 term Hodie and 7 term Hodie are windowing algorithms developed at Crystal Semiconductor now Cirrus Logic 2 8 1 8 4 Histogram Bin Width This field determines the bin width when plotting histograms of the collected data Each vertical bar in the histogram plot will contain the number of output codes entered in this field Increasing this number may allow the user to...

Page 32: ...e calculated and plotted Also statistical noise calculations are calculated and displayed The histogram analysis processes acquired conversions to produce a histogram plot Statistical noise calculations are also calculated and displayed 2 8 1 11 Histogram Information The following is a description of the indicators associated with histogram analysis Histograms can be plotted in the Data Collection...

Page 33: ...selector to FFT See Figure 28 The FFT information includes FREQUENCY displays the x axis value of the cursor on the FFT display MAGNITUDE displays the y axis value of the cursor on the FFT display S PN indicates the signal to peak noise ratio decibels SINAD indicates the signal plus noise plus distortion to noise plus distortion ratio decibels S D indicates the signal to distortion ratio 4 harmoni...

Page 34: ...CDB5480U 34 DS893DB5 FS PdB indicates the full scale to signal Ratio decibels Figure 28 FFT Analysis ...

Page 35: ...etting the analysis type selector to Time Domain See Figure 29 The time domain plot includes COUNT displays current x position of the cursor on the time domain display MAGNITUDE displays current y position of the cursor on the time domain display MAXIMUM indicates the maximum value of the collected data set MINIMUM indicates the minimum value of the collected data set Figure 29 Time Domain Analysi...

Page 36: ...llection is needed enter the time in seconds for the Delay 3 Select the voltage and current channel 1 V1 I1 or voltage and current channel2 V2 I2 4 Browse to a directory and enter the file name of the desired file to save 5 Start the data collection by pressing the START button 6 The data collection status will be provided in Samples Collected and Time Remaining 7 The collection will complete with...

Page 37: ...ry is organized by pages In order to properly write a register it is necessary to set the Page Address and Value to Write field and then press the Write button To read a register it is necessary to set the Page and Address and then press the Read button The register result will be displayed in the Value Read field To send a command to the CS5480 enter the command in the Command field and press the...

Page 38: ...62 S GLD NPb 1 J6 SAMTEC TSW 103 07 G D A 19 115 00257 Z1 A HDR 2x2 ML 1 093BD ST GLD NPb TH 5 J7 J8 J11 J13 J14 SAMTEC TSW 102 08 G D A 20 115 00009 Z1 A HDR 3x1 ML 1 062 ST GLD NPb TH 9 J15 J16 J18 J20 J26 J38 J43 J50 J58 SAMTEC TSW 103 07 G S A 21 115 00029 Z1 A HDR 8x2 ML 1 062BD ST GLD NPB TH 2 J17 J19 SAMTEC TSW 108 07 G D A 22 115 00014 Z1 A HDR 2x1 ML 1 062BD ST GLD NPb TH 16 J21 J23 J39 J...

Page 39: ... CS5480 INZ B2 ECO867 ECO900 ECO934 A 51 060 00569 Z1 A IC ISOL 4CH 2 5kV 4 0 NPb SOIC16N 2 U2 U3 SILICON LABORATORIES SI8440BB D IS1 A 52 175 00031 Z1 A OPT COUP TRANS 50 600 NPb DIP4 2 U4 U5 TOSHIBA TLP781 F A 53 062 00229 Z1 A IC PGM USB 64kB FLAS MCU NPb LQFP32 1 U6 SILICON LABORATORIES INC C8051F342 GQ PROGRAM AT TEST A 54 160 00012 Z1 A LCD MODULE 3 3V 16x2 16x64mm NPb 1 U7 TOPWAY LMB162AFC ...

Page 40: ...CDB5480U 40 DS893DB5 APPENDIX B SCHEMATICS Figure 32 Schematic Analog Inputs ...

Page 41: ...1 5 1K C13 0 01UF X7R C14 0 10uF X7R C15 0 10uF X7R C16 0 10uF X7R J21 VDDA C17 1uF C18 1uF R32 680 C19 0 01UF X7R J23 RESET R33 10K C20 1uF C21 1uF J36 J37 1 2 Z1 P6KE6 8 6 8V C30 47uF ELEC C31 0 1uF X7R TP9 XOUT J38 VDDA C32 4 7uF X7R C33 4 7uF ELEC J39 J40 J41 J43 XIN J49 DO1 TEST2 J50 ASSY DWG 603 00474 Z1 PCB DWG 240 00474 Z1 SCHEMATIC DWG 600 00474 Z1 LBL SUBASSY PROD ID AND REV WIRE HOOK UP...

Page 42: ...A 16 BLK U7 LCD 16P LMB162AFC 2 LCD R34 0 R35 0 R36 0 R37 0 R38 0 R40 0 R41 0 R42 0 C22 0 1uF X7R C23 0 1uF X7R C24 47uF ELEC C25 0 1uF X7R 1 5V 2 D 3 D 4 GND 5 GND 6 GND J24 292304 1 USB C26 22pF 4 3 1 2 D5 SP0503BAHTG 1 2 3 4 5 6 7 8 9 10 J25 HDR5X2 JTAG C2 1 5 3 S1 RESET R44 1K C27 0 1uF X7R C28 1UF X7R R45 1K R46 1K J26 1 2 J27 1 5 3 S2 SWITCH R47 5 1K C29 0 1uF X7R 1 2 D6 RED EVENT R48 680 1 ...

Page 43: ...CDB5480U DS893DB5 43 APPENDIX C LAYER PLOTS Figure 35 Top Silkscreen ...

Page 44: ...CDB5480U 44 DS893DB5 Figure 36 Top Routing ...

Page 45: ...CDB5480U DS893DB5 45 Figure 37 Bottom Routing ...

Page 46: ...CDB5480U 46 DS893DB5 Figure 38 Solder Paste Mask ...

Page 47: ...DB1 APR 2011 Initial Release DB2 DEC 2011 Updated screen shots and circuit diagrams to align with B0 silicon DB3 JAN 2012 Corrected typographical errors DB4 MAR 2012 Updated content DB5 APR 2012 Updated screen shots and circuit diagrams to align with B2 silicon ...

Reviews: