CN107452192A - M BUS Communication processing systems with adaptation function - Google Patents
M BUS Communication processing systems with adaptation function Download PDFInfo
- Publication number
- CN107452192A CN107452192A CN201710700029.4A CN201710700029A CN107452192A CN 107452192 A CN107452192 A CN 107452192A CN 201710700029 A CN201710700029 A CN 201710700029A CN 107452192 A CN107452192 A CN 107452192A
- Authority
- CN
- China
- Prior art keywords
- voltage
- signal
- input
- output end
- bus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H7/00—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
- H02H7/20—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for electronic equipment
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention provides a kind of M BUS Communication processing systems with adaptation function, including signal to be sent by main equipment to the transtation mission circuit module of slave unit, signal being sent by slave unit to the receiving circuit module, the power module to power, microprocessor module of main equipment.The present invention can transmit the signal between main equipment and slave unit not to be influenceed by slave unit quantity in bus;The voltage signal sent using main equipment to slave unit realizes the power supply to slave unit;The system has self sleep mode, when no signal is transmitted automatically into resting state;The system also has self-protection function, automatically cuts off communication line when bus occurs abnormal, avoids Communication processing system failure, and when bus recovers normal, being not required to artificial interference can recover to use, and reduce cost of labor and time cost.
Description
Technical field
The present invention relates to long-distance meter-reading system field, is communicated in particular to a kind of M-BUS with adaptation function
Processing system.
Background technology
For a long-distance meter-reading system, the data transmitted in bus are exactly the water, electricity, gas that terminal user is consumed
Require very high Deng significant data, therefore to the anti-external disturbance of bus, the coupling that can resist various capacitives, perception is done
Disturb, between all slave units (slave), all mutually isolated between slave unit and main equipment (main frame).
Current long-distance meter-reading system, following three be present:
First, the signal transmission between main equipment and slave unit still has the problem of interfering, in sometimes signal
Transmission can make a mistake or exception.
Second, when the slave unit quantity change in a bus is more, signal transmission abnormality also becomes frequent, in other words, mesh
The maximum slave unit negligible amounts that can be accommodated in previous bar bus.
3rd, the power supply mode of slave unit stills need to power using battery or family expenses, in-convenience in use.
The content of the invention
Present invention aims at providing a kind of M-BUS Communication processing systems with adaptation function, main equipment and from setting
Signal transmission between standby is not influenceed by slave unit quantity in bus;The voltage signal sent using main equipment to slave unit is real
Now to the power supply of slave unit;The system has self sleep mode, when no signal is transmitted automatically into resting state;The system
Also there is self-protection function, automatically cut off communication line when bus occurs abnormal, Communication processing system failure is avoided, when total
When line recovers normal, being not required to artificial interference can recover to use, and reduce cost of labor and time cost.
To reach above-mentioned purpose, the present invention refers to an a kind of M-BUS Communication processing systems with adaptation function, is suitable to
The mutual communication between each slave unit in main equipment and bus is realized, including signal is sent to slave unit by main equipment
Transtation mission circuit module, signal to be sent by slave unit to the receiving circuit module of main equipment, to power power module,
Microprocessor module;
The microprocessor module has a signal sending end, a signal receiving end;
The microprocessor module receives the information that main equipment is sent, and it is parsed into first be made up of high and low level
Voltage signal, then first voltage signal is sent to signal sending end;
The transtation mission circuit module electrical connection signal sending end and M-BUS buses, receive first voltage signal, by the first electricity
Pressure signal is converted into the second voltage signal that is made up of a first voltage and a second voltage, then by second voltage signal send to
Slave unit in M-BUS buses;
The slave unit is in response to second voltage signal, one current signal of feedback to M-BUS buses;
The receiving circuit module electrical connection M-BUS buses and signal receiving end, including sampling unit, the tool being sequentially connected
There are the first reduction voltage circuit, the first comparator of delay feature;
The first comparator compares input including one first, one second compares input, one first compares output end;
The receiving circuit module receives the current signal, and the current signal for being sent slave unit by sampling unit is changed
First, which is transferred to, after into tertiary voltage signal compares input;
The tertiary voltage signal, which is also depressured via the first reduction voltage circuit and is transferred to second after setting time, to be compared
Input;
The voltage magnitude that first reduction voltage circuit reduces is less than the amplitude of tertiary voltage signal;
The first comparator generates the 4th voltage signal being made up of high and low level signal in response to comparative result, and
And compare output end by first and send to the signal receiving end of microprocessor module;
The microprocessor module receives the 4th voltage signal sent from signal receiving end, sent after it is parsed to
Main equipment.
By above technical scheme, compared with existing, its significant beneficial effect is,
1st, the signal transmission between main equipment and slave unit is not influenceed by slave unit quantity in bus;
2nd, the power supply to slave unit is realized to the voltage signal that slave unit is sent using main equipment;
3rd, the system has self sleep mode, when no signal is transmitted automatically into resting state;
4th, the system also has self-protection function, automatically cuts off communication line when bus occurs abnormal, avoids communicating
Processing system is damaged, and when bus recovers normal, being not required to artificial interference can recover to use, reduce cost of labor and time into
This.
It should be appreciated that as long as all combinations of aforementioned concepts and the extra design described in greater detail below are at this
Sample design it is not conflicting in the case of can be viewed as the disclosure subject matter a part.In addition, required guarantor
All combinations of the theme of shield are considered as a part for the subject matter of the disclosure.
Can be more fully appreciated from the following description with reference to accompanying drawing present invention teach that foregoing and other aspect, reality
Apply example and feature.The feature and/or beneficial effect of other additional aspects such as illustrative embodiments of the present invention will be below
Description in it is obvious, or by according to present invention teach that embodiment practice in learn.
Brief description of the drawings
Accompanying drawing is not intended to drawn to scale.In the accompanying drawings, each identical or approximately uniform group shown in each figure
It can be indicated by the same numeral into part.For clarity, in each figure, not each part is labeled.
Now, by example and the embodiment of various aspects of the invention will be described in reference to the drawings, wherein:
Fig. 1 is the structural representation of the Communication processing system of the present invention.
Fig. 2 is the structural representation of the power module of the present invention
Fig. 3 is the structural representation of the transtation mission circuit module of the present invention.
Fig. 4 is the structural representation of the receiving circuit module of the present invention.
Fig. 5 is the structural representation of the protection circuit module of the present invention.
Embodiment
In order to know more about the technology contents of the present invention, especially exemplified by specific embodiment and institute's accompanying drawings are coordinated to be described as follows.
Each side with reference to the accompanying drawings to describe the present invention in the disclosure, shown in the drawings of the embodiment of many explanations.
It is not intended to cover all aspects of the invention for embodiment of the disclosure.It should be appreciated that a variety of designs presented hereinbefore and reality
Apply example, and those designs described in more detail below and embodiment can in many ways in any one come it is real
Apply, because design disclosed in this invention and embodiment are not limited to any embodiment.In addition, disclosed by the invention one
A little aspects can be used alone, or otherwise any appropriately combined be used with disclosed by the invention.
M-bus is the system of a stratification, by a main equipment 100, some slave units 200 and a pair of connection cables groups
Into all slave units 200 are connected in parallel in bus, by all serial communication processes in the controlling bus of main equipment 100.
In order to realize the remote power feeding to slave unit 200, the code stream in bus represents as follows:
Realize that main equipment 100 arrives the code stream transmission of slave unit 200 by the skew of level, in bus driver (main equipment
100 part) on:The corresponding 36V of logical one (MARK) voltage, when transmitting logical zero (SPACE), bus driver will
Voltage in bus is reduced to 24V from 36V.
It should be appreciated that the logical one and the corresponding voltage value of logical zero that refer here to not be fixedly installed as 36V and
24V, it is only necessary to therebetween with a larger pressure difference, it is preferred that this pressure difference is not less than 8V, but also should not mistake
Greatly, avoid causing energy waste.
And the code stream transmission of slave unit 200 to main equipment 100 is then realized by modulating the electric current of the consumption of slave unit 200.
Quiescent current (the note that logical one is worked with slave:General single water meter is less than 1.5mA) represent, logical zero then need to be in Static Electro
11-20mA electric current is added on the basis of stream.Electric current during MARK values can be used for giving interface circuit even instrument or biography
Sensor circuit is powered.
Voltage when slave unit 200 transmits low level in bus can be reduced slightly.Inactive state in bus is to patrol
Collect " 1 ", now the voltage on bus driver is 36V, and the quiescent current of slave unit 200 is 1.5mA.
When all slave units 200 do not export logical zero, it is total to drive that bus driver exports a constant electric current
Line, due to the resistive degeneration of transmission line, while according to 200 total Static Electro of distance and slave unit of slave unit 200 and main equipment 100
The size of stream, the virtual voltage outline at the end of slave unit 200 are less than 36V.Therefore slave unit 200 is in the code stream on identifying bus
It is the skew according to 12V level rather than the absolute value according to voltage to carry out.Main equipment 100 is sent out in reception slave unit 200
It is then increase that 11-20mA is had according to bus current during the SPACE values sent to differentiate.Therefore data pass M-bus at any time
Defeated direction is unidirectional, by main equipment 100 to slave unit 200 or by slave unit 200 to main equipment 100, this communication mode
Not only realize the remote power feeding to slave unit 200 while have also obtained the very strong resistivity to external disturbance.
On the basis of this communication transfer mode, with reference to Fig. 1, the present invention proposes a kind of M-BUS with adaptation function
Communication processing system, it is adapted for carrying out the mutual communication between each slave unit 200 in main equipment 100 and bus.
The Communication processing system is included signal is sent to the transtation mission circuit module of slave unit 200 by main equipment 100
20th, signal to be sent by slave unit 200 to the receiving circuit module 30 of main equipment 100, to power power module 60,
Microprocessor module 10.
The power module 60 of the application is first illustrated below.
From the foregoing it will be appreciated that the M-BUS Communication processings system at least needs following several voltages, M-BUS buses 300 are delivered to
On to express main equipment 100 to slave unit 200 send information logical one voltage and logical zero voltage, to microprocessor
The multiple voltage of the power supplies such as device module 10, receiving circuit module 30, transtation mission circuit module 20, such as microprocessor module 10 need
3.3V powers, and operational amplifier needs 15V to power.
No doubt we can set multiple voltage to meet all circuit module and logic voltage demands, but circuit can become phase
Work as complexity, it is difficult in maintenance.
Therefore, the present invention proposes a kind of example of power module 60, reduces power circuit complexity, is easily managed.
With reference to Fig. 2, the power module 60 that the present invention refers to includes the first source of stable pressure, the second source of stable pressure, booster circuit, first
Reduction voltage circuit.
Booster circuit has first voltage input and first voltage output end, and the first reduction voltage circuit has second voltage defeated
Enter end and second voltage output end.
The output end of second source of stable pressure respectively with the first voltage input of booster circuit and the first reduction voltage circuit second
Voltage input end electrically connects.
The voltage of first voltage output end is defined as first voltage, and the voltage of second voltage output end is defined as second
Voltage.
So as to obtain new having the of certain pressure difference after the boosted circuit boosting of, the second source of stable pressure and pressure unit decompression
One voltage and second voltage.
By taking foregoing magnitude of voltage demand as an example, the first source of stable pressure uses 3.3V, to be needed to the grade of microprocessor module 10
The device of 3.3V power supplies uses, and the second source of stable pressure uses 24V, and after the boosted processing of circuit of the second source of stable pressure, magnitude of voltage rises to
36V, the voltage are defined as first voltage, meet logical one demand, the second source of stable pressure is after pressure unit is handled, magnitude of voltage
15V is down to, the voltage is defined as second voltage, meets logical zero demand.
At the same time, second voltage is also providing the device operating voltages such as operational amplifier, optocoupler.
Power module 60 is simplified, easy to maintenance.
Microprocessor module 10 electrically connects with main equipment 100, is realized mutually by a communication unit between main equipment 100
Between data communication.
Microprocessor module 10 has an a signal sending end TX and signal receiving end RX.
Microprocessor module 10 receives the information that main equipment 100 is sent, and it is parsed into the first electricity of high and low level composition
Press signal.Because the voltage of microprocessor module 10 itself limits, the magnitude of voltage of first voltage signal is smaller, for example, by 3.3V and
0V is formed, and this magnitude of voltage is not enough to activate the slave unit 200 in M-BUS buses 300.
Therefore need by transtation mission circuit module 20 to be converted into be perceived by slave unit 200, and being capable of quick quilt
The second voltage signal that slave unit 200 charges.
Transtation mission circuit module 20 electrically connects signal sending end TX and M-BUS bus 300, and microprocessor module 10 is electric by first
Pressure signal is sent to signal sending end TX.Transtation mission circuit module 20 in response to first voltage signal, generation one by first voltage and
The second voltage signal of second voltage composition.Second voltage signal is sent to the slave unit 200 in M-BUS buses 300, realizes
Information transfer of the main equipment 100 to slave unit 200.
With reference to Fig. 3, it is converted to second voltage signal to illustrate first voltage signal below by an example
Journey.
Transtation mission circuit module 20 includes first switch unit 21, metal-oxide-semiconductor 22, the first diode 23.
The input of the first switch unit 21 electrically connects with the signal sending end TX of microprocessor module 10, and first opens
The output end for closing unit 21 electrically connects with the grid of metal-oxide-semiconductor 22.
The drain electrode of the metal-oxide-semiconductor 22 electrically connects with the first voltage output end of booster circuit, the source electrode of metal-oxide-semiconductor 22 and first
The output end electrical connection of diode 23.
The input of first diode 23 electrically connects with the second voltage output end of the first reduction voltage circuit.
The tie point of the output end of the source electrode of the metal-oxide-semiconductor 22 and the first diode 23 is defined as sending node, sends
Node electrically connects with M-BUS buses 300.
The first voltage signal that the first switch unit 21 is sent in response to signal sending end TX, control metal-oxide-semiconductor 22
On off operating mode, and then the magnitude of voltage at sending node is controlled, form the second electricity being alternately made up of first voltage and second voltage
Press signal, and the slave unit 200 being sent in M-BUS buses 300.
For example, it is assumed that the metal-oxide-semiconductor 22 uses N-channel increase type metal-oxide-semiconductor, when first voltage signal is in high level, the
One switch element 21 turns on, and the grid of metal-oxide-semiconductor 22 switches to high pressure, and metal-oxide-semiconductor 22 turns on, and voltage is first voltage at sending node,
Because first voltage is more than second voltage, the first diode 23 disconnects, and now the voltage in M-BUS buses 300 is first voltage
The operating voltage of metal-oxide-semiconductor 22 is subtracted, realizes the transmission of logical one.
Equally, when first voltage signal is low level, first switch unit 21 is closed, and the grid of metal-oxide-semiconductor 22 is almost equal to zero,
Metal-oxide-semiconductor 22 disconnects, and voltage is low pressure at sending node, and the first diode 23 turns on, and now the voltage in M-BUS buses 300 is
Second voltage subtracts the operating voltage of the first diode 23, realizes the transmission of logical zero.
First switch unit 21 herein can take various forms, as long as the break-make of metal-oxide-semiconductor 22 can be controlled.
In the present embodiment, only illustrate first switch unit 21 is how to control the break-make of metal-oxide-semiconductor 22 by one of which example.
The first switch unit 21 includes the first triode and the first optocoupler.
The base stage of first triode electrically connects with signal sending end TX, the primary side output end of colelctor electrode and the first optocoupler
Electrical connection, emitting stage ground connection.
The primary side input of first optocoupler electrically connects with the second source of stable pressure.
The secondary input of first optocoupler electrically connects with first voltage output end, the secondary output end of the first optocoupler with
The grid electrical connection of metal-oxide-semiconductor 22.
When signal sending end TX sends high level, for example, 3.3V, the first triode ON, the primary side output of the first optocoupler
Terminal voltage is almost 0, and the first optocoupler conducting, the grid of metal-oxide-semiconductor 22 is turned on first voltage output end, and the grid of metal-oxide-semiconductor 22 is in
High-voltage state, metal-oxide-semiconductor 22 is turned on, realize that the foregoing logical one to M-BUS buses 300 transmits.
When signal sending end TX sends low level, such as 0V, the first triode disconnect, the primary side output end of the first optocoupler
For the high level of intimate first a reference source magnitude of voltage, the first optocoupler is not lighted, and secondary is not turned on, now the grid of metal-oxide-semiconductor 22 by
In ground connection, grid voltage is almost 0, and metal-oxide-semiconductor 22 is not turned on, and realizes that the foregoing logical zero to M-BUS buses 300 transmits.
The first voltage signal that first triode is sent in response to signal sending end TX, changes itself on off operating mode,
And then the on off operating mode of the first optical coupling secondary edges is controlled, the gate voltage values of metal-oxide-semiconductor 22 are controlled, generation is by the first electricity at sending node
The second voltage signal of pressure and second voltage composition, so as to realize that main equipment 100 transmits to the signal of slave unit 200.
The logical one and logical zero of signal transmission depend on the signal transmission form of first switch unit 21, metal-oxide-semiconductor 22
Type, the connected mode of metal-oxide-semiconductor 22 and first switch unit 21, previous example is only one of which transtation mission circuit module 20
Implementation.
There is a purpose to be using optocoupler herein to realize that the isolation between circuit module is protected, further enhance whole
The security of individual Communication processing system, also relate to several optocouplers in subsequent descriptions, its purpose except realize switching function it
Outside, equally there is the isolation defencive function between circuit module, this point is will not be described in great detail when subsequently referring to.
From the foregoing it will be appreciated that all the time there is high voltage caused by logical one or logical zero in M-BUS buses 300, by
It is not high to the signal transmission frequencies of slave unit 200 in main equipment 100, when main equipment 100 does not carry out signal to slave unit 200
During transmission, now the waste of the energy can be undoubtedly caused if also there is this high pressure in M-BUS buses 300.
Therefore, the present invention is provided with a dormant circuit module, concrete structure and operation principle are as follows:
The microprocessor module 10 has a control signal output CC, and micro treatment module is in response to signal sending end TX
There is signal transmission, one Continuity signal of generation is persistently sent to control signal output CC, until signal sending end TX signals are sent
Complete.
A second switch unit 40, the electricity of second switch unit 40 are provided between sending node and the M-BUS bus 300
Linkup transmit node and M-BUS buses 300, it has a control terminal, the control terminal and the control signal of microprocessor module 10
Output end CC is electrically connected.
The Continuity signal that the second switch unit 40 is sent in response to control signal output CC, it is converted into turning on shape
State, conversely, being then off, cut off the connection of sending node and M-BUS buses 300.
In this way, make only have microprocessor module 10 to there is signal to send to just being deposited during slave unit 200 in M-BUS buses 300
In high pressure.
Slave unit 200 receives the second voltage signal from M-BUS buses 300, and second voltage signal is to the slave unit 200
Charging process is carried out, when the electric energy of the slave unit 200, which meets, to impose a condition, a current signal will be fed back to M-BUS buses
On 300, then via M-BUS buses 300, receive circuit module and be passed back to microprocessor module 10.
The signal that microprocessor module 10 can receive should be the 4th voltage signal for being similar to first voltage signal, and
The current signal that non-slave unit 200 directly transmits, therefore one of function of receiving circuit module 30 is signal conversion.
The basic structure and operation principle of receiving circuit module 30 are as follows:
Receiving circuit module 30 electrically connects signal receiving end RX and M-BUS bus 300, and slave unit 200 sends electric current letter
Number, it is converted into tertiary voltage signal through a sampling resistor 31, then be converted into can be by microprocessor module for received circuit module 30
After 10 the 4th voltage signals received, transmit to signal receiving end RX and received by microprocessor module 10, microprocessor module 10
The 4th voltage signal is parsed, and the result after parsing is fed back into main equipment 100, realizes slave unit 200 to main equipment 100
Information transfer.
From preceding, the magnitude of voltage and pressure difference of second voltage signal are typically each higher (such as 15V and 36V), via transmission
Circuit module 20 is sent to M-BUS buses 300, and the current signal that slave unit 200 generates is fainter, by taking 20uA as an example, through adopting
The voltage amplification of the conversion generation of sample resistance 31 only has several volts of zero point, relative to the pressure difference between first voltage and second voltage, closely
Ignore, therefore do not affect main equipment 100 and the signal of slave unit 200 is transmitted.
With reference to Fig. 4, it is former the structure of receiving circuit module 30 and specific works will to be specifically described by an example below
Reason, ditto, receiving circuit module 30 is not limited to the example.
The receiving circuit module 30 is put including sampling resistor 31, transmission resistance 32, the second reduction voltage circuit 34, the first computing
Big device 33, first comparator 35.
The first end of the sampling resistor 31 electrically connects with M-BUS buses 300, and the second end of sampling resistor 31 connects
Ground.
The first end of the sampling resistor 31 is defined as receiving node, and sampling resistor 31 is slave unit 200 to be sent out
The current signal sent is converted into tertiary voltage signal.
As it was previously stated, the slave unit 200 in M-BUS buses 300 is at work, it is inherently anti-with certain operating current
In M-BUS buses 300, this operating current increases with the enhancing of the quantity of slave unit 200 in bus for feedback.
For the ease of describing this process, it will be assumed that the operating current of each slave unit 200 is 1.5mA, 100 from
The total working electric current of equipment 200 is 0.15A, and sampling resistor 31 is 10 ohm, and now, the operating voltage of receiving node is about 1.5V
Left and right.
And the slave unit 200 in the M-BUS buses 300 feeds back a 20mA or so current signal to M-BUS buses 300
When, a 0.2V or so fluctuation will occurs in the operating voltage of receiving node, i.e. tertiary voltage is generated at receiving node
Signal, the amplitude of tertiary voltage signal is very small, only 0.2V or so.
This amplitude of tertiary voltage signal and the operating voltage of its script are not related, if original from setting in bus
Standby 200 quantity are 200, operating voltage about 3V or so, when slave unit 200 has fed-back current signals, the voltage at receiving node
3.2V will be changed into, its tertiary voltage signal amplitude generated is still 0.2V.
This characteristic determines that the signal transmission of the Communication processing system mentioned by the present invention is not limited by load number, under
Face we the detailed process of signal transmission of the receiving node to microprocessor module 10 will be further described.
The first end for transmitting resistance 32 electrically connects with receiving node, transmits the second end and the first fortune of resistance 32
The inverting input electrical connection of amplifier 33 is calculated, transmits resistance 32 the tertiary voltage signal at receiving node is transferred into the
The inverting input of one operational amplifier 33.
The in-phase input end of first operational amplifier 33 electrically connects with second voltage output end, the first operational amplifier
33 output end electrically connects with the input of the second reduction voltage circuit 34.
The voltage magnitude that second reduction voltage circuit 34 reduces is less than the amplitude of tertiary voltage signal, in order to can subsequently produce
Raw voltage-contrast.
There is a delay unit in second reduction voltage circuit 34, to the electricity after output buck again after setting time
Pressure, this setting time are determined by actual demand, and this point can be achieved by adjusting the capacitor's capacity in delay unit.
The first comparator 35 has first compare input, second compare input and first and compare output end, its
In, first compares input electrically connects with the output end of the first operational amplifier 33, and second compares input and the second decompression electricity
The output end electrical connection on road 34, first compares output end electrically connects with the signal receiving end RX of microprocessor module 10.
The first comparator 35 generates the 4th voltage signal being made up of high and low level signal in response to comparative result,
And compare output end by first to send to the signal receiving end RX of microprocessor module 10.
Specifically a bit, such as we set first comparator 35 operation principle it is as follows:
When 200 generation operating currents of slave unit, voltage stabilization at receiving node, the output of the first operational amplifier 33
Terminal voltage is also stablized, and the voltage, which is transmitted to first, compares input, and the voltage is also after the reduction of the second reduction voltage circuit 34
It is transferred to second and compares input, now the first voltage for comparing input compares input slightly larger than second, and first is more defeated
Go out the high level signal that end output represents logical one signal.
When slave unit 200 feeds back a current signal, the rise of receiving node voltage, what it is due to receiving node connection is first
The inverting input of operational amplifier 33, therefore the output end voltage of the first operational amplifier 33 reduces, i.e., first compares input
The voltage at end is reduced, and due to the presence of delay unit, the second voltage for comparing input is maintained as former state, due to the second reduction voltage circuit
34 voltages reduced replicate the amplitude less than tertiary voltage signal, and therefore, now the first voltage for comparing input is slightly less than the
Two compare input, and first compares the low level signal that output end output represents logical zero.
And the microprocessor module 10 receives the 4th voltage signal sent from signal receiving end RX, after it is parsed
Send to main equipment 100, realize slave unit 200 to the information transmission of main equipment 100.
The in-phase input end of foregoing first operational amplifier 33 is electrically connected with second voltage output end, in fact, the
The in-phase input end of one operational amplifier 33 can electrically connect with any one source of stable pressure, and this source of stable pressure will determine this herein
The load number of M-BUS buses 300, i.e. as long as the voltage at the inverting input of the first operational amplifier 33 is steady less than this
The voltage of potential source, the service behaviour of the receiving circuit module 30 are then present.
As for the specific implementation of first comparator 35, one of which is only introduced in the present embodiment.
The first comparator 35 includes the second operational amplifier, the second optocoupler and the 3rd diode 36.
The in-phase input end of second operational amplifier electrically connects with the output end of the first operational amplifier 33, anti-phase defeated
Enter end to electrically connect with the output end of the second reduction voltage circuit 34, output end electrically connects with the output end of the second optocoupler primary side.
The input of the second optocoupler primary side electrically connects with second voltage output end, secondary input and the second a reference source
Electrical connection, secondary output head grounding.
The input of 3rd diode 36 electrically connects with the input of the second optical coupling secondary edges, and output end receives with signal
Hold RX electrical connections.
Second operational amplifier is according to the output end of the first operational amplifier 33 and the output end of the second reduction voltage circuit 34
Comparative result (refers to foregoing comparative result), controls the second optocoupler on off operating mode, and then controls the break-make of the 3rd diode 36, makes the
The 4th voltage signal that the output end generation of three diodes 36 is made up of high and low level signal, is transmitted to signal receiving end RX.
In this way, being how many regardless of the output voltage values of the second operational amplifier, the voltage of the 4th voltage signal is not affected
Amplitude.
Preferably, the 3rd diode 36 herein uses light emitting diode, except that can realize foregoing function, can also refer to
Show the working condition of receiving circuit module 30, i.e. when receiving logical zero signal, lumination of light emitting diode, the 3rd diode 36 is same
Shi Zuowei clearing lamps use
Preferably, the receiving circuit module 30 also has a filter unit, and it is more defeated that the filter unit electrically connects first
Go out end and signal receiving end RX, retransmited to compare first after the 4th voltage signal of output end is handled after filtering to micro-
Processor module 10, in order to 10 more preferable analytic signal of microprocessor module, reduce rate of false alarm.
The present invention is in addition to above-mentioned adaptation function, communication function, sleep mode, and an also important innovations point, being can
To realize self-shield and self-recovering function, human cost is reduced, elaborated below.
With reference to Fig. 5, the Communication processing system also has a protection circuit module 50.
The protection circuit module 50 includes the second diode 51, the second comparator 52.
Second comparator 52 has the 3rd compare input, the 4th compare input and second and compare output end.
The input of second diode 51 electrically connects with the first end of sampling resistor 31, and output end is compared with the 3rd
Input electrically connects.
The 4th of second comparator 52 compares input and electrically connected with one the 3rd source of stable pressure, second compare output end with
The control terminal electrical connection of second switch unit 40.
Second comparator 52 is less than the voltage of the 3rd source of stable pressure, generation one in response to the 3rd voltage for comparing input
" circuit is normal " signal simultaneously sends to second and compares output end.
The second switch unit 40 simultaneously in response to:1) control signal output CC sends Continuity signal;2) the second ratio
" circuit is normal " signal is sent compared with output end, is converted into conducting state.
Likewise, the 3rd source of stable pressure can be substituted with any one power supply, it is contemplated that the simplification of circuit maintenance, can
Choosing, we are used as the 3rd source of stable pressure using second voltage, i.e. the 4th of the second comparator 52 compares input and the second electricity
Press output end electrical connection.
For voltage only at receiving node when allowing in threshold range, the second diode 51 is in dissengaged positions, the
Three voltages for comparing input are less than the voltage of the 3rd source of stable pressure, and the second comparator 52 generates " circuit is a normal " signal, if
Now main equipment 100 just has signal to need to send to slave unit 200, control signal output CC and send Continuity signal,
Second switch unit 40 can just be converted into conducting state, continue to realize the communication between main equipment 100 and slave unit 200.
When exception occur in M-BUS buses 300 or slave unit 200, the voltage at receiving node is beyond allowing threshold value, and second
Diode 51 turns on, and the 3rd voltage for comparing input is more than the voltage of the 3rd source of stable pressure, and the second comparator 52 can not generate " electricity
Road is normal " signal, second switch unit 40 is in dissengaged positions, now the communication link between main equipment 100 and slave unit 200
It is to disconnect, protects the safety of main equipment 100, M-BUS buses 300 are due to that can not receive the second of the transmission of main equipment 100
Voltage signal, it also stopped the signal of itself and send, therefore also protect the safety of slave unit 200.
When M-BUS buses 300 or slave unit 200 recover normal, the voltage at receiving node is returned to permission threshold value again
In the range of, the second comparator 52 automatically generates " circuit is normal " signal, and whole system works on, and recovers without artificial interference,
Reduce cost of labor, also reduce maintenance difficulties.
As for the structure of the second comparator 52, we can be realized by the 3rd operational amplifier and the 3rd optocoupler,
As long as this comparing function can be realized, it can will not be described here in other way.
In order to do further circuit protection, we can also set resettable fuse in M-BUS buses 300,
First voltage-regulator diode in parallel, limits the magnitude of voltage in M-BUS buses 300 in M-BUS buses 300.
What is more, the application is parallel with one second voltage-regulator diode at the both ends of sampling resistor 31, to limit receiving node
The magnitude of voltage at place, it is no more than the highest pressure limiting of the second voltage-regulator diode, further ensure that the security of whole system.
The type selecting of the second voltage-regulator diode herein may be referred to the quantity of maximum slave unit 200 of the M-BUS buses 300,
Although the course of work of this M-BUS Communication processing system mentioned by the present invention is not by slave unit in M-BUS buses 300
200 quantity influence, but in view of equipment operating efficiency and management it is complicated, can according to reality equipment operation management determine one
The maximum quantity of slave unit 200, then do the type selecting of resettable fuse and voltage-regulator diode.
So as to, the present invention refers to a kind of M-BUS Communication processing systems with adaptation function, main equipment and slave unit it
Between signal transmission do not influenceed by slave unit quantity in bus;The voltage signal realization pair sent using main equipment to slave unit
The power supply of slave unit;The system has self sleep mode, when no signal is transmitted automatically into resting state;The system also has
There is self-protection function, automatically cut off communication line when bus occurs abnormal, Communication processing system failure is avoided, when bus is extensive
When multiple normal, being not required to artificial interference can recover to use, and reduce cost of labor and time cost.
Although the present invention is disclosed above with preferred embodiment, so it is not limited to the present invention.Skill belonging to the present invention
Has usually intellectual in art field, without departing from the spirit and scope of the present invention, when can be used for a variety of modifications and variations.Cause
This, the scope of protection of the present invention is defined by those of the claims.
Claims (11)
1. a kind of M-BUS Communication processing systems with adaptation function, be adapted for carrying out main equipment and each slave unit in bus it
Between mutual communication, it is characterised in that including signal to be sent by main equipment to the transtation mission circuit module of slave unit, to
Signal is sent to the receiving circuit module, the power module to power, microprocessor module of main equipment by slave unit;
The microprocessor module has a signal sending end, a signal receiving end;
The microprocessor module receives the information that main equipment is sent, and it is parsed into the first voltage being made up of high and low level
Signal, then first voltage signal is sent to signal sending end;
The transtation mission circuit module electrical connection signal sending end and M-BUS buses, receive first voltage signal, first voltage are believed
The second voltage signal being made up of a first voltage and a second voltage number is converted into, then second voltage signal is sent to M-
Slave unit in BUS buses;
The slave unit is in response to second voltage signal, one current signal of feedback to M-BUS buses;
Receiving circuit module electrical connection M-BUS buses and signal receiving end, including be sequentially connected sampling unit, have and prolong
First reduction voltage circuit of slow function, first comparator;
The first comparator compares input including one first, one second compares input, one first compares output end;
The receiving circuit module receives the current signal, and the current signal that slave unit is sent is converted into by sampling unit
First is transferred to after three voltage signals and compares input;
The tertiary voltage signal, which is also depressured via the first reduction voltage circuit and is transferred to second after setting time, compares input
End;
The voltage magnitude that first reduction voltage circuit reduces is less than the amplitude of tertiary voltage signal;
The first comparator generates the 4th voltage signal being made up of high and low level signal, and lead in response to comparative result
Cross first and compare output end and send to the signal receiving end of microprocessor module;
The microprocessor module receives the 4th voltage signal sent from signal receiving end, sends to master and sets after it is parsed
It is standby.
2. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that the electricity
Source module includes the first source of stable pressure, the second source of stable pressure, booster circuit, the second reduction voltage circuit, wherein:
First source of stable pressure electrically connects with microprocessor module, to be powered to microprocessor module, and aids in microprocessor
Device module realizes the output of first voltage signal;
The booster circuit has first voltage input and first voltage output end, and the second reduction voltage circuit has second voltage defeated
Enter end and second voltage output end;
The output end of second source of stable pressure respectively with the first voltage input of booster circuit and the second reduction voltage circuit second
Voltage input end electrically connects;
The first voltage output end is to provide first voltage, and the second voltage output end is providing second voltage;
Pressure difference between the first voltage and second voltage is more than or equal to 8V.
3. the M-BUS Communication processing systems according to claim 2 with adaptation function, it is characterised in that described
The voltage of one source of stable pressure uses 3.3V, and the voltage of the second source of stable pressure uses 24V;
The first voltage uses 36V, and second voltage uses 15V.
4. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that the hair
Circuit module is sent to include first switch unit, metal-oxide-semiconductor, the first diode;
The input of the first switch unit electrically connects with the signal sending end of microprocessor module, first switch unit it is defeated
Go out end to electrically connect with the grid of metal-oxide-semiconductor;
The drain electrode of the metal-oxide-semiconductor electrically connects with the source of stable pressure of an offer first voltage, and the source electrode of metal-oxide-semiconductor is defeated with the first diode
Go out end electrical connection;
The input of first diode electrically connects with the source of stable pressure of an offer second voltage;
The tie point of the output end of the source electrode of the metal-oxide-semiconductor and the first diode is defined as sending node, sending node and M-
BUS buses electrically connect;
The first voltage signal that the first switch unit is sent in response to signal sending end, controls the on off operating mode of metal-oxide-semiconductor, enters
And the magnitude of voltage at sending node is controlled, the second voltage signal being alternately made up of first voltage and second voltage is formed, and
The slave unit being sent in M-BUS buses.
5. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that described to adopt
Sample unit includes sampling resistor, transmits resistance and amplifying circuit;
The first end of the sampling resistor electrically connects with M-BUS buses, the second end ground connection of sampling resistor;
The first end of the sampling resistor is defined as receiving node, and sampling resistor is to the current signal that sends slave unit
It is converted into voltage signal;
The first end for transmitting resistance electrically connects with receiving node, transmits the input of the second end and amplifying circuit of resistance
End electrical connection, resistance is transmitted the voltage signal at receiving node to be transferred to the input of amplifying circuit;
The amplifying circuit receives aforesaid voltage signal, and tertiary voltage signal is generated after it is amplified, is transferred to first comparator.
6. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that described micro-
Processor module has a control signal output, and micro treatment module has signal transmission in response to signal sending end, and generation one is led
Messenger is persistently sent to control signal output, until signal sending end signal is sent completely;
It is provided with a second switch unit between the transtation mission circuit module and M-BUS buses, second switch unit is electrically connected sending and receiving
Circuit module and M-BUS buses are sent, it has the control signal output electricity of a control terminal, the control terminal and microprocessor module
Connection;
The Continuity signal that the second switch unit is sent in response to control signal output, is converted into conducting state.
7. the M-BUS Communication processing systems according to claim 6 with adaptation function, it is characterised in that described logical
News processing system also has a protection circuit module;
The protection circuit module includes the second diode, the second comparator;
Second comparator has the 3rd compare input, the 4th compare input and second and compare output end;
The input of second diode electrically connects with the output end of sampling unit, and output end input compared with the 3rd is electrically connected
Connect;
The 4th of second comparator compares input and electrically connected with one the 3rd source of stable pressure, and second compares output end opens with second
Close the control terminal electrical connection of unit;
Second comparator is less than the voltage of the 3rd source of stable pressure, generation one in response to the 3rd output voltage for comparing input
" circuit is normal " signal simultaneously sends to second and compares output end;
The second switch unit simultaneously in response to:1) control signal output sends Continuity signal;2) second compares output end
" circuit is normal " signal is sent, is converted into conducting state.
8. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that described
One switch element includes a triode and the first optocoupler;
The base stage of the triode electrically connects with signal sending end, and colelctor electrode electrically connects with the primary side output end of the first optocoupler, hair
Penetrate level ground connection;
The primary side input of first optocoupler electrically connects with the first source of stable pressure;
The secondary input of first optocoupler electrically connects with providing the source of stable pressure of first voltage, the secondary output end of the first optocoupler
Electrically connected with the grid of metal-oxide-semiconductor;
The first voltage signal that the triode is sent in response to signal sending end, changes itself on off operating mode, and then controls the
The on off operating mode of one optical coupling secondary edges, control metal-oxide-semiconductor gate voltage values.
9. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that described
One comparator includes operational amplifier, the second optocoupler and the 3rd diode;
The in-phase input end of the operational amplifier electrically connects with the output end of amplifying circuit, inverting input and the second decompression electricity
The output end electrical connection on road, output end electrically connect with the output end of the second optocoupler primary side;
The input of the second optocoupler primary side electrically connects with one the 4th source of stable pressure, and secondary input is electrically connected with the first source of stable pressure
Connect, secondary output head grounding;
The input of 3rd diode electrically connects with the input of the second optical coupling secondary edges, and output end is electrically connected with signal receiving end
Connect;
The operational amplifier is according to the output end of amplifying circuit and the comparative result of the second reduction voltage circuit output end, control second
Optocoupler on off operating mode, and then the 3rd diode break-make is controlled, the output end of the 3rd diode is generated by high and low level signal group
Into the 4th voltage signal, transmit to signal receiving end;
3rd diode uses light emitting diode, to indicate the working condition of receiving circuit module.
10. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that described to connect
Receiving circuit module also has a filter unit, and output end and signal receiving end are compared in filter unit electrical connection first, to incite somebody to action
First the 4th voltage signal for comparing output end is retransmited to microprocessor module after handling after filtering.
11. the M-BUS Communication processing systems according to claim 1 with adaptation function, it is characterised in that described to adopt
Sample unit both ends are parallel with a voltage-regulator diode, to limit the voltage at receiving node, make the ceiling voltage at receiving node
No more than stop voltage threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710700029.4A CN107452192A (en) | 2017-08-16 | 2017-08-16 | M BUS Communication processing systems with adaptation function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710700029.4A CN107452192A (en) | 2017-08-16 | 2017-08-16 | M BUS Communication processing systems with adaptation function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107452192A true CN107452192A (en) | 2017-12-08 |
Family
ID=60492048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710700029.4A Pending CN107452192A (en) | 2017-08-16 | 2017-08-16 | M BUS Communication processing systems with adaptation function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107452192A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107767654A (en) * | 2017-12-15 | 2018-03-06 | 深圳市深仪兆业科技有限公司 | A kind of MBUS collectors |
CN108417002A (en) * | 2018-04-09 | 2018-08-17 | 南通德高环境监测技术有限公司 | A kind of high-performance MBUS collectors for water meter |
CN109903546A (en) * | 2019-04-02 | 2019-06-18 | 国网江苏省电力有限公司宜兴市供电分公司 | A kind of M-BUS circuit and multi-mode communication multi-protocols water meter acquiring device |
CN110752978A (en) * | 2019-10-31 | 2020-02-04 | 广州河东科技有限公司 | MBUS communication host circuit, communication method, device, equipment and storage medium |
CN110930681A (en) * | 2019-12-06 | 2020-03-27 | 怀化学院 | Remote meter reading main equipment and remote meter reading system |
CN111901008A (en) * | 2020-09-29 | 2020-11-06 | 深圳英集芯科技有限公司 | Single-wire communication apparatus, communication system, and single-wire communication method |
CN115021776A (en) * | 2021-03-03 | 2022-09-06 | 苏州宝时得电动工具有限公司 | Data transmission system and data transmission method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5051946A (en) * | 1986-07-03 | 1991-09-24 | Unisys Corporation | Integrated scannable rotational priority network apparatus |
CN101995876A (en) * | 2010-12-18 | 2011-03-30 | 重庆市智能水表有限责任公司 | M-BUS controller |
CN202677608U (en) * | 2012-08-06 | 2013-01-16 | 湖南威铭能源科技有限公司 | M-BUS collector |
CN104077260A (en) * | 2013-03-29 | 2014-10-01 | 华立仪表集团股份有限公司 | Concentrator M-BUS host communication interface device |
CN204242390U (en) * | 2014-11-24 | 2015-04-01 | 华北电力大学(保定) | A kind of M-BUS main frame receiving and dispatching mechanism module |
CN206178800U (en) * | 2016-08-25 | 2017-05-17 | 烟台航天德鲁节能科技有限公司 | M bus bus host computer circuit |
-
2017
- 2017-08-16 CN CN201710700029.4A patent/CN107452192A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5051946A (en) * | 1986-07-03 | 1991-09-24 | Unisys Corporation | Integrated scannable rotational priority network apparatus |
CN101995876A (en) * | 2010-12-18 | 2011-03-30 | 重庆市智能水表有限责任公司 | M-BUS controller |
CN202677608U (en) * | 2012-08-06 | 2013-01-16 | 湖南威铭能源科技有限公司 | M-BUS collector |
CN104077260A (en) * | 2013-03-29 | 2014-10-01 | 华立仪表集团股份有限公司 | Concentrator M-BUS host communication interface device |
CN204242390U (en) * | 2014-11-24 | 2015-04-01 | 华北电力大学(保定) | A kind of M-BUS main frame receiving and dispatching mechanism module |
CN206178800U (en) * | 2016-08-25 | 2017-05-17 | 烟台航天德鲁节能科技有限公司 | M bus bus host computer circuit |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107767654A (en) * | 2017-12-15 | 2018-03-06 | 深圳市深仪兆业科技有限公司 | A kind of MBUS collectors |
CN108417002A (en) * | 2018-04-09 | 2018-08-17 | 南通德高环境监测技术有限公司 | A kind of high-performance MBUS collectors for water meter |
CN109903546A (en) * | 2019-04-02 | 2019-06-18 | 国网江苏省电力有限公司宜兴市供电分公司 | A kind of M-BUS circuit and multi-mode communication multi-protocols water meter acquiring device |
CN110752978A (en) * | 2019-10-31 | 2020-02-04 | 广州河东科技有限公司 | MBUS communication host circuit, communication method, device, equipment and storage medium |
CN110930681A (en) * | 2019-12-06 | 2020-03-27 | 怀化学院 | Remote meter reading main equipment and remote meter reading system |
CN110930681B (en) * | 2019-12-06 | 2021-09-03 | 怀化学院 | Remote meter reading main equipment and remote meter reading system |
CN111901008A (en) * | 2020-09-29 | 2020-11-06 | 深圳英集芯科技有限公司 | Single-wire communication apparatus, communication system, and single-wire communication method |
CN115021776A (en) * | 2021-03-03 | 2022-09-06 | 苏州宝时得电动工具有限公司 | Data transmission system and data transmission method |
CN115021776B (en) * | 2021-03-03 | 2024-01-05 | 苏州宝时得电动工具有限公司 | Data transmission system and data transmission method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107452192A (en) | M BUS Communication processing systems with adaptation function | |
CN101995876B (en) | M-BUS controller | |
US11188133B2 (en) | System for transmitting power to a remote PoE subsystem by forwarding PD input voltage | |
CN106428589A (en) | Aerospace craft power supply and distributor based on solid power control technique | |
CN102570412A (en) | DC solid-state power controller | |
CN102769312A (en) | Time-domain multiplexing of power and data | |
EP2599259B1 (en) | Power saving switch for network feeding apparatus, network arrangement and energy saving method | |
CN110034534A (en) | Realize the circuit and system of the intelligent fuse for power supply | |
US10892707B2 (en) | Photovoltaic module monitoring apparatus and power system | |
CN108226848B (en) | Electric energy meter error correction system and method | |
CN112838662A (en) | Integrated power control device, system and method and vehicle | |
CN104218671A (en) | Control unit for circuit breaker and controlling method thereof | |
CN219041901U (en) | Intrinsic safety type Wi-Fi6 gigabit optical fiber 5G router | |
CN201886347U (en) | M-BUS controller | |
CN206348635U (en) | Water process monitoring system | |
EP2587894A2 (en) | Controller for bus-controlled operating devices | |
CN208257699U (en) | Principal and subordinate's communication circuit and motor load balance control system between mine-used frequency-converter | |
CN207184050U (en) | A kind of anti-explosion safety grid | |
CN109130860B (en) | Multisource monitored control system and power module | |
CN111988898A (en) | Independent DALI conversion module of adjusting luminance | |
CN206349747U (en) | Intelligent distribution system | |
CN205407336U (en) | Electrostatic discharge carrier wave transmitting system and photovoltaic cell board monitored control system | |
CN216927414U (en) | Power supply remote control system | |
CN204008816U (en) | Current sense system and line of electric force control module thereof | |
CN205985242U (en) | Protection device of battery system and battery system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171208 |