CN109471825B - Mbus interface control circuit - Google Patents

Mbus interface control circuit Download PDF

Info

Publication number
CN109471825B
CN109471825B CN201811419039.1A CN201811419039A CN109471825B CN 109471825 B CN109471825 B CN 109471825B CN 201811419039 A CN201811419039 A CN 201811419039A CN 109471825 B CN109471825 B CN 109471825B
Authority
CN
China
Prior art keywords
module
pin
resistor
sampling
signal
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.)
Active
Application number
CN201811419039.1A
Other languages
Chinese (zh)
Other versions
CN109471825A (en
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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201811419039.1A priority Critical patent/CN109471825B/en
Publication of CN109471825A publication Critical patent/CN109471825A/en
Application granted granted Critical
Publication of CN109471825B publication Critical patent/CN109471825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Protection Circuit Devices (AREA)
  • Logic Circuits (AREA)

Abstract

本发明提供了一种Mbus接口控制电路,包括电平控制参考模块,根据主机发送的控制信号生成参考电压,将参考电压发送到电压转换及逻辑控制模块;信号采样接收模块,对电压转换及逻辑控制模块进行电流信号采样,根据采样信号生成传输到主机的数据信号;逻辑限流保护模块,根据采样信号生成控制电压,并将控制电压发送到电压转换及逻辑控制模块;电压转换及逻辑控制模块,根据参考电压和控制电压控制M_BUS接口模块的电流信号通断,将电流信号传输到信号采样接收模块;M_BUS接口模块,用于连接后级MBUS从机电路。本发明通过硬件电路之间的逻辑控制,实现对MBUS线路的过流保护、上断电和信号传输控制,最大程度的降低损耗,大大提高了MBUS电路的稳定性和可靠性。

The invention provides an Mbus interface control circuit, which includes a level control reference module, which generates a reference voltage according to the control signal sent by the host, and sends the reference voltage to the voltage conversion and logic control module; a signal sampling receiving module, which performs voltage conversion and logic control. The control module samples the current signal and generates a data signal transmitted to the host based on the sampling signal; the logic current limiting protection module generates a control voltage based on the sampling signal and sends the control voltage to the voltage conversion and logic control module; the voltage conversion and logic control module , according to the reference voltage and control voltage, the current signal of the M_BUS interface module is controlled on and off, and the current signal is transmitted to the signal sampling receiving module; the M_BUS interface module is used to connect the subsequent MBUS slave circuit. Through logical control between hardware circuits, the present invention realizes overcurrent protection, power on and off and signal transmission control of the MBUS line, reduces losses to the greatest extent, and greatly improves the stability and reliability of the MBUS circuit.

Description

一种Mbus接口控制电路A kind of Mbus interface control circuit

技术领域Technical field

本发明涉及通信和物联网技术领域,尤其涉及一种Mbus接口控制电路。The invention relates to the technical fields of communication and Internet of Things, and in particular to an Mbus interface control circuit.

背景技术Background technique

仪表总线(meter bus,M-Bus)是一种新型总线结构,M-Bus主要特点是经由两条无极性传输线来同时供电和传输串行数据,而各个子站(以不同的ID确认)并联在M-Bus总线上。将M-Bus用于各类仪表或相关装置的能耗类智能管理系统中时,可对相关数据或信号进行采集并传递至集中器,然后再通过相应的接口传至主站。利用M-Bus可大大简化住宅小区,办公场所等能耗智能化管理系统的布线和连接,且具有结构简单、造价低廉、可靠性高的特点。Meter bus (M-Bus) is a new bus structure. The main feature of M-Bus is that it supplies power and transmits serial data simultaneously through two non-polar transmission lines, and each substation (confirmed with different IDs) is connected in parallel. On the M-Bus bus. When M-Bus is used in energy consumption intelligent management systems for various instruments or related devices, relevant data or signals can be collected and transmitted to the concentrator, and then transmitted to the main station through the corresponding interface. The use of M-Bus can greatly simplify the wiring and connection of energy consumption intelligent management systems in residential areas, offices and other places, and has the characteristics of simple structure, low cost and high reliability.

现有技术中,常用的M-Bus电路包括以下几种类型:In the existing technology, commonly used M-Bus circuits include the following types:

1)通过前级滤波差分放大电路和信号输出电路的逻辑组合来提高接收信号的强度、增强信号输出稳定性,从而增加了节点带载数量,提高了电路的负载能力以及电路信号的抗干扰能力,该方案没有电流异常检测的功能,一旦后极出现短路等过流问题,很容易造成前级的电路烧坏,且不可恢复;另外,由于该方案采用了多级放大电路以及滤波电路,使得仅仅MBUS接收电路就十分复杂,若再增加发送相关电路,则整个MBUS接口会更加复杂,体积更加庞大,成本也会更高。1) The strength of the received signal and the stability of the signal output are improved through the logical combination of the pre-filtering differential amplification circuit and the signal output circuit, thereby increasing the number of nodes loaded, improving the load capacity of the circuit and the anti-interference ability of the circuit signal , this solution does not have the function of current abnormality detection. Once an overcurrent problem such as a short circuit occurs in the rear pole, it is easy to cause the front-stage circuit to burn out and become unrecoverable. In addition, because this solution uses a multi-stage amplification circuit and a filter circuit, the The MBUS receiving circuit alone is very complex. If transmitting related circuits are added, the entire MBUS interface will be more complex, larger in size, and more costly.

2)电路通过分立元器件搭建起来的,必须配合单片机等控制器来实现完整的过载保护,信号传输和供电的功能,这使得整个系统反应速度较慢,并可能存在系统挂死的风险,可靠性低。2) The circuit is built with discrete components and must be matched with a microcontroller and other controllers to achieve complete overload protection, signal transmission and power supply functions. This makes the entire system respond slowly and may cause the risk of system hang-up. Reliability Sex is low.

3)通过简化分立原件数量,来完成M-BUS接口电路,通过三极管和分压电阻的控制,实现MCU数据的收发,在该电路设计上,由于三极管的差异,该方案会导致不同工作电路,触发电流不相同,影响产品的一致性,且容易导致接受数据端RX处于中间状态,进而导致采样数据混淆;另外限流保护功能直接使用的是过流保护器件,一旦后极有短路现象,过流器件将会保护,断开电路,此次必须通过人工更换器件来恢复接口电路的功能,电路不具有自恢复功能,实用性差。3) By simplifying the number of discrete components, the M-BUS interface circuit is completed, and MCU data is sent and received through the control of transistors and voltage divider resistors. In the circuit design, due to the difference in transistors, this solution will lead to different working circuits. The trigger current is different, which affects the consistency of the product, and easily causes the data receiving terminal RX to be in an intermediate state, which in turn leads to confusion of the sampling data. In addition, the current limiting protection function directly uses an overcurrent protection device. Once the rear pole is short-circuited, the overcurrent The current device will protect and disconnect the circuit. This time, the function of the interface circuit must be restored by manually replacing the device. The circuit does not have a self-restoring function and has poor practicality.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种Mbus接口控制电路。In view of the above problems, the present invention is proposed to provide an Mbus interface control circuit that overcomes the above problems or at least partially solves the above problems.

本发明实施例提供了一种Mbus接口控制电路,包括电压转换及逻辑控制模块以及分别与所述电压转换及逻辑控制模块连接的电平控制参考模块、逻辑限流保护模块、信号采样接收模块和M_BUS接口模块;The embodiment of the present invention provides an Mbus interface control circuit, which includes a voltage conversion and logic control module, a level control reference module, a logic current limiting protection module, a signal sampling receiving module, and a level control reference module respectively connected to the voltage conversion and logic control module. M_BUS interface module;

所述电平控制参考模块,与主机连接,用于根据主机发送的控制信号生成参考电压,并将所述参考电压发送到电压转换及逻辑控制模块;The level control reference module is connected to the host and is used to generate a reference voltage according to the control signal sent by the host and send the reference voltage to the voltage conversion and logic control module;

所述信号采样接收模块,与所述逻辑限流保护模块连接,用于对所述电压转换及逻辑控制模块进行电流信号采样,根据采样信号生成传输到主机的数据信号,并将采样信号发送到所述逻辑限流保护模块;The signal sampling receiving module is connected to the logic current limiting protection module and is used to sample the current signal of the voltage conversion and logic control module, generate a data signal transmitted to the host according to the sampling signal, and send the sampling signal to The logical current limiting protection module;

所述逻辑限流保护模块,用于根据所述采样信号生成控制电压,并将所述控制电压发送到所述电压转换及逻辑控制模块;The logic current limiting protection module is used to generate a control voltage according to the sampling signal and send the control voltage to the voltage conversion and logic control module;

所述电压转换及逻辑控制模块,用于根据所述参考电压和所述控制电压控制所述M_BUS接口模块的电流信号通断,同时将电流信号传输到所述信号采样接收模块;The voltage conversion and logic control module is used to control the current signal of the M_BUS interface module on and off according to the reference voltage and the control voltage, and at the same time transmit the current signal to the signal sampling receiving module;

所述M_BUS接口模块,用于连接后级MBUS从机电路。The M_BUS interface module is used to connect the downstream MBUS slave circuit.

其中,所述电平控制参考模块包括电阻器R1、R2、R3、R11、NMOS管K1、PMOS管K2,主机的TXD接口与所述NMOS管K1的栅极相连,所述NMOS管K1的源极与地网络相连,所述NMOS管K1的漏极与所述电阻器R1的一端相连,所述电阻器R1的另一端与电源网络V1相连,所述NMOS管K1的漏极还与所述PMOS管K2的栅极相连,所述PMOS管K2的漏极与电阻器R11的一端相连,所述电阻器R11的另一端与电源网络V1相连,所述PMOS管K2的源极同时与电阻器R2、R3和所述电压转换及逻辑控制模块相连,电阻器R2的另一端与电源网络V1相连,电阻器R3的另一端与地网络相连。Wherein, the level control reference module includes resistors R1, R2, R3, R11, NMOS tube K1, PMOS tube K2, the TXD interface of the host is connected to the gate of the NMOS tube K1, and the source of the NMOS tube K1 The pole is connected to the ground network, the drain of the NMOS tube K1 is connected to one end of the resistor R1, the other end of the resistor R1 is connected to the power supply network V1, and the drain of the NMOS tube K1 is also connected to the The gate of the PMOS tube K2 is connected, the drain of the PMOS tube K2 is connected to one end of the resistor R11, the other end of the resistor R11 is connected to the power supply network V1, and the source of the PMOS tube K2 is simultaneously connected to the resistor. R2 and R3 are connected to the voltage conversion and logic control module, the other end of the resistor R2 is connected to the power network V1, and the other end of the resistor R3 is connected to the ground network.

其中,所述逻辑限流保护模块包括电阻器R6、R7、比较器U1和PMOS管K4,所述电阻器R6的一端连接电源网络V1,另一端连接电阻器R7的一端,同时连接比较器U1的第3管脚,所述电阻器R7的另一端连接地网络,所述比较器U1的第4管脚与信号采样接收模块相连,所述比较器U1的第5管脚与电源网络V1连接。所述比较器U1的第2管脚与地网络相连,所述比较器U1的第1管脚与所述PMOS管K4的栅极相连,所述PMOS管K4的漏极与电源网络V1相连,所述PMOS管K4的源极与电压转换及逻辑控制模块相连接。Among them, the logic current limiting protection module includes resistors R6, R7, comparator U1 and PMOS tube K4. One end of the resistor R6 is connected to the power supply network V1, and the other end is connected to one end of the resistor R7 and at the same time connected to the comparator U1. The third pin of the resistor R7 is connected to the ground network, the fourth pin of the comparator U1 is connected to the signal sampling receiving module, and the fifth pin of the comparator U1 is connected to the power network V1 . The second pin of the comparator U1 is connected to the ground network, the first pin of the comparator U1 is connected to the gate of the PMOS tube K4, and the drain of the PMOS tube K4 is connected to the power network V1. The source of the PMOS tube K4 is connected to the voltage conversion and logic control module.

其中,所述信号采样接收模块包括采样电阻R8,比较器U3,采样放大器U4以及电阻器R9、R10,所述采样电阻R8的一端分别与电源网络V2、所述采样放大器U4的第3管脚连接,所述采样电阻R8的另一端分别与所述采样放大器U4的第2管脚、所述电压转换及逻辑控制模块相连接,所述采样放大器U4的第4管脚与电源网络V2相连接,所述采样放大器U4的第5管脚与地网络连接,所述采样放大器U4的第1管脚分别与所述比较器U3的第4管脚和逻辑限流保护模块连接,所述电阻器R9一端与电源网络V1连接,所述电阻器R9另一端分别与电阻器R10的一端、所述比较器U3的第3管脚连接,所述电阻器R10的另一端与地网络连接,所述比较器U3的第5管脚与电源网络V1连接,所述比较器U3的第1管脚与所述主机的RXD接口连接,所述比较器U3的第2管脚与地网络连接。Wherein, the signal sampling receiving module includes a sampling resistor R8, a comparator U3, a sampling amplifier U4 and resistors R9 and R10. One end of the sampling resistor R8 is connected to the power supply network V2 and the third pin of the sampling amplifier U4 respectively. connection, the other end of the sampling resistor R8 is connected to the second pin of the sampling amplifier U4 and the voltage conversion and logic control module respectively, and the 4th pin of the sampling amplifier U4 is connected to the power supply network V2 , the fifth pin of the sampling amplifier U4 is connected to the ground network, the first pin of the sampling amplifier U4 is connected to the fourth pin of the comparator U3 and the logic current limiting protection module respectively, and the resistor One end of R9 is connected to the power network V1, the other end of the resistor R9 is connected to one end of the resistor R10 and the third pin of the comparator U3, and the other end of the resistor R10 is connected to the ground network. The fifth pin of the comparator U3 is connected to the power supply network V1, the first pin of the comparator U3 is connected to the RXD interface of the host, and the second pin of the comparator U3 is connected to the ground network.

其中,所述电压转换及逻辑控制模块包括第一运放模块U2、PMOS管K3、电阻器R4和R5,所述第一运放模块U2的第2管脚与所述电平控制参考模块连接,所述第一运放模块U2的第3管脚分别与所述逻辑限流保护模块、电阻器R4和R5连接点P1相连,所述第一运放模块U2的第4管脚与电源网路V2连接,所述第一运放模块U2的第5管脚与地网络连接,所述第一运放模块U2的第1管脚与所述PMOS管K3的栅极连接;所述PMOS管K3的源极分别与所述电阻器R4一端和所述M_BUS接口模块相连接,所述PMOS管K3的漏极与所述信号采样接收模块相连;所述电阻器R4的另一端与电阻器R5的一端相连接,电阻器R5的另一端分别与地网络和M_BUS接口模块相连接。Wherein, the voltage conversion and logic control module includes a first operational amplifier module U2, PMOS tube K3, resistors R4 and R5, and the second pin of the first operational amplifier module U2 is connected to the level control reference module. , the third pin of the first operational amplifier module U2 is connected to the logic current limiting protection module, the resistor R4 and R5 connection point P1 respectively, and the fourth pin of the first operational amplifier module U2 is connected to the power network V2 is connected, the fifth pin of the first operational amplifier module U2 is connected to the ground network, the first pin of the first operational amplifier module U2 is connected to the gate of the PMOS tube K3; the PMOS tube The source of K3 is connected to one end of the resistor R4 and the M_BUS interface module respectively, the drain of the PMOS tube K3 is connected to the signal sampling receiving module; the other end of the resistor R4 is connected to the resistor R5 One end of the resistor R5 is connected, and the other end of the resistor R5 is connected to the ground network and the M_BUS interface module respectively.

其中,所述M_BUS接口模块包括MBUS+接口和MBUS-接口。Wherein, the M_BUS interface module includes an MBUS+ interface and an MBUS- interface.

其中,所述PMOS管K3的源极与所述M_BUS接口模块的MBUS+接口相连接,所述电阻器R5的另一端与M_BUS接口模块的MBUS-接口相连接。Wherein, the source of the PMOS tube K3 is connected to the MBUS+ interface of the M_BUS interface module, and the other end of the resistor R5 is connected to the MBUS- interface of the M_BUS interface module.

其中,所述第一运放模块U2的第3管脚与所述逻辑限流保护模块的所述PMOS管K4的源极相连接。Wherein, the third pin of the first operational amplifier module U2 is connected to the source of the PMOS tube K4 of the logic current limiting protection module.

其中,所述Mbus接口控制电路还包括通信接口,所述电平控制参考模块的NMOS管K1的栅极通过所述通信接口与所述主机的TXD接口连接,所述信号采样接收模块的比较器U3的第1管脚通过所述通信接口与所述主机的RXD接口连接。Wherein, the Mbus interface control circuit also includes a communication interface. The gate of the NMOS tube K1 of the level control reference module is connected to the TXD interface of the host through the communication interface. The comparator of the signal sampling receiving module The first pin of U3 is connected to the RXD interface of the host through the communication interface.

本发明实施例提供的Mbus接口控制电路,通过集成元器件搭建起来的电路,完全通过硬件电路之间的逻辑控制,来实现对MBUS线路的过流保护、上断电和信号传输控制,尤其是电路在完成过流保护的检测和逻辑控制过程,响应速度快,可最大程度的降低损耗,且具有自恢复功能,由于逻辑控制均采用硬件电路实现的,集成度高,大大提高了MBUS电路的稳定性和可靠性。The Mbus interface control circuit provided by the embodiment of the present invention is a circuit built with integrated components and completely through logical control between hardware circuits to realize overcurrent protection, power on and off and signal transmission control of the MBUS line, especially When the circuit completes the detection and logic control process of over-current protection, it responds quickly, can reduce losses to the greatest extent, and has a self-recovery function. Since the logic control is implemented by hardware circuits, the integration level is high, which greatly improves the performance of the MBUS circuit. Stability and reliability.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be construed as limiting the invention. Also throughout the drawings, the same reference characters are used to designate the same components. In the attached picture:

图1为本发明实施例提供的Mbus接口控制电路的结构示意图;Figure 1 is a schematic structural diagram of an Mbus interface control circuit provided by an embodiment of the present invention;

图2为本发明实施例提供的电平控制参考模块的电路示意图;Figure 2 is a circuit schematic diagram of a level control reference module provided by an embodiment of the present invention;

图3为本发明实施例提供的逻辑限流保护模块的电路示意图;Figure 3 is a schematic circuit diagram of a logic current limiting protection module provided by an embodiment of the present invention;

图4为本发明实施例提供的信号采样接收模块的电路示意图;Figure 4 is a schematic circuit diagram of a signal sampling receiving module provided by an embodiment of the present invention;

图5为本发明实施例提供的电压转换及逻辑控制模块的电路示意图;Figure 5 is a schematic circuit diagram of a voltage conversion and logic control module provided by an embodiment of the present invention;

图6为本发明实施例提供的M_BUS接口模块的电路示意图;FIG6 is a circuit diagram of an M_BUS interface module provided in an embodiment of the present invention;

图7本发明实施例提供的Mbus接口控制电路的整体电路图。FIG. 7 is an overall circuit diagram of an Mbus interface control circuit provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a thorough understanding of the disclosure, and to fully convey the scope of the disclosure to those skilled in the art.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will understand that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined.

本发明实施例提供了一种Mbus接口控制电路,如图1所示,包括电平控制参考模块11、电压转换及逻辑控制模块12、逻辑限流保护模块13、信号采样接收模块14和M_BUS接口模块15,所述电平控制参考模块11、逻辑限流保护模块13、信号采样接收模块14和M_BUS接口模块15分别与所述电压转换及逻辑控制模块12连接,其中:The embodiment of the present invention provides an Mbus interface control circuit, as shown in Figure 1, including a level control reference module 11, a voltage conversion and logic control module 12, a logic current limiting protection module 13, a signal sampling receiving module 14 and an M_BUS interface. Module 15, the level control reference module 11, the logic current limiting protection module 13, the signal sampling receiving module 14 and the M_BUS interface module 15 are respectively connected to the voltage conversion and logic control module 12, wherein:

电平控制参考模块11,与主机连接,用于根据主机发送的控制信号生成参考电压,并将所述参考电压发送到电压转换及逻辑控制模块12;The level control reference module 11 is connected to the host and is used to generate a reference voltage according to the control signal sent by the host and send the reference voltage to the voltage conversion and logic control module 12;

所述信号采样接收模块14,与所述逻辑限流保护模块13连接,用于对所述电压转换及逻辑控制模块12进行电流信号采样,根据采样信号生成传输到主机的数据信号,并将采样信号发送到所述逻辑限流保护模块13;The signal sampling receiving module 14 is connected to the logic current limiting protection module 13 and is used to sample the current signal of the voltage conversion and logic control module 12, generate a data signal transmitted to the host according to the sampling signal, and send the sampled signal to the host. The signal is sent to the logical current limiting protection module 13;

所述逻辑限流保护模块13,用于根据所述采样信号生成控制电压,并将所述控制电压发送到所述电压转换及逻辑控制模块12;The logic current limiting protection module 13 is used to generate a control voltage according to the sampling signal, and send the control voltage to the voltage conversion and logic control module 12;

所述电压转换及逻辑控制模块12,用于根据所述参考电压和所述控制电压控制所述M_BUS接口模块15的电流信号通断,同时将电流信号传输到所述信号采样接收模块;The voltage conversion and logic control module 12 is used to control the current signal of the M_BUS interface module 15 on and off according to the reference voltage and the control voltage, and at the same time transmit the current signal to the signal sampling receiving module;

所述M_BUS接口模块15,用于连接后级MBUS从机电路。The M_BUS interface module 15 is used to connect the subsequent MBUS slave circuit.

本发明实施例提供的Mbus接口控制电路,通过集成元器件搭建起来的电路,完全通过硬件电路之间的逻辑控制,来实现对MBUS线路的过流保护、上断电和信号传输控制,尤其是电路在完成过流保护的检测和逻辑控制过程,响应速度快,可最大程度的降低损耗,且具有自恢复功能,由于逻辑控制均采用硬件电路实现的,集成度高,大大提高了MBUS电路的稳定性和可靠性。The Mbus interface control circuit provided by the embodiment of the present invention is a circuit built with integrated components and completely through logical control between hardware circuits to realize overcurrent protection, power on and off and signal transmission control of the MBUS line, especially When the circuit completes the detection and logic control process of over-current protection, it responds quickly, can reduce losses to the greatest extent, and has a self-recovery function. Since the logic control is implemented by hardware circuits, the integration level is high, which greatly improves the performance of the MBUS circuit. Stability and reliability.

在一个具体实施例中,所述电平控制参考模块11包括电阻器R1、R2、R3、R11、NMOS管K1、PMOS管K2。如图2所示,主机的TXD接口与所述NMOS管K1的栅极相连,所述NMOS管K1的源极与地网络相连,所述NMOS管K1的漏极与所述电阻器R1的一端相连,所述电阻器R1的另一端与电源网络V1相连,所述NMOS管K1的漏极还与所述PMOS管K2的栅极相连,所述PMOS管K2的漏极与电阻器R11的一端相连,所述电阻器R11的另一端与电源网络V1相连,所述PMOS管K2的源极同时与电阻器R2、R3和所述电压转换及逻辑控制模块相连,电阻器R2的另一端与电源网络V1相连,电阻器R3的另一端与地网络相连。In a specific embodiment, the level control reference module 11 includes resistors R1, R2, R3, R11, NMOS transistor K1, and PMOS transistor K2. As shown in Figure 2, the TXD interface of the host is connected to the gate of the NMOS tube K1, the source of the NMOS tube K1 is connected to the ground network, and the drain of the NMOS tube K1 is connected to one end of the resistor R1 connected, the other end of the resistor R1 is connected to the power supply network V1, the drain of the NMOS tube K1 is also connected to the gate of the PMOS tube K2, the drain of the PMOS tube K2 is connected to one end of the resistor R11 connected, the other end of the resistor R11 is connected to the power supply network V1, the source of the PMOS tube K2 is connected to the resistors R2, R3 and the voltage conversion and logic control module, and the other end of the resistor R2 is connected to the power supply network V1. Network V1 is connected and the other end of resistor R3 is connected to the ground network.

其中V_ref1的值可用(1)、(2)表示:The value of V_ref1 can be represented by (1) and (2):

当TXD为高电平时:When TXD is high:

V_ref1=(V1*R3)/(R2+R3) (1)V_ref1=(V1*R3)/(R2+R3) (1)

当TXD为低电平时:When TXD is low:

V_ref1=(V1*R3)/(R3+R11) (2)V_ref1=(V1*R3)/(R3+R11) (2)

举例说明:电平控制参考模块主要实现的功能是把主机发来的TXD控制信号转换成V_ref电压传输到电压转换及逻辑控制模块。具体的以图7所设置的参数为例,当TXD发送信号为低的时候,KI不导通,此时K2的G极为高,K2不导通,通过R2和R3的分压作用,由公式(1)得输出到模块2的电压Vref1=1V;当TXD发送信号为高的时候,KI导通,此时K2的G极为低,K2导通,通过R2和R3的分压作用失效,由公式(2)的输出到模块2的电压Vref1=3.2V。For example: The main function of the level control reference module is to convert the TXD control signal sent from the host into the V_ref voltage and transmit it to the voltage conversion and logic control module. Specifically, take the parameters set in Figure 7 as an example. When the TXD sending signal is low, KI does not conduct. At this time, the G of K2 is extremely high and K2 does not conduct. Through the voltage dividing effect of R2 and R3, according to the formula (1) The voltage Vref1=1V output to module 2 is obtained; when the TXD sending signal is high, KI is turned on. At this time, the G of K2 is extremely low, K2 is turned on, and the voltage dividing effect of R2 and R3 fails. The voltage Vref1 output to module 2 of formula (2) is 3.2V.

在一个具体实施例中,所述逻辑限流保护模块13包括电阻器R6、R7、比较器U1和PMOS管K4。如图3所示,所述电阻器R6的一端连接电源网络V1,另一端连接电阻器R7的一端,同时连接比较器U1的第3管脚,所述电阻器R7的另一端连接地网络,所述比较器U1的第4管脚与信号采样接收模块相连,所述比较器U1的第5管脚与电源网络V1连接。所述比较器U1的第2管脚与地网络相连,所述比较器U1的第1管脚与所述PMOS管K4的栅极相连,所述PMOS管K4的漏极与电源网络V1相连,所述PMOS管K4的源极与电压转换及逻辑控制模块相连接。In a specific embodiment, the logic current limiting protection module 13 includes resistors R6, R7, a comparator U1 and a PMOS tube K4. As shown in FIG3, one end of the resistor R6 is connected to the power supply network V1, and the other end is connected to one end of the resistor R7 and the third pin of the comparator U1. The other end of the resistor R7 is connected to the ground network. The fourth pin of the comparator U1 is connected to the signal sampling and receiving module, and the fifth pin of the comparator U1 is connected to the power supply network V1. The second pin of the comparator U1 is connected to the ground network, the first pin of the comparator U1 is connected to the gate of the PMOS tube K4, the drain of the PMOS tube K4 is connected to the power supply network V1, and the source of the PMOS tube K4 is connected to the voltage conversion and logic control module.

具体的,逻辑限流保护模块13所限制电流大小可调,大小可通过公式(3)表示:Specifically, the current limited by the logic current limiting protection module 13 is adjustable, and the current limit can be expressed by formula (3):

I=Vref2*α (3)I= Vref2 *α (3)

式中R8表示其对应电阻值,G表示仪表放大器的增益,其值可根据不同需求选取,Vref表示U1的第3管脚的输入电压,α为电流增益参数,其值由G和R8的值决定的,I表示所限制的电流大小值。In the formula, R8 represents its corresponding resistance value, G represents the gain of the instrumentation amplifier, and its value can be selected according to different needs. V ref represents the input voltage of the third pin of U1, α is the current gain parameter, and its value is determined by G and R8. Determined by value, I represents the limited current value.

举例说明:逻辑限流保护模块13的功能实现是通过信号采样接收模块传来的告警电压信号通过U1的第4管脚输入,通过R6和R7的分压作用,由公式(3)可知Vref2=1.65V电压信号输入U1的第3管脚,U1通过比较第3管脚和第4管脚的电压大小来控制K4的通断,进而控制电压转换及逻辑控制模块的开关。具体的以图7所设置的参数为例,当U1的第4管脚电压小于Vref2=1.65V时,U1的第1管脚输出端为V1值相等电压,此时PMOS管K4处于截止区,不导通;当U1的第4管脚电压大于1.65V时(信号采样接收模块发来的大与Vref2的电压反馈信号说明MBUS后极电路有短路或者其他导致过流的故障出现),U1的第1管脚输出端为0V电压,此时PMOS管K4处于饱和区,完全导通,此时,K4的S极会输出到电压转换及逻辑控制模块,使其停止正常工作,从而实现限流保护的作用。For example: The function of the logic current limiting protection module 13 is realized by inputting the alarm voltage signal from the signal sampling receiving module through the 4th pin of U1, and through the voltage dividing effect of R6 and R7. It can be seen from the formula (3) that Vref2= The 1.65V voltage signal is input to the 3rd pin of U1. U1 controls the on and off of K4 by comparing the voltage of the 3rd pin and the 4th pin, thereby controlling the voltage conversion and the switch of the logic control module. Specifically, taking the parameters set in Figure 7 as an example, when the voltage of the 4th pin of U1 is less than Vref2 = 1.65V, the output terminal of the 1st pin of U1 is a voltage equal to the value of V1. At this time, the PMOS tube K4 is in the cut-off area. No conduction; when the voltage of the 4th pin of U1 is greater than 1.65V (the voltage feedback signal sent by the signal sampling receiving module is larger than Vref2, indicating that the MBUS rear pole circuit has a short circuit or other faults causing overcurrent), U1 The output terminal of pin 1 is 0V. At this time, the PMOS tube K4 is in the saturation zone and is fully turned on. At this time, the S pole of K4 will be output to the voltage conversion and logic control module, causing it to stop working normally, thereby achieving current limiting. protective effect.

在一个具体实施例中,所述信号采样接收模块14包括采样电阻R8,比较器U3,采样放大器U4以及电阻器R9、R10。如图4所示,所述采样电阻R8的一端分别与电源网络V2、所述采样放大器U4的第3管脚连接,所述采样电阻R8的另一端分别与所述采样放大器U4的第2管脚、所述电压转换及逻辑控制模块相连接,所述采样放大器U4的第4管脚与电源网络V2相连接,所述采样放大器U4的第5管脚与地网络连接,所述采样放大器U4的第1管脚分别与所述比较器U3的第4管脚和逻辑限流保护模块13连接,所述电阻器R9一端与电源网络V1连接,所述电阻器R9另一端分别与电阻器R10的一端、所述比较器U3的第3管脚连接,所述电阻器R10的另一端与地网络连接,所述比较器U3的第5管脚与电源网络V1连接,所述比较器U3的第1管脚与所述主机的RXD接口连接,所述比较器U3的第2管脚与地网络连接。In a specific embodiment, the signal sampling receiving module 14 includes a sampling resistor R8, a comparator U3, a sampling amplifier U4 and resistors R9 and R10. As shown in Figure 4, one end of the sampling resistor R8 is connected to the power supply network V2 and the third pin of the sampling amplifier U4, and the other end of the sampling resistor R8 is connected to the second tube of the sampling amplifier U4. pin, the voltage conversion and logic control module are connected, the 4th pin of the sampling amplifier U4 is connected to the power network V2, the 5th pin of the sampling amplifier U4 is connected to the ground network, the sampling amplifier U4 The first pin of is connected to the fourth pin of the comparator U3 and the logic current limiting protection module 13 respectively. One end of the resistor R9 is connected to the power network V1, and the other end of the resistor R9 is connected to the resistor R10. One end of the resistor R10 is connected to the third pin of the comparator U3, the other end of the resistor R10 is connected to the ground network, the fifth pin of the comparator U3 is connected to the power supply network V1, and the comparator U3 The first pin is connected to the RXD interface of the host, and the second pin of the comparator U3 is connected to the ground network.

举例说明:信号采样接收模块14的功能实现以图7所设置的参数为例,通过U4检测R8两端的电压差△V,通过U4内部处理放大一定的倍数,通过U4的第1管脚输出到逻辑限流保护模块和比较器U3的第4管脚,R9和R10通过分压作用输出到U3的第3管脚参考电压Vref3=0.8V,当U3的第4管脚电压大于U3的第3管脚电压时,U3的第一管脚输出低电平,当U3的第4管脚电压小于U3的第3管脚电压时,U3的第一管脚输出高电平,将数据信号传输到主机的接收端,完成数据的接收功能。For example: the function implementation of the signal sampling receiving module 14 takes the parameters set in Figure 7 as an example. The voltage difference ΔV across R8 is detected through U4, amplified by a certain multiple through internal processing of U4, and output to the 1st pin of U4. The 4th pin of the logic current limiting protection module and comparator U3, R9 and R10 output to the 3rd pin of U3 through voltage division, the reference voltage Vref3 = 0.8V, when the 4th pin voltage of U3 is greater than the 3rd pin of U3 When the pin voltage is low, the first pin of U3 outputs a low level. When the voltage of the 4th pin of U3 is less than the voltage of the 3rd pin of U3, the first pin of U3 outputs a high level and transmits the data signal to The receiving end of the host completes the data receiving function.

在一个具体实施例中,所述电压转换及逻辑控制模块12包括第一运放模块U2、PMOS管K3、电阻器R4和R5。如图5所示,所述第一运放模块U2的第2管脚与所述电平控制参考模块连接,所述第一运放模块U2的第3管脚分别与所述逻辑限流保护模块、电阻器R4和R5连接点P1相连,所述第一运放模块U2的第4管脚与电源网路V2连接,所述第一运放模块U2的第5管脚与地网络连接,所述第一运放模块U2的第1管脚与所述PMOS管K3的栅极连接;所述PMOS管K3的源极分别与所述电阻器R4一端和所述M_BUS接口模块相连接,所述PMOS管K3的漏极与所述信号采样接收模块相连;所述电阻器R4的另一端与电阻器R5的一端相连接,电阻器R5的另一端分别与地网络和M_BUS接口模块相连接。In a specific embodiment, the voltage conversion and logic control module 12 includes a first operational amplifier module U2, a PMOS tube K3, and resistors R4 and R5. As shown in Figure 5, the second pin of the first operational amplifier module U2 is connected to the level control reference module, and the third pin of the first operational amplifier module U2 is connected to the logic current limiting protection module respectively. The module, resistors R4 and R5 are connected to the connection point P1, the 4th pin of the first operational amplifier module U2 is connected to the power network V2, the 5th pin of the first operational amplifier module U2 is connected to the ground network, The first pin of the first operational amplifier module U2 is connected to the gate of the PMOS tube K3; the source of the PMOS tube K3 is connected to one end of the resistor R4 and the M_BUS interface module, so The drain of the PMOS tube K3 is connected to the signal sampling receiving module; the other end of the resistor R4 is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the ground network and the M_BUS interface module respectively.

具体的,关键点P1、P2、P3的电压值大小可用以下公式表示:Specifically, the voltage values of key points P1, P2, and P3 can be expressed by the following formula:

VP3=0 (8)V P3 =0 (8)

其中Rmos为K3的内阻,VP1、VP2随着Rmos变化而动态变化。Among them, R mos is the internal resistance of K3, and VP1 and VP2 change dynamically as R mos changes.

举例说明:电压转换及逻辑控制模块12实现的功能通过比较U2的第2、第3管脚的输入值,决定第1管脚输出电平的高低,来控制K3的工作状态,进而通过R4和R5的分压作用,低功耗,准确的将发送数据传输至M_BUS接口模块。具体的以图7所设置的参数为例,当U2的第2管脚输入值Vref1=1V时,调整电压转换及逻辑控制模块内部电路工作在负反馈状态,K3工作在可变电阻区,此时K3的源极输出由公式(6)、(7)可得VP2为12V,P1点电压保持在1V,即U2的第3管脚电压在1V,此时输出到M_BUS接口模块的MBUS+电压为12V,MBUS-电压即VP3为0V;当U2的第2管脚输入值Vref1=3.2V时,调整电压转换及逻辑控制模块内部电路工作在负反馈状态,K3工作在饱和区,此时K3的源极输出为24V,通过R4和R5的分压作用,P1点电压为2V,即U2的第3管脚电压在2V,保持K3工作在饱和区,此时输出到M_BUS接口模块的MBUS+电压为24V,MBUS-电压为0V。另外逻辑限流保护模块一旦发出3.3V电压信号到U2的第3管脚,那么两种无论Vref1为1V还是3.2V,此时U2的第1管脚为24V,K3不导通,MBUS+和MBUS-均为0V,逻辑限流保护模块只有在后级电路短路或者其他导致大电流的故障时才会发出3.3V电压信号,进而实现来保护后级电路作用。For example: the function implemented by the voltage conversion and logic control module 12 controls the working state of K3 by comparing the input values of the second and third pins of U2 and determining the output level of the first pin, and then through R4 and The voltage dividing function of R5 has low power consumption and accurately transmits the sending data to the M_BUS interface module. Specifically, taking the parameters set in Figure 7 as an example, when the input value of the second pin of U2 Vref1 = 1V, the internal circuit of the adjustment voltage conversion and logic control module works in a negative feedback state, and K3 works in the variable resistance area. At this time, the source output of K3 can be obtained from formulas (6) and (7) that V P2 is 12V, and the voltage at point P1 remains at 1V, that is, the voltage of the third pin of U2 is at 1V. At this time, the MBUS+ voltage output to the M_BUS interface module is 12V, the MBUS-voltage that is V P3 is 0V; when the input value of the second pin of U2 Vref1 = 3.2V, the internal circuit of the adjustment voltage conversion and logic control module works in a negative feedback state, and K3 works in the saturation zone. At this time The source output of K3 is 24V. Through the voltage dividing effect of R4 and R5, the voltage at point P1 is 2V, that is, the voltage of the third pin of U2 is 2V. Keep K3 working in the saturation zone. At this time, it is output to the MBUS+ of the M_BUS interface module. The voltage is 24V, MBUS-voltage is 0V. In addition, once the logic current limiting protection module sends a 3.3V voltage signal to the third pin of U2, then whether Vref1 is 1V or 3.2V, the first pin of U2 is 24V at this time, K3 is not conductive, MBUS+ and MBUS - Both are 0V. The logic current limiting protection module will only send out a 3.3V voltage signal when the downstream circuit is short-circuited or other faults cause large currents, thereby protecting the downstream circuit.

在本发明实施例中,所述M_BUS接口模块15包括MBUS+接口和MBUS-接口。如图6所示,M_BUS接口模块主要包括可连接后极Mbus从机电路的接口端子,用于后级Mbus从机电路的接口。其中,所述PMOS管K3的源极与所述M_BUS接口模块的MBUS+接口相连接,所述电阻器R5的另一端与M_BUS接口模块的MBUS-接口相连接。In the embodiment of the present invention, the M_BUS interface module 15 includes an MBUS+ interface and an MBUS- interface. As shown in Figure 6, the M_BUS interface module mainly includes interface terminals that can be connected to the rear Mbus slave circuit, and are used for the interface of the rear Mbus slave circuit. Wherein, the source of the PMOS tube K3 is connected to the MBUS+ interface of the M_BUS interface module, and the other end of the resistor R5 is connected to the MBUS- interface of the M_BUS interface module.

进一步地,所述第一运放模块U2的第3管脚与所述逻辑限流保护模块的所述PMOS管K4的源极相连接。Further, the third pin of the first operational amplifier module U2 is connected to the source of the PMOS tube K4 of the logic current limiting protection module.

进一步地,所述Mbus接口控制电路还包括通信接口,所述电平控制参考模块的NMOS管K1的栅极通过所述通信接口与所述主机的TXD接口连接,所述信号采样接收模块的比较器U3的第1管脚通过所述通信接口与所述主机的RXD接口连接。Further, the Mbus interface control circuit also includes a communication interface. The gate of the NMOS tube K1 of the level control reference module is connected to the TXD interface of the host through the communication interface. The comparison of the signal sampling receiving module The first pin of the device U3 is connected to the RXD interface of the host through the communication interface.

本发明施例提供的Mbus接口控制电路,在主机不进行收发数据时,该电路不会工作,因而也不会产生静态损耗;在主机进行收发数据时,由于信号采样接收模块的反馈作用,使得逻辑限流保护模块跟电压转换及逻辑控制模块的配合,实现了电路自动限流保护的功能,且实现限流大小可调节,能够抑制和预防后极电路损坏的功能。电路在完成过流保护的检测和逻辑控制过程,响应速度快,可最大程度的降低损耗,且具有自恢复功能,由于逻辑控制均采用硬件电路实现的,大大提高了MBUS电路的稳定性和可靠性。The Mbus interface control circuit provided by the embodiment of the present invention will not work when the host is not sending and receiving data, and therefore will not produce static loss; when the host is sending and receiving data, due to the feedback effect of the signal sampling receiving module, The logic current limiting protection module cooperates with the voltage conversion and logic control module to realize the function of automatic current limiting protection of the circuit, and realizes the adjustable current limiting size, which can suppress and prevent damage to the rear pole circuit. When the circuit completes the detection and logic control process of over-current protection, it responds quickly, can reduce losses to the greatest extent, and has a self-recovery function. Since the logic control is implemented by hardware circuits, the stability and reliability of the MBUS circuit are greatly improved. sex.

本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Those skilled in the art will understand that, although some embodiments herein include certain features included in other embodiments but not others, combinations of features of different embodiments are meant to be within the scope of the invention and form Different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be used Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. The Mbus interface control circuit is characterized by comprising a voltage conversion and logic control module, and a level control reference module, a logic current limiting protection module, a signal sampling receiving module and an M_BUS interface module which are respectively connected with the voltage conversion and logic control module;
the level control reference module is connected with the host computer and used for generating reference voltage according to a control signal sent by the host computer and sending the reference voltage to the voltage conversion and logic control module;
the signal sampling receiving module is connected with the logic current limiting protection module and is used for sampling the current signal of the voltage conversion and logic control module, generating a data signal transmitted to a host according to the sampling signal and transmitting the sampling signal to the logic current limiting protection module;
the logic current limiting protection module is used for generating control voltage according to the sampling signal and sending the control voltage to the voltage conversion and logic control module;
the voltage conversion and logic control module is used for controlling the on-off of a current signal of the M_BUS interface module according to the reference voltage and the control voltage, and transmitting the current signal to the signal sampling receiving module;
the M_BUS interface module is used for connecting a post-stage MBUS slave circuit.
2. The Mbus interface control circuit according to claim 1, characterized in that the level control reference module includes resistors R1, R2, R3, R11, an NMOS tube K1 and a PMOS tube K2, the TXD interface of the host is connected to the gate of the NMOS tube K1, the source of the NMOS tube K1 is connected to the ground network, the drain of the NMOS tube K1 is connected to one end of the resistor R1, the other end of the resistor R1 is connected to the power network V1, the drain of the NMOS tube K1 is further connected to the gate of the PMOS tube K2, the drain of the PMOS tube K2 is connected to one end of the resistor R11, the other end of the resistor R11 is connected to the power network V1, the source of the PMOS tube K2 is connected to both the resistors R2, R3 and the voltage conversion and logic control module, the other end of the resistor R2 is connected to the power network V1, and the other end of the resistor R3 is connected to the ground network.
3. The Mbus interface control circuit according to claim 1, characterized in that the logic current limiting protection module comprises resistors R6 and R7, a comparator U1 and a PMOS tube K4, one end of the resistor R6 is connected to a power supply network V1, the other end is connected to one end of the resistor R7, the other end is simultaneously connected to a 3 rd pin of the comparator U1, the other end of the resistor R7 is connected to a ground network, a 4 th pin of the comparator U1 is connected to a signal sampling receiving module, a 5 th pin of the comparator U1 is connected to the power supply network V1, a 2 nd pin of the comparator U1 is connected to a ground network, a 1 st pin of the comparator U1 is connected to a gate of the PMOS tube K4, a drain of the PMOS tube K4 is connected to the power supply network V1, and a source of the PMOS tube K4 is connected to a voltage conversion and logic control module.
4. The Mbus interface control circuit according to claim 1, characterized in that the signal sampling receiving module comprises a sampling resistor R8, a comparator U3, a sampling amplifier U4 and resistors R9 and R10, wherein one end of the sampling resistor R8 is connected with a power supply network V2 and a 3 rd pin of the sampling amplifier U4 respectively, the other end of the sampling resistor R8 is connected with a 2 nd pin of the sampling amplifier U4 and the voltage conversion and logic control module respectively, a 4 th pin of the sampling amplifier U4 is connected with the power supply network V2, a 5 th pin of the sampling amplifier U4 is connected with a ground network, a 1 st pin of the sampling amplifier U4 is connected with a 4 th pin of the comparator U3 and a logic current limiting protection module respectively, one end of the resistor R9 is connected with a power supply network V1, the other end of the resistor R9 is connected with one end of the resistor R10 and a 3 rd ground network of the comparator U3 respectively, the other end of the resistor R10 is connected with a 3 rd pin of the comparator U4, the 5 th pin of the sampling amplifier U4 is connected with the power supply network V2, the 1 th pin of the comparator U3 is connected with the power supply network 3 rd pin of the comparator U1 and the interface is connected with the host.
5. The Mbus interface control circuit according to any one of claims 1-4, characterized in that the voltage conversion and logic control module includes a first operational amplifier module U2, a PMOS tube K3, and resistors R4 and R5, a 2 nd pin of the first operational amplifier module U2 is connected to the level control reference module, a 3 rd pin of the first operational amplifier module U2 is connected to a connection point P1 of the logic current limiting protection module and the resistors R4 and R5, a 4 th pin of the first operational amplifier module U2 is connected to a power network V2, a 5 th pin of the first operational amplifier module U2 is connected to a ground network, and a 1 st pin of the first operational amplifier module U2 is connected to a gate of the PMOS tube K3; the source electrode of the PMOS tube K3 is respectively connected with one end of the resistor R4 and the M_BUS interface module, and the drain electrode of the PMOS tube K3 is connected with the signal sampling receiving module; the other end of the resistor R4 is connected with one end of the resistor R5, and the other end of the resistor R5 is connected with a ground network and the M_BUS interface module respectively.
6. The Mbus interface control circuit according to claim 5, characterized in that the m_bus interface module includes an mbus+ interface and an Mbus-interface.
7. The Mbus interface control circuit according to claim 6, characterized in that the source of the PMOS transistor K3 is connected to the mbus+ interface of the m_bus interface module, and the other end of the resistor R5 is connected to the Mbus-interface of the m_bus interface module.
8. The Mbus interface control circuit according to claim 3, characterized in that the voltage conversion and logic control module includes a first operational amplifier module U2, a PMOS tube K3, and resistors R4 and R5, a 2 nd pin of the first operational amplifier module U2 is connected to the level control reference module, a 3 rd pin of the first operational amplifier module U2 is connected to a connection point P1 of the logic current limiting protection module, the resistors R4 and R5, a 4 th pin of the first operational amplifier module U2 is connected to a power network V2, a 5 th pin of the first operational amplifier module U2 is connected to a ground network, and a 1 st pin of the first operational amplifier module U2 is connected to a gate of the PMOS tube K3; the source electrode of the PMOS tube K3 is respectively connected with one end of the resistor R4 and the M_BUS interface module, and the drain electrode of the PMOS tube K3 is connected with the signal sampling receiving module; the other end of the resistor R4 is connected with one end of a resistor R5, and the other end of the resistor R5 is connected with a ground network and an M_BUS interface module respectively;
and the 3 rd pin of the first operational amplifier module U2 is connected with the source electrode of the PMOS tube K4 of the logic current limiting protection module.
9. The Mbus interface control circuit according to claim 5, further comprising a communication interface through which a gate of the NMOS tube K1 of the level control reference module is connected to the TXD interface of the host, and a 1 st pin of the comparator U3 of the signal sampling reception module is connected to the RXD interface of the host.
CN201811419039.1A 2018-11-26 2018-11-26 Mbus interface control circuit Active CN109471825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419039.1A CN109471825B (en) 2018-11-26 2018-11-26 Mbus interface control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419039.1A CN109471825B (en) 2018-11-26 2018-11-26 Mbus interface control circuit

Publications (2)

Publication Number Publication Date
CN109471825A CN109471825A (en) 2019-03-15
CN109471825B true CN109471825B (en) 2024-04-02

Family

ID=65673471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419039.1A Active CN109471825B (en) 2018-11-26 2018-11-26 Mbus interface control circuit

Country Status (1)

Country Link
CN (1) CN109471825B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111711420B (en) * 2020-06-22 2025-04-22 河南许继仪表有限公司 MBUS master node circuit with strong anti-interference capability

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998036489A1 (en) * 1997-02-18 1998-08-20 Dax Industries Improved motor control circuitry and circuitry enclosure
CN204013479U (en) * 2014-06-17 2014-12-10 比亚迪股份有限公司 Logic state produces circuit
CN209118269U (en) * 2018-11-26 2019-07-16 京信通信系统(中国)有限公司 A kind of Mbus interface control circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998036489A1 (en) * 1997-02-18 1998-08-20 Dax Industries Improved motor control circuitry and circuitry enclosure
CN204013479U (en) * 2014-06-17 2014-12-10 比亚迪股份有限公司 Logic state produces circuit
CN209118269U (en) * 2018-11-26 2019-07-16 京信通信系统(中国)有限公司 A kind of Mbus interface control circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于M-BUS的矿用超声波明渠流量计设计;徐乐年等;煤矿机电;20110812(第4期);第43-46、50页 *

Also Published As

Publication number Publication date
CN109471825A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
TWI428756B (en) Master/slave device communication circuit
CN106571803B (en) Over-voltage and under-voltage detection circuit
CN201536253U (en) USB overcurrent detection and control circuit
CN105139628A (en) MBUS circuit applied to host end
CN211508593U (en) Overcurrent and overvoltage self-locking protection circuit and adapter
CN115484513B (en) RS485 transceiver control circuit, communication device and electric energy meter
CN207114731U (en) A kind of BMS current detectings and current foldback circuit
CN205160395U (en) POE receives electric control circuit and POE power supply system
CN209118269U (en) A kind of Mbus interface control circuit
CN109471825B (en) Mbus interface control circuit
CN110456141A (en) A high-side overcurrent detection circuit and method thereof
CN205249247U (en) POE power supply system
CN203445844U (en) Mbus (meter bus) decoding circuit
CN112526203A (en) High-precision 4-20mA current signal acquisition circuit
CN209088518U (en) A kind of hardware Over Current Protection System for bidirectional current output
CN107681870A (en) A kind of power-supply system of parallel current-sharing
CN112491003B (en) Overcurrent control circuit and power manager
CN202331254U (en) Current-voltage conversion circuit with over-current protection circuit module
CN110867822A (en) PSU and BBU's way circuit and storage power supply that closes
CN113691275B (en) Digital signal transmission circuit and digital signal transmission device
CN206237188U (en) Ldo circuit
CN103872997A (en) Over standing-wave ratio protection circuit of power amplifier
CN203434951U (en) Wide voltage pulse reception isolated circuit
CN207910462U (en) Temperature measuring gauge RS485 communications protection circuits
CN103607337B (en) Bus signal receiver

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
TA01 Transfer of patent application right

Effective date of registration: 20200201

Address after: 510663 Guangzhou Science City, Guangdong Shenzhou Road, No. 10

Applicant after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangdong, Guangzhou

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Applicant before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Applicant before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant