Page 3
71M6534H 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 re- sponsibility 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.
71M6534H Demo Board User’s Manual Table of Contents GETTING STARTED..............................9 General ..................................9 Safety and ESD Precautions ..........................9 Demo Kit Contents ..............................9 Demo Board Versions ............................10 Compatibility ................................. 10 Suggested Equipment not Included ........................10 Demo Board Test Setup ............................10 1.7.1...
Page 6
List of Figures Figure 1-1: TERIDIAN D6534T14A2 Demo Board with Debug Board: Basic Connections ..........11 Figure 1-2: Block diagram for the TERIDIAN D6534T14A2 Demo Board with Debug Board ..........12 Figure 1-3: Hyperterminal Sample Window with Disconnect Button (Arrow) ..............15 Figure 1-4: Port Speed and Handshake Setup (left) and Port Bit setup (right) ..............
71M6534H device for 3-phase electronic power metering applications. It incorporates a 71M6534 or 71M6534H integrated circuit, peripheral circuitry such as a serial EEPROM, emulator port, and on board power supply as well as a companion Debug Board that allows a connection to a PC through a RS232 port. The demo board allows the evaluation of the 71M6534 or 71M6534H energy meter chip for measurement accuracy and overall system use.
At printing time of this document only the following version of the Demo Board is available: • Demo Board D6534T14A2 (standard) COMPATIBILITY This manual applies to the following hardware and software revisions: • 71M6534 or 71M6534H chip revision A03 • Demo Kit firmware revision 4p6q • Demo Boards D6534T14A2 SUGGESTED EQUIPMENT NOT INCLUDED For functional demonstration: ®...
PC through a 9 pin serial port. For serial communication between the PC and the TERIDIAN 71M6534H, the Debug Board needs to be plugged with its connector J3 into connector J2 of the Demo Board.
71M6534H 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.
71M6534H Demo Board User’s Manual 1.7.3 CHECKING OPERATION A few seconds after power up, the LCD display on the Demo Board should display this brief greeting: The “HELLO” message should be followed by the display of accumulated energy alternating with the text “Wh”.
71M6534H Demo Board User’s Manual 1.7.4 SERIAL CONNECTION SETUP After connecting the DB9 serial port to a PC, start the HyperTerminal application and create a session using the following parameters: Port Speed: 9600 bd or 300bd, depending on jumper JP16 (see section 3.1)
71M6534H Demo Board User’s Manual Figure 1-4: 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 >? to see the Demo Code help menu. Type >i to verify the Demo Code revision.
71M6534H Demo Board User’s Manual 1.8.1 SERIAL COMMAND LANGUAGE The Demo Code residing in the flash memory of the 71M6534/6534H 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
71M6534H Demo Board User’s Manual Commands to Display Help on the CLI Commands: HELP Comment 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
71M6534H Demo Board User’s Manual Commands for MPU/XDATA Access: MPU DATA ACCESS Comment Description: Allows user to read from and write to MPU data space. Usage: ) [Starting MPU Data Address] [option]…[option] Command )A??? Read three consecutive 32-bit words in Decimal,...
Page 20
71M6534H Demo Board User’s Manual Commands for EEPROM Control: EEPROM CONTROL Comment Description: Allows user to enable read and write to EEPROM. Usage: EE [option] [arguments] Command EECn EEPROM Access (1 Enable, 0 Disable) combinations: EERa.b Read EEPROM at address 'a' for 'b' bytes.
Page 21
71M6534H Demo Board User’s Manual Commands controlling the Auto-Calibration Function: AUTO-CALIBRATION Comment CONTROL Description: Allows the user to initiate auto-calibration and to store calibration values. Usage: CL [option] Command Begin auto-calibration. Prior to auto-calibration, the combinations: calibration coefficients are automatically restored from flash memory.
Page 22
71M6534H Demo Board User’s Manual CONTROL (LCD) Description: Allows user to select meter RMS display for voltage or current. Usage: MR [option]. [option] Command MR1. [phase] Displays instantaneous RMS current combinations: MR2. [phase] Displays instantaneous RMS voltage Example: MR1.3 Displays phase C RMS current.
Page 23
Read fuse 5 (TRIMBGA) Read fuse 6 (TRIMBGB). Example: Reads the TRIMM fuse. These commands are only accessible for the 71M6534H (0.1%) parts. When used on a 71M6534 (0.5%) part, the results will be displayed as zero. Reset Commands: RESET...
Page 24
71M6534H Demo Board User’s Manual Commands for Controlling the Metering Values Shown on the LCD Display: METER DISPLAY Comment CONTROL (LCD) Description: Allows user to select internal variables to be displayed. Usage: M [option]. [option] Command Wh Total Consumption (display wraps around at 999.999) combinations: Wh Total Consumption (display wraps around at 999.999)
71M6534H Demo Board User’s Manual 1.8.2 USING THE DEMO BOARD FOR ENERGY MEASUREMENTS The 71M6534/6534H 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...
71M6534H 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 un- modified Demo Board, 208A on the primary side at 2000:1 ratio result in 104mA on the secondary side, causing 176.8mV at the 1.7Ω...
71M6534H 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 Demo Code accepts negative calibration factors for phase. CALIBRATION PARAMETERS 1.9.1 GENERAL CALIBRATION PROCEDURE Any calibration method can be used with the 71M6534/6534H chips.
The new hex file can be written to the 71M6534H 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.
Chips may also be programmed before they are soldered to the board. The TGP1 gang programmer suitable for high-volume production is available from TERIDIAN. It must be equipped with LQFP-120 sockets. In-Circuit Emulator: If firmware exists in the 71M6534/6534H flash memory; it has to be erased before loading a new file into memory.
71M6534H Demo Board User’s Manual 1.9.7 THE PROGRAMMING INTERFACE OF THE 71M6534/6534H Flash Downloader/ICE Interface Signals The signals listed in Table 1-6 are necessary for communication between the Flash Downloader or ICE and the 71M6534/6534H. Signal Direction Function E_TCLK Output from 71M6534/6534H...
1.10.1 DEMO CODE DESCRIPTION The Demo Board is shipped preloaded with Demo Code revision 4.6q or later in the 71M6534 or 71M6534H chip. The code revision can easily be verified by entering the command >i via the serial interface (see section 1.8.1).
71M6534H Demo Board User’s Manual 1.10.2 IMPORTANT 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.
71M6534H Demo Board User’s Manual XRAM Word Default Name Description Address Value This address contains a number that points to the selected pulse 0x07 source for the Wh output. Selectable pulse sources are listed in PULSEW_SRC Table 1-8. This address contains a number that points to the selected pulse 0x08 source for the VARh output.
71M6534H Demo Board User’s Manual Any of the values listed in Table 1-8 can be selected for as a source for PULSEW and PULSER. The designation “source_I” refers to values imported by the consumer; “source_E” refers to energy exported by the consumer (energy generation).
71M6534H Demo Board User’s Manual Status Name DESCRIPTION Word Bit The temperature is above the maximum, 85C, established in option_gbl.h. This is not very accurate in the demo code, because the calibration temperature is usually poorly controlled, and the default temp_nom is MAXT usually many degrees off.
71M6534H Demo Board User’s Manual MPU ACCUMULATION OUTPUT VARIABLES Accumulation values are accumulated from XFER cycle to XFER cycle (see Table 1-11). They are organized as two 32-bit registers. The first register stores the decimal number displayed on the LCD. For example, if the LCD shows “001.004”, the value in the first register is 1004.
Signum website and installed. It is very important to create a new project and selecting the TERIDIAN 71M6534 IC in the project dialog when starting a 6534-based design. Using the ICE with project settings copied from a 6521 or 651X de- signs will lead to erratic results.
71M6534H Demo Board User’s Manual APPLICATION INFORMATION 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 42
71M6534H 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( −...
71M6534H 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( − π − − −...
71M6534H Demo Board User’s Manual ⎛ ⎞ − ⎜ ⎜ ⎟ ⎟ φ − ⎝ ⎠ tan( Now that we know the A , and φ errors, we calculate the new calibration voltage gain coefficient from the previous ones: We calculate PHADJ from φ...
71M6534H Demo Board User’s Manual CALIBRATION PROCEDURES Calibration requires that a calibration system is used, i.e. equipment that applies accurate voltage, load current and load angle to the unit being calibrated, while measuring the response from the unit being calibrated in a repeatable way.
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.
71M6534H Demo Board User’s Manual 2.2.2 CALIBRATION PROCEDURE WITH FIVE MEASUREMENTS The calibration procedure is as follows: All calibration factors are reset to their default values, i.e. CAL_IA = CAL_VA = 16384, and PHADJ_A = 0. An RMS voltage V consistent with the meter’s nominal voltage is applied, and the RMS reading...
71M6534H Demo Board User’s Manual 2.2.4 CALIBRATION PROCEDURE FOR ROGOWSKI COIL SENSORS Demo Code containing CE code that is compatible with Rogowski coils is available from TERIDIAN Semi- conductor. Rogowski coils generate a signal that is the derivative of the current. The CE code implemented in the Rogowski CE image digitally compensates for this effect and has the usual gain and phase calibration adjustments.
71M6534H Demo Board User’s Manual 2.2.5 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.
71M6534H 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: [Hz] Author: (click on yellow field to select from pull-down list) fraction PHASE A Voltage Energy reading at 0°...
71M6534H 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...
71M6534H Demo Board User’s Manual 2.2.6 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 individually for each channel by using the QUANT_n variables...
Demo Code adjusts the oscillator within very narrow limits. The MPU Demo Code supplied with the TERIDIAN Demo Kits has a direct interface for these coefficients and it directly controls the PREG[16:0] and QREG[1:0] registers. The Demo Code uses the coefficients in the following...
71M6534H Demo Board User’s Manual 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 71M6534/6534H can never be left unconnected.
71M6534H Demo Board User’s Manual 2.4.3 OSCILLATOR The oscillator of the 71M6534 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 71M6534 has been designed specifically to handle watch crystals and is compatible with their high impedance and limited power handling capability.
71M6534H Demo Board User’s Manual 2.4.5 LCD The 71M6534 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. 71M653X...
Figure 2-13: 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-14 shows the screen on the controlling PC for a typical Demo Board.
71M6534H Demo Board User’s Manual Figure 2-14: 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...
71M6534H Demo Board User’s Manual 2.5.3 RTC Testing the RTC inside the 71M6534/6534H 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: LCD display to show calendar date >M10...
Writes the original value back to LCD_CLK >RI21=25 TERIDIAN APPLICATION NOTES Please contact your local TERIDIAN sales representative for TERIDIAN Application Notes. Available application notes will be listed below in future editions of this document. Page: 60 of 86 V2-0...
71M6534H Demo Board User’s Manual HARDWARE DESCRIPTION D6534T14A2 BOARD DESCRIPTION: JUMPERS, SWITCHES AND TEST POINTS The items described in the following table refer to the flags in Figure 3-1. Table 3-1: D6534T14A2 Demo Board Description Reference Item # Name Description...
Page 62
71M6534H Demo Board User’s Manual Reference Item # Name Description Designator 3-pin header for selecting the output driving the VARh pulse LED. 1-2: RPULSE, 2-3: YPULSE. A jumper is JP20 normally installed from pin 1 to pin 2. TP13 GND test point.
71M6534H Demo Board User’s Manual Reference Item # Name Description Designator IAN_IN/IAP_IN 2-pin headers mounted on the bottom of the board for IBN_IN/IBP_IN connecting current transformers (CTs) to their associated current inputs. ICN_IN/ICP_IN IDN_IN/IDP_IN Figure 3-1: D6534T14A2 Demo Board - Board Description...
71M6534H Demo Board User’s Manual 71M6534H IC DESCRIPTION Power/Ground Pins: Name Type Description GNDA Analog ground: This pin should be connected directly to the ground plane. GNDD Digital ground: This pin should be connected directly to the ground plane. Analog power supply: A 3.3V power supply should be connected to this pin. It must be the same V3P3A voltage as V3P3SYS.
Page 82
71M6534H Demo Board User’s Manual Digital Pins: Name Type Description COM3, COM2, LCD Common Outputs: These 4 pins provide the select signals for the LCD display. COM1, COM0 SEG0…SEG2, SEG7, SEG8, Dedicated LCD Segment Output. SEG12…SEG18, SEG20…SEG23 SEG24/DIO4 Multi-use pins, configurable as either LCD SEG driver or DIO. (DIO4 = SCK, DIO5 = …...
71M6534H Demo Board User’s Manual FORMULAE FOR FAST CALIBRATION A method for non-trigonometric derivation of the factors for the fast calibration is shown below. The phase angle φ is calculated as follows: − VARh ϕ measured measured − VARh measured The value for tan(φ) can be used directly without calculating trigonometric values when...
Page 85
71M6534H Demo Board User’s Manual For the current calibration we have to realize that the meter's sig nal is the vector sum of the real (Wh) and imaginary (VARh) parts of the energy. i_gain, the current gain, must be scaled to eliminate power errors and rotated in the complex plane to eliminate phase error.
Page 86
User’s Manual: This User’s Manual contains proprietary product 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 writin Demo Kits and t...
Need help?
Do you have a question about the 71M6534H and is the answer not in the manual?
Questions and answers