Utility model content
In consideration of it, the purpose of this utility model is to provide a kind of communication interface converter and the double host computer control systems of M-Bus
System, effectively to improve above mentioned problem.
What embodiment of the present utility model was realized in:
In a first aspect, the utility model embodiment provides a kind of communication interface converter, the double main frames of M-Bus are applied to
Control system, the control system includes:First meter reading terminal, the 2nd M-Bus meter reading terminals and meter.The communication interface
Converter includes:Control module, main M-Bus interface modules, from M-Bus interface modules and relay handover module, it is described after
Electrical equipment handover module includes:Control end, common port, normally-closed contact and normally opened contact.The main M-Bus interface modules with it is described
Control module is coupled, described to be coupled with the control module from M-Bus interface modules, described to be used for from M-BUS interface modules
Coupled with the 2nd M-BUS meter reading terminals;The common port be used for coupled with the meter, the normally-closed contact with it is described
Main M-Bus interface modules coupling, the normally opened contact is coupled with described from M-Bus interface modules, the control end with it is described
Control module is coupled;When the relay handover module is in the first working condition, the relay handover module is in normal
Closed state, the common port and the normally-closed contact are connected, and the meter is directly coupled with the main M-Bus interface modules;When
When the relay handover module is in the second working condition, the relay handover module is in normally open, described public
End and normally opened contact connection, the meter are directly coupled with the 2nd M-Bus meter reading terminals;The control module is used
In the control end for sending a control signal to the relay handover module, so that the relay module carries out state switching.
It is described to include from M-Bus interface modules in the utility model preferred embodiment:M-Bus buses incoming end,
Data input pin and data output end, the M-Bus buses incoming end are connected with the 2nd M-Bus meter reading terminals, described
Data input pin and the data output end are connected with the data output end and data input pin of the control module respectively.
In the utility model preferred embodiment, the main M-Bus interface modules include:Receiving circuit and transmission electricity
Road, the receiving circuit, for the meter number for receiving the control module control instruction for sending and receive the meter transmission
It is believed that breath;The transtation mission circuit, for the control instruction that the control module sends to be sent into the meter, and by the table
Count the meter data message for sending and be sent to the control module.
In the utility model preferred embodiment, the communication interface converter also includes:With the control module coupling
The RS485 modules of conjunction.
In the utility model preferred embodiment, the communication interface converter also includes:With the control module coupling
Close, the up external interface module for connecting extraneous carrier interface module, wireless module or bimodulus module.
In the utility model preferred embodiment, the communication interface converter also includes:With the control module coupling
Close, the LED light module of the working condition for showing the communication interface converter.
In the utility model preferred embodiment, the communication interface converter also includes:With the control module coupling
Close, for the power module powered for the communication interface converter.
In the utility model preferred embodiment, the communication interface converter also includes:With the control module coupling
Close, the clock module for providing pulse signal for the communication interface converter.
Second aspect, the utility model embodiment additionally provides a kind of double engine control systems of M-Bus, the system bag
Include:First meter reading terminal, the 2nd M-Bus meter reading terminals, meter and above-mentioned communication interface converter, described first checks meter end
End, the 2nd M-Bus meter reading terminals and the meter are coupled with the communication interface converter.
On the one hand, the utility model embodiment provides a kind of communication interface converter and the double host computer control systems of M-Bus
System, realizes on the basis of original water meter, gas meter, flow meter, heat meter system is not changed, and makes full use of existing intelligent electric energy
The resources such as table, acquisition terminal and communication channel, to water, the collection of air and heat table data, transmission.
On the other hand, the utility model embodiment provides the double engine control systems of also a kind of M-Bus, with prior art
Compare, this system overcomes can only have in certain time period a meter reading terminal operation defect, two sets of kilowatt meter reading-out systems
Accomplish that point is copied in real time;Secondly, it is not necessary to the switching time of site setup clock switch, reduce the difficulty of on-site maintenance;Again,
Due to having replaced the devices such as clock switch and auxiliary reclay, not only cost is relatively low, and also reduces meter reading terminal generation
The probability of failure.
Other feature and advantage of the present utility model will illustrate in subsequent specification, also, partly from specification
Become apparent, or understood by implementing the utility model embodiment.The purpose of this utility model and other advantages can
Realize and obtain by specifically noted structure in the specification, claims and accompanying drawing write.
Specific embodiment
It is new below in conjunction with this practicality to make the purpose, technical scheme and advantage of the utility model embodiment clearer
Accompanying drawing in type embodiment, is clearly and completely described, it is clear that retouched to the technical scheme in the utility model embodiment
The embodiment stated is a part of embodiment of the utility model, rather than whole embodiments.Generally described in accompanying drawing herein and
The component of the utility model embodiment for showing can be arranged and designed with a variety of configurations.
Therefore, the detailed description of embodiment of the present utility model below to providing in the accompanying drawings is not intended to limit requirement
The scope of the present utility model of protection, but it is merely representative of selected embodiment of the present utility model.Based in the utility model
Embodiment, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made, all
Belong to the scope of the utility model protection.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.
, it is necessary to explanation in description of the present utility model, term " on ", D score, "left", "right", " interior ", " outward " etc.
The orientation or position relationship of instruction are that, based on orientation shown in the drawings or position relationship, or the utility model product is when using
The orientation or position relationship usually put, are for only for ease of description the utility model and simplify description, rather than instruction or dark
Showing the device or element of meaning must have specific orientation, with specific azimuth configuration and operation therefore it is not intended that right
Limitation of the present utility model.Additionally, term " first ", " second ", " wait be only used for distinguish description, and it is not intended that indicate or
Imply relative importance.
In description of the present utility model, in addition it is also necessary to explanation, unless otherwise clearly defined and limited, term " sets
Put ", " installation ", " connected ", " connection " " coupling " should be interpreted broadly, for example, it may be being fixedly connected, or detachably
Connection, or be integrally connected;Can mechanically connect, or electrically connect;Can be joined directly together, it is also possible to by centre
Medium is indirectly connected to, and can be two connections of element internal.For the ordinary skill in the art, can specific feelings
Condition understands concrete meaning of the above-mentioned term in the utility model.
How the resources such as intelligent electric energy meter, acquisition terminal and communication channel are being made full use of, do not changing original water meter, combustion
On the basis of gas meter, heat meter system, realize to water, the collection of air and heat table data, transmission.Current method is by increasing
Plus clock switch is realized to water, collection, the transmission of air and heat table data etc. with auxiliary reclay.In order to more clearly illustrate, under
Face by taking water meter as an example, during the pilot of four tables unification, on the basis of original water utilities kilowatt meter reading-out system of oneself is not changed, meeting
Situation about being incorporated into the power networks in the presence of two sets of main M-Bus simultaneously, and the physical characteristic of M-Bus interfaces determines that two sets of main M-Bus connect
Mouth is unable to parallel running.Two sets of main M-BUS kilowatt meter reading-out systems parallel runnings are solved, current method was opened by the increase time
Close the mode with auxiliary reclay to realize two sets of switchings of M-Bus bus systems, as shown in Figure 1:
Clock switch can set certain time period output 220V AC signals, and remaining time period disconnects output, and then controls
Auxiliary reclay it is normally opened/normally closed, i.e., the main M-Bus of a certain M-Bus meter reading terminals of period the 2nd is connected to water meter bus, its
The remaining period is connected to water meter bus for the main M-Bus of communicator, so as to ensure that two systems time-sharing work, realizes number
According to copy reading.
Because the method is that using the meter reading method of time segment, i.e., can only have a kilowatt meter reading-out system to exist in certain time period
Operation;Secondly, the switching time of site setup clock switch is needed in the method, increased the difficulty of on-site maintenance;Again, by
It is not only relatively costly in the device such as clock switch and auxiliary reclay, and the probability that kilowatt meter reading-out system breaks down is also increased,
When meter reading method of the power system using carrier wave, communication environment is severe, there is the impedance of change, and uncertain noise is done
Disturb, signal attenuation of circuit etc., can all cause power meter reading system to be copied within the normal time period of checking meter and measure data, lead
Cause is checked meter unsuccessfully.When equally using the wireless meter reading method of micropower, also can cause to be checked meter the time normally because of environmental factor etc.
Checked meter unsuccessfully in section.Failure of checking meter can directly affect the success rate of checking meter on the same day.
In order to improve the defect of above-mentioned meter reading method, the utility model embodiment additionally provides a kind of double main frame controls of M-Bus
System processed 200, including:First meter reading terminal 210, the 2nd M-Bus meter reading terminals 220, meter 230 and communication interface converter
100, as shown in Figure 2.
First meter reading terminal 210, the 2nd M-Bus meter reading terminals 220 and the meter 230 are logical with described
Letter interface convertor 100 is connected, further, the control in first meter reading terminal 210 and the communication interface converter 100
Molding block is connected, in the 2nd M-Bus meter reading terminals 220 and the communication interface converter 100 from M-Bus interface moulds
Block is connected.Main M-Bus interface modules in the communication interface converter 100 are connected with meter 230, the double main frames of M-Bus
Control system 200 just can be with the meter data message of real-time detection meter 230.
Wherein, the meter 230 can be at least one table in gas meter, flow meter, water meter, ammeter, hot meter table.
Wherein, the communication interface converter 100 in the double engine control systems 200 of M-Bus is applied to, as shown in Figure 3.Institute
Stating communication interface converter 100 includes:Control module 101, main M-Bus interface modules 103 and from M-Bus interface modules 105.
The control module 101 respectively with main M-Bus interface modules 103 and described from M-Bus interface modules 105
Coupling.The control module 101 can be a kind of IC chip, the disposal ability with signal.It is excellent in the present embodiment
It can be micro-control unit (Microcontroller Unit, MCU) to select the control module 101.
It should be appreciated that above-mentioned control module 101 can also be general processor, including central processing unit
(Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;Can also be numeral
Signal processor (Digital Signal Processing, DSP), application specific integrated circuit (Application Specific
Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA)
Or other PLDs, discrete gate or transistor logic, discrete hardware components.General processor can be
Microprocessor or the processor can also be any conventional processors etc..
The main M-Bus interface modules 103 are coupled with the control module 101, for being coupled with the meter 230.In
In the present embodiment, preferably described main M-Bus interface modules 103 include:Transtation mission circuit 1031 and receiving circuit 1032, such as Fig. 4 institutes
Show.
The transtation mission circuit 1031, for the control instruction that the control module 101 sends to be sent into the meter 230
The control module 101 is sent to the meter data message for sending the meter 230.
The transtation mission circuit 1031 is coupled by one end of resistance uR40 with the control module 101, the resistance uR40
The other end be connected with the base stage of triode uQ5, the emitter stage of the triode uQ5 is connected with power supply VCC1, the triode
The colelctor electrode of uQ5 is connected by resistance uR38 with the base stage of triode uQ4, while the colelctor electrode of the triode uQ5 also passes through
Resistance uR37 is grounded.The grounded emitter of triode uQ4, the colelctor electrode of triode uQ4 passes through resistance uR44 and three terminal regulator
First end connection.The transtation mission circuit 1031 is also coupled by one end of resistance uR47 with control module 101, resistance uR47's
The other end is connected with one end of resistance uR46 and the base stage of triode uQ6 respectively, and the colelctor electrode of triode uQ6 is steady with three end
The first end connection of depressor.The grounded emitter of triode uQ6, the other end ground connection of resistance uR46, the first of three terminal regulator
End is also grounded by after resistance uR49 and electric capacity uC14 parallel connections.The first end of three terminal regulator also by resistance UR48 with its second
End connection, the 3rd end of three terminal regulator by ground connection after electric capacity uC15 and electric capacity uC16 parallel connections, and be connected with meter 230
M-Bus buses connection.Second end of the three terminal regulator also passes through diode uD11 and the three-terminal link of its own,
Second end of the three terminal regulator also successively passes through the resistance uR42 and thermistor uPTC2 and M- for being connected with meter 230
Bus buses connect, after the two ends of the resistance uR42 are in parallel with resistance UR43 respectively with the M-Bus buses for being connected with meter 230
Connection.Negative poles of the resistance uR42 also with voltage-regulator diode uD9 is connected.
The receiving circuit 1032, for receiving the control instruction of the transmission of the control module 101 and receiving the meter
The 230 meter data messages for sending.
The receiving circuit 1032 is connected with the positive pole of the voltage-regulator diode uD9 of the transtation mission circuit 1031, the voltage stabilizing
The positive pole of diode uD9 is connected with the positive pole of diode uD8, and the negative pole of diode uD8 is by resistance uR31 and comparator uU3A
Reverse input end connection, the positive pole of the voltage-regulator diode uD9 is also grounded by resistance uR30, and by resistance uR33 and
The input in the same direction connection of comparator uU3A.The input in the same direction of comparator uU3A is also by electric capacity uC13 and the output end of itself
Connection, the output end is also connected and is connected with power supply VCC1 by resistance uR34 with the control module 101 respectively.Comparator
The reverse input end of uU3A is grounded also after resistance uR32 is in parallel with electric capacity uC11.
It is described to be coupled with the control module 101 from M-Bus interface modules 105, for being checked meter with the 2nd M-Bus
Terminal 220 is coupled.Wherein, in the present embodiment, the preferably described circuit diagram from M-Bus interface modules 105, such as Fig. 5 institutes
Show.Should include from M-Bus interface modules 105:Integrated chip xU1, first resistor R1, second resistance R2,3rd resistor R3,
Four resistance R4, the 5th resistance R5, the 6th resistance R6, the 7th resistance R7, the 8th resistance R8, the first electric capacity C1, the second electric capacity C2,
Three electric capacity C3 and bilateral diode uD1.The VIO pins and VDD pins of the integrated chip xU1 are connect by the first electric capacity C1
Ground, the data input pin (RX pins) of the integrated chip xU1 is connected with the first data output end of the control module 101,
The data input pin of the integrated chip xU1 is also connected by the 4th resistance R4 with the power end of control module 101.It is described integrated
The RIS pins of chip xU1 are by second resistance R2 and ground connection, the GND pin ground connection of the integrated chip xU1, the integrated core
First instrument bus incoming end (BUSL1) of piece xU1 is connected by the 7th resistance R7 with A ports, and the of the integrated chip xU1
Two meter bus incoming ends (BUSL2) are connected by the 8th resistance R8 with B ports, and the first instrument of the integrated chip xU1 is total
The one end of line incoming end (BUSL1) also with the bilateral diode uD1 is connected, the second instrument bus of the integrated chip xU1
The other end of the incoming end (BUSL2) also with the bilateral diode uD1 is connected.The STC pins of the integrated chip xU1 are by the
Three electric capacity C3 are grounded, and the pin RIDD of the integrated chip xU1 is grounded by first resistor R1, the letter of the integrated chip xU1
Number end (PF) couple with the first signal end of the control module 101, and the signal end (PF) of the integrated chip xU1 also passes through the
Five resistance R5 are coupled with the power end of the control module 101, and the signal end (PF) of the integrated chip xU1 is also by the 6th electricity
Resistance R6 ground connection.The SC pins of the integrated chip xU1 are grounded by the second electric capacity C2, the data output of the integrated chip xU1
End (TX) is connected with the first data input pin of the control module 101, and the data output end (TX) of the integrated chip xU1 is also
Coupled with the power end of the control module 101 by 3rd resistor R3.Wherein, A ports and B ports are checked meter end for connection
End, for example, the 2nd M-Bus meter reading terminals 220.
Described communication interface converter also includes:Relay handover module 107, LED light module 109, infrared mould
Block 111,485 modules 113, memory module 115, up external interface module 117, clock module 119, power module 121.
In the present embodiment, as shown in fig. 6, it is preferred that the relay handover module 107 includes:Control end, common port, often
Closed contact and normally opened contact.
The common port is coupled with the contact switch, and the common port is used to be coupled with meter 230, the normally-closed contact
Coupled with the main M-Bus interface modules 103, the normally opened contact is coupled with described from M-Bus interface modules 105, described
Control end is coupled with the control module 101;When the relay handover module 107 be in the first working condition when, it is described after
Electrical equipment handover module 107 is in normally off, and the common port and the normally-closed contact are connected, and the meter 230 is directly and institute
Main M-Bus interface modules 103 are stated to couple.
When the relay handover module 107 is in the second working condition, the relay handover module 107 is in normal
Open state, the common port and the normally opened contact are connected, the meter 230 directly with the 2nd M-Bus meter reading terminals
220 couplings.
The control module 101 is used to send a control signal to the control end of the relay handover module 107, so that institute
Stating relay module 107 carries out state switching.
Wherein, in the present embodiment, preferably described control end include resistance R9, triode uD3, voltage-regulator diode uD2 and
Coil uK1.The control module 101 is connected with one end of resistance R9, and the other end of resistance R9 connects with the base stage of triode uD3
Connect, the grounded emitter of the triode uD3, the colelctor electrode of triode uD3 is connected with one end of the coil uK1, coil uK1
The other end be connected with the power end of control module 101, voltage-regulator diode uD2 is in parallel with coil uK1.
Wherein, the control signal that control module 101 sends includes high level and low level, when the control signal is electricity high
Usually, can be that the relay handover module 107 is in the first working condition, or the relay handover module
107 are in the second working condition.Can be that the relay handover module 107 is in when the control signal is low level
Second working condition, or the relay handover module 107 are in the first working condition.In the present embodiment, preferably
Ground, can be that the relay handover module 107 is in the first working condition when the control signal is high level, work as institute
Can be that the relay handover module 107 is in the second working condition when stating control signal for low level.
Wherein, when the relay handover module 107 be in the first working condition when or communication interface converter 100 do not wrap
Include:During relay handover module 107, the request of data that the 2nd M-Bus meter reading terminals 220 send is through described from M-Bus
Interface module 105 is sent to the control module 101, and the control module 101 connects the request of data through the main M-Bus
Mouth mold block 103 is sent to the meter 230, and the meter information that the meter 230 is returned is through the main M-Bus interface modules 103
The control module 101 is sent to, the control module 101 is sent to two M- described in from M-Bus interface modules 105
Bus meter reading terminals 220.That is, when described 2nd M-Bus meter reading terminals, 220 pairs of meters 230 are checked meter, the 2nd M-BUS
The instruction that meter reading terminal 220 sends is transmitted to the meter 230 through control module 101, and after the response of meter 230, meter 230 is returned
Data be transmitted to the 2nd M-BUS meter reading terminals 220 through control module 101.
When the relay handover module 107 is in the second working condition, the 2nd M-Bus meter reading terminals 220 are sent out
The request of data sent is sent to the meter 230, the meter that the meter 230 is returned through described from M-Bus interface modules 105
Information is sent to the 2nd M-Bus meter reading terminals 220 described in from M-Bus interface modules 105.That is, the 2nd M-BUS is copied
Meter terminal 220 directly can check meter to the meter 230, need not move through control module 101 and forward.2nd M-BUS checks meter end
The instruction that end 220 sends can be transmitted directly to the meter 230, and the data that meter 230 is returned can also be transmitted directly to institute
State the 2nd M-BUS meter reading terminals 230.The LED light module 109 is coupled with the control module 101, for indicating this
The working condition of communication interface converter 100, such as run indicator, communication indicator lamp, alarm lamp etc..
The infrared module 111 is coupled with the control module 101, can be same as by infrared receiver external meters
Meter data information, and the data message of the instrument that will be received is sent to the control module 101, in order to control module
101 operations for carrying out next step.
Control module 101 described in 485 module 113 is coupled, and be can be used for the communication interface converter 100 and is set with outside
Communication between standby, for example, can be used for being connected with the concentrator in external equipment.Can be also used for the communication interface converter
100 maintenance and long-range upgrading etc..In the present embodiment, 485 module 113 connects including up 485 interface and descending 485
Mouthful.
The memory module 115 is coupled with the control module 101, for data storage and the communication interface converter
Program needed for 100 operations etc., the memory module 115 can be a kind of IC chip, with storage capacity.Above-mentioned
Memory module 115 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage
(Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM),
Erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electric erasable is read-only
Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), flash memory (Flash
Memory) etc..
The up external interface module 117 is coupled with the control module 101, can be used for connecting extraneous carrier interface
Module, wireless module or bimodulus module etc., for example, being connected for the carrier interface module with external meters, receive the outside
The meter data information of instrument, and the received meter data information is sent to the control module 101.
The clock module 119 is coupled with the control module 101, for providing pulse for communication interface converter 100
Signal, can normal work in order to the communication interface converter 100.
The power module 121 provides power for the communication interface converter, further, the power module 121
Respectively with main M-Bus interface modules 103, from M-Bus interface modules 105, relay handover module 107, LED light module
109th, infrared module 111,485 modules 113, memory module 115, up external interface module 117, clock module 119 etc. are provided
The described power supply of work, to ensure the normal work of each module.
The operation principle of communication interface converter that the utility model embodiment is provided is:The basis of the control module 101
The control command sent from M-Bus interface modules 105, correspondingly controls the relay handover module 107 in the first work
Make to switch between state and the second working condition, wherein, the control command sent from M-Bus interface modules 105 is derived from and this
The control command that the external equipment being connected from M-Bus interface modules 105 sends, for example, the 2nd M-Bus meter reading terminals send
Control command.
In sum, the utility model embodiment provides a kind of communication interface converter and the double host computer control systems of M-Bus
System.Communication interface converter is realized on the basis of original water meter, gas meter, flow meter, heat meter system is not changed, and is made full use of
The resources such as existing intelligent electric energy meter, acquisition terminal and communication channel, to water, the collection of air and heat table data, transmission.The communication
When interface convertor is applied in the double engine control systems of M-Bus, two sets of M-Bus system grid connections operations are realized, two sets are copied
Table system is capable of achieving point in real time and copies..On the other hand, the double host computer control systems of a kind of M-Bus that the utility model embodiment is provided
System, compared with prior art, this system overcomes can only have in certain time period a meter reading terminal operation defect, its
It is secondary, reduce the difficulty of on-site maintenance.Not only cost is relatively low for the communication interface converter, and end of checking meter is also reduced when using
The probability that end is broken down.
Preferred embodiment of the present utility model is the foregoing is only, the utility model is not limited to, for this
For the technical staff in field, the utility model can have various modifications and variations.It is all it is of the present utility model spirit and principle
Within, any modification, equivalent substitution and improvements made etc. should be included within protection domain of the present utility model.