CN112637028A - M-BUS communication circuit - Google Patents

M-BUS communication circuit Download PDF

Info

Publication number
CN112637028A
CN112637028A CN202011538034.8A CN202011538034A CN112637028A CN 112637028 A CN112637028 A CN 112637028A CN 202011538034 A CN202011538034 A CN 202011538034A CN 112637028 A CN112637028 A CN 112637028A
Authority
CN
China
Prior art keywords
bus
communication circuit
host
bus communication
operational amplifier
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
Application number
CN202011538034.8A
Other languages
Chinese (zh)
Inventor
陈霄
马云龙
王黎明
张博
裴子霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Jiangsu Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Jiangsu Electric Power Co Ltd
Priority to CN202011538034.8A priority Critical patent/CN112637028A/en
Publication of CN112637028A publication Critical patent/CN112637028A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses an M-BUS communication circuit in the technical field of communication circuits. The system comprises a host and a plurality of slaves, wherein the host and the slaves are respectively connected through cables. The cable is a twisted pair cable, the data transmission rate can reach 300-9600 bps, and the maximum transmission distance is about 1000 meters. The slave machines cannot exchange information directly and can only forward the information through the master machine. The main machine is connected with a plurality of measuring meters through cables, the M-BUS BUS can realize the remote power supply of the acquisition terminal to the metering equipment, the problem that the water meter, the gas meter and the heat meter cannot be automatically powered can be solved, and the device has the characteristics of simple and convenient wiring, stable communication, strong anti-interference capability and the like.

Description

M-BUS communication circuit
Technical Field
The invention belongs to the technical field of communication circuits, and particularly relates to an M-BUS communication circuit.
Background
The M-BUS is a hierarchical communication system controlled by a host, and an M-BUS communication circuit in the prior art is complex in wiring, poor in communication stability and prone to being interfered by electromagnetic signals in the environment.
Disclosure of Invention
In order to solve the defects in the prior art, the invention provides an M-BUS communication circuit which has the characteristics of simple and convenient wiring, stable communication, strong anti-interference capability and the like.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows: an M-BUS communication circuit comprises a host and a plurality of slave machines, wherein the host and the slave machines are respectively connected through cables.
Further, the cable is a twisted pair cable.
Further, the host computer is connected with a plurality of measuring meters through cables.
Further, the host is electrically connected with an M-BUS power supply, and the M-BUS power supply enters the LDO chip through the MBUS power supply control switch.
Further, the main machine is connected with the MBUS receiving loop, when data are replied from the slave end, the replied current data are converted into voltage data through the sampling resistor, the voltage data and an overcurrent threshold level enter the overcurrent protection circuit together, the current sampling level enters the inverting input end of the comparator, the overcurrent threshold level enters the non-inverting input end of the comparator, the overcurrent threshold is larger than the current sampling level in a normal state, the operational amplifier outputs a high level, and the MBUS power supply is controlled to be turned on.
Furthermore, the other branch of the current sampling level is amplified by N times through the operational amplifier, one branch of the amplified voltage is connected to the inverting input end of the operational amplifier, the other branch of the amplified voltage is added with delta TmV through the adder and enters the non-inverting input end of the operational amplifier after being latched, when the slave recovers the current data, the output of the operational amplifier can be used as a bus data receiving signal MBUS-RX, and therefore the whole MBUS data receiving and transmitting process is completed.
Compared with the prior art, the invention has the following beneficial effects: the invention connects the host machine and the slave machine by adopting the twisted pair cable, the slave machine can not directly exchange information and can only transmit the information through the host machine, the wiring is simple and convenient, the bus has no polarity, the communication is stable, the anti-interference capability is strong, and the success rate is high.
Drawings
Fig. 1 is a schematic block diagram of an M-BUS communication circuit according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
An M-BUS communication circuit comprises a host and a plurality of slave machines, wherein the host and the slave machines are respectively connected through cables. The cable is a twisted pair cable, the data transmission rate can reach 300-9600 bps, and the maximum transmission distance is about 1000 meters. The slave machines cannot exchange information directly and can only forward the information through the master machine. The main machine is connected with a plurality of measuring meters through cables, the M-BUS BUS can realize the remote power supply of the acquisition terminal to the metering equipment, and the problem that the water meter, the gas meter and the heat meter can not be self-powered by all meters can be solved.
As shown in figure 1, an M-BUS power supply enters an LDO chip through an M-BUS power supply control switch, and an M-BUS-TX pin of an MCU controls the size of an LDO regulating resistor to control the output level after passing through an optical coupler, so that the sending of an M-BUS BUS is completed.
When the data is recovered from the slave end, the recovered current data is converted into voltage data through a sampling resistor, the voltage data and an overcurrent threshold level enter an overcurrent protection circuit together, the current sampling level enters an inverting input end of a comparator, the overcurrent threshold level enters a non-inverting input end of the comparator, the overcurrent threshold level is greater than the current sampling level in a normal state, an operational amplifier outputs a high level, and the M-BUS power supply is controlled to be turned on. When overcurrent occurs, the current sampling level is greater than the overcurrent threshold level, the operational amplifier outputs a low level, and therefore the M-BUS power supply is turned off to achieve the protection effect.
The other branch of the current sampling level is amplified by N times through the operational amplifier, one path of the amplified voltage is connected to the inverting input end of the operational amplifier, the other path of the amplified voltage is added with delta TmV (the voltage can be adjusted according to the actual situation) through the adder and enters the non-inverting input end of the operational amplifier after being latched, when the slave recovers the current data, the output of the operational amplifier can be used as a BUS data receiving signal M-BUS-RX, and therefore the whole M-BUS data receiving and transmitting process is completed.
In the embodiment, the M-BUS communication is simple and convenient to wire, the BUS is nonpolar, the wiring mode has no special requirement, and the M-BUS communication can be connected in parallel or in series; the M-BUS can directly supply power to the measuring meter through a communication line, and is suitable for a passive meter; the M-BUS BUS has stable communication, strong interference resistance and high success rate.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (6)

1. An M-BUS communication circuit is characterized by comprising a host and a plurality of slave machines, wherein the host and the slave machines are respectively connected through cables.
2. The M-BUS communication circuit of claim 1, wherein the cable is a twisted pair cable.
3. The M-BUS communication circuit of claim 1 wherein the host is connected to the plurality of meters by a cable.
4. The M-BUS communication circuit of claim 1, wherein the host is electrically connected to an M-BUS power supply, the M-BUS power supply entering the LDO chip through an MBUS power control switch.
5. The M-BUS communication circuit of claim 1, wherein the host is connected to the MBUS receive loop, and when data is recovered from the slave, the recovered current data is converted into voltage data by the sampling resistor, and the voltage data and the overcurrent threshold level enter the overcurrent protection circuit together, the current sampling level enters the inverting input terminal of the comparator, the overcurrent threshold level enters the non-inverting input terminal of the comparator, and the overcurrent threshold is greater than the current sampling level at normal state, and the operational amplifier outputs a high level to control the MBUS power supply to be turned on.
6. The M-BUS communication circuit of claim 5, wherein the other branch of the current sampling level is amplified by N times through the operational amplifier, the amplified voltage is connected to the inverting input terminal of the operational amplifier by one branch, Δ TmV is added to one branch through the adder and latched into the non-inverting input terminal of the operational amplifier, when the slave recovers the current data, the output of the operational amplifier can be used as a BUS data receiving signal MBUS-RX, thereby completing the whole MBUS data transceiving process.
CN202011538034.8A 2020-12-23 2020-12-23 M-BUS communication circuit Pending CN112637028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011538034.8A CN112637028A (en) 2020-12-23 2020-12-23 M-BUS communication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011538034.8A CN112637028A (en) 2020-12-23 2020-12-23 M-BUS communication circuit

Publications (1)

Publication Number Publication Date
CN112637028A true CN112637028A (en) 2021-04-09

Family

ID=75321536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011538034.8A Pending CN112637028A (en) 2020-12-23 2020-12-23 M-BUS communication circuit

Country Status (1)

Country Link
CN (1) CN112637028A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185747A (en) * 2011-03-30 2011-09-14 华立仪表集团股份有限公司 Automatic remote meter reading system
CN102231690A (en) * 2011-03-31 2011-11-02 华立仪表集团股份有限公司 Remote meter reading method of public utility meter
CN105160862A (en) * 2015-07-30 2015-12-16 谢玉翠 M-BUS (METER-BUS) slave communication circuit
CN206178800U (en) * 2016-08-25 2017-05-17 烟台航天德鲁节能科技有限公司 M bus bus host computer circuit
CN108646088A (en) * 2018-04-20 2018-10-12 南京天溯自动化控制系统有限公司 A kind of master-slave mode can discrete distribution multi-loop electric energy monitoring terminal and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185747A (en) * 2011-03-30 2011-09-14 华立仪表集团股份有限公司 Automatic remote meter reading system
CN102231690A (en) * 2011-03-31 2011-11-02 华立仪表集团股份有限公司 Remote meter reading method of public utility meter
CN105160862A (en) * 2015-07-30 2015-12-16 谢玉翠 M-BUS (METER-BUS) slave communication circuit
CN206178800U (en) * 2016-08-25 2017-05-17 烟台航天德鲁节能科技有限公司 M bus bus host computer circuit
CN108646088A (en) * 2018-04-20 2018-10-12 南京天溯自动化控制系统有限公司 A kind of master-slave mode can discrete distribution multi-loop electric energy monitoring terminal and method

Similar Documents

Publication Publication Date Title
CN101977082B (en) Optical receiving and transmitting module, optical transmitting device and optical transmitting method
CN201118630Y (en) A non-polarity two-core communication bus receiver/transmitter for photoelectrical separation
CN207677885U (en) High speed digital video coaxial transmission circuit
CN112637028A (en) M-BUS communication circuit
CN105610511B (en) A kind of transmission rate 32Kbps~80Mbps transceiver SFP optical module
CN101800647A (en) Photoelectric isolating relay based on RS-485 bus
CN204244251U (en) A kind of monitoring circuit of RS485 bus
CN208110030U (en) A kind of communication test plate of ammeter communication module
CN103400493A (en) Wired temperature measuring system
CN206835123U (en) A kind of RS485 automatic receiving-transmitting switching circuits
CN212458698U (en) High-voltage power distribution temperature measuring equipment
CN212163392U (en) Two-way communication system based on ground temperature monitoring
CN108667707B (en) Bidirectional high-speed communication device based on alternating-current high-voltage high-frequency
CN203814321U (en) Power line carrier remote control system for electric large-scale sprinkling machine
CN102306444A (en) Receiving circuit of meter-BUS (M-BUS) master station and data receiving method for receiving circuit
CN102647229A (en) XFP (10 Gigabit Small Form Factor Pluggable) interface optical module self-loop method and device
CN207529181U (en) A kind of RS485 telecommunication circuits
CN202120109U (en) CAN (Controller Area Network) bus control device of radiotherapy equipment
CN221042892U (en) Digital bus communication equipment
CN109726160B (en) Single-bus communication signal relay circuit with monitoring function
CN207799668U (en) A kind of data conversion transmitter
CN112363964B (en) MBUS host circuit with high reliability
CN203366523U (en) Wired temperature measuring system
CN211015488U (en) Bus communication system
CN210324189U (en) Wireless data terminal communication receiving and dispatching control circuit

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

Application publication date: 20210409

RJ01 Rejection of invention patent application after publication