SA9604/5 APPLICATION NOTE sames PM9604/5AP THREE PHASE POWER/ENERGY METERING MODULE FOR SPI BUS AND PULSE OUTPUT DEVICES FEATURES ■ Module used for both SA9604A and SA9605A evaluation ■ Uses current transformers for current sensing ■ Meets the accuracy requirements for Class 1 AC Watt hour meters ■ Protection against ESD ■ ■ Operates over a wide temperature range Unused connection pads allows the module to be customised DESCRIPTION This innovative power/energy module allows evaluation of both the SA9604A and SA9605A, members of the SAMES three phase metering I.C. family. It is advised that the relevant data sheet for the device under evaluation be read in conjunction with this Application Note. The output of this innovative universal three phase power/energy metering circuit is ideally suited for energy calculations in applications using a µ-controller (SA9604A and SA9605A) or mechanical counter (SA9605A). On the left hand side of the board, next to the 25-way D-type connector, the array of unused solder pads allow the user to customise the module. This section of the board may be used to access the opto-coupler isolated output signals. Such components as counters and LEDs may be added to this area to allow the user evaluation of a design using the SA9604A or SA9605A. CARE MUST BE TAKEN WHEN CONNECTING ADDITIONAL COMPONENTS TO THE BOARD AS DANGEROUS VOLTAGE LEVELS EXIST IN SOME AREAS. BLOCK DIAGRAM SK3 J4 LINE 1 LINE 2 LINE 3 NEUTRAL S IGN A L C O N D IT IO N IN G + 2.5V FOUT 1 O P T O 0 FOUT 2 C O U P L E R - 2.5V S A 9 6 0 4 /5 A PHASE 1 PHASE 2 PHASE 3 FOUT X (SA9605A) DIR SK2 O P T O (SA 9604A) C O U P L E R 25-WAY D-TYPE - FEMALE 1/14 7205 PDS038-SA9604/5-001 REV.B 18-06-98 PM9604/5AP ABSOLUTE MAXIMUM RATINGS* Parameter Symbol Supply Voltage (Note 1) VAC Storage Temperature TSTG Operating Temperature (Note2) TO Note 1: Note 2: Min -25 -10 Max 540 +125 +70 Unit V °C °C Voltages are specified with reference to Neutral. The SA9604A and SA9605A integrated circuits are specified to operate over the temperature range -10°C to +70°C. The module functionality will, however, depend upon the external components used. *Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only. Functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification, is not implied. Exposure to Absolute Maximum Ratings for extended periods may affect device reliability. ELECTRICAL CHARACTERISTICS (Over the temperature range -10°C to +70°C, unless otherwise specified. Power consumption figures are applicable to the PM9604/5APE only.) Parameter Symbol Min Typ Max Unit Condition Supply voltage (3 phase) VAC 180 230 265 V PM9604/5APE (Continuous) 90 115 138 V PM9604/5APA Output Refer to applicable IC data sheet 1 Power consumption 2.4 W VDD = 5V Note 1: Power consumption specifications exclude power consumed by the current sensor. 2/14 sames PM9604/5AP CONNECTION DESCRIPTION Designation MAINS SK2 25-Way female (D-type) SK3 4-Way male Description Voltage supply connection to Phase 1 Voltage supply connection to Phase 2 Voltage supply connection to Phase 3 Voltage supply connection to Neutral Live (common) P1 Supply (+ve) to opto-couplers P7 Input SA9604A - SCK P8 Input SA9604A - DI P9 Input SA9604A - CS P12 Output SA9604A - DO P18, 20 - 25 Common emitters and cathodes of opto-couplers 1. Supply (+ve) to opto-couplers 2. Output SA9605A - FOUT1 / FOUT2 (selectable) 3. Output SA9605A - DIR 4. Common emitters and cathodes of opto-couplers SELECTION PINS Jumper JP1 JP2 JP3 JP4 JP5 JP6 JP7 Description CT1 selection CT2 selection CT3 selection SA9604A - SCK signal connection SA9605A - FOUT1 on FOUT2 selection SA9604A - DI signal connection SA9605A - PGM1 level selection SA9604A - CS signal connection SA9605A - PGM0 level selection Resistor selection for on-chip bias and reference current sames 3/14 PM9604/5AP FUNCTIONAL DESCRIPTION 1. Power Calculation In the Application Circuit (Figure 2), the output current from the current sensor will be between 0 and 16µARMS. The current input stage saturates at input currents greater than18µARMS. The mains voltage (mains voltage + 15% -20%) is used for the power calculation, together with the current information from the current sensor (current transformers). For rated conditions, the signals into the current and voltage sensor inputs are set as follows: Current sensor input currents: 16µARMS Voltage sensor input currents: 14µARMS 2. Electrostatic Discharge (ESD) Protection The device's inputs/outputs are protected against ESD. The modules resistance to transients will be dependant upon the protection components used. 3. Power Consumption The overall power consumption rating for this power metering application (Figure 2), is under 2.4W, excluding the current sensors. 4. Isolation The reference for the unit is connected to neutral. 5. Isolated Input/Output Interface The isolated interface is provided to allow the user to access the registers of the SA9604A and the output signals of the SA9605A. Two connector types are available on the PM9604/5AP module to access the outputs of the two devices: SK2 - a 25-way D-type connector (female) for the SA9604A SK3 - a 4-pin connector for the SA9605A. Only one of the output interfaces must be used at any one time to avoid conflict of signal levels on the opto-couplers. 4/14 sames PM9604/5AP 6. Jumper Configurations The jumper configufations required for the two devices types are shown below: JUMPER POSITION JP1 1 - 2 SA9604A Insert SA9605A Insert NOTES Note 1 JP2 JP3 1-2 1-2 Insert Insert Insert Insert JP4 1-2 2-3 Remove Remove Insert (FOUT1) Insert (FOUT2) Note 2 JP5 3-4 1-2 Insert (SCK) Remove Remove Insert (PGM1=1) Note 3 JP6 2-3 1-2 Insert (CS) Remove Remove (PGM1=0) Insert (PGM0=1) Note 3 JP7 2-3 1-2 Insert (DI) Remove Remove (PGM0=0) Insert Note 1: Note 2: Note 3: The removal of the link on the current sensor input must only be performed during calibration. Only one of the two output pulse signals on the SA9605A may be selected at any one time using this module. In a users application both of these signals may be used. The SA9605A I.C. has on-board pull-down resistors, pull-up connection to VDD is, therefore, the only connection which must be catered for. sames 5/14 PM9604/5AP 7. Circuit Description The module is supplied from an on-board DC supply derived from the incoming three phases. The Application Circuit (Figure 2) details the components required for a three phase power metering module. Terminated current transformers are used as current sensors. The most important external components are: Terminated current sensors (current transformers) are connected to the current sensor inputs of the devices through current setting resistors (R8...R13). The resistor values should be selected for an input current of 16µARMS into the integrated circuit current sensor inputs at the rated line current. The values of these resistors are calculated as follows: Phase 1: R8 = R9 = (IL1/16µARMS) x R17/2 Phase 2: R10 = R11= (IL2/16µARMS) x R18/2 Phase 3: R12 = R13 = (IL3/16µARMS) x R19/2 Where ILX = Secondary CT current at rated conditions. R17, R18 and R19 = Termination resistors of the three current transformers. R1A, R1B, R4 and R14 set the current for the phase 1 voltage sense input. R2A + R2B,R5 and R15 set the current Phase 2 and R3A + R3B, R6 and R16 set the current for Phase 3. The values should be selected so that the input current into the voltage sense input (virtual ground) is set to 14µARMS at nominal line voltage. Capacitors C1, C2 and C3 are for decoupling and phase compensation. Resistors R7A + R7B and trimpot T7 defines all on-chip bias currents. R7 is made up of two resistors which can be connected in parallel using JP7 to allow convertion of the module between the SA9604A and SA9605A devices. The SA9604A uses a reference current of 25µA ± 10% and the SA9605A reference current is 50µA ± 10%. Inserting the jumper will connect R7A and R7B in parallel, thereby doubling the reference current to an appropriate level. T7 may be varied for calibration purposes. XTAL is a colour burst TV crystal (f = 3.5795 MHz) for the oscillator. The oscillator frequency is divided down to 1.7897 MHz on-chip to supply the digital circuitry and the A/D converters. 6/14 sames PM9604/5AP 8. Demonstration Software Software to demonstrate the capabilities of the SA9604A is provided with the module. This software is supplied on a 3½" disk and will operate under Windows 95 or Windows 3.1 environment. Figure 1: Module layout PH2 PH3 PH1 CT2 JP2 R18 SK2 P I N 1R3 1 9 C3 R35 R34 R33 R11 R10 R16 R13 R12 J P 4 SA9 60 4 P IN 8 P I N 7FSeOUleTc t P IN 1 2 IC 5 P14 IC 2 R28 P IN 9 SK3 R29 IC 1 R27 R22 R3A R1A R1B R 7 BC 1 R4 C10 T7 R 2 6 GA ad ijn R25 R32 R31 R30 M3 R2A R2B C2 JP6 JP5 M2 M1 R3B JP1 R15 R8 R9 R14 C 1 1R 7 A JP7 XTAL JP3 R21 CT1 T5 T6 P H3 B a la n c e PH2 R6 B al R5 R17 CT3 R20 CT CT CT M A IN S IC 4 R24 C6 C9 IC 3 R23 C5 C4 D6 D5 D4 D3 C8 C7 D2 D1 SAM ES P M 9 60 4/5A P Note: The pins of the voltage supply connector, called 'MAINS' have been incorrectly marked. The order of the pins should read: N (Neutral), Ph 3, Ph 2, Ph 1. The printed circuit board markings of the Ph 1 and Ph 3 pins have been swopped. sames 7/14 PM9604/5AP Figure 2: Application Schematic d r -0 1 3 2 0 8/14 sames PM9604/5AP d r-0 1 3 2 1 sames 9/14 PM9604/5AP Parts List for Application Circuit: Figure 2 Item 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 10/14 Symbol IC-1 XTAL R1A R1B R2A R2B R3A R3B R4 R5 R6 R7A R7B R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 T5 T6 T7 C1 C2 C3 R20 R21 R22 R23 R24 R25 R26 R27 Description SA9604AP / SA9605AP Crystal, 3.5795 MHz Resistor, 1%, ¼W, Metal Resistor, 1%, ¼W, Metal Resistor, 1%, ¼W, Metal Resistor, 1%, ¼W, Metal Resistor, 1%, ¼W, Metal Resistor, 1%, ¼W, Metal Resistor, 24k, 1%, ¼W, Metal Resistor, 22k, 1%, ¼W, Metal Resistor, 22k, 1%, ¼W, Metal Resistor, 44k, 1%, ¼W, Metal Resistor, 44k, 1%, ¼W, Metal Resistor, 2.7k, 1%, ¼W, Metal Resistor, 2.7k, 1%, ¼W, Metal Resistor, 2.7k, 1%, ¼W, Metal Resistor, 2.7k, 1%, ¼W, Metal Resistor, 2.7k, 1%, ¼W, Metal Resistor, 2.7k, 1%, ¼W, Metal Resistor, 1M, 1%, ¼W, Metal Resistor, 1M, 1%, ¼W, Metal Resistor, 1M, 1%, ¼W, Metal Resistor, 2.7Ω, 1%, ¼W, Metal Resistor, 2.7Ω, 1%, ¼W, Metal Resistor, 2.7Ω, 1%, ¼W, Metal Potentiometer, 4.7k Potentiometer, 4.7k Potentiometer, 10k Capacitor, electrolytic, 1µF, 16V Capacitor, electrolytic, 1µF, 16V Capacitor, electrolytic, 1µF, 16V Resistor, 470Ω, 2W Resistor, 470Ω, 2W Resistor, 470Ω, 2W Resistor, 680Ω, 1% ¼W, Metal Resistor, 680Ω, 1% ¼W, Metal Resistor, 2.4k, 1% ¼W, Metal Resistor, 2.4k, 1% ¼W, Metal Resistor, 2.4k, 1% ¼W, Metal sames Detail DIP-20 TV Crystal Note 4 Note 4 Note 4 Note 4 Note 4 Note 4 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Note 1 Multi turn. Note 5 Multi turn. Note 5 Multi turn. Note 5 Note 2 Note 2 Note 2 PM9604/5AP Parts List for Application Circuit: Figure 2 (Continued) Item Symbol 41 42 43 44 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 R28 R29 R31 R32 R33 R34 R35 C4 C5 C6 C7 C8 C9 C10 C11 XTAL D1 D2 D3 D4 D5 D6 Z1 IC3 IC4 IC2 IC5 Description Resistor, 820R, 1% ¼W, Metal Resistor, 820R, 1% ¼W, Metal Resistor, 47k, 1% ¼W, Metal Resistor, 47k, 1% ¼W, Metal Resistor, 680R, 1% ¼W, Metal Resistor, 680R, 1% ¼W, Metal Resistor, 680R, 1% ¼W, Metal Capacitor Capacitor Capacitor Capacitor, 200µF, 35V Capacitor, 200µF, 35V Capacitor, Tantulum, 10µF Capacitor, Tantulum, 10µF Capacitor, Ceramic 820nF Crystal, 3.5795MHz Diode, 1N4002 Diode, 1N4002 Diode, 1N4002 Diode, 1N4002 Diode, 1N4002 Diode, 1N4002 Diode, Zener, 22V TL 431C, Voltage Reference TL 431C, Voltage Reference Quad Opto Coupler, ILQ73 Opto Coupler, 4N35 Detail Note 4 Note 4 Note 4 Note 3 TV Crystal Note 1: Resistor (R 8, R9, R10, R11, R12 and R13) values are dependant upon the selected values of the current transformer termination resistors R17, R18 and R19. Note 2: Capacitor values may be selected to compensate for phase errors caused by the current transformers Note 3: Capacitor (C11) to be positioned as close to Supply Pins (VDD & VSS) of IC-1, as possible. Note 4: See the table below detailing the component values for the selected voltage standard. Note 5: Trimpots required for calibration. sames 11/14 PM9604/5AP Item Symbol 3 4 5 6 7 8 47 48 49 R1A R1B R2A R2B R3A R3B C4 C5 C6 Description PM9604/5APE PM9604/5APA 230V 115V 200kΩ 120kΩ 180kΩ 82kΩ 200kΩ 120kΩ 180kΩ 82kΩ 200kΩ 120kΩ 180kΩ 82kΩ 470nF 1µF 470nF 1µF 470nF 1µF ORDERING INFORMATION Part Number PM9604/5APA PM9604/5APE 12/14 Description 3 X 115V, 3 X 80A Module 3 X 230V, 3 X 80A Module sames Detail PM9604/5AP NOTE: sames 13/14 PM9604/5AP Disclaimer: The information contained in this document is confidential and proprietary to South African MicroElectronic Systems (Pty) Ltd ("SAMES") and may not be copied or disclosed to a third party, in whole or in part, without the express written consent of SAMES. The information contained herein is current as of the date of publication; however, delivery of this document shall not under any circumstances create any implication that the information contained herein is correct as of any time subsequent to such date. SAMES does not undertake to inform any recipient of this document of any changes in the information contained herein, and SAMES expressly reserves the right to make changes in such information, without notification,even if such changes would render information contained herein inaccurate or incomplete. SAMES makes no representation or warranty that any circuit designed by reference to the information contained herein, will function without errors and as intended by the designer. Any sales or technical questions may be posted to our e-mail address below: [email protected] For the latest updates on datasheets, please visit our web site: http://www.sames.co.za South African Micro-Electronic Systems (Pty) Ltd P O Box 15888, 33 Eland Street, Lynn East, Koedoespoort Industrial Area, 0039 Pretoria, Republic of South Africa, Republic of South Africa Tel: Fax: 14/14 012 333-6021 012 333-8071 sames Tel: Fax: Int +27 12 333-6021 Int +27 12 333-8071