sames SA9110A APPLICATION NOTE PM9110BF MONOCHIP THREE PHASE BIDIRECTIONAL KILOWATT HOUR METERING MODULE FEATURES ! Performs bidirectional energy metering and includes a 7 digit LCD driver with announciators ! 4 externally selectable on-chip tariff registers ! An additional total energy register according to IEC1107 Mode D ! Pulse output for calibration ! Total power consumption rating below 100mW ! Uses current transformers for current sensing ! Meets the accuracy requirements for ! Operates over a wide temperature range Class 1 AC Watt hour meters ! Optical interface for electronic reading ! Demonstration software included DESCRIPTION The SAMES monochip three phase bidirectional kilowatt hour metering module, the PM9110BF, provides all the required metering functions including energy measurement, a 7 digit LCD driver, a tariff selection facility, an optical port as well as a pulse output for calibration purposes. Energy consumption is determined by the power measurement being integrated over time. This method of calculation takes the power factor into account. This application utilises the SAMES SA9110AFA monochip three phase bidirectional kilowatt hour metering IC for energy measurement. 1/14 PM9110BFX PDS038-SA9110A-001 REV. 2 28-06-00 PM9110BF BLOCK DIAGRAM LOAD DISPLAY SCROLL TARIF SELECT RESET PCLK PDTA PGM SA9110A ISOLATED CALIBRATION INTERFACE PULSE OUTPUT BATTERY BACKUP OPTICAL PORT EXTERNAL POWER SUPPLY 5V POWER SUPPLY DR-01103 SUPPLY ABSOLUTE MAXIMUM RATINGS* Parameter Symbol Supply Voltage (Note 1) VAC Storage Temperature TSTG Operating Temperature TO Note 1: Note 2: Min -25 -10 Max 540 +125 +70 (Note 2) Unit V °C °C Voltages are specified with reference to Neutral The SA9110A integrated circuit is 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. 2/14 sames PM9110BF ELECTRICAL CHARACTERISTICS (Over the temperature range -10°C to +70°C, unless otherwise consumption figures are applicable to the PM9110BFE only.) Parameter Symbol Min Typ Max Unit Supply Voltage (x3 Phase) VAC 180 230 265 V (Continuous) Power Consumption 100 m W Isolation Voltage1 Opto-coupler Output Current Opto-coupler Input Current VIS 2500 V IO 10 mA II 10 mA specified. Power Condition PM9110BFE From external power supply Continuous VOL = 1V Note 1: Isolation voltage may be specified, depending on customer requirements. PIN DESCRIPTION Designation SK1 5-Pin Header connector SK2 2-Pin Header connector MAINS CT1 CT2 CT3 POWER Description Isolated programming interface Isolated pulse output Voltage Supply Connected to Phase 1 Voltage Supply Connected to Phase 2 Voltage Supply Connected to Phase 3 Voltage Supply Connected to Neutral Line (common) Phase 1 (Orientation indicated on PCB) Phase 2 (Orientation indicated on PCB) Phase 3 (Orientation indicated on PCB) 5V DC Supply Voltage 0V DC Supply Voltage sames 3/14 PM9110BF FUNCTIONAL DESCRIPTION 1. Energy Calculation This Application Note should be read in conjunction with the SA9110A Data Sheet. In the Application Circuit (see Figure 2), the output current from the current sensors will be between 0 and 16µARMS. The current input stage of the module saturates at input currents greater than18µARMS. The mains voltage (Voltage + 15% - 20%) is used to perform the energy calculation, together with the current information from the current sensor (current transformers). The SA9110AFA integrated circuit may be adjusted to accomodate any voltage or current values. The method for calculating external component values is described in section 9 (Circuit Description). The accumulated energy is directly displayed on a 7 digit LCD. This unique application offers a host of additional features, which are dealt with below. 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 100mW, excluding the current sensors. 4. Isolation The programming interface and pulse output are isolated from the module which is at mains potential, via opto-couplers. 5. Isolated Programming Interface This isolated interface is provided to allow the user to programme the tariff register values, calibration constants and manufacturer/meter identification codes. This port is enabled by inserting the jumpers J8, J9 and J10. The programming may be performed via the parallel port of a personal computer. The designation of the pins on connector SK1 are given below: 4/14 sames PM9110BF Pin 1 2 3 4 5 PM9110BF Description GND PB PCLK PDTA PGM PC Parallel Connectors (Suggested) Pin Description 18 GND 2 D1 4 D3 5 D4 3 D2 Note: The recommended connections above are applicable for the demonstration software provided with the PM9110BF. 6. Optical Port The optical port has been designed to meet the IEC1107 Mode D specification. This facillity offers a pulse output as well as a serial data meter reading facility. Three types of interfacing elements from the PM9110BF are available: a) Infra-red optical port b) Red LED c) Opto-coupler In order to maximise the intensity of the element, it is suggested that only one of the outputs be used at any one time. 7. Jumper Element J5 J6 J7 Opto Coupler Infra Red LED Red LED Liquid Crystal Display (LCD) The PM9110BF has a LCD comprising of seven digits with announciatiors. To cater for compatibility with future devices four jumpers are provided for backplane driving configurations. The PM9110BF boards are shipped to the customer with jumpers in a default configuration. 8. Tariff, Scroll and Reset Functions Tariff Selection A dual DIP switch provides the user with the facility to set the active tariff register in which consumption will be accumulated. The active register is indicated on the LCD. sames 5/14 PM9110BF Scroll Facility The 4 registers may be sequentially displayed by activating the scroll button. The contents of the register selected for display is retained on the display for a period of 10 seconds, provided that the push button is not activated during this period. After the 10 seconds has elapsed, the display defaults to the "active" register defined by the status of the tariff DIP switches. The register selected for display via the scroll button is indicated by the relevant announciatiors. Reset Function By pressing the Reset button the contents of the RAM of the SA9110A device is set to the default conditions. Jumpers J8, J9 and J10 must be removed to use this feature. It is strongly recommended that the provision of this facility is not made available on production meters. 9. Circuit Description The module is supplied from an external 5V DC supply. The most important external components are: C7, C9, C 10 and C11 are the outer loop capacitors for the integrated oversampling A/D converters. The typical value of C7 is 2.2nF and the value of C9, C10 and C11 is 560pF. The actual values determine signal to noise and stability performance. tolerances should be within ± 10%. The C4, C5, C6 and C8 are the inner loop capacitors for the integrated oversampling A/ D converters. The typical value of C4, C5, C6 and C8 is 3.3nF. Values smaller than 0.5nF and larger than 5nF should be avoided. Terminated current sensors (current transformers) are connected to the current sensor inputs of the SA9110A through current setting resistors (R8..R13). The resistor values should be selected for an input current of 16µARMS into the SA9110A at the rated line current. 6/14 sames PM9110BF The values of these resistors should be calculated as follows: Phase 1: R8 = R9 = (IL1/16mA) * R18/2 Phase 2: R10 = R11 = (I L2/16mA) * R19/2 Phase 3: R12 = R13 = (I L3/16mA) * R20/2 Where ILX = Secondary CT current at rated conditions. R18, R19 and R20 = Termination resistors of the three current transformers. R1A+ R1B, R4 and R15 set the current for the phase 1 voltage sense input. R2A + R2B, R5 + P5 and R16 set the current for phase 2 and R3A + R3B, R6 + P6 and R17 set the current for phase 3. The values should be selected so that the input currents into the voltage sense inputs (virtual ground) are set to 14mARMS for rated line voltage. Capacitors C1, C2 and C3 are for decoupling and phase compensation. R7 defines all on-chip bias and reference currents. With R7 = 24kΩ, optimum conditions are set. Any changes to R7 will affect the output quadratically (i.e: ∆R = +5%, ∆f = +10%). XTAL is a colour burst TV crystal (f = 3.5795MHz) for the oscillator. The oscillator frequency is divided down to 1.7897MHz on-chip and supplies the A/D converters and the digital circuitry. 10. Demonstration Software Serial communication with the SA9110A device is identical to the communication found on the Single Phase family member, SA9109A. For this reason the demonstration software for the Single Phase Application circuit is used for the Three Phase Application. The software package which accompanies the demonstration unit requires an IBM or compatible PC with MS-DOS installed. This software, supplied on a 1.44M 3½" disk, will allow the user to read and write settings from/to the demonstration unit. Ensure that the communication connectors are in place prior to start. Insert the diskette into the drive and at the DOS prompt, type A:SA9109 [enter] Context sensitive help screen for each input field or command prompt are available by invoking [alt] H or [F1] key. An introduction is available by pressing the [F1] key immediately after installation. sames 7/14 PM9110BF Figure 1: Connection Diagram 8/14 sames DR-01105 POWER _ BAT. + CT3 CT2 CT1 R23 VSS MAINS D1 C12 C13 C16 R3B R2B R2A R3A R1B R1A C15 R4 P5 VSS C14 AGND VD D R5 R20 R19 D2 R22 R21 C3 C2 C1 R18 R6 P6 R7 R13 R12 R11 R10 R9 R8 R17 R16 R15 38 37 2 3 12 25 1 32 31 30 29 28 27 6 7 8 R29 VBA V SS V SS VREF GND V DD V DD IIP3 IIN3 IIP2 IIN2 IIP1 IIN1 IVP3 IVP2 12 R28 J10 IVP1 11 U2 5 13 R27 J9 3 C9 15 1 16 2 Q1 10 8 9 7 X 19 SCROLL 2 IC-1 C10 14 15 C5 20 21 1 5 X C11 5 4 CIN3 CIP3 CINP CIPP CONP COPP OSCO OSCI COFF R[3] R[2] R[1] R[0] S[13] S[12] S[11] S[10] S[9] S[8] S[7] S[6] S[5] S[4] S[3] S[2] S[1] S[0] RED_LED IR_LED X X X X X X X SA9110AFA C4 18 16 J8 14 4 17 6 COP1 64 PGM 65 PDTA CON1 62 COP2 RESET 6 SK2 CON3 VSS CIN2 66 PB CIN1 4 COP3 63 PCLK CIP1 68 67 CON2 23 22 36 35 34 33 59 60 43 42 41 40 39 58 57 56 55 54 53 52 51 50 49 48 47 46 45 R26 R25 R24 U3 TAR TAR C6 C8 C7 XTAL J7 J6 J5 VSS VD D T1 COST T2 TOTAL T3 COM T4 COST . . . T1 . . 32 9 10 11 13 24 26 44 61 SD0 SR[1] SR[0] NC9 NC10 NC11 NC13 NC24 NC26 NC44 NC61 CIP2 36 35 1 2 34 33 3 4 . . T3 . T2 . 30 29 7 8 9 31 5 6 28 27 10 . . 26 11 T4 . . . Total . 23 22 14 15 25 24 12 13 . J3 % Error imp/kWh Hz 321 kWsh Wh/imp 21 20 19 J1 17 18 sames 16 SK1 J2 LCD J4 PM9110BF Figure 2: Application Circuit. 9/14 PM9110BF 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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 10/14 Symbol U1 U2 U3 XTAL R1A R1B R2A R2B R3A R3B R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29 P5 P6 C1 C2 C3 C4 C5 C6 Description SA9110AFA ILQ74 (Quad opto-coupler) 4N35 (opto-coupler) Crystal 3.5795MHz 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, 24k, 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 Resistor, 820Ω, 1%, ¼W, metal Resistor, 820Ω, 1%, ¼W, metal Resistor, 2MΩ, 1%, ¼W, metal Resistor, 680Ω, 1%, ¼W, metal Resistor, 2.2kΩ, 1%, ¼W, metal Resistor, 2.2kΩ, 1%, ¼W, metal Resistor, 2.2kΩ, 1%, ¼W, metal Resistor, 2.2kΩ, 1%, ¼W, metal Resistor, 2.2kΩ, 1%, ¼W, metal Potentiometer, 4.7kΩ Potentiometer, 4.7kΩ Capacitor, electrolytic, 1µF, 16V Capacitor, electrolytic, 1µF, 16V Capacitor, electrolytic, 1µF, 16V Capacitor, ceramic, 3.3nF Capacitor, ceramic, 3.3nF Capacitor, ceramic, 3.3nF sames Detail PLCC-68 DIP-16 DIP-6 Colour burst TV 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 Multi turn Note 2 Note 2 Note 2 PM9110BF Parts List for Application circuit: Figure 2 (continued) Item Symbol 44 C7 45 C8 46 C9 47 C10 48 C11 49 C12 50 C13 51 C14 52 C15 53 C16 54 BAT 55 IR LED 56 RED LED 57 Q1 58 D1 59 D2 60 SCROLL 61 RESET 62 TARIFF 63 LCD Description Capacitor, ceramic, 2.2nF Capacitor, ceramic, 3.3nF Capacitor, ceramic, 560pF Capacitor, ceramic, 560pF Capacitor, ceramic, 560pF Capacitor, 100µF, 16V Capacitor, 100nF Capacitor, 100nF Capacitor, 100µF, 16V Capacitor, 820nF Battery, 1.2V Infrared light emitting diode Red light emitting diode Photo transistor Diode, 1N4148 Diode, 1N4148 NO, push button NO, push button DIP switch, 2 pole OEL-7678* Detail Note 3 Note 3 Note 1: Resistor (R8, R9, R10, R11, R12 and R13) values are dependant upon the selected values of the current transformer termination resistors R18, R19 and R20 Note 2: Capacitor values may be selected to compensate for phase errors caused by the current transformers Note 3: Capacitor (C13) 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 *The LCD display is available from: JEBON CORPORATION Unit 709, Poongsan Factoria Town, 1141-2, Baegsok-Dong, Ilsan-District, Koyangcity, Kyonggi-Do, 411-360, Korea Tel: +82-31-902-9161 (12 lines) Fax: +82-31-902-7775/7776 Web site: http://www.jebon.com sames 11/14 PM9110BF Item Symbol 5 6 7 8 9 10 R1A R1B R2A R2B R3A R3B Description PM9110BFE PM9110BFA 230V 115V 200kΩ 120k Ω 180kΩ 82kΩ 200kΩ 120k Ω 180kΩ 82kΩ 200kΩ 120k Ω 180kΩ 82kΩ ORDERING INFORMATION Part Number Description PM9110BFA 3 X 115V, 3 X 80A Module PM9110BFE 3 X 230V, 3 X 80A Module 12/14 sames Detail PM9110BF Notes: sames 13/14 PM9110BF 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 out web site: http://www.sames.co.za South African Micro-Electronic Systems (Pty) Ltd P O Box 15888, 33 Eland Street, Lynn East, 0039 Koedoespoort Industrial Area, Republic of South Africa, Pretoria, 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