![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
IN9004-1 IN9004D - INTEGRATED MICROCHIP MICRO-CONTROLLER WITH MCS-51 SYSTEM OF COMMANDS, SUPERVISORS CIRCUIT AND EMBEDDED LCD DRIVER FOR APPLICATION IN ENERGY METERS The microchip is essentially the high efficiency micro-controller, made under the high fidelity CMOS - technology. The microchip contains the programs ROM with the capacity of 4,096 bytes, the embedded data RAM with the capacity of 128 bytes, 32 input/output lines, two 16-bit timers / counters, guard timer, interrupts system with five vectors and two priority levels, the serial port for expansion of input/output as the universal asynchronous transceiver, the embedded synchro generator and synchronization system, the embedded driver for the LC- display control (number of segments -124, duty rate - 1:4, frame frequency - 50-300 Hz, the LCD operational - voltage 3.6 V). The micro-controller system of commands complies with the system of commands of the MCS-51 family. The microchip is initialized (reset) automatically when turning power on, when the guard timer is overflowed or effected by the RST signal (voltage active low level) if the external synchronization signal is applied or during the quartz connection. The LCD control micro-controller microchip with the MCS-51 system of commands can be successfully applied as the processor element in the electronic power counters. The microchip has two programmable modes for the reduced power consumption, the idle mode and the micro-consumption mode. The idle run mode locks the central processor's operation, stores the condition of the internal ROM data, the timers, consecutive port, LCD control unit and the discontinuity system keep on functioning. The micro-consumption mode turns off the specifying generator, operation of all assemblies of the microchip stops and the ROM data contents is kept in storage. Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by IN9004-1 Structural diagram Arithmetic-logic device RST A d dr e s s b u s Port 0 8 P0.0-P0.7 EA XTAL2 XTAL1 Control unit Da t a m a i n l i n e Timers/counters block Port 1 8 P1.0/SEG29 - P1.7/SEG36 Serial interface and discontinuity block 6 Programmable counter Port 2 P2.0-P2.5 Data memory (ROM) Program Memory (RAM) Port 3 LCD control unit 8 P3.0-P3.7 COM1-COM4 SEG5-SEG8, SEG10-SEG28 GND UCC Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by IN9004-1 Leads Destination Lead number 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 Description SEG27 SEG26 SEG25 SEG24 SEG23 SEG22 SEG21 SEG20 SEG19 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG8 SEG7 SEG6 SEG5 RXD TXD PFAIL Destination Digit output 27 of LCD segment control Digit output 26 of LCD segment control Digit output 25 of LCD segment control Digit output 24 of LCD segment control Digit output 23 of LCD segment control Digit output 22 of LCD segment control Digit output 21 of LCD segment control Digit output 20 of LCD segment control Digit output 19 of LCD segment control Digit output 18 of LCD segment control Digit output 17 of LCD segment control Digit output 16 of LCD segment control Digit output 15 of LCD segment control Digit output 14 of LCD segment control Digit output 13 of LCD segment control Digit output 12 of LCD segment control Digit output 11 of LCD segment control Digit output 10 of LCD segment control Digit output 8 of LCD segment control Digit output 7 of LCD segment control Digit output 6 of LCD segment control Digit output 5 of LCD segment control Receiver input of the consecutive port. Exchange rate 9600 bauds. Output of the consecutive port transmitter. Exchange rate 9600 bauds. Control input of the voltage level of the primary power supply source. With voltage reduction at the input below the threshold value (about 1.25V) it retains contents of the energy counters in the power self-subsistent memory and turns the circuit into the micro-consumption mode. Switching input of the display modes. With the signal alteration from the high to low level it consequently switches the display modes. Frequency signal input of the consumed power from the primary converter. Low level at the input ensures programming of the external power self-subsistent memory through the consecutive interface. Input1 of the tariffication zone control Input2 of the tariffication zone control. Outlet2 for connection of the quartz resonator 3.6864 Hz Outlet1 for connection of the quartz resonator 3.6864 Hz Common outlet. Input/output Reset. Test input. It should be connected to the power supply source of 5V. Output of the pulses, proportionate to the input signal of the consumed power with the duration of 50 . It is intended for control of the optical pair light diode. Output of the pulses, proportionate to the input signal of the 26 27 28 29 30 31 32 33 34 35 36 37 OPTO_SW PULSE_IN P3.5/T1 ZONE1 ZONE2 XTAL2 XTAL1 GND RST EA PULSE_OUT MC_LED Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by IN9004-1 Lead number 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Description Destination consumed power. Pulse porosity 50%. It is intended for control of the display light diode. Control output for the mechanical counter of the tariffication zone 1. Low level pulse duration 100 . Control output for the mechanical counter of the tariffication zone 2. Low level pulse duration 100 . Control output for the mechanical counter of the tariffication zone 3. Low level pulse duration 100 . Control output for the mechanical counter of the tariffication zone 4. Low level pulse duration 100 . Generator output 3.6864 Hz. Data input/output for connection of the power self-subsistent memory) (for instance, 2402). Synchronization output for connection of the power selfsubsistent memory. Control input B of the preliminary splitter(divider). Control input A of the preliminary splitter. Control input of the operational mode (single phase/three phase) of the power counter. Analysis input of the phase 3 voltage availability. Analysis input of the phase 2 voltage availability. Analysis input of the phase 1 voltage availability. Digit output 29 of LCD segment control Digit output 30 of LCD segment control Digit output 31 of LCD segment control Digit output 32 of LCD segment control Digit output 33 of LCD segment control Digit output 34 of LCD segment control Digit output 35 of LCD segment control Digit output 36 of LCD segment control Voltage supply of 5V. Digit output 4 of LCD line control Digit output 3 of LCD line control Digit output 2 of LCD line control Digit output 1 of LCD line control Digit output 28 of LCD segment control M_COUNT1 M_COUNT2 M_COUNT3 M_COUNT4 CLC_OUT SDA SCL DIV_B DIV_A 1h_3h U_L3 U_L2 U_L1 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 Ucc COM4 COM3 COM2 COM1 SEG28 Abbreviations - LCD - liquid crystal display Display modes When turning power on LCD is tested. Meanwhile, all LCD segments are lit. When the test is over, the display is switched into the power counter display mode of the appropriate tariffication zone (signal determined at inputs Z1, Z2). Display is switched with the change of status at input OPTO_SW. Display mode switching takes place consequently in the following order: 1. Display of the power counter of tariffication zone 1; 2. Display of the power counter of tariffication zone 2; 3. Display of the power counter of tariffication zone 3; 4. Display of the power counter of tariffication zone 4; 5. Display of the total power value counter of all tariffication zones; 6. Display of the current consumed power in watts. 7. Display of the power counter of tariffication zone 1; Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by IN9004-1 8. Etc.. Power count management Input power pulses for the signal alteration at output MC_OUT and pulse formation at output PULSE_OUT. PULSE_IN DIV_B DIV_A Preliminary splitter at output PULSE_OUT (t high = 50 ms) 1200 2400 4800 240 at output MC_OUT (duty=50%) 1200 2400 4800 240 Fmax = 1500Hz. Fmin = 1 Hz. 0 0 1 1 0 1 0 1 :5 :10 :20 :1 Input power pulses per one kW/hour of the tariff electric power counters. 1Ph/3Ph Preliminary splitter 0 0 :5 1 0 1 :10 1 0 :20 1 1 :1 0 0 :5 0 0 1 :10 1 0 :20 1 1 :1 SW4 - two junior register bits CONFIG. DIV_B DIV_A SW4 = 01 1800 3600 7200 360 600 1200 2400 120 SW4 = 10 18000 36000 72000 3600 6000 12000 24000 1200 SW4 = 11 180000 360000 720000 36000 60000 120000 240000 12000 Frequency of the input power pulses for acquisition of the appropriate readings of the consumed power. 1Ph/ 3Ph PULSE_IN, Hz 1 0 20 1200 20 1200 DIV_B= 0 DIV_A=0 40 2400 120 7200 DIV_B= 0 DIV_A=1 20 1200 60 3600 Power, W DIV_B= 1 DIV_A=0 10 600 30 1800 DIV_B= 1 DIV_A=1 200 12000 600 36000 Serial interface Exchange rate 9600 bauds. 1 start bit. 8 data bits. 1 stop bit. Control amount is calculated in compliance with CCIT8. Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by IN9004-1 List and structure of exchange commands by the serial interface. 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 Command description Total power counter reading Tariff counter reading 1 Tariff counter reading 2 Tariff counter reading 3 Tariff counter reading 4 Consumed power readings Reading of registers ST1, ST2, CFG ID number reading Entry in the total power counter. Entry in tariff counter 1 Entry in tariff counter 2 Entry in tariff counter 3 Entry in tariff counter 4 Entry in the configuration register Identification number entry Entry of the display registers of the LCD additional segments Entry of the display registers of the LCD additional segments Microchip response for command 0xA0 Microchip response for command 0xA1 Microchip response for command 0xA2 Microchip response for command 0xA3 Microchip response for command 0xA4 Microchip response for command 0xA5 Microchip response for command 0xA6 Microchip response for command 0xA7 Request for reception of commands 0xB8, 0xB9 Switching for display of tariff counter 1 Switching for display of tariff counter 2 Switching for display of tariff counter 3 Switching for display of tariff counter 4 1 0xA0 0xA1 0xA2 0xA3 0xA4 0xA5 0xA6 0xA7 0xB0 0xB1 0xB2 0xB3 0xB4 0xB6 0xB7 0xB8 0xB9 0xC0 0xC1 0xC2 0xC3 0xC4 0xC5 0xC6 0xC7 0xC8 0xD0 0xD1 0xD2 0xD3 2 3 Byte number 4 5 6 7 8 9 D1 D1 D1 D1 D1 CF G ID0 D1 D8 D1 D1 D1 D1 D1 D1 ST 1 ID0 D2 D2 D2 D2 D2 0x 00 ID1 D2 se g1 D2 D2 D2 D2 D2 D2 ST 2 ID1 D3 D3 D3 D3 D3 0x 00 ID2 D3 se g2 D3 D3 D3 D3 D3 D3 CF G ID2 D4 D4 D4 D4 D4 0x 00 ID3 D4 se g3 D4 D4 D4 D4 D4 D4 0x 00 ID3 D5 D5 D5 D5 D5 0x 00 0x 00 D5 se g4 D5 D5 D5 D5 D5 D5 0x 00 0x 00 D6 D6 D6 D6 D6 0x 00 0x 00 D6 se g5 D6 D6 D6 D6 D6 D6 0x 00 0x 00 D7 D7 D7 D7 D7 0x 00 0x 00 D7 se g6 D7 D7 D7 D7 D7 D7 0x 00 0x 00 crc crc crc crc crc crc crc crc crc crc crc crc crc crc crc crc crc Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by IN9004-1 When turning power on of the microchip, on completion of the internal test the microchip applies the message with the reading 0xC6 to the serial interface. Description of the status register bytes ST1 ST1 Bit 0 Bit 1 Bit 2 Bit3 Bit 4 Bit 5 Bit 6 Bit 7 ST2 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 bit 7 S7 S8 A PLN data W4 bit 6 S6 S9 h3 k3 : W3 bit 5 S5 S10 h2 k2 clock W2 1 0 1 0 0 0 Purpose of bits Memory test of programs - Memory test error of programs Test of the external power self-subsistent memory - Test error of the external power self-subsistent memory Tariff 1 0 Tariff 2 1 Tariff 3 1 Tariff 4 1 0 0 Input logic status 1 Status of register ST2 Purpose of bits Input status DIV_A Input status DIV_B Input status Z1 Input status Z2 Input status 1Ph/3Ph Input status U_L1 Input status U_L2 Input status U_L3 bit 4 S4 S11 h1 k1 tg W1 bit 3 S1 P max Hz kredit T4 bit 2 S2 I V L1 time T3 bit 1 S3 Bit 0 S12 Compliance of bits by command 0xB9 to the LCD additional segments. seg1 seg2 seg3 seg4 seg5 seg6 U var L2 date T2 f W L3 T1 Purpose of the CFG register digits Bit 1 0 0 1 1 Bit 0 0 1 0 1 CFG (bits 7..2 - are not used) SW4 Power counter format 0000.000 kW Power counter format 0000.000 kW Power counter format 00000.00 kW Power counter farmat 000000.0 kW Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by IN9004-1 Table of compliance for the microchip segment outlets to the LCD wiring PIN COM0 COM1 COM2 COM3 seg5 S4 S5 S6 S7 seg6 S12 S3 S2 S1 seg7 S11 S10 S9 S8 seg8 f U seg9 h1 h2 h3 seg10 W var V seg11 k1 k2 k3 PLN seg12 8a 8b 8c max seg13 8f 8g 8e 8d seg14 L1 L2 L3 I P PIN COM0 COM1 COM2 COM3 seg15 7a 7b 7c 7h seg16 7f 7g 7e 7d seg17 6a 6b 6c 6h seg18 6f 6g 6e 6d seg19 Hz seg20 5a 5b 5c 5h seg21 5f 5g 5e 5d seg22 tg0 clock : 4h seg23 4a 4b 4c data seg24 4f 4g 4e 4d PIN COM0 COM1 COM2 COM3 seg25 seg26 seg27 seg28 seg39 seg30 seg31 seg32 seg33 seg34 seg35 3a 3b 3c 3h 3f 3g 3e 3d 2a 2b 2c 2h A time 2f 2g 2e 2d 1a 1b 1c credit 1h 1g 1n 1m date 1f 1e 1d T1 T2 T3 T4 1i 1j 1k 1l W1 W2 W3 W4 Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by IN9004-1 Electric parameters Item, Parameter, Unit, Measuring condition Low output voltage, V -outlet: 2.2/M_COUNT1, P2.3/M_COUNT2, P2.4/M_COUNT3, P2.5/M_COUNT4, 3.1/TXD, P0.6/SCL, 0.7/SDA; -output: ALE/CLC_OUT, RST UCC= 5.05% IOL=1.6 m Low output voltage,V -outlet: 2.0/PULSE_OUT, P2.1/MC_LED UCC= 5.05% IOL1=10 m High output voltage,V -outlet: 2.0/PULSE_OUT, P2.1/MC_LED, 2.2/M_COUNT1, P2.3/M_COUNT2, P2.4/M_COUNT3, P2.5/M_COUNT4, 3.1/TXD, 0.6/SCL, 0.7/SDA; -output: ALE/CLC_OUT, RST UCC= 5.05% IOH= -80 Low input current, A - outlet: 3.0/RXD, 3.4/PULSE_IN, 3.5/T1, 0.3/1h-3h, P0.4/DIV_A, 0.5/DIV_B UCC= 5.05% UIN =0.45 V - input: P3.3/OPTO_SW UCC= 5.05% UIN =0.45 V - input: RST UCC= 5.05% UIN =0 V Hight input current, -input RST UCC= 5.05% UIN = UCC Low input current leakage,A - outlet 0.0/U_L1, P0.1/U_L2, 0.2/U_L3, 0.6/SCL, 0.7/SDA, 3.2/PFAIL, 3.6/ZONE1, 3.7/ZONE2 UCC= 5.05% UIN = 0 V Hight input current leakage,A -outlet 0.0/U_L1, P0.1/U_L2, 0.2/U_L3, 0.6/SCL, 0.7/SDA, 3.2/PFAIL, 3.6/ZONE1, 3.7/ZONE2 UCC= 5.05% UIN = UCC Supply current dynamic, mA UCC= 5.05% fC = 3.58 Hz Output voltage, V - outlet for driving LCD COM1-COM4, SEG5-SEG8, SEG10-SEG36 Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by Symbol UOL Min Max 0.5 T, C 2510 -253 653 UOL1 - 0.5 UOH 0.9UCC - IIL -50 -150 IIL1 IIL2 -15 - -50 -500 IIH ILIL - 500 - -0,1 ILIH - -0,1 ICC U1 U2 4.450 3.263 5 4.750 3.863 IN9004-1 Item, Parameter, Unit, Measuring condition UCC=4.75 Io = 0 Voltage off trigger Shmitt, V - outlet: P0.0/U_L1, P0.1/U_L2, P0.2/U_L3, P3.3/OPTO_SW, P3.6/ZONE1, P3.7/ZONE2 UCC= 5.05% Voltage on trigger Shmitt, V -outlet: P0.0/U_L1, P0.1/U_L2, P0.2/U_L3, P3.3/OPTO_SW, P3.6/ZONE1, P3.7/ZONE2 UCC= 5.05% Voltage off trigger Shmitt, V -outlet: P3.2/PFAIL UCC= 5.05% Voltage on triggerShmitt, V -outlet: P3.2/PFAIL UCC= 5.05% Supply voltage, (signal reset),V RC-generator intrinsic frequency, Hz -outlet: COM1-COM4, SEG5-SEG8, SEG10-SEG36 UCC=5.05% Delay time with supply voltage on , ms -outlat: RST UCC=5.05% (no load) Symbol U3 U4 U1Min 2.075 0.888 1.20 Max 2.675 1.488 1.80 2510 -253 653 T, C U1+ 2.20 2.80 U2U2+ 1.15 1.47 1.45 4.05 4.00 50 1.35 1.75 1.80 4.65 4.70 100 2510 -253 653 2510 -253 653 UCCTP fRC tON 150 300 Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by IN9004-1 Package dimensions Package type: 4402.64-1 (QFP-64) Q - SUFFIX Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by IN9004-1 Application Circuit Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by IN9004-1 LCD Connection COM Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bma.by URL: www.bms.by IN9004-1 LCD Connection SEG Korzhenevskogo 12, Minsk, 220108, Republic of Belarus Fax: +375 (17) 278 28 22, Phone: +375 (17) 278 07 11, 212 24 70, 212 24 61, 212 69 16 E-mail: office@bms.by URL: www.bms.by |
Price & Availability of IN9004
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |