Mbus Host Circuit and Heating System

By introducing software filtering technology into the Mbus host circuit, the problem that the Mbus host circuit in the heating system is easily affected by bus interference, and the communication success rate and the operation efficiency of the heating system are improved.

CN119728339BActive Publication Date: 2025-06-10RUINA INTELLIGENT EQUIP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510226713.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-27
Publication Date
2025-06-10
Estimated Expiration
2045-02-27

AI Technical Summary

Technical Problem

In heating systems, the simulated Mbus host circuit is susceptible to bus interference, resulting in poor communication, low pass rate and high failure rate, especially in valve control systems.

Method used

An Mbus host circuit is designed to receive signals on the first bus and the second bus through the first receiving unit and the second receiving unit, and to filter bus interference in the environment using software filtering technology, thereby improving the demodulation success rate.

Benefits of technology

By reducing data loss and communication interruption caused by interference, the communication success rate is significantly improved, thereby improving the operating efficiency of the heating system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728339B_ABST
    Figure CN119728339B_ABST
Patent Text Reader

Abstract

The present invention discloses an Mbus host circuit and a heating system, relating to the technical field of electronic circuits. Among them, the Mbus host circuit performs data interaction with an Mbus slave. The Mbus host circuit includes: a power supply unit configured to generate a power supply according to a preset power source; a sending unit configured to generate data to be sent according to the power supply and transmit the data to be sent to the Mbus slave; a first receiving unit configured to receive an electrical signal on a first bus to obtain a first electrical signal; a second receiving unit configured to receive an electrical signal on a second bus to obtain a second electrical signal; and a control unit configured to control the sending unit to generate data to be sent, demodulate the first electrical signal when the change amplitude of the first electrical signal meets a first preset condition, and demodulate the second electrical signal when the change amplitude of the second electrical signal meets a second preset condition. This circuit effectively improves the communication success rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic circuit technologies, and particularly to an Mbus host circuit and a heating system. Background Art

[0002] In the field of heating systems, due to the existence of a large number of complex electromagnetic signals and other interference sources in the heating system environment, the analog Mbus (Meter bus) host circuit in related technologies is prone to receive bus interference when performing wired meter reading and valve control tasks, resulting in poor communication. Therefore, the communication success rate of the Mbus host circuit is at a relatively low level. Especially in the valve control system, since the Mbus host circuit needs to frequently communicate and interact with the meter valves, in this case, the failure rate of the Mbus host circuit in related technologies increases significantly. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems in related technologies to some extent. For this purpose, the first object of the present invention is to propose an Mbus host circuit, which receives signals on the first bus and the second bus through a first receiving unit and a second receiving unit respectively, and filters various bus interferences in the environment through software filtering, ensuring the demodulation success rate, making data transmission more accurate and stable, thereby reducing the occurrence of data loss and communication interruption caused by interference, effectively improving the communication success rate, and further improving the operation efficiency of the heating system.

[0004] The second object of the present invention is to propose a heating system.

[0005] To achieve the above object, according to an embodiment of the first aspect of the present invention, an Mbus host circuit is provided. The Mbus host circuit is adapted to perform data interaction with an Mbus slave through a first bus and a second bus. The Mbus host circuit includes: a power supply unit configured to generate a power supply according to a preset power source; a sending unit connected to the power supply unit, the sending unit being configured to generate data to be sent according to the power supply and transmit the data to be sent to the Mbus slave through the first bus; a first receiving unit adapted to be connected to the first bus, the first receiving unit being configured to receive an electrical signal on the first bus to obtain a first electrical signal; a second receiving unit adapted to be connected to the second bus, the second receiving unit being configured to receive an electrical signal on the second bus to obtain a second electrical signal; and a control unit respectively connected to the sending unit, the first receiving unit, and the second receiving unit, the control unit being configured to control the sending unit to generate data to be sent, and demodulate the first electrical signal when the change amplitude of the first electrical signal meets a first preset condition, and demodulate the second electrical signal when the change amplitude of the second electrical signal meets a second preset condition.

[0006] The Mbus host circuit according to an embodiment of the present invention includes a power supply unit, a sending unit, a first receiving unit, a second receiving unit, and a control unit. Among them, the power supply unit is configured to generate a power supply according to a preset power source. The sending unit is connected to the power supply unit and is configured to generate data to be sent according to the power supply and transmit the data to be sent to the Mbus slave through a first bus. The first receiving unit is adapted to be connected to the first bus and is configured to receive the electrical signal on the first bus to obtain a first electrical signal. The second receiving unit is adapted to be connected to a second bus and is configured to receive the electrical signal on the second bus to obtain a second electrical signal. The control unit is respectively connected to the sending unit, the first receiving unit, and the second receiving unit, and is configured to control the sending unit to generate the data to be sent, demodulate the first electrical signal when the change amplitude of the first electrical signal meets a first preset condition, and demodulate the second electrical signal when the change amplitude of the second electrical signal meets a second preset condition. Thus, by respectively receiving the signals on the first bus and the second bus through the first receiving unit and the second receiving unit, and filtering various bus interferences in the environment in a software filtering manner, the demodulation success rate is ensured, so that the data transmission is more accurate and stable, thereby reducing the occurrence of data loss and communication interruption caused by interference, effectively improving the communication success rate, and further improving the operation efficiency of the heating system.

[0007] According to an embodiment of the present invention, the sending unit includes: a power generation module connected to the power supply unit and configured to generate a reference voltage according to the power supply; a data generation module, the control end of which is connected to the control unit, the input end of which is respectively connected to the power generation module and the power supply unit, and the output end of which is adapted to be connected to the first bus. The data generation module is configured to receive a first control signal sent by the control unit and output the power supply to the first bus when the first control signal is at a high level, and output the reference voltage to the first bus when the first control signal is at a low level.

[0008] According to an embodiment of the present invention, the data generation module includes: a first switching tube, the control end of the first switching tube is connected to the control unit through a first resistor, and the second end of the first switching tube is grounded; a second resistor and a third resistor, one end of the second resistor is connected to the first end of the first switching tube, the other end of the second resistor is connected to one end of the third resistor and has a first node, and the other end of the third resistor is adapted to be connected to the first bus; a first operational amplifier, the positive input end of the first operational amplifier is connected to the power generation module, and the negative input end of the first operational amplifier is connected to the first node; a fourth resistor, one end of the fourth resistor is connected to the output end of the first operational amplifier; a second switching tube, the first end of the second switching tube is connected to the power supply unit, the control end of the second switching tube is connected to the other end of the fourth resistor, and the second end of the second switching tube is connected to the other end of the third resistor; a first diode, a second diode and a third diode, the anode of the first diode is grounded, the cathode of the first diode is respectively connected to the other end of the third resistor and the anode of the second diode, the cathode of the second diode is connected to the control end of the second switching tube, and the third diode is connected in parallel with the second switching tube.

[0009] According to an embodiment of the present invention, the power generation module includes: a fifth resistor, a sixth resistor and a seventh resistor, one end of the fifth resistor is connected to the power supply unit, the other end of the fifth resistor is connected to one end of the sixth resistor and has a second node, the other end of the sixth resistor is connected to one end of the seventh resistor and has a third node, and the other end of the seventh resistor is grounded; a voltage regulator, the cathode of the voltage regulator is connected to one end of the fifth resistor, the reference end of the voltage regulator is connected to the second node, and the anode of the voltage regulator is connected to the third node; an eighth resistor, one end of the eighth resistor is connected to the third node, and the other end of the eighth resistor is connected to the data generation module.

[0010] According to an embodiment of the present invention, the Mbus host circuit further includes: a power cut-off unit, the output end of the power cut-off unit is connected to the power generation module, and the power cut-off unit is configured to control the power generation module to stop outputting the reference voltage according to the turn-off signal to cut off the output of the data generation module; the control unit is further connected to the control end of the power cut-off unit, and the control unit is further configured to generate a turn-off signal when it is determined that there is a leakage current in the first bus according to the first current value corresponding to the first electrical signal and the second current value corresponding to the second electrical signal, or at least one of the first current value and the second current value is greater than a preset current threshold.

[0011] According to an embodiment of the present invention, the control unit is further configured to determine that there is a leakage current in the first bus when the difference between the first current value and the second current value is greater than a preset difference.

[0012] According to an embodiment of the present invention, the power cut-off unit includes: a third switching tube, the first end of the third switching tube is connected to the power generation module, the control end of the third switching tube is connected to the control unit through a ninth resistor, and the second end of the third switching tube is grounded.

[0013] According to an embodiment of the present invention, the Mbus host circuit further includes: a first protection unit, the first protection unit is respectively connected to the first receiving unit and the power generation module, and the first protection unit is configured to control the power generation module to stop outputting the reference voltage when the first current value is greater than a preset current threshold; a second protection unit, the second protection unit is respectively connected to the second receiving unit and the power generation module, and the second protection unit is configured to control the power generation module to stop outputting the reference voltage when the second current value is greater than a preset current threshold.

[0014] According to an embodiment of the present invention, the first protection unit includes: a tenth resistor and an eleventh resistor, one end of the tenth resistor is connected to the first receiving unit, the other end of the tenth resistor is connected to one end of the eleventh resistor, and the other end of the eleventh resistor is grounded; a twelfth resistor, one end of the twelfth resistor is connected to the other end of the tenth resistor; a fourth switching tube, the first end of the fourth switching tube is connected to the power generation module, the control end of the fourth switching tube is connected to the other end of the twelfth resistor, and the second end of the fourth switching tube is grounded.

[0015] According to an embodiment of the present invention, the second protection unit includes: a fifth switching tube, the first end of the fifth switching tube is connected to the power generation module, the control end of the fifth switching tube is connected to the second receiving unit through a thirteenth resistor, and the second end of the fifth switching tube is grounded.

[0016] According to an embodiment of the present invention, the control unit is further configured to demodulate the first electrical signal to obtain low-level data when the change amplitude of the first electrical signal is greater than a first preset amplitude and the current value corresponding to the first electrical signal is less than or equal to the preset current threshold, and demodulate the first electrical signal to obtain high-level data when the change amplitude of the first electrical signal is less than a second preset amplitude and the current value corresponding to the first electrical signal is less than or equal to the preset current threshold, and demodulate the second electrical signal to obtain low-level data when the change amplitude of the second electrical signal is greater than a third preset amplitude and the current value corresponding to the second electrical signal is less than or equal to the preset current threshold, and demodulate the second electrical signal to obtain high-level data when the change amplitude of the second electrical signal is less than a fourth preset amplitude and the current value corresponding to the second electrical signal is less than or equal to the preset current threshold.

[0017] According to an embodiment of the present invention, the control unit is further connected to the power supply unit to adjust the amplitude of the power supply.

[0018] According to an embodiment of the present invention, the power supply unit includes: a voltage conversion chip adapted to be connected to a preset power supply; a fourteenth resistor and a fifteenth resistor, one end of the fourteenth resistor being the output end of the power supply unit, the other end of the fourteenth resistor being connected to the output end of the voltage conversion chip and the fifteenth resistor respectively, and having a fourth node, the other end of the fifteenth resistor being grounded; a resistor array, the upper plate of the resistor array being connected to the fourth node, the lower plate of the resistor array being connected to the control unit, wherein the control unit adjusts the connection mode of the lower plate of the resistor array to make the voltage output from the upper plate of the resistor array adjustable in amplitude.

[0019] According to an embodiment of the present invention, the first receiving unit includes: a sixteenth resistor, a seventeenth resistor, and an eighteenth resistor, one end of the sixteenth resistor being adapted to be connected to the first bus, one end of the seventeenth resistor being connected to one end of the sixteenth resistor, and the other end of the seventeenth resistor being connected to one end of the eighteenth resistor; a second operational amplifier, the positive input terminal of the second operational amplifier being connected to the other end of the sixteenth resistor, the negative input terminal of the second operational amplifier being connected to the other end of the eighteenth resistor; a nineteenth resistor, one end of the nineteenth resistor being connected to the negative input terminal of the second operational amplifier, and the other end of the nineteenth resistor being connected to the output terminal of the second operational amplifier, and having a fifth node; a first capacitor, a twentieth resistor, and a twenty-first resistor, one end of the first capacitor being connected to the fifth node, the other end of the fifth node being connected to the control unit through the twenty-first resistor, and the twentieth resistor being connected in parallel with the first capacitor; a fourth diode, the anode of the fourth diode being connected to the other end of the first capacitor, and the cathode of the fourth diode being adapted to be connected to the second power supply; a fifth diode, the anode of the fifth diode being grounded, and the cathode of the fifth diode being connected to the control unit.

[0020] According to an embodiment of the present invention, the second receiving unit includes: a twenty-second resistor and a twenty-third resistor, one end of the twenty-second resistor being adapted to be connected to the second bus, the other end of the twenty-second resistor being connected to one end of the twenty-third resistor, and the other end of the twenty-third resistor being grounded; a twenty-fourth resistor, a second capacitor, and a twenty-fifth resistor, one end of the twenty-fourth resistor being adapted to be connected to the second bus, the other end of the twenty-fourth resistor being connected to one end of the twenty-fifth resistor, and the other end of the twenty-fifth resistor being connected to the control unit, the second capacitor being connected in parallel with the twenty-fourth resistor; a sixth diode, the anode of the sixth diode being connected to the other end of the twenty-fourth resistor, and the cathode of the sixth diode being adapted to be connected to the second power supply; a seventh diode, the cathode of the diode being connected to the other end of the twenty-fifth resistor, and the anode of the seventh diode being grounded.

[0021] To achieve the above object, according to an embodiment of the second aspect of the present invention, a heating system is provided, including the Mbus host circuit of any of the foregoing embodiments.

[0022] According to the heating system of the embodiments of the present invention, by adopting the above-mentioned Mbus host circuit, the signals on the first bus and the second bus are respectively received by the first receiving unit and the second receiving unit, and various bus interferences in the environment are filtered by means of software filtering, ensuring the demodulation success rate, making the data transmission more accurate and stable, thereby reducing the occurrence of data loss and communication interruption caused by interference, effectively improving the communication success rate, and further improving the operation efficiency of the heating system.

[0023] Additional aspects and advantages of the present invention will be given in part in the following description, become apparent in part from the following description, or be understood through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a schematic structural diagram of an Mbus host circuit according to an embodiment of the present invention;

[0025] Figure 2 is a circuit diagram of an Mbus host circuit according to an embodiment of the present invention;

[0026] Figure 3 is a schematic diagram of the pins of a control unit according to an embodiment of the present invention;

[0027] Figure 4 is a circuit diagram of a power supply unit according to an embodiment of the present invention;

[0028] Figure 5 is a schematic flowchart of a data transmission method of an Mbus host circuit according to an embodiment of the present invention;

[0029] Figure 6 is a schematic structural diagram of a heating system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0030] Embodiments of the present invention will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0031] The Mbus host circuit and the heating system of the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0032] Figure 1 is a schematic structural diagram of an Mbus host circuit according to an embodiment of the present invention. As Figure 1As shown, the Mbus host circuit 100 is adapted to interact with the Mbus slave 200 for data through the first bus M+ and the second bus M-. The Mbus host circuit 100 includes: a power supply unit 10, a transmitting unit 20, a first receiving unit 30, a second receiving unit 40, and a control unit 50.

[0033] Among them, the power supply unit 10 is configured to generate a power supply Vout according to a preset power supply; the transmitting unit 20 is connected to the power supply unit 10, and the transmitting unit 20 is configured to generate data to be transmitted according to the power supply Vout, and transmit the data to be transmitted to the Mbus slave 200 through the first bus M+; the first receiving unit 30 is adapted to be connected to the first bus M+, and the first receiving unit 30 is configured to receive the electrical signal on the first bus M+ to obtain a first electrical signal; the second receiving unit 40 is adapted to be connected to the second bus M-, and the second receiving unit 40 is configured to receive the electrical signal on the second bus M- to obtain a second electrical signal; the control unit 50 is respectively connected to the transmitting unit 20, the first receiving unit 30, and the second receiving unit 40, and the control unit 50 is configured to control the transmitting unit 20 to generate data to be transmitted, and demodulate the first electrical signal when the change amplitude of the first electrical signal meets a first preset condition, and demodulate the second electrical signal when the change amplitude of the second electrical signal meets a second preset condition.

[0034] Specifically, the Mbus host circuit 100 can interact with at least one Mbus slave 200 through the first bus M+ and the second bus M-. The first bus M+ and the second bus M- are Mbus buses. The Mbus bus is a master-slave half-duplex transmission bus that communicates in a calling / response manner. That is, only after the Mbus host circuit 100 sends an inquiry can the Mbus slave 200 transmit data to the Mbus host circuit 100. The control unit controls the sending unit to generate the data to be sent according to the power supply. The data to be sent is a logic level signal and is transmitted to the Mbus slave through the first bus. The Mbus host circuit waits for the Mbus slave to send data. The first receiving unit receives the electrical signal on the first bus, and the second receiving unit receives the electrical signal on the second bus. The first receiving unit and the second receiving unit receive the data on the Mbus bus simultaneously to obtain the first electrical signal and the second electrical signal. When a failure occurs in any one of the buses or any one of the receiving units, the other receiving unit can still normally receive the electrical signal on the other bus. If the change amplitude of the first electrical signal meets the first preset condition, the first electrical signal can be considered as the signal change caused by the Mbus slave 200 sending data. Therefore, by demodulating the first electrical signal, the data sent by the Mbus slave 200 can be obtained. If the change amplitude of the first electrical signal does not meet the first preset condition, the first electrical signal can be considered as the signal change caused by various bus interferences in the environment. Therefore, it is not necessary to demodulate the first electrical signal. Similarly, when the change amplitude of the second electrical signal meets the second preset condition, the second electrical signal can be considered as the signal change caused by the Mbus slave 200 sending data. Therefore, by demodulating the second electrical signal, the data sent by the Mbus slave 200 can be obtained. Therefore, by restricting the first electrical signal and the second electrical signal, the control unit 50 realizes software filtering, can efficiently filter various bus interferences in the environment, and moreover, the control unit 50 can also adjust the first preset condition and the second preset condition according to the actual situation, thereby effectively improving the success rate of demodulation.

[0035] In an alternative embodiment, the control unit 50 is an MCU (Microcontroller Unit).

[0036] In the above embodiments, the first receiving unit and the second receiving unit are respectively used to receive the signals on the first bus and the second bus, and software filtering is used to filter various bus interferences in the environment, ensuring the demodulation success rate, making the data transmission more accurate and stable, thereby reducing the occurrence of data loss and communication interruption caused by interference, effectively improving the communication success rate, and further improving the operation efficiency of the heating system; moreover, compared with using a hardware circuit for data demodulation in the related art, the control unit can flexibly adjust the first preset condition and the second preset condition, thereby further improving the demodulation success rate.

[0037] In some embodiments, as Figure 2 and Figure 3 shown, the sending unit includes: a power generation module 21 and a data generation module 22. Among them, the power generation module 21 is connected to the power supply unit 10, and the power generation module 21 is configured to generate a reference voltage INA+ according to the power supply voltage Vout; the control end of the data generation module 22 is connected to the control unit 50, the input end of the data generation module 22 is respectively connected to the power generation module 21 and the power supply unit, the output end of the data generation module 22 is adapted to be connected to the first bus M+, and the data generation module 22 is configured to receive the first control signal mbus-TXD sent by the control unit 50, and when the first control signal mbus-TXD is at a high level, output the power supply voltage Vout to the first bus M+, and when the first control signal mbus-TXD is at a low level, output the reference voltage INA+ to the first bus M+.

[0038] Specifically, the power supply voltage Vout is the reference for the high-level carrier of the Mbus bus. The power generation module 21 generates the reference voltage INA+ according to the power supply voltage Vout. The amplitude of the reference voltage INA+ is less than the amplitude of the power supply voltage Vout, and the reference voltage INA+ is the reference for the low-level carrier of the Mbus bus. When the Mbus host circuit 100 sends data to the Mbus slave 200, the control unit 50 sends the first control signal mbus-TXD to the data generation module 22. The first control signal mbus-TXD is a logic level signal. When the first control signal mbus-TXD is at a high level, the data generation module 22 outputs the power supply voltage Vout to the first bus M+, that is, outputs high-level data to the Mbus slave 200. When the first control signal mbus-TXD is at a low level, the data generation module 22 outputs the reference voltage INA+ to the first bus M+, that is, outputs low-level data to the Mbus slave 200. The level signal corresponding to the power supply voltage Vout and the level signal corresponding to the reference voltage INA+ constitute the data to be sent, thereby realizing the sending of the data to be sent to the Mbus slave 200.

[0039] In some embodiments, asFigure 2 and Figure 3 As shown in Figure 3 , the data generation module 22 includes: a first switching transistor Q1, a second resistor R2, a third resistor R3, a first operational amplifier, a fourth resistor R4, a second switching transistor Q2, a first diode D1, a second diode D2, and a third diode D3. Among them, the control terminal of the first switching transistor Q1 is connected to the control unit 50 through a first resistor R1, and the second terminal of the first switching transistor Q1 is grounded; one end of the second resistor R2 is connected to the first terminal of the first switching transistor Q1, the other end of the second resistor R2 is connected to one end of the third resistor R3, and there is a first node J1. The other end of the third resistor R3 is adapted to be connected to the first bus M+; the positive input terminal INA+ of the first operational amplifier is connected to the power generation module 21, and the negative input terminal INA- of the first operational amplifier is connected to the first node J1; one end of the fourth resistor R4 is connected to the output terminal OUTA of the first operational amplifier; the first terminal of the second switching transistor Q2 is connected to the power supply unit 10, the control terminal of the second switching transistor Q2 is connected to the other end of the fourth resistor R4, and the second terminal of the second switching transistor Q2 is connected to the other end of the third resistor R3; the anode of the first diode D1 is grounded, the cathode of the first diode D1 is respectively connected to the other end of the third resistor R3 and the anode of the second diode D2, the cathode of the second diode D2 is connected to the control terminal of the second switching transistor Q2, and the third diode D3 is connected in parallel with the second switching transistor Q2.

[0040] Specifically, the first switching transistor Q1 is turned on when the first control signal mbus-TXD is at a high level and turned off when the first control signal mbus-TXD is at a low level. When the control unit 50 outputs a high level to the first switching transistor Q1 through the first resistor R1, the first switching transistor Q1 is turned on, pulling the negative input terminal INA- of the first operational amplifier to a low level. The positive input terminal INA+ of the first operational amplifier is the reference voltage INA+. Therefore, the first operational amplifier outputs a high level signal to turn on the second switching transistor Q2. After the second switching transistor Q2 is turned on, the voltage at the emitter of the second switching transistor Q2 is the voltage of the power supply Vout. Therefore, the voltage of the first bus M+ is the voltage of the power supply Vout, that is, a high level data is sent to the Mbus slave 200. When the control unit 50 outputs a low level to the first switching transistor Q1 through the first resistor R1, the first switching transistor Q1 is turned off. Therefore, the first operational amplifier is configured as a voltage follower. Therefore, the output voltage of the first operational amplifier is the same as the input voltage of the first operational amplifier. So the voltage of the first bus M+ is the reference voltage INA+, that is, a low level data is sent to the Mbus slave 200.

[0041] In some embodiments, such as Figure 2 and Figure 3As shown, the power generation module 21 includes: a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a voltage regulator 211, and an eighth resistor R8. One end of the fifth resistor R5 is connected to the power supply unit 10, the other end of the fifth resistor R5 is connected to one end of the sixth resistor R6 and has a second node J2. The other end of the sixth resistor R6 is connected to one end of the seventh resistor R7 and has a third node J3. The other end of the seventh resistor R7 is grounded. The cathode of the voltage regulator 211 is connected to one end of the fifth resistor R5, the reference terminal of the voltage regulator 211 is connected to the second node J2, and the anode of the voltage regulator 211 is connected to the third node J3. One end of the eighth resistor R8 is connected to the third node J3, and the other end of the eighth resistor R8 is connected to the data generation module 22.

[0042] That is to say, the fifth resistor R5, the sixth resistor R6, and the seventh resistor R7 form a voltage dividing circuit to divide the supply power Vout. The output voltage of the voltage regulator 211 can be adjusted by adjusting the resistance values of the fifth resistor R5, the sixth resistor R6, and the seventh resistor R7. For example, assuming that the voltage regulator 211 is TL431, the resistance value of the fifth resistor R5 is 100 kΩ, and the resistance values of the sixth resistor R6 and the seventh resistor R7 are 30 kΩ respectively, then the output voltage of the voltage regulator 211 is the voltage of the supply power Vout - 12V.

[0043] In some embodiments, as Figure 2 and Figure 3 shown, the Mbus host circuit further includes: a power cut-off unit 60. The output end of the power cut-off unit 60 is connected to the power generation module 21. The power cut-off unit 60 is configured to control the power generation module 21 to stop outputting the reference voltage INA+ according to the turn-off signal P-OFF, so as to cut off the output of the data generation module 22. The control unit 50 is further connected to the control end of the power cut-off unit 60. The control unit 50 is further configured to generate the turn-off signal P-OFF when it is determined that there is a leakage current in the first bus M+ according to the first current value corresponding to the first electrical signal and the second current value corresponding to the second electrical signal, or when at least one of the first current value and the second current value is greater than a preset current threshold.

[0044] Specifically, the power cut-off unit 60 can cut off the voltage output of the power generation module 21. When the power cut-off unit 60 receives the turn-off signal P-OFF sent by the control unit 50, it will control the power generation module 21 to stop outputting the reference voltage INA+. Therefore, the input voltage of the positive input terminal INA+ of the first operational amplifier is 0, and the output voltage of the first operational amplifier is also 0. As a result, the data generation module 22 has no voltage output. The static power consumption of each Mbus slave 200 when not communicating is about 1.5 mA. When there is no communication between the Mbus master circuit 100 and the Mbus slave 200, the first current value and the second current value should be the same, which are respectively the product of the number of Mbus slaves 200 and 1.5 mA. For example, assuming there are 10 Mbus slaves 200, the first current value and the second current value should be 150 mA respectively. When the Mbus bus leaks electricity, the first current value of the first bus M+ changes, while the second current value remains unchanged. Therefore, the control unit 50 can determine whether there is a leakage current in the first bus M+ based on the first current value and the second current value. If there is a leakage in the Mbus bus, it is necessary to cut off the output of the data generation module 22 to avoid equipment failures and safety hazards caused by leakage. The preset current threshold is the overload current value. When the Mbus slave 200 is in the communication state, if at least one of the first current value and the second current value is greater than the preset current threshold, it indicates that the corresponding bus is overloaded. To avoid equipment damage caused by overload, at this time, it is also necessary to cut off the output of the data generation module 22. Therefore, when the control unit 50 determines that there is a leakage current in the first bus M+, or at least one of the first current value and the second current value is greater than the preset current threshold, it generates the turn-off signal P-OFF and sends the turn-off signal P-OFF to the power cut-off module.

[0045] Further, in some embodiments, the control unit 50 is further configured to determine that there is a leakage current in the first bus M+ when the difference between the first current value and the second current value is greater than a preset difference.

[0046] It can be understood that when there is a leakage in the Mbus bus, the first current value changes while the second current value remains unchanged. Therefore, it is possible to judge whether there is a leakage based on the difference between the first current value and the second current value. For example, assuming that when the bus has no leakage, the first current value and the second current value are 150 mA respectively, and the preset difference is 5 mA. When the bus leaks electricity, there is a leakage current in the first bus M+, so the first current value increases and becomes 160 mA. The difference (10 mA) between the first current value and the second current value is greater than the preset difference. Therefore, it is determined that there is a leakage current in the first bus M+.

[0047] In the above embodiments, based on the first current value of the first bus and the second current value of the second bus, it is possible to determine whether there is a leakage current in the bus. When there is a leakage current in the bus, the power supply of the first bus is cut off, improving the safety and reliability of the system, effectively avoiding equipment failures and safety hazards caused by leakage, and ensuring the stable operation of the communication network of the heating system. Moreover, by using software for overload protection, the preset current value can be flexibly set, making the overload protection more accurate and intelligent. It can dynamically adjust the overload protection parameters according to different operating requirements and conditions of the heating system, effectively preventing damage to equipment caused by overload and extending the service life of the equipment.

[0048] In some embodiments, as Figure 2 and Figure 3 shown, the power cut-off unit 60 includes: a third switching transistor Q3. The first end of the third switching transistor Q3 is connected to the power generation module 21. The control end of the third switching transistor Q3 is connected to the control unit 50 through a ninth resistor R9. The second end of the third switching transistor Q3 is grounded.

[0049] That is to say, the third switching transistor Q3 is in the off state when it does not receive the turn-off signal P-OFF. Therefore, it will not affect the output of the power generation module 21. When the control unit 50 inputs the turn-off signal P-OFF to the control end of the third switching transistor Q3 through the ninth resistor R9, the third switching transistor Q3 is turned on, pulling the output voltage of the power generation module 21 to the ground to cut off the voltage output of the power generation module 21, so that the voltage of the positive input terminal INA+ of the first operational amplifier is 0, realizing the cut-off of the voltage output of the data generation module 22.

[0050] In some embodiments, as Figure 2 shown, the Mbus host circuit further includes: a first protection unit 70 and a second protection unit 80. Among them, the first protection unit 70 is respectively connected to the first receiving unit 30 and the power generation module 21. The first protection unit 70 is configured to control the power generation module 21 to stop outputting the reference voltage INA+ when the first current value is greater than a preset current threshold. The second protection unit 80 is respectively connected to the second receiving unit 40 and the power generation module 21. The second protection unit 80 is configured to control the power generation module 21 to stop outputting the reference voltage INA+ when the second current value is greater than a preset current threshold.

[0051] Specifically, the first protection unit 70 and the second protection unit 80 are overcurrent protection circuits, and the operating principles of the first protection unit 70 and the second protection unit 80 are similar. When the first current value is greater than the preset current threshold, it indicates that the first current value is overloaded. When the second current value is greater than the preset current value, it indicates that the second current value is overloaded. When the first current value is overloaded, the first protection unit 70 controls the power generation module 21 to stop outputting the reference voltage INA+. When the second current value is overloaded, the second protection unit 80 controls the power generation module 21 to stop outputting the reference voltage INA+.

[0052] In the above embodiment, the first protection unit and the second protection unit are hardware overcurrent protections. Therefore, the Mbus host circuit of this embodiment not only has software overcurrent protection but also hardware overcurrent protection, making the overcurrent protection more accurate and further improving the service life of the device.

[0053] In some embodiments, as Figure 2 shown, the first protection unit 70 includes: a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, and a fourth switching transistor Q4. One end of the tenth resistor R10 is connected to the first receiving unit 30, the other end of the tenth resistor R10 is connected to one end of the eleventh resistor R11, and the other end of the eleventh resistor R11 is grounded; one end of the twelfth resistor R12 is connected to the other end of the tenth resistor R10; the first end of the fourth switching transistor Q4 is connected to the power generation module 21, the control end of the fourth switching transistor Q4 is connected to the other end of the twelfth resistor R12, and the second end of the fourth switching transistor Q4 is grounded.

[0054] Specifically, the tenth resistor R10 and the eleventh resistor R11 are voltage-dividing resistors for dividing the first electrical signal RXD-ADC-H. If the first current value exceeds the preset current threshold, the voltage at the connection point of the tenth resistor R10 and the eleventh resistor R11 will be greater than or equal to the turn-on voltage of the fourth switching transistor Q4. Therefore, the fourth switching transistor Q4 turns on, and after the fourth switching transistor Q4 turns on, it pulls the output voltage of the power generation module 21 to the ground, thus achieving the cut-off of the output of the power generation module 21. If the first current value is less than or equal to the preset current threshold, the voltage at the connection point of the tenth resistor R10 and the eleventh resistor R11 will be less than the turn-on voltage of the fourth switching transistor Q4, so the fourth switching transistor Q4 will not turn on and will not affect the power generation module 21.

[0055] In some embodiments, as Figure 2 shown, the second protection unit 80 includes: a fifth switching transistor Q5. The first end of the fifth switching transistor Q5 is connected to the power generation module 21, the control end of the fifth switching transistor Q5 is connected to the second receiving unit 40 through a thirteenth resistor R13, and the second end of the fifth switching transistor Q5 is grounded.

[0056] Similarly, when the second current value is greater than the preset current threshold, the voltage at the control terminal of the fifth switching transistor Q5 is greater than or equal to the turn-on voltage of the fifth switching transistor Q5. Therefore, the fifth switching transistor Q5 is turned on, pulling the voltage at the output terminal of the power generation module 21 to ground to cut off the output of the power generation module 21. If the second current value is less than or equal to the preset current threshold, the voltage at the control terminal of the fifth switching transistor Q5 is less than the turn-on voltage of the fifth switching transistor Q5. Therefore, the fifth switching transistor Q5 is not turned on and has no impact on the power generation module 21.

[0057] It should be noted that the first switching transistor Q1, the second switching transistor Q2, the third switching transistor Q3, the fourth switching transistor Q4, and the fifth switching transistor Q5 can be triodes respectively.

[0058] In some embodiments, as Figure 2 and Figure 3 shown, the first receiving unit 30 includes: a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a second operational amplifier, a nineteenth resistor R19, a first capacitor C1, a twentieth resistor R20, a twenty-first resistor R21, a fourth diode D4, and a fifth diode D5. Among them, one end of the sixteenth resistor R16 is adapted to be connected to the first bus M+, one end of the seventeenth resistor R17 is connected to one end of the sixteenth resistor R16, and the other end of the seventeenth resistor R17 is connected to one end of the eighteenth resistor R18; the positive input terminal INB+ of the second operational amplifier is connected to the other end of the sixteenth resistor R16, and the negative input terminal INB- of the second operational amplifier is connected to the other end of the eighteenth resistor R18; one end of the nineteenth resistor R19 is connected to the negative input terminal INB- of the second operational amplifier, and the other end of the nineteenth resistor R19 is connected to the output terminal OUTB of the second operational amplifier and has a fifth node J5; one end of the first capacitor C1 is connected to the fifth node J5, the other end of the fifth node J5 is connected to the control unit 50 through the twenty-first resistor R21, and the twentieth resistor R20 is connected in parallel with the first capacitor C1; the anode of the fourth diode D4 is connected to the other end of the first capacitor C1, and the cathode of the fourth diode D4 is adapted to be connected to the second power supply; the anode of the fifth diode D5 is grounded, and the cathode of the fifth diode D5 is connected to the control unit 50.

[0059] It can be understood that the first receiving unit 30 uses a differential amplifier circuit to collect the electrical signal on the first bus M+. The electrical signal on the first bus M+ is input to the positive input terminal INB+ of the second operational amplifier through the sixteenth resistor R16. The signal input to the negative input terminal INB- of the second operational amplifier is the signal obtained by dividing the voltage of the electrical signal on the first bus M+. The first capacitor C1 and the twentieth resistor R20 can filter out the noise in the circuit. The fourth diode D4 and the fifth diode D5 play a voltage stabilizing role to protect the subsequent circuit, thereby preventing the control unit 50 from being subjected to voltage impact and ensuring the safe and reliable operation of the control unit 50.

[0060] In an alternative embodiment, the first operational amplifier and the second operational amplifier can be integrated in an operational amplifier chip, and the power supply terminal of the operational amplifier chip is connected to the power supply unit 10.

[0061] In some embodiments, such as Figure 2 and Figure 3 shown, the second receiving unit 40 includes: a twenty-second resistor R22, a twenty-third resistor R23, a twenty-fourth resistor R24, a second capacitor C2, a twenty-fifth resistor R25, a sixth diode D6, and a seventh diode D7. Among them, one end of the twenty-second resistor R22 is adapted to be connected to the second bus M-, the other end of the twenty-second resistor R22 is connected to one end of the twenty-third resistor R23, and the other end of the twenty-third resistor R23 is grounded; one end of the twenty-fourth resistor R24 is adapted to be connected to the second bus M-, the other end of the twenty-fourth resistor R24 is connected to one end of the twenty-fifth resistor R25, the other end of the twenty-fifth resistor R25 is connected to the control unit 50, and the second capacitor C2 is connected in parallel with the twenty-fourth resistor R24; the anode of the sixth diode D6 is connected to the other end of the twenty-fourth resistor R24, and the cathode of the sixth diode D6 is adapted to be connected to the second power supply; the cathode of the diode is connected to the other end of the twenty-fifth resistor R25, and the anode of the seventh diode D7 is grounded.

[0062] Specifically, the twenty-second resistor R22 and the twenty-third resistor R23 are voltage dividing resistors, and the other end of the twenty-second resistor R22 is also connected to the thirteenth resistor R13. The twentieth resistor R20 and the second capacitor C2 can filter the electrical signal on the second bus M- and transmit it to the control unit 50 through the twenty-fifth resistor R25. The sixth diode D6 and the seventh diode D7 also play a voltage stabilizing role to protect the subsequent circuit, thereby preventing the control unit 50 from being subjected to voltage impact and ensuring the safe and reliable operation of the control unit 50.

[0063] In some embodiments, the control unit 50 is further configured to demodulate the first electrical signal RXD-ADC-H to obtain low-level data when the change amplitude of the first electrical signal RXD-ADC-H is greater than a first preset amplitude and the current value corresponding to the first electrical signal RXD-ADC-H is less than or equal to a preset current threshold, and to demodulate the first electrical signal RXD-ADC-H to obtain high-level data when the change amplitude of the first electrical signal RXD-ADC-H is less than a second preset amplitude and the current value corresponding to the first electrical signal RXD-ADC-H is less than or equal to a preset current threshold, and to demodulate the second electrical signal RXD-ADC-L to obtain low-level data when the change amplitude of the second electrical signal RXD-ADC-L is greater than a third preset amplitude and the current value corresponding to the second electrical signal RXD-ADC-L is less than or equal to a preset current threshold, and to demodulate the second electrical signal RXD-ADC-L to obtain high-level data when the change amplitude of the second electrical signal RXD-ADC-L is less than a fourth preset amplitude and the current value corresponding to the second electrical signal RXD-ADC-L is less than or equal to a preset current threshold.

[0064] Specifically, when the Mbus slave 200 sends low-level data, the Mbus bus consumes approximately 20 mA of current. Therefore, the first receiving unit 30 and the second receiving unit 40 can capture voltage changes within a certain range. When the change amplitude of the first electrical signal RXD-ADC-H is greater than the first preset amplitude, or the change amplitude of the first electrical signal RXD-ADC-H is less than the second preset amplitude, it is determined that the change amplitude of the first electrical signal RXD-ADC-H meets the first preset condition; when the change amplitude of the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L) is greater than the third preset amplitude, or the change amplitude of the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L) is less than the fourth preset amplitude, it is determined that the change amplitude of the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L) meets the second preset condition. Since when the first current value (i.e., the current value corresponding to the first electrical signal RXD-ADC-H) or the second current value (i.e., the current value corresponding to the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L)) is overloaded, the change amplitude of the first electrical signal RXD-ADC-H or the change amplitude of the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L) is also relatively large, it is also necessary to determine whether the first current value and the second current value are overloaded. If overloaded, overload protection is required instead of continuing data demodulation. Therefore, when the change amplitude of the first electrical signal RXD-ADC-H is greater than the first preset amplitude and the first current value is less than or equal to the preset current threshold, low-level data can be demodulated, and the control unit 50 determines that low-level data is received; when the change amplitude of the first electrical signal RXD-ADC-H is less than the second preset amplitude and the first current value is less than or equal to the preset current threshold, high-level data can be demodulated, and the control unit 50 determines that high-level data is received; when the change amplitude of the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L) is greater than the third preset amplitude and the second current value is less than or equal to the preset current threshold, low-level data can be demodulated, and the control unit 50 determines that low-level data is received; when the change amplitude of the second electrical signal RXD-ADC-L (RXD-ADC-LRXD-ADC-L) is less than the fourth preset amplitude and the second current value is less than or equal to the preset current threshold, high-level data can be demodulated, and the control unit 50 determines that high-level data is received.

[0065] It should be noted that the second preset amplitude can be obtained by taking the negative of the first preset amplitude, and the fourth preset amplitude can be obtained by taking the negative of the third preset amplitude. For example, if the first preset amplitude is 0.1V, then the second preset amplitude is -0.1V; if the third preset amplitude is 0.15V, then the fourth preset amplitude is -0.15V. The first preset amplitude and the second preset amplitude are determined according to the resistance value in the first receiving unit 30, and the third preset amplitude and the fourth preset amplitude are determined according to the resistance value in the second receiving unit 40.

[0066] In some embodiments, as Figure 3 and Figure 4 shown, the control unit 50 is also connected to the power supply unit 10 to adjust the amplitude of the power supply voltage Vout.

[0067] That is to say, the control unit 50 can adjust the amplitude of the power supply voltage Vout. After the amplitude of the power supply voltage Vout is adjusted, the reference of the Mbus high-level carrier changes, and the amplitude of the reference voltage INA+ also changes. Therefore, the reference of the Mbus low-level carrier also changes, thus realizing the dynamic adjustment of the modulation voltage. Therefore, the Mbus host circuit 100 in this embodiment can dynamically adjust the modulation voltage according to the actual communication requirements and the system operating state, so as to achieve the effect of low power consumption. This not only reduces energy consumption and meets the requirements of energy conservation and environmental protection, but also ensures stable and efficient communication quality under different communication distances and load conditions, thereby improving the overall performance and economy of the heating system.

[0068] In some embodiments, as Figure 3 and Figure 4 shown, the power supply unit 10 includes: a voltage conversion chip 11, a fourteenth resistor R14, a fifteenth resistor R15, and a resistor array 12. Among them, the voltage conversion chip 11 is adapted to be connected to a preset power supply Vin; one end of the fourteenth resistor R14 is the output end of the power supply unit 10, and the other end of the fourteenth resistor R14 is respectively connected to the output end of the voltage conversion chip 11 and the fifteenth resistor R15, and has a fourth node J4. The other end of the fifteenth resistor R15 is grounded; the upper plate of the resistor array 12 is connected to the fourth node J4, and the lower plate of the resistor array 12 is connected to the control unit 50. Among them, the control unit 50 adjusts the connection mode of the lower plate of the resistor array 12 so that the upper plate of the resistor array 12 outputs a voltage with an adjustable amplitude.

[0069] Specifically, the resistor array 12 includes a plurality of resistors R. The resistance values of each resistor R can be the same or different, and there is no specific limitation here. One end of each resistor R is connected together to form the upper plate of the resistor array 12, and the other end of each resistor R is the lower plate of the resistor array 12. The other end of each resistor R is respectively connected to the control unit 50. The control unit 50 outputs voltages RES1-RES5 to output voltages to the other end of at least one resistor R, thereby adjusting the voltage of the upper plate of the resistor array 12 so that the upper plate of the resistor array 12 outputs a voltage with an adjustable amplitude. When the control unit 50 does not output a voltage to the resistor array 12, the voltage of the fourth node J4 is the voltage output by the voltage conversion chip 11. When the control unit 50 outputs a voltage to the resistor array 12, the voltage of the fourth node J4 is also superimposed with the voltage of the upper plate of the resistor array 12. Therefore, the voltage of the fourth node J4 changes, thereby causing a change in the output terminal of the power supply unit 10.

[0070] In an alternative embodiment, the power supply unit 10 further includes a first electrolytic capacitor E1, a third capacitor C3, an inductor L, an eighth diode D8, a fourth capacitor C4, a fifth capacitor C5, and a second electrolytic capacitor E2. One end of the first electrolytic capacitor E1 is adapted to be connected to a preset power supply Vin and is connected to the input terminal of the voltage conversion chip 11. The other end of the first electrolytic capacitor E1 is grounded. The third capacitor C3 is connected in parallel with the first electrolytic capacitor E1. One end of the inductor L is connected to one end of the first electrolytic capacitor E1. The other end of the inductor L is respectively connected to the power switch output pin SW of the voltage conversion chip 11 and the anode of the eighth diode D8. The cathode of the eighth diode D8 is connected to one end of the fourteenth resistor R14. The fourth capacitor C4 is connected in parallel with the fourteenth resistor R14. One end of the fifth capacitor C5 is connected to one end of the fourteenth resistor R14. The other end of the fifth capacitor C5 is grounded. The second electrolytic capacitor E2 is connected in parallel with the fifth capacitor C5. The enable terminal EN of the voltage conversion chip 11 is also connected to the control unit 50, and the control unit 50 can control whether the voltage conversion chip 11 performs voltage conversion work.

[0071] The technical solution of the present application will be further described in detail below in conjunction with specific embodiments:

[0072] As Figure 5 shown, the data transmission method of the Mbus host circuit includes the following steps:

[0073] S301, start.

[0074] S302, determine whether the Mbus host circuit has data to be sent. If so, execute step S303. If not, execute step S310.

[0075] S303, send the data to be sent until all the data to be sent is sent.

[0076] S304. The first receiving unit and the second receiving unit receive the data sent by the Mbus slave.

[0077] S305. Determine whether the first current value or the second current value is greater than a preset current threshold. If so, execute step S306. If not, execute step S307.

[0078] S306. The first protection unit or the second protection unit cuts off the output of the power generation module and controls the power cut-off unit to continue cutting off the output of the power generation module.

[0079] S307. Determine whether the change amplitude of the first electrical signal meets a first preset condition, and / or whether the change amplitude of the second electrical signal meets a second preset condition. If so, execute step S308. If not, return to step S304.

[0080] S308. Demodulate the first electrical signal and / or the second electrical signal.

[0081] S309. Determine whether the data demodulation is completed. If so, return to step S302. If not, return to step S307.

[0082] S310. Obtain the first current value and the second current value.

[0083] S311. Determine whether the difference between the first current value and the second current value is greater than a preset difference. If so, execute step S312. If not, return to step S302.

[0084] S312. Determine the bus leakage and control the power cut-off unit to cut off the output of the power generation module.

[0085] In summary, the Mbus host circuit according to an embodiment of the present invention includes a power supply unit, a sending unit, a first receiving unit, a second receiving unit, and a control unit. Among them, the power supply unit is configured to generate a power supply according to a preset power source. The sending unit is connected to the power supply unit and is configured to generate data to be sent according to the power supply and transmit the data to be sent to the Mbus slave through a first bus. The first receiving unit is adapted to be connected to the first bus and is configured to receive an electrical signal on the first bus to obtain a first electrical signal. The second receiving unit is adapted to be connected to a second bus and is configured to receive an electrical signal on the second bus to obtain a second electrical signal. The control unit is respectively connected to the sending unit, the first receiving unit, and the second receiving unit, and is configured to control the sending unit to generate data to be sent, demodulate the first electrical signal when the change amplitude of the first electrical signal meets a first preset condition, and demodulate the second electrical signal when the change amplitude of the second electrical signal meets a second preset condition. Thus, by respectively receiving the signals on the first bus and the second bus through the first receiving unit and the second receiving unit, and filtering various bus interferences in the environment by means of software filtering, the demodulation success rate is ensured, so that the data transmission is more accurate and stable, thereby reducing the occurrence of data loss and communication interruption caused by interference, effectively improving the communication success rate, and further improving the operation efficiency of the heating system.

[0086] Corresponding to the above embodiment, an embodiment of the present invention further provides a heating system. As Figure 6 shown, the heating system 1000 includes the Mbus host circuit 100 of any one of the foregoing embodiments.

[0087] According to the heating system of the embodiment of the present invention, by adopting the above Mbus host circuit, the signals on the first bus and the second bus are respectively received through the first receiving unit and the second receiving unit, and various bus interferences in the environment are filtered by means of software filtering, ensuring the demodulation success rate, making the data transmission more accurate and stable, thereby reducing the occurrence of data loss and communication interruption caused by interference, effectively improving the communication success rate, and further improving the operation efficiency of the heating system.

[0088] It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits with logic gate circuits for implementing logic functions on data signals, application specific integrated circuits with appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0089] In the description of this specification, the descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0090] In addition, the terms such as "first" and "second" used in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the technical features indicated in this embodiment. Thus, the features defined with the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that at least one such feature is included in this embodiment. In the description of the present invention, the meaning of the word "plural" is at least two or more than two, such as two, three, four, etc., unless otherwise specifically defined in the embodiment.

[0091] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected with", and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or integrated. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be directly connected, or indirectly connected through an intermediate medium, or it can be the communication inside two components, or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific implementation situations.

[0092] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. An Mbus host circuit, characterized in that: The Mbus host circuit is suitable for performing data interaction with the Mbus slave through the first bus and the second bus, and the Mbus host circuit includes: A power supply unit, configured to generate power supply according to a preset power supply; a sending unit, the sending unit being connected to the power supply unit, the sending unit being configured to generate data to be sent according to the power supply, and transmit the data to be sent to the Mbus slave through the first bus; a first receiving unit, the first receiving unit being adapted to be connected to the first bus, and the first receiving unit being configured to receive an electrical signal on the first bus to obtain a first electrical signal; a second receiving unit, the second receiving unit being adapted to be connected to the second bus, and the second receiving unit being configured to receive an electrical signal on the second bus to obtain a second electrical signal; a control unit, the control unit being connected to the sending unit, the first receiving unit and the second receiving unit respectively, the control unit being configured to control the sending unit to generate the data to be sent, and to demodulate the first electrical signal when the change amplitude of the first electrical signal meets a first preset condition, and to demodulate the second electrical signal when the change amplitude of the second electrical signal meets a second preset condition; The second receiving unit comprises: a twenty-second resistor and a twenty-third resistor, one end of the twenty-second resistor being suitable for connecting to the second bus, the other end of the twenty-second resistor being connected to one end of the twenty-third resistor, and the other end of the twenty-third resistor being grounded; a twenty-fourth resistor, a second capacitor and a twenty-fifth resistor, wherein one end of the twenty-fourth resistor is suitable for connecting to the second bus, the other end of the twenty-fourth resistor is connected to one end of the twenty-fifth resistor, the other end of the twenty-fifth resistor is connected to the control unit, and the second capacitor is connected in parallel to the twenty-fourth resistor; a sixth diode, wherein an anode of the sixth diode is connected to the other end of the twenty-fourth resistor, and a cathode of the sixth diode is suitable for connecting to a second power supply; a seventh diode, wherein a cathode of the diode is connected to the other end of the twenty-fifth resistor, and an anode of the seventh diode is grounded; The first receiving unit comprises: a sixteenth resistor, a seventeenth resistor and an eighteenth resistor, wherein one end of the sixteenth resistor is suitable for connecting to the first bus, one end of the seventeenth resistor is connected to one end of the sixteenth resistor, and the other end of the seventeenth resistor is connected to one end of the eighteenth resistor; a second operational amplifier, wherein a positive input terminal of the second operational amplifier is connected to the other end of the sixteenth resistor, and a negative input terminal of the second operational amplifier is connected to the other end of the eighteenth resistor; a nineteenth resistor, one end of the nineteenth resistor being connected to the negative input end of the second operational amplifier, the other end of the nineteenth resistor being connected to the output end of the second operational amplifier, and having a fifth node; a first capacitor, a twentieth resistor and a twenty-first resistor, one end of the first capacitor is connected to the fifth node, the other end of the fifth node is connected to the control unit through the twenty-first resistor, and the twenty-th resistor is connected in parallel to the first capacitor; a fourth diode, wherein an anode of the fourth diode is connected to the other end of the first capacitor, and a cathode of the fourth diode is suitable for connecting to a second power supply; A fifth diode, wherein an anode of the fifth diode is grounded, and a cathode of the fifth diode is connected to the control unit.

2. The Mbus host circuit according to claim 1, characterized in that: The sending unit comprises: A power generation module, the power generation module is connected to the power supply unit, and the power generation module is configured to generate a reference voltage according to the power supply; A data generating module, wherein the control end of the data generating module is connected to the control unit, the input end of the data generating module is respectively connected to the power generating module and the power supply unit, the output end of the data generating module is suitable for connecting to the first bus, and the data generating module is configured to receive a first control signal sent by the control unit, and output the power supply to the first bus when the first control signal is at a high level, and output the reference voltage to the first bus when the first control signal is at a low level.

3. The Mbus host circuit according to claim 2, characterized in that: The data generation module comprises: A first switch tube, wherein a control end of the first switch tube is connected to the control unit via a first resistor, and a second end of the first switch tube is grounded; a second resistor and a third resistor, wherein one end of the second resistor is connected to the first end of the first switch tube, the other end of the second resistor is connected to one end of the third resistor and has a first node, and the other end of the third resistor is suitable for connecting to the first bus; a first operational amplifier, wherein a positive input terminal of the first operational amplifier is connected to the power generation module, and a negative input terminal of the first operational amplifier is connected to the first node; a fourth resistor, one end of which is connected to the output end of the first operational amplifier; a second switch tube, wherein a first end of the second switch tube is connected to the power supply unit, a control end of the second switch tube is connected to the other end of the fourth resistor, and a second end of the second switch tube is connected to the other end of the third resistor; A first diode, a second diode and a third diode, wherein the anode of the first diode is grounded, the cathode of the first diode is respectively connected to the other end of the third resistor and the anode of the second diode, the cathode of the second diode is connected to the control end of the second switch tube, and the third diode is connected in parallel with the second switch tube.

4. The Mbus host circuit according to claim 2, characterized in that: The power generation module comprises: a fifth resistor, a sixth resistor and a seventh resistor, one end of the fifth resistor is connected to the power supply unit, the other end of the fifth resistor is connected to one end of the sixth resistor and has a second node, the other end of the sixth resistor is connected to one end of the seventh resistor and has a third node, and the other end of the seventh resistor is grounded; A voltage-stabilizing source, wherein a cathode of the voltage-stabilizing source is connected to one end of the fifth resistor, a reference end of the voltage-stabilizing source is connected to the second node, and an anode of the voltage-stabilizing source is connected to the third node; An eighth resistor, one end of the eighth resistor is connected to the third node, and the other end of the eighth resistor is connected to the data generating module.

5. The Mbus host circuit according to claim 2, characterized in that: Also includes: a power cut-off unit, wherein an output end of the power cut-off unit is connected to the power generation module, and the power cut-off unit is configured to control the power generation module to stop outputting the reference voltage according to a shutdown signal, so as to cut off the output of the data generation module; The control unit is also connected to the control end of the power cut-off unit, and the control unit is also configured to generate the shutdown signal when it is determined that there is leakage current in the first bus based on the first current value corresponding to the first electrical signal and the second current value corresponding to the second electrical signal, or when at least one of the first current value and the second current value is greater than a preset current threshold.

6. The Mbus host circuit according to claim 5, characterized in that: The control unit is further configured to determine that leakage current exists in the first bus when a difference between the first current value and the second current value is greater than a preset difference.

7. The Mbus host circuit according to claim 5, characterized in that: The power cutoff unit includes: a third switch tube, a first end of the third switch tube is connected to the power generation module, a control end of the third switch tube is connected to the control unit through a ninth resistor, and a second end of the third switch tube is grounded.

8. The Mbus host circuit according to claim 5, characterized in that: Also includes: a first protection unit, the first protection unit being connected to the first receiving unit and the power generation module respectively, and the first protection unit being configured to control the power generation module to stop outputting the reference voltage when the first current value is greater than the preset current threshold; The second protection unit is connected to the second receiving unit and the power generation module respectively, and the second protection unit is configured to control the power generation module to stop outputting the reference voltage when the second current value is greater than the preset current threshold.

9. The Mbus host circuit according to claim 8, characterized in that: The first protection unit comprises: a tenth resistor and an eleventh resistor, one end of the tenth resistor is connected to the first receiving unit, the other end of the tenth resistor is connected to one end of the eleventh resistor, and the other end of the eleventh resistor is grounded; a twelfth resistor, one end of the twelfth resistor being connected to the other end of the tenth resistor; A fourth switch tube, wherein a first end of the fourth switch tube is connected to the power generation module, a control end of the fourth switch tube is connected to the other end of the twelfth resistor, and a second end of the fourth switch tube is grounded.

10. The Mbus host circuit according to claim 8, characterized in that: The second protection unit includes: a fifth switch tube, a first end of the fifth switch tube is connected to the power generation module, a control end of the fifth switch tube is connected to the second receiving unit through a thirteenth resistor, and a second end of the fifth switch tube is grounded.

11. The Mbus host circuit according to any one of claims 1 to 10, characterized in that: The control unit is further configured to demodulate the first electrical signal to obtain low-level data when the change amplitude of the first electrical signal is greater than a first preset amplitude and the current value corresponding to the first electrical signal is less than or equal to a preset current threshold, and to demodulate the first electrical signal to obtain high-level data when the change amplitude of the first electrical signal is less than a second preset amplitude and the current value corresponding to the first electrical signal is less than or equal to the preset current threshold, and to demodulate the second electrical signal to obtain low-level data when the change amplitude of the second electrical signal is greater than a third preset amplitude and the current value corresponding to the second electrical signal is less than or equal to the preset current threshold, and to demodulate the second electrical signal to obtain high-level data when the change amplitude of the second electrical signal is less than a fourth preset amplitude and the current value corresponding to the second electrical signal is less than or equal to the preset current threshold.

12. The Mbus host circuit according to any one of claims 1 to 10, characterized in that: The control unit is also connected to the power supply unit to adjust the amplitude of the power supply.

13. The Mbus host circuit according to claim 12, characterized in that: The power supply unit comprises: A voltage conversion chip, wherein the voltage conversion chip is suitable for connecting to the preset power supply; a fourteenth resistor and a fifteenth resistor, wherein one end of the fourteenth resistor is the output end of the power supply unit, the other end of the fourteenth resistor is respectively connected to the output end of the voltage conversion chip and the fifteenth resistor, and has a fourth node, and the other end of the fifteenth resistor is grounded; A resistor array, wherein the upper plate of the resistor array is connected to the fourth node, and the lower plate of the resistor array is connected to the control unit, wherein the control unit adjusts the connection mode of the lower plate of the resistor array so that the upper plate of the resistor array outputs a voltage with adjustable amplitude.

14. A heating system, characterized in that: The invention comprises the Mbus host circuit according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Method for ensuring reliability of data communication

    CN109120430A

  • Host transceiver circuit and communication system

    CN119210931A

  • Calorimeter data collection station

    CN208156851U