The DCPL fieldbus of network intelligence table measuring terminal and network prepaid bridge
Technical field
The present invention relates to a kind of DCPL fieldbus and network prepaid bridge of network intelligence table tool measuring terminal, that is: the DCPL fieldbus of DCPL network intelligence type water meter terminal, DCPL network intelligence moulded coal gas meter terminal, DCPL network intelligence domestic consumer distribution terminal, and with the network prepaid bridge of this bus coupling, to set up the network platform that inserts the DCPL communication structure.Wherein DCPL is: DirectCurrent Power Line.
Background technology
Existing fieldbus has a variety of, wherein main has: and FF (Founda, tionfieldbus), control area net network CAN (Controller Area Netwoek), Local Operating Net Works Lon Works (locaIOperatingNetwork), Process FieldbusROFIBUS PROFIBUS (Process FieldBus) and HART agreement (Highway Addressable Remote Transducer) and DeviceNet, ControlNet, P-NET, RS485 etc.Above-mentioned existing fieldbus all can't directly be applied in intelligent network watermeter terminal, network intelligence domestic consumer's distribution terminal and network intelligence gas meter terminal forms cheaply, can connect many on-the-spot slaves (network intelligence table measuring terminal) and addressable remote digital communication function on a twisted-pair feeder, and the fieldbus of DC power supply function is provided.
The concrete structure of field network bus architecture is that main frame (network prepaid bridge) can connect many on-the-spot slaves (network intelligence table measuring terminal) and addressable remote digital communication function on a twisted-pair feeder, and the DC power supply function is provided.In addition, the present invention is following related, and network intelligence electricity consumption metering distribution terminal, intelligent network watermeter measuring terminal, network intelligence gas meter terminal are narrated the patent No. or application number: 00135437.X in some Chinese invention patents; 02218776.6; 02137930.0; 02263007.4; 03219162.6; 03112614.6.What particularly point out is: existing pulsed teletransmission three tables are copied and accepted the function that IC-card that collector in the system, regional machine (or claiming meter-copy device) can not be implemented in outdoor PE and card user carries out information interaction, also are not suitable for the requirement of DCPL fieldbus networks bridge joint of the present invention.
Summary of the invention
The principal character of DCPL fieldbus of the present invention, network prepaid bridge and network intelligence table measuring terminal prepaid method thereof is: with card user's IC-card, carrying out noncontact by network prepaid bridge swipes the card, data on user's IC-card are read and write, managed by network prepaid bridge, and the data on this user's IC-card are delivered to this user network intelligence table measuring terminal by the DCPL network.What particularly point out is, this water, electricity, gas table network intelligence measuring terminal prepaid method is different from IC-card water meter, the IC-card ammeter of the non-networking of existing domestic employing, the table tool of IC-card gas meter prepaid method.The principal character of water, electricity, gas table network intelligence table measuring terminal prepaid method of the present invention be network prepaid bridge out of doors PE and card user's IC-card carry out the information interaction function, simultaneously outdoor public network prepaid bridge equipment by the DCPL network can searching, the maintenance information of the transmission ﹠ distribution data of gathering user network intelligence table measuring terminal and supervision intelligence table measuring terminal.DCPL network of the present invention is addressable remote network intelligence water, electricity, gas meter terminals.Network prepaid bridge of the present invention is that network intelligence gauge table terminal that the next DCPL network is connected and community management computer carry out the bridge joint that wireless data communication or two kinds of latticed forms of wired RS485/CAN bus carry out physics and communications protocol, is referred to as network prepaid bridge.Can claim simply that also bridge is a kind of electronic equipment that DCPL network and other wired or wireless network (as: RS-485 that adopts international standards, CAN cable network) is carried out network bridging.
Below each theme of the present invention is illustrated respectively:
DCPL fieldbus: be that a kind of novel two-wire system is active, digital signal on direct current supply line is that modulated analog signal is transmitted, low price, the fieldbus of low-power consumption, it has and the fieldbus similar architecture, that is: the concrete structure of network-bus system is that main frame (network prepaid bridge) is gone up many on-the-spot slaves of connection at two-wire (generally adopting a twisted-pair feeder), the invention is characterized in: slave is respectively the intelligent water meter terminal of plurality of network, network intelligence moulded coal gas meter terminal and network intelligence domestic consumer distribution terminal, each terminal is connected in parallel on the bus, main frame and slave carry out digital communication by FSK (frequency shift keying) signal of modulation, its circuit is: provide 36VDC or the safety power supply below the 36VDC by main frame DCPL network fieldbus, and be connected to by this bus on two end points of MBU of several slave communicating circuits, to play two end points of MBU are stepless property connected mode (when being two end points connecting bus of MBU positive and negative level interchangeable) to diode bridge in the communicating circuit, when main frame and slave communication, the fsk signal of modulation is arranged on the DCPL network fieldbus, and (logic level 1 pairing frequency is 1300Hz in the circuit of the present invention, logic level 0 pairing frequency is 2100Hz), and the fsk signal of modulation to be form with voltage be superimposed upon on the fieldbus, at this moment in the communicating circuit of slave, fsk signal is through electric capacity, follower, amplifier, the FSK band pass filter, the output RXD reduction logic level 1 and 0 of demodulator, and the output RXD of demodulator is the RXD end that is connected to CPU communication serial ports, form main, the slave digital communication, when slave and host communication, the TXD end of the CPU communication serial ports in the slave is to link to each other with TXD in the communicating circuit, the logic level 1 of slave digital communication at this moment, 0 modulator in communicating circuit, the FSK band pass filter, amplifier, electric capacity, current amplifier, the fsk signal of modulation is returned to main frame with the form of electric current, form from, the main frame digital communication.
In other words, the DCPL fieldbus of network intelligence table measuring terminal, be that a kind of two-wire system is active, fieldbus on direct current supply line, main frame connects many on-the-spot slaves on two-wire, it is characterized in that: slave is respectively the intelligent water meter terminal of plurality of network, network intelligence moulded coal gas meter terminal and network intelligence domestic consumer distribution terminal, each terminal is connected in parallel on the bus, main frame and slave carry out digital communication by the FSK frequency shift keyed signals of modulation, its circuit is: DCPL network fieldbus simultaneously with main frame on 36VDC or the power supply below the 36VDC be connected, and be connected to by this bus on two end points of MBU of several slave communicating circuits, diode bridge makes two end points of MBU become stepless property connected mode in the communicating circuit, when main frame and slave communication, the output RXD of demodulator is the RXD end that is connected to CPU communication serial ports, form main, the slave digital communication, when slave and host communication, the TXD end of the CPU communication serial ports in the slave is to link to each other with TXD in the communicating circuit, formation from, the main frame digital communication, DCPL fieldbus in the bridge circuit adopts the two-wire system terminal box with being connected of slave, and by the two-wire system terminal box respectively with the intelligent water meter terminal of plurality of network, network intelligence moulded coal gas meter terminal is connected with network intelligence domestic consumer distribution terminal, or is connected with the IC-card table tool terminal with DCPL network interface.
What particularly point out is: slave communicating circuit UST7538BJG is specially for network intelligence electricity consumption metering distribution terminal, intelligent network watermeter measuring terminal, the two-wire system of network intelligence gas meter terminal slave design, direct current supply, voltage stabilizing circuit, transmitting-receiving are controlled, the DCPL fieldbus circuit of FSK modulating/demodulating digital communication.
The operation principle frame of the slave communicating circuit that inserts on the DCPL network is referring to Fig. 9.
Because the DCPL network is FSK (frequency shift keying) digital signal that superposeed on direct current supply line, thereby analog-and digital-communication can be carried out simultaneously.This has just guaranteed that each intelligent water, electricity, gas meter terminal power supply supply can be compatible with digital communication on the network, can connect many site intelligent water, electricity, gas meter terminals on a twisted-pair feeder.It is the fieldbus that adapts to intelligent network watermeter terminal, network intelligence domestic consumer's distribution terminal and network intelligence gas meter terminal for solving.Its important characteristic is to seek to provide the solution of safe voltage, two-wire system, low-power consumption, low-cost field digital communication bus.Annotate: the DCPL network communication is not general said 220VAC electric power (inductance, a capacitive coupling) carrier communication technology.The prioritization scheme of this theme is: the DCPL fieldbus adopts the two-wire system terminal box with being connected of slave, and is connected (or employing has the IC-card table tool terminal of network interface) respectively with network intelligence domestic consumer distribution terminal with the intelligent water meter terminal of plurality of network, network intelligence moulded coal gas meter terminal by the two-wire system terminal box.The main feature concrete structure of DCPL fieldbus system is referring to Fig. 1, Fig. 2.
2, network prepaid bridge: network prepaid bridge circuit of the present invention mainly is provided with the communication chip that is connected with pin-saving chip, analog switch, display driver circuit, optical coupler on little process chip CPU, the CPU and connects through modem chip etc., it is characterized in that: also be connected with the radio-frequency card module for reading and writing on the CPU, the DCPL fieldbus is connected on the bridge main frame, the bridge main frame is connected with the cell management computer through RS485 or CAN bus, and what carry out the data communication employing with supervisory computer in the community is monolithic radio frequency transceiver nRF903 module.Referring to Fig. 2, Fig. 8.
Related water, electricity, gas table network intelligence measuring terminal among the application: in some Chinese invention patents, narrate the patent No. or application number: 00135437.X; 02218776.6; 02137930.0; 02263007.4; 03219162.6; 03112614.6 the present invention stresses the UST7538BJG chip circuit principle of DCPL network host and slave processors digital communication principle and independent development.
Description of drawings
Fig. 1 is the DCPL schematic network structure;
Fig. 2, Fig. 8 are that the DCPL network is connected, uses schematic diagram with three kinds of table tool terminals;
Fig. 3 is DCPL intelligent network watermeter, gas meter measuring terminal circuit theory diagrams;
(stressing slave and main frame digital communication principle);
Fig. 4 is DCPL communication network slave communication module UST7538BJG circuit theory diagrams;
Fig. 5 is the circuit theory diagrams of network prepaid bridge;
Fig. 6-1 is main frame and slave digital communication modulation signal transmission schematic diagram;
Fig. 6-2 is slave and main frame digital communication modulation signal transmission schematic diagram;
Fig. 7-1, Fig. 7-2 is digital communication logic level transmission schematic diagram;
Fig. 8 is a network prepaid bridge and supervisor is wireless, cable data communication structure schematic diagram;
Fig. 9 is the operation principle block diagram of the slave communicating circuit that inserts on the DCPL network.
Embodiment
Embodiment 1, with reference to Fig. 1~Fig. 3: the principal character of DCPL fieldbus, network prepaid bridge and network intelligence table measuring terminal circuit thereof is the IC-card with the card user, carrying out noncontact by network prepaid bridge swipes the card, data on user's IC-card are passed through the read-write of network prepaid bridge, management, and by the DCPL network data on this user's IC-card are delivered to this user network intelligence table measuring terminal and carry out the information interaction demonstration.With reference to Fig. 9: two end points of MBU are DCPL network insertion end points in the operation principle block diagram of slave communicating circuit, provide 36VDC or the safety power supply below the 36VDC by main frame DCPL network fieldbus, and be connected to by this bus on two end points of MBU of several slave communicating circuits, to play two end points of MBU are stepless property connected modes to diode bridge in the UST7538BJG communicating circuit, and promptly positive and negative level is interchangeable during two end points connecting bus of MBU.When main frame and slave communication, the fsk signal of modulation is arranged on the DCPL network fieldbus, and (logic level 1 pairing frequency is 1300Hz in the circuit of the present invention, logic level 0 pairing frequency is 2100Hz), and the fsk signal of modulation to be form with voltage be superimposed upon on the fieldbus, at this moment in the UST7538BJG communicating circuit of slave, fsk signal is through CV5 electric capacity, the TV3 follower, the U1 amplifier, the FSK band pass filter, the output RXD reduction logic level 1 and 0 of demodulator, and the output RXD of demodulator is the RXD end that is connected to CPU communication serial ports, forms main, the slave digital communication.
When slave and host communication, the TXD end of the CPU communication serial ports in the slave is to link to each other with TXD in the UST7538BJG communicating circuit, modulator, FSK band pass filter, U2 amplifier, CV3 electric capacity, the TV1 current amplifier of the logic level 1,0 of slave digital communication at this moment in the UST7538BJG communicating circuit, the fsk signal of modulation is returned to main frame with the form of electric current, form from, main frame digital communication.Wherein TV2 is transmitting-receiving control switch pipe, and DCPL network power supply and communication oscillogram are referring to accompanying drawing 6-1,6-2.
Referring to Fig. 3: the circuit theory diagrams among described DCPL network intelligence type water meter, a kind of embodiment of gas meter terminal slave, main devices adopts little power consumption chip in circuit theory diagrams, and wherein IC2 is that cpu chip is that core microprocessors, the IC1 of this circuit is that low-power consumption DCPL network communication modem chip, IC3 are that LCD display drive circuit, T9 are that Magnetic Sensor and MG are valve driving machine and infrared communication circuit etc.
Described IC1 is that DCPL network communication modulation UST7538BJG is the chip of independent development, the passing through of cpu chip selects for use RXD, the TXD of P1.0 mouth, P1.1 interruption-forming serial communication and DCPL network communication modem chip to carry out data read-write operation, RS1, RS are R/T control, CD is the modulated-analog signal test side, and be coupled on the DCPL grid line by the modulated-analog signal that non-polar MBU (12), MBU (13) will meet the ITU-TV2.3 standard, DCPL grid line function is on the one hand as network communication, provides circuit as electric power on the other hand.
Referring to Fig. 4: described IC1 is that the internal circuit of DCPL network communication modem chip UST7538BJG is to process by thick film circuit, wherein IC1 MSM7512 is that modem chip, ZL are that diode rectifier bridge, TV3 are that modulation signal follower, W1 are that pressurizer, TV2 are communication receiving/transmission control switch pipes, and other peripheral circuit forms DC power-supply circuit and DCPL communication network circuit.
DCPL network work principle is with reference to Fig. 3, Fig. 4: the modulated analog signal output terminals A OUT of internal circuit IC1 MSM7512 chip that it is characterized in that the modem chip UST7538BJG of network intelligence table tool terminal slave, through CV3, TV1 transistor, modulated analog signal is coupled on the DCPL network with electric current amplification form, forms slave and main frame half duplex communication.And the communication modes of network prepaid bridge main frame and network intelligence table tool terminal slave, be that the modulation analog voltage signal is input to the modulated analog signal input AIN of IC1MSM7512 chip by the DCPL network by RV6, CV5, TV3, CV6 in network intelligence table tool terminal slave circuit U ST7538BJG, finish the half duplex communication of main frame, slave.Fig. 5 is a DCPL lattice network principle in the network prepaid bridge host circuit system.Wherein, wherein U1 is that MSM7512 modem chip, U2 are that little process chip CPU (adopting the chip of P89C51 or MSP430 series), U3 are that radio-frequency card module for reading and writing, U4 are that pin-saving chip, U5 are that analog switch, U6 are that display driver circuit, U7 are that wireless communication module employing monolithic radio frequency transceiver nRF903 module, U8-U10 are that optical coupler, U11 are RS485 communication chip etc.The modulated analog signal output terminals A O of U1 chip, the circuit of being formed through CC1, IC1A, TC1, TC3, TC4, TC5, L1 etc., modulated analog signal is carried out the voltage power amplification to be coupling on the DCPL network, make superposition modulated analog voltage signal on the DCPL network power supply direct voltage, at this moment can be listened to the modulation analog voltage signal by all slaves on the DCPL network.And network intelligence table tool terminal is coupled to modulated analog signal on the DCPL network with electric current amplification form, and by L1, CC4 resonance formation voltage drop, through the modulated analog signal input AI that circuit such as CC5, IC1B, CC6, RC11, CC7 amplify, filtering is input to U1 MSM7512 chip, finish the half duplex communication of slave, main frame.TC2, RC6 are the circuit current-limiting circuits in the circuit, and RXD, the TXD of U1 MSM7512 chip is connected to the communication serial ports end of bridge microprocessor CPU.With reference to Fig. 6: main frame of the present invention, slave are the operation principles that FSK (frequency shift keying) signal carries out communication that superposeed on the direct current supply line at the DCPL network.As can be known, main frame and slave communication are FSK (frequency shift keying) signals that modulation voltage changes that superposeed on DCPL network direct current supply line from shown in Fig. 6-1.Fig. 6-2 slave and host communication are FSK (frequency shift keying) signals that modulated current changes that superposeed on DCPL network direct current supply line.
The principal character of described water, electricity, gas meter terminal prepaid network is the distributed system that adopts DCPL network intelligence electricity consumption metering distribution terminal, DCPL intelligent network watermeter measuring terminal, DCPL network intelligence gas meter terminal and DCPL network prepaid bridge to be formed.And the DCPL network intelligence table measuring terminal that this user can manage concentratedly in the connection of DCPL network is read and write, managed to each network prepaid bridge by user's RF IC card.
The principal character of water, electricity, gas meter terminal network prepaid method of the present invention is the IC-card with the card user, carrying out noncontact by network prepaid bridge swipes the card, data on user's IC-card are passed through the read-write of network prepaid bridge, management, and by the DCPL network data on this user's IC-card are delivered to this user network intelligence table measuring terminal and carry out the information interaction demonstration.What particularly point out is, this water, electricity, gas meter terminal network prepaid method is different from IC-card water meter, the IC-card ammeter of the non-networking of existing domestic employing, the table tool of IC-card gas meter prepaid method.
The principal character of water, electricity, gas meter terminal network prepaid method of the present invention be network prepaid bridge out of doors PE and card user's IC-card carry out the information interaction function, simultaneously outdoor public network prepaid bridge equipment by the DCPL network can searching, the maintenance information of the transmission ﹠ distribution data of gathering user network intelligence table measuring terminal and supervision intelligence table measuring terminal.
The principal character of water, electricity, gas meter terminal network prepaid method of the present invention is that network prepaid bridge and user network intelligence table measuring terminal adopt two-wire system direct current supply, be again the network line of data communication simultaneously, this DCPL network fieldbus operation principle and circuit are one of principal character of the present invention.What the principal character of water, electricity, gas meter terminal network prepaid method of the present invention was that supervisory computer carries out that data communication mainly adopts in network prepaid bridge and the community is that 433MHz/868MHz/915MHz ISM band wireless data communication and RS485/CAN bus mode are carried out two kinds of patterns of data communication.Wireless data communication is by the GMSK/GFSK modulation and demodulation, and antijamming capability is strong, adopts the DDS+PLL technology, and frequency stability is good; Sensitivity is up to-100dBm, and maximum transmission power reaches+10dBm; Data rate can reach 76.8Kbit/S; 170 channels can be arranged, be fit to the special occasions of needs multichannel work, wireless communication distance in the community, open location is greater than 1KM.Described water, electricity, gas table network terminal prepaid method principal character is that supervisory computer and network prepaid bridge can carry out wireless, cable data communication in the community, that its structure is seen is shown in Figure 8, and (annotate: this inventive features is different from the mode of copying and accepting of existing palm wireless meter reading, the existing radio meter register mode of invention is manually to adopt palmtop computer both at home and abroad, or vehicle-carried mobile wireless telecommunications computer, near the certain distance of user's gauge table, removable outdoor wireless manual metering.But non real-time user's gauge table wireless data communication net that carries out).The IC-card that described water, electricity, gas table network terminal prepaid method principal character is the card user also can be by the card reader of community management computer, and it is mutual to carry out card using information, finishes water, electricity, gas table network terminal prepaid method.The more details of DCPL network communications technology scheme of the present invention are: meet the ITU-TV2.3 standard that is about to become national standard, the 1200bps half-duplex; And the ITU-TV2.3 standard, the 75bps transmitter.It is different that the digital communication waveform that specify is Fig. 6-1, Fig. 6-2, Fig. 7-1,7-2 adopted transmits with logic level.