Summary of the invention
Technical problem to be solved in the utility model is, provides a kind of and can solve different types of table tool, and the table tool of distinct interface, that shares same communication bus is used for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system based on the carrier modulation technology.
The technical scheme that the utility model adopts is: a kind of for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system, the user terminal that includes control center and carry out communication by communication bus and control center, described control center includes PC supervisor and communication controller, and described PC supervisor is by communication controller connecting communication bus; Described user terminal includes the identical heating meter collector of a plurality of structures water meter acquiring device identical with a plurality of structures, one end connecting communication bus of described each heating meter collector, the other end connects a plurality of heating meters with MBUS interface, the output terminal connecting communication bus of described each water meter acquiring device, input end connects a plurality of water meters with pulse interface.
Described communication controller includes level switch module, communication controller CPU, communication controller carrier modulation module and the communication controller carrier wave input/output interface module that connects successively, wherein, described level switch module is connected with the PC supervisor by the RS232 bus, described communication controller carrier wave input/output interface module connecting communication bus.
Described heating meter collector includes MBUS level switch module, heating meter collector C PU, collector carrier modulation module and the collector carrier wave input/output interface module that links to each other successively, the terminal of described MBUS level switch module connects a plurality of heating meters with MBUS interface, described collector carrier wave input/output interface module connecting communication bus by the MBUS bus.
Described MBUS level switch module includes the level conversion predrive circuit, + MBUS level conversion output circuit, the MBUS signal receives sample circuit, voltage comparator and-the 24V electrical level output circuit, wherein, the input end of described level conversion predrive circuit connects the T end of heating meter collector C PU serial ports, output terminal connection+MBUS level conversion the output circuit of level conversion predrive circuit, the output terminal of described+MBUS level conversion output circuit is by a plurality of input ends with heating meter of MBUS interface of the anodal connection of MBUS bus,-24V electrical level output circuit connects a plurality of another input ends with heating meter of MBUS interface by MBUS bus negative pole, described MBUS signal receives the input end of sample circuit by a plurality of heating meters with MBUS interface of the anodal connection of MBUS bus, output terminal connects voltage comparator, and the output terminal of described voltage comparator connects the R end of heating meter collector C PU serial ports.
Described water meter acquiring device includes impulse level modular converter, water meter acquiring device CPU, water meter acquiring device carrier modulation module and the water meter acquiring device carrier wave input/output interface module that connects successively, the input end of described impulse level modular converter connects a plurality of water meters with pulse interface, described water meter acquiring device carrier wave input/output interface module connecting communication bus.
Of the present utility model for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system, table tool to distinct interface is taked different collectors, carrying out software by corresponding CPU after corresponding level conversion processes, data communication device after will processing is again crossed ZAP and is modulated on the 120K carrier frequency and transmits, solved different types of table tool, the table tool of distinct interface is shared same communication bus, has realized that the same system remote centralized copies the table tool of distinct interface.The carrier modulation mechanics of communication has been adopted in the communication of native system, and antijamming capability is better than the RS-485 bus, and cost is lower than the communication modes of LONGWORK bus, CAN bus, TCP/IP network and wireless network, and general intelligent residential district communication context can both satisfy.
Description of drawings
Fig. 1 is formation block diagram of the present utility model;
Fig. 2 is the formation block diagram of communication controller;
Fig. 3 is the formation block diagram of heating meter collector;
Fig. 4 is MBUS level switch module block diagram;
Fig. 5 is the formation block diagram of water meter acquiring device.
Among the figure:
1: control center 2: user terminal
3: heating meter collector 4: water meter acquiring device
5: heating meter 6: water meter
7: communication bus 11:PC supervisor
12: communication controller 12A: level switch module
12B: communication controller CPU 12C: communication controller carrier modulation module
12D: communication controller carrier wave input/output interface module
31:MBUS level switch module 32: heating meter collector C PU 32
33: collector carrier modulation module 34: collector carrier wave input/output interface module
31A: level conversion predrive circuit 31B:+MBUS level conversion output circuit
The 31C:MBUS signal receives sample circuit 31D: voltage comparator
31E:-24V electrical level output circuit 41: impulse level modular converter
42: water meter acquiring device CPU 43: water meter acquiring device carrier modulation module
44: water meter acquiring device carrier wave input/output interface module
Embodiment
Make a detailed description for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system of the present utility model below in conjunction with embodiment and accompanying drawing.
Of the present utility model for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system, metering exists for present intelligent residential district water meter, heating meter problem and demand, research and development based on the carrier modulation mechanics of communication to the heating meter with MBUS interface, the water meter remote auto meter reading system of pulse interface.This system can carry out remote concentrated ammeter reading to the heating meter with MBUS interface, the water meter of pulse interface, two kinds of interface table tools are shared communication bus behind collector, the carrier modulation technology has been adopted in communication, antijamming capability is better than the RS-485 bus, cost is lower than the communication modes of LONGWORK bus, CAN bus, TCP/IP network and wireless network, and general intelligent residential district communication context can both satisfy.
As shown in Figure 1, of the present utility model for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system, the user terminal 2 that includes control center 1 and carry out communication by communication bus 7 and control center 1, described control center 1 includes PC supervisor 11 and communication controller 12, and described PC supervisor 11 is by communication controller 12 connecting communication buses 7; Described user terminal 2 includes the identical heating meter collector 3 of a plurality of structures water meter acquiring device 4 identical with a plurality of structures, one end connecting communication bus 7 of described each heating meter collector 3, the other end connects a plurality of heating meters 5 with MBUS interface, the output terminal connecting communication bus 7 of described each water meter acquiring device 4, input end connects a plurality of water meters 6 with pulse interface.
PC supervisor 11 in the described control center 1 adopts computing machine, and management software and database are installed in the computing machine
As shown in Figure 2, described communication controller 12 includes the level switch module 12A that connects successively, communication controller CPU12B, communication controller carrier modulation module 12C and communication controller carrier wave input/output interface module 12D, wherein, it is the module of STC11F02 that described communication controller CPU 12B adopts model, described level switch module 12A is connected with PC supervisor 11 by the RS232 bus, the serial ports RX of communication controller CPU 12B, TX is connected with the TTL corresponding end of level switch module 12A, the INTO mouth of communication controller CPU 12B, P1.6, HEAD among P1.7 mouth and the communication controller carrier modulation module 12C, R/T, the corresponding interface of RD/TD connects, SIN among the communication controller carrier modulation module 12C, P-OUT is connected with communication controller carrier wave input/output interface module 12D corresponding interface, described communication controller carrier wave input/output interface module 12D connecting communication bus 7.
The meter reading order of PC supervisor 11 sends to communication controller CPU 12B by level switch module 12A, and communication controller CPU 12B sends to data on the communication bus 7 by communication controller carrier modulation module 12C and communication controller carrier wave input/output interface module 12D.
As shown in Figure 3, described heating meter collector 3 includes MBUS level switch module 31, heating meter collector C PU 32, collector carrier modulation module 33 and the collector carrier wave input/output interface module 34 that links to each other successively, the terminal of described MBUS level switch module 31 connects a plurality of heating meters 5 with MBUS interface, described collector carrier wave input/output interface module 34 connecting communication buses 7 by the MBUS bus.
It is the chip of STC12C5A08S2 that heating meter collector C PU 32 adopts model, and serial ports R, the T of heating meter collector C PU 32 links to each other with MBUS level switch module 31.
As shown in Figure 4, described MBUS level switch module 31 includes level conversion predrive circuit 31A, + MBUS level conversion output circuit 31B, the MBUS signal receives sample circuit 31C, voltage comparator 31D and-24V electrical level output circuit 31E, wherein, the input end of described level conversion predrive circuit 31A connects the T end of heating meter collector C PU32 serial ports, output terminal connection+MBUS level conversion output circuit the 31B of level conversion predrive circuit 31A, level conversion predrive circuit 31A is as main shaping and the amplifying circuit that forms take device BC337, the data of CPU32 serial ports T end output, be transferred to+MBUS level conversion output circuit 31B through level conversion predrive circuit 31A, the output voltage range of described+MBUS level conversion output circuit 31B is 0 to 12V, its acp chip is OPA547, the output terminal of+MBUS level conversion output circuit 31B is by a plurality of input ends with heating meter 5 of MBUS interface of the anodal connection of MBUS bus,-24V electrical level output circuit 31E connects a plurality of another input ends with heating meter 5 of MBUS interface by MBUS bus negative pole, and both have produced 24V corresponding to the logical zero of MBUS bus host and " 1 " to the 36V level.Described MBUS signal receives the input end of sample circuit 31C by anodal a plurality of heating meters 5 with MBUS interface, the output terminal connection voltage comparator 31D of connecting of MBUS bus.MBUS bus slave computer return signal is 0 to the 20mA current signal, therefore, receive sample circuit 31C by the MBUS signal and convert current signal to voltage signal, this voltage signal compares rear output as the predeterminated voltage of the other end of input of voltage comparator 31D and voltage comparator 31D, and the device model that voltage comparator 31D adopts is operational amplifier LM393.The output terminal of described voltage comparator 31D connects the R end of heating meter collector C PU32 serial ports.The heating meter collector C PU 32 T end by serial ports send order as MBUS main frame process+MBUS level conversion output circuit 31B with command transfer on the MBUS bus, heating meter receives order as the MBUS slave, reply data by the MBUS bus, process MBUS signal reception sample circuit 31C and voltage comparator 31D transfer data to the R end of CPU 32, receive for CPU 32.
Heating meter collector 3 receives the meter reading order of PC supervisor 11 by communication bus 7, reply corresponding heating meter data according to the meter reading order, heating meter collector 3 was read by turns the data of heating gas meter and was stored among the CPU 32 in order to replying data by the MBUS bus every one minute and uses.
As shown in Figure 5, described water meter acquiring device 4 includes impulse level modular converter 41, water meter acquiring device CPU 42, water meter acquiring device carrier modulation module 43 and the water meter acquiring device carrier wave input/output interface module 44 that connects successively, the input end of described impulse level modular converter 41 connects a plurality of water meters 6 with pulse interface, described water meter acquiring device carrier wave input/output interface module 44 connecting communication buses 7.
SDA, the SCL end of the P10 of the CPU 42 of water meter acquiring device 4, P11 interface and impulse level modular converter 41 links to each other, and the AIN of impulse level modular converter 41, GND end links to each other with the pulse interface of water meter 6.It is the chip of STC12C5A08S2 that CPU42 in the described water meter acquiring device 4 adopts model, and the acp chip of impulse level modular converter 41 is PCF8591, forms the impulse level switching network with this.
Water meter acquiring device 4 receives the meter reading order of PC supervisor 11 by communication bus 7, reply corresponding data of water meter according to the meter reading order, water meter acquiring device 4 is whenever inputted in turn at regular intervals the pulse signal of water meter and is counted conversion, is stored among the water meter acquiring device CPU 42 to use in order to replying data.
PC supervisor 11 shows, the processing such as storage, output after receiving heating meter 5, water meter 6 data, finishes the process of checking meter.
Of the present utility model for MBUS interface heating meter, pulse interface water meter long-distance meter-reading system, on the PC of control center supervisor, the management software of checking meter sends the meter reading order, be transferred to communication controller from the RS232 bus, communication controller is modulated to the meter reading order on the 120K carrier frequency by ZAP, send from communication bus, the heating meter collector, water meter acquiring device receives meter reading order carrier signal from communication bus, by ZAP demodulation reduction meter reading order, and according to the corresponding table of meter reading order answer tool data, the heating meter collector, water meter acquiring device will be replied corresponding table tool data, be modulated on the 120K carrier frequency by ZAP, send from communication bus, communication controller receives from communication bus and replys corresponding table tool data carrier signal, by ZAP demodulation reduction table tool data, is transferred to the PC supervisor from the RS232 bus, the PC supervisor is receiving heating meter, after the data of water meter, show, storage, the processing such as output.Each heating meter collector links to each other with a plurality of heating meters by the MBUS bus, reads by turns the data of heating gas meter every one minute by the MBUS bus and is stored among the heating meter collector C PU in order to replying data usefulness.Each water meter acquiring device links to each other with a plurality of water meters, and water meter acquiring device is whenever inputted in turn at regular intervals the pulse signal of water meter and counted conversion, is stored among the water meter acquiring device CPU to use in order to replying data.