Page 2
71M6513/71M6513H Demo Board User’s Manual TERIDIAN Semiconductor Corporation makes no warranty for the use of its products, other than expressly contained in the Company’s warranty detailed in the TERIDIAN Semiconductor Corporation standard Terms and Conditions. The company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice and does not make any commitment to update the information contained herein.
71M6513/71M6513H Demo Board User’s Manual Table of Contents GETTING STARTED.............................. 9 General .................................. 9 Safety and ESD Notes ............................9 Demo Kit Contents ............................. 10 Demo Board Versions ............................10 Compatibility............................... 10 Suggested Equipment not Included ......................... 10 Demo Board Test Setup............................. 11 1.7.1...
Page 5
Figure 1-2: Block diagram for the TERIDIAN D6513T3B2 Demonstration Meter with Debug Board......... 12 Figure 1-3: Block diagram for the TERIDIAN D6513T3C1 and D6513T3D2 Demo Boards with Debug Board ....13 Figure 1-4: Hyperterminal Sample Window with Disconnect Button (Arrow) ..............15 Figure 1-5: Port Speed and Handshake Setup (left) and Port Bit setup (right)..............
Debug Board that allows a connection to a PC through a RS232 port. The demo board allows the evaluation of the 71M6513 or 71M6513H energy meter chip for measurement accuracy and overall system use.
PC through a 9 pin serial port. For serial communication between the PC and the TERIDIAN 71M6513/71M6513H, the Debug Board needs to be plugged with its connector J3 into connector J2 of the Demo Board.
71M6513/71M6513H Demo Board User’s Manual 1.7.1 POWER SUPPLY SETUP There are several choices for meter power supply: • Internal (using phase A of the AC line voltage). The internal power supply is only suitable when phase A exceeds 220V RMS.
71M6513/71M6513H Demo Board User’s Manual The “HELLO” message should be followed by the display of accumulated energy: The decimal dot in the leftmost segment will be blinking, indicating activity of the MPU inside the 71M6513/6513H. If contacts 3 and 5 of J2 are shorted with a jumper (or if the “DISPLAY SEL” switch SW2 on the Debug Board is pressed and held down), the display will show a series of incrementing numbers (1 through 12) in the leftmost digit(s) followed by the default date (2001.01.01) at number 10.
71M6513/71M6513H Demo Board User’s Manual Figure 1-5: Port Speed and Handshake Setup (left) and Port Bit setup (right) Once, the connection to the demo board is established, press <CR> and the prompt, > , should appear. Type >i1 >? to see the Demo Code help menu. Type to verify that the demo code revision is 3.04 or later.
71M6513/71M6513H Demo Board User’s Manual 1.8.1 SERIAL COMMAND LANGUAGE The Demo Code residing in the flash memory of the 71M6513/6513H provides a convenient way of examining and modifying key meter parameters. Once the Demo Board is connected to a PC or terminal per the instructions given in Section 1.7.2 and 1.7.4, typing ‘...
Page 18
71M6513/71M6513H Demo Board User’s Manual Commands to Display Help on the CLI Commands: HELP Description: Command help available for each of the options below. Command Command line interpreter help menu. combinations: Display help on access CE data RAM Display help on access MPU RAM...
Page 19
71M6513/71M6513H Demo Board User’s Manual Commands for MPU/XDATA Access: MPU DATA ACCESS Allows user to read from and write to MPU data space. Description: ) [Starting MPU Data Address] [option]…[option] Usage: Command )A??? Read three consecutive 32-bit words in Decimal, starting at...
Page 20
71M6513/71M6513H Demo Board User’s Manual Commands for EEPROM Control: EEPROM CONTROL Description: Allows user to enable read and write to EEPROM. Usage: EE [option] [arguments] EECn EEPROM Access (1 Enable, 0 Disable) Command combinations: EERa.b Read EEPROM at address 'a' for 'b' bytes.
Page 21
71M6513/71M6513H Demo Board User’s Manual Commands controlling the Auto-Calibration Function: AUTO-CALIBRATION CONTROL Allows the user to initiate auto-calibration and to store calibration values. Description: Usage: CL [option] Command Begin auto-calibration. Prior to auto-calibration, the calibration coefficients are automatically restored from flash memory. If...
Page 22
71M6513/71M6513H Demo Board User’s Manual Commands for Identification and Information: INFORMATION MESSAGES Description: Allows user to read and write information messages. Usage: I [option] [argument] Displays complete version information Command combinations: Displays Demo Code version string I1=abcdef Change Demo Code version string...
Page 23
71M6513/71M6513H Demo Board User’s Manual Commands for Controlling the Metering Values Shown on the LCD Display: METER DISPLAY CONTROL (LCD) Allows user to select internal variables to be displayed. Description: Usage: M [option]. [option] Command Displays “HELLO” message combinations: Disables display updates Temperature (C°...
Page 24
71M6513/71M6513H Demo Board User’s Manual Commands for Controlling the RMS Values Shown on the LCD Display: METER RMS DISPLAY CONTROL (LCD) Allows user to select meter RMS display for voltage or current. Description: Usage: MR [option]. [option] Command MR1. [phase]...
Page 25
Read fuse 5 (TRIMBGA) Read fuse 6 (TRIMBGB). Example: Reads the TRIMM fuse. These commands are only accessible for the 71M6513H (0.1%) parts. When used on a 71M6513 (0.5%) part, the results will be displayed as zero. Reset Commands: W, Z...
71M6513/71M6513H Demo Board User’s Manual 1.8.2 USING THE DEMO BOARD FOR ENERGY MEASUREMENTS The 71M6513/6513H Demo Board was designed for use with current transformers (CT). The Demo Board may immediately be used with current transformers having 2,000:1 winding ratio and is programmed for a Kh factor of 3.2 and (see Section 1.8.4 for adjusting the Demo Board for transformers with...
71M6513/71M6513H Demo Board User’s Manual 1.8.4 ADJUSTING THE DEMO BOARDS TO DIFFERENT CURRENT TRANS- FORMERS The Demo Board is prepared for use with 2000:1 current transformers (CTs). This means that for the unmodified Demo Board, 208A on the primary side at 2000:1 ratio result in 104mA on the secondary side, causing 177mV at the 1.7Ω...
71M6513/71M6513H Demo Board User’s Manual If potential transformers (PTs) are used instead of resistor dividers, phase shifts will be introduced that will re- quire negative phase angle compensation. TERIDIAN can supply Demo Code that accepts negative calibration factors for phase.
The new hex file can be written to the 71M6513/71M6513H through the ICE port using the ADM51 in-circuit emulator. This step makes the calibration to the meter permanent. 1.9.4 UPDATING CALIBRATION DATA IN FLASH MEMORY WITHOUT USING THE ICE OR A PROGRAMMER It is possible to make data permanent that had been entered temporarily into the CE RAM.
5x1 header. Programming of the flash memory requires a specific in-circuit emulator, the ADM51 by Signum Systems (http//www.signumsystems.com) or the Flash Programmer (TFP-1) provided by TERIDIAN Semiconductor. A gang programmer is available for high-volume production.
71M6513/71M6513H Demo Board User’s Manual 1.9.7 THE PROGRAMMING INTERFACE OF THE 71M6513/6513H Flash Downloader/ICE Interface Signals The signals listed in Table 1-5 are necessary for communication between the Flash Downloader or ICE and the 71M6513/6513H. Signal Direction Function E_TCLK Output from 71M6513/6513H...
1.10.1 DEMO CODE DESCRIPTION The Demo Board is shipped preloaded with Demo Code revision 3.0.4 or later in the 71M6513 or 71M6513H chip. The code revision can easily be verified by entering the command >i1 via the serial interface (see section 1.8.1).
71M6513/71M6513H Demo Board User’s Manual 1.10.2 DEMO CODE MPU PARAMETERS In the Demo Code, certain MPU XRAM parameters have been given fixed addresses in order to permit easy external access. These variables can be read via the serial interface, as described in section 1.7.1, with the )n$ command and written with the )n=xx command where n is the word address.
71M6513/71M6513H Demo Board User’s Manual The nominal external RMS voltage that corresponds to 250mV peak at 0x09 6000 VMAX the ADC input. The meter uses this value to convert internal quantities to external. LSB=0.1V The nominal external RMS current that corresponds to 250mv peak at...
71M6513/71M6513H Demo Board User’s Manual MPU Input Parameters for Pulse Generation XDATA Default Word Name Description Value Address This address contains a number that points to the selected pulse source. 0x07 PULSEW_SRC Selectable pulse sources are listed in Table 1-9.
71M6513/71M6513H Demo Board User’s Manual MPU INSTANTANEOUS OUTPUT VARIABLES The Demo Code processes CE outputs after each accumulation interval. It calculates instantaneous values such as VRMS, IRMS, W and VA as well as accumulated values such as Wh, VARh, and VAh. Table 1-10 lists the calculated instantaneous values.
71M6513/71M6513H Demo Board User’s Manual MPU STATUS WORD The MPU maintains the status of certain meter and I/O related variables in the Status Word. The Status Word is located at address 0x21. The bit assignments are listed in Table 1-11.
71M6513/71M6513H Demo Board User’s Manual MPU ACCUMULATION OUTPUT VARIABLES Accumulation values are accumulated from XFER cycle to XFER cycle (see Table 1-12). They are all in 64-bit format. The 6513 has an LSB of 9.4045*10 *VMAX*IMAX*In_8 Wh. Accumulated values are calculated by summing the CE XFER outputs into 64 bit variables.
Neutral current is read using alternate multiplexer cycles, as controlled by the MUX_ALT bit in I/O RAM. While the TERIDIAN standard Demo Code revision 3.04 performs one alternate multiplexer cycle per second, the neutral current-capable Demo Code can perform alternate multiplexer cycles more frequently. When the alternate multiplexer cycle is triggered once every 10th CE_BUSY interrupt (i.e.
71M6513/71M6513H Demo Board User’s Manual The neutral current is available for display. The help text for the MR command describes how to display neutral current on the display. For the "M" command of the CLI for current, phase 4 signifies the neutral current.
71M6513/71M6513H Demo Board User’s Manual APPLICATION INFORMATION 2.1 CALIBRATION THEORY A typical meter has phase and gain errors as shown by φ , and A in Figure 2-1. Following the typical meter convention of current phase being in the lag direction, the small amount of phase lead in a typical current sensor is represented as -φ...
Page 44
71M6513/71M6513H Demo Board User’s Manual From the voltage measurement, we determine that We use the other two measurements to determine φ and A φ − cos( φ − − cos( cos( φ cos( φ φ − − cos( cos( −...
71M6513/71M6513H Demo Board User’s Manual And we calculate the new calibration current gain coefficient, including compensation for a slight gain increase in the phase calibration circuit. π − − − − − PHADJ PHADJ cos( π − − − −...
71M6513/71M6513H Demo Board User’s Manual φ − tan( sin( φ cos( φ − tan( tan( − φ − tan( , and φ Now that we know the A errors, we calculate the new calibration voltage gain coefficient from the previous ones: We calculate PHADJ from φ...
Store the new calibration factors CAL_IA, CAL_VA, and PHADJ_A in the flash memory of the meter. If the calibration is performed on a TERIDIAN Demo Board, the methods shown in sections 1.9.3 and 1.9.4 can be used.
Tip: Step 2 and the energy measurement at 0° of step 3 can be combined into one step. 2.2.3 CALIBRATION PROCEDURE FOR ROGOWSKI COIL SENSORS Demo Code containing CE code that is compatible with Rogowski coils is available from TERIDIAN Semi- conductor.
PREVIOUS 2.2.4 CALIBRATION SPREADSHEETS Calibration spreadsheets are available from TERIDIAN Semiconductor. They are also included in the CD-ROM shipped with any Demo Kit. Figure 2-3 shows the spreadsheet for three measurements. Figure 2-4 shows the spreadsheet for five measurements with three phases.
Page 50
71M6513/71M6513H Demo Board User’s Manual A spreadsheet is also available for Rogowski coil calibration (see Figure 2-5). Data entry is as follows: All nominal values are entered in the fields of step one. The applied voltage is entered in the yellow field labeled “Input Voltage Applied” of step 2. The entered value will automatically show in the green fields of the two other channels.
71M6513/71M6513H Demo Board User’s Manual 71M6511/71M6513/71M6515 Calibration Worksheet Three Measurements Enter values in yellow fields Results will show in green fields… Date: 10/25/2005 AC frequency: Author: [Hz] (click on yellow field to select from pull-down list) PHASE A fraction Voltage Energy reading at 0°...
71M6513/71M6513H Demo Board User’s Manual Calibration Procedure for Rogowski Coils Enter values in yellow fields! Results will show in green fields… Step 1: Enter Nominal Values: Nominal CAL_V 16384 Resulting Nominal Nominal CAL_I 16384 Values: X Date: 11/18/2005 PHADJ -3973 Kh (Wh) 0.440...
71M6513/71M6513H Demo Board User’s Manual 2.2.5 COMPENSATING FOR NON-LINEARITIES Nonlinearity is most noticeable at low currents, as shown in Figure 2-6, and can result from input noise and truncation. Nonlinearities can be eliminated using the QUANT variable. error I [A] Figure 2-6: Non-Linearity Caused by Quantification Noise The error can be seen as the presence of a virtual constant noise current.
71M6513/71M6513H Demo Board User’s Manual POWER SAVING MEASURES In many cases, especially when operating the TERIDIAN 71M6513/71M6513H from a battery, it is desirable to reduce the power consumed by the chip to a minimum. This can be achieved with the measures listed in Table 2-1.
71M6513/71M6513H Demo Board User’s Manual 2.4 SCHEMATIC INFORMATION In this section, hints on proper schematic design are provided that will help designing circuits that are functional and sufficiently immune to EMI (electromagnetic interference). 2.4.1 COMPONENTS FOR THE V1 PIN The V1 pin of the 71M6513/6513H can never be left unconnected.
71M6513/71M6513H Demo Board User’s Manual 2.4.3 OSCILLATOR The oscillator of the 71M6513 drives a standard 32.768kHz watch crystal (see Figure 2-9). Crystals of this type are accurate and do not require a high current oscillator circuit. The oscillator in the 71M6513 has been designed specifically to handle watch crystals and is compatible with their high impedance and limited power handling capability.
71M6513/71M6513H Demo Board User’s Manual 2.4.5 LCD The 71M6513 has an on-chip LCD controller capable of controlling static or multiplexed LCDs. Figure 2-11 shows the basic connection for LCDs. Note that the LCD module itself has no power connection. 651X...
71M6513/71M6513H Demo Board User’s Manual 2.4.6 OPTICAL INTERFACE The 71M6513 IC is equipped with two pins supporting the optical interface: OPT_TX and OPT_RX. The OPT_TX pin can be used to drive a visual or IR light LED with up to 20mA, a series resistor (R in Figure 2-13) helps limiting the current).
71M6513/71M6513H Demo Board User’s Manual J12 on the D6513T3C1 Demo Boards has all the provisions for connecting the IR LED and photo-transistor (see Figure 2-15). Depending on the required LED current, R79 may have to be scaled. Similarly, R84 may be scaled or removed, depending on the current generated by the photo-transistor.
71M6513/71M6513H Demo Board User’s Manual If inputs higher than 3.6V are expected at the RX pin, e.g. when interfacing to 5V-based driving circuitry such as RS-232 transceivers/receivers, TTL or CMOS logic, a resistor attenuator should be used in order to restrict the RX input voltage.
Figure 2-18: Meter with Calibration System TERIDIAN Demo Boards are not calibrated prior to shipping. However, the Demo Board pulse outputs are tested and compared to the expected pulse output. Figure 2-19 shows the screen on the controlling PC for a typical Demo Board.
71M6513/71M6513H Demo Board User’s Manual Figure 2-19: Calibration System Screen 2.5.2 EEPROM Testing the EEPROM provided on the Demo Board is straightforward and can be done using the serial command line interface (CLI) of the Demo Code. To write a string of text characters to the EEPROM and read it back, we apply the following sequence of CLI commands: >EEC1...
71M6513/71M6513H Demo Board User’s Manual 2.5.3 RTC Testing the RTC inside the 71M6513/6513H IC is straightforward and can be done using the serial command line interface (CLI) of the Demo Code. To set the RTC and check the time and date, we apply the following sequence of CLI commands: >M10...
Writes the hex value 0x24 to register 0x2021 clearing bit 0 – LCD flicker is visible now >RI21=25 Writes the original value back to LCD_CLK 2.6 TERIDIAN APPLICATION NOTES Please contact your local TERIDIAN sales representative for TERIDIAN Application Notes. Available application notes are listed below. Number Title...
Two-pin headers. When both jumpers are installed, ex- PS_SEL[2] ternal power is not required for the Debug Board that attaches to the 71M6513/71M6513H demo board at J2. Normally left open. Caution! When JP2/JP3 are plugged in, there is NO ISOLATION between the Demo Board and the Debug Board.
Supply and Four-pin header. Terminals 1 and 3 can be used to Optical Test Point measure the supply voltage to the 71M6513/71M6513H IC. Terminal 2 monitors the TX_OPT output of the IC. Terminal 4 monitors the OPT_RX input to the IC.
71M6513/71M6513H Demo Board User’s Manual Reference Item # Name Designator JP10 VLCD Select Three-pin header for selecting the voltage to the LCD. The top pin is 5V and the bottom pin is 3.3V. The default setting for the jumper is 5V.
71M6513/71M6513H Demo Board User’s Manual D6513T3C1 BOARD DESCRIPTION: JUMPERS, SWITCHES AND TEST POINTS The items described in the following tables refer to the flags in Figure 3-2. Item # Reference Name Designator PS_SEL[0] Two-pin header. When the jumper is installed the on- board power supply (AC signal) is used to power the demo board.
71M6513/71M6513H Demo Board User’s Manual Reference Item # Name Designator 2x8 pin male header for connecting the Debug Board. DEBUG TP17 TMUXOUT Two-pin header. Pin 1 is the TMUXOUT signal. TP19 5x2 header for access to the high-speed serial interface. One row is connected to GND.
71M6513/71M6513H Demo Board User’s Manual D6513T3D2 BOARD DESCRIPTION: JUMPERS, SWITCHES AND TEST POINTS The items described in the following tables refer to the flags in Table 3-6. Item # Reference Name Designator Display The 71M6513/71M6513H chip Serial number field on silk screen...
71M6513/71M6513H Demo Board User’s Manual IC_IN Three-pin header for connecting the CT of the phase C. Reference Item # Name Designator NEUTRAL Spade connector on the back side of the PCB for connecting the NEUTRAL wire. JP16 VA_IN Two-pin header. When the jumper is installed the on- board power supply (AC signal) is used to power the demo board.
VLCD LCD power supply. 32,33,36, 42,43,44, No Connect 47,55,90,95 Table 4-5: 71M6513/71M6513H Pin Description Table 1/3 Analog Pins: Name Type Description Line Current Sense Inputs: These pins are voltage inputs to the internal A/D converter. Typically, they are connected to the output of a current transformer.
Figure 4-32: TERIDIAN 71M6513/71M6513H epLQFP100: Pinout (top view) User’s Manual: This User’s Manual contains proprietary product definition information of TERIDIAN Semiconductor Corporation (TSC) and is made available for informational purposes only. TERIDIAN assumes no obligation regarding future manufacture, unless agreed to in writing.
Need help?
Do you have a question about the 71M6513H and is the answer not in the manual?
Questions and answers