WO2022037132A1 - Dual-bus communication and power supply mcu system - Google Patents

Dual-bus communication and power supply mcu system Download PDF

Info

Publication number
WO2022037132A1
WO2022037132A1 PCT/CN2021/092403 CN2021092403W WO2022037132A1 WO 2022037132 A1 WO2022037132 A1 WO 2022037132A1 CN 2021092403 W CN2021092403 W CN 2021092403W WO 2022037132 A1 WO2022037132 A1 WO 2022037132A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
fixed resistor
circuit
mcu
terminal
Prior art date
Application number
PCT/CN2021/092403
Other languages
French (fr)
Chinese (zh)
Inventor
罗绍仪
丁柱
颜胜
罗圣江
Original Assignee
杭州并坚科技有限公司
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 杭州并坚科技有限公司 filed Critical 杭州并坚科技有限公司
Publication of WO2022037132A1 publication Critical patent/WO2022037132A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40045Details regarding the feeding of energy to the node from the bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Definitions

  • the invention relates to the technical field of fire protection, in particular to a two-bus communication and power supply MCU system.
  • MCU is called a micro-control unit, also known as a single-chip microcomputer or a single-chip microcomputer. It appropriately reduces the frequency and specifications of the central processing unit, and integrates memory, counter, USB, A/D conversion, UART, PLC, DMA and other peripherals. Interfaces, and even LCD driver circuits are integrated on a single chip to form a chip-level computer, which can be controlled in different combinations for different applications.
  • a micro-control unit also known as a single-chip microcomputer or a single-chip microcomputer. It appropriately reduces the frequency and specifications of the central processing unit, and integrates memory, counter, USB, A/D conversion, UART, PLC, DMA and other peripherals. Interfaces, and even LCD driver circuits are integrated on a single chip to form a chip-level computer, which can be controlled in different combinations for different applications.
  • Such as mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepper motors, robotic arm control, etc., MCU can be seen.
  • fire emergency lighting and evacuation indication systems In order to protect people's safe and effective life and work, fire emergency lighting and evacuation indication systems, fire door monitoring systems, fire power monitoring systems, fire electrical fire systems, fire fire alarm systems, and intelligent lighting control systems are used. Widely used in production and life, various fire monitoring systems are controlled by MCU, and the existing equipment runs self-test to realize the detection function, the detection method is very inconvenient, and the detection accuracy is not ideal. With the rapid development of science and technology, the industry's safety requirements for fire monitoring systems are getting higher and higher. Therefore, providing a monitoring and detection control device with high detection accuracy and good stability has become an urgent issue for the industry to solve.
  • the purpose of the present invention is to provide a two-bus communication and power supply MCU system.
  • the invention has the characteristics of high detection precision and good stability.
  • a two-bus communication and power supply MCU system comprising an intermediate control module, a terminal module and a bus power communication circuit, the intermediate control module is connected to external equipment through serial communication, and the intermediate control module is connected through a bus
  • the power communication circuit is connected with the terminal module for communication and power supply;
  • the intermediate control module includes a first driving circuit module, a first decoding circuit module and a first MCU module with a serial communication module;
  • the first MCU module is communicatively connected with the external device through the serial port communication module, and is used for receiving the device command of the external device and simultaneously transmitting the command information to the external device;
  • the first decoding circuit module is connected between the bus signal terminal of the bus power communication circuit and the decoding input port of the first MCU module, and is used for converting the signal output by the bus power communication circuit into a signal identifiable by the first MCU module;
  • the first driving circuit module is connected between the bus signal terminal of the bus power communication circuit and the signal sending port of the first MCU module; it is used for driving the bus power communication circuit to send high and low pulse signals to the terminal module;
  • the terminal module includes an RX-TX circuit module, a DC-DC circuit module, an open-circuit and short-circuit detection module, a second driving circuit module and a second MCU module;
  • the DC-DC circuit module is connected with the second MCU module, and is used for voltage drop on the terminal module;
  • the RX-TX circuit module is connected between the bus signal terminal of the bus power communication circuit and the second MCU module, and is used for receiving the high and low pulse signals sent by the bus power communication circuit and decoding, and is controlled by the second MCU module to the bus.
  • the power communication circuit sends a return information signal;
  • the open-circuit and short-circuit detection module is respectively connected with the second driving circuit module and the second MCU module, and is used for outputting a signal indicating the failure of the second driving circuit module to the second MCU module when an open-circuit or short-circuit fault occurs in the second driving circuit module ;
  • the second driving circuit module is connected with the second MCU module, and is used for driving and outputting different currents.
  • the first decoding circuit module includes a first fixed resistance R 1 , a second fixed resistance R 2 , a third fixed resistance R 3 , a fourth fixed resistance R 4 , and a fifth fixed resistance R 4 .
  • Resistor R 5 first diode D 1 , second diode D 2 and first transistor VT 1 ; one end of the first fixed resistor R 1 is connected to the anode of the second diode D 2 , and the first fixed resistor R 1 is connected to the anode of the second diode D 2 .
  • the cathodes of the two diodes D2 are connected to the reference voltage V0 voltage terminal; the other end of the first fixed resistor R1 is grounded; the cathodes of the first diodes D1 are connected to the anodes of the second diodes D2;
  • the anode of a diode D1 is connected to one end of the second fixed resistor R2, the other end of the second fixed resistor R2 is connected to the signal input terminal V i ;
  • one end of the third fixed resistor R3 is connected to the signal input terminal V i is connected, and the other end of the third fixed resistor R3 is connected to the emitter of the first transistor VT1, and the base of the first transistor VT1 is connected to the non-ground terminal of the first fixed resistor R1;
  • One ends of the fourth fixed resistor R4 and the fifth fixed resistor R5 are respectively connected to the collector of the first transistor VT1, the other end of the fourth fixed resistor R4 is grounded, and the other end of the fifth fixed resistor R5
  • the RX-TX circuit module includes a sixth fixed resistor R 6 , a seventh fixed resistor R 7 , an eighth fixed resistor R 8 , a ninth fixed resistor R 9 , and a tenth fixed resistor R 9 .
  • Resistor R 10 Zener diode D 3 , second transistor VT 2 and third transistor VT 3 ; one end of the seventh fixed resistor R 7 , the eighth fixed resistor R 8 , and the ninth fixed resistor R 9 Grounding; the emitter of the third triode VT3 is grounded; the base of the second triode VT2 is connected to one end of the sixth fixed resistor R6, and the other end of the sixth fixed resistor R6 is connected with POUT output terminal, the POUT output terminal is connected to the POUT pin on the second MCU module; the emitter of the second transistor VT2 is connected to the other end of the seventh fixed resistor R7 , the second three
  • the collector of the diode VT2 is respectively connected with the cathode of the zener diode D3 and the other end of the eighth fixed resistor R8 , the anode of the zener diode D3 and the other end of the ninth fixed resistor R9 are respectively is connected with the base of the third triode VT3 ; the collector
  • the present invention has the following advantages:
  • the present invention uses the terminal module to issue a detection instruction, the detection instruction is decoded by the RX-TX circuit module, and the decoded detection instruction is transmitted to the intermediate control module through the transmission of the bus power communication circuit, and the intermediate control module passes the first decoding circuit module.
  • the detection instruction is decoded, and the decoded detection instruction is transmitted to the first MCU module.
  • the first MCU module transmits the detection instruction information data to the external device through serial communication.
  • the external device generates an action signal according to the corresponding detection command, and the action signal passes through
  • the serial communication is transmitted to the intermediate control module; then the intermediate control module converts the high and low pulse signals to the terminal module according to the received action signal transmission of the external device, and the RX-TX circuit module in the terminal module responds to the high and low pulses transmitted by the bus power communication circuit.
  • the signal is decoded, and the decoded information data is transmitted to the second MCU module, and the second MCU module obtains the detection result of the external device according to the decoded action signal.
  • the present invention also makes specific improvements to each circuit, so that the present invention has the characteristics of high detection accuracy and good stability.
  • the invention combines the power supply line and the signal line into one through the bus power communication circuit, realizes the technology of sharing one bus for the signal and the power supply, saves the cost of construction and cables, and brings great benefits to the on-site construction and later maintenance.
  • the bus power communication circuit has strong anti-interference ability, no need to isolate the power supply and the signal line, saves the cost of isolation, greatly reduces the cable requirements, and is easier and more reliable for on-site construction wiring, and saves labor and construction costs; Flexible wiring, support star, tree, bus topology, and has the characteristics of long communication distance.
  • the present invention converts the signal output by the bus power communication circuit into a signal identifiable by the first MCU module by setting a specific first decoding circuit module.
  • the ordinary decoding circuit amplifies the signal through the ordinary differential, but due to the difference of the IC itself and the influence of temperature, the CK will have a misjudgment, and the first decoding circuit module in the present invention does not cause misjudgment due to the difference of the device, and the stability is strong, so it is extremely stable. Greatly improved detection accuracy.
  • the present invention can send and return codes with small current to the bus power communication circuit by setting a specific RX-TX circuit module.
  • Fig. 1 is a system block diagram of the present invention
  • FIG. 2 is a circuit diagram of a first decoding circuit module
  • Fig. 3 is the circuit diagram of RX-TX circuit module
  • FIG. 4 is a circuit diagram of a terminal module.
  • a two-bus communication and power supply MCU system as shown in Figures 1-4, includes an intermediate control module 2, a terminal module 3 and a bus power communication circuit 4, and the intermediate control module 2 communicates with the external device 1 through serial port communication. Communication connection, the intermediate control module 2 communicates and supplies power to the terminal module 3 through the bus power communication circuit 4; the intermediate control module 2 includes a first drive circuit module 5, a first decoding circuit module 6 and a serial port communication module the first MCU module 8 of the module 7;
  • the first MCU module 8 is communicated and connected with the external device 1 through the serial port communication module 7, and is used to receive the device instruction of the external device 1 and transmit the instruction information to the external device 1 at the same time;
  • the first decoding circuit module 6 is connected between the bus signal terminal of the bus power communication circuit 4 and the decoding input port of the first MCU module 8, and is used to convert the signal output by the bus power communication circuit 4 into the first MCU module 8. identifiable signals;
  • the first drive circuit module 5 is connected between the bus signal terminal of the bus power communication circuit 4 and the signal sending port of the first MCU module 8; it is used to drive the bus power communication circuit 4 to send high and low pulse signals to the terminal module 3;
  • the terminal module 3 includes an RX-TX circuit module 9 , a DC-DC circuit module 10 , an open-circuit short-circuit detection module 11 , a second driving circuit module 12 and a second MCU module 13 ;
  • FIG. 4 is a circuit diagram of the terminal module 3 .
  • the circuit a is the LED light source circuit module
  • the circuit b is the rectifier circuit module
  • the circuit c is the step-down circuit module
  • the 1 pin in the circuit diagram is the PBJ (TX) pin
  • the 2 pin is the RST pin
  • the 3 pin is the PBJ (TX) pin.
  • the DC-DC circuit module 10 is connected with the second MCU module 13, and is used for voltage drop on the terminal module 3;
  • the RX-TX circuit module 9 is connected between the bus signal terminal of the bus power communication circuit 4 and the second MCU module 13, and is used to receive and decode the high and low pulse signals sent by the bus power communication circuit 4.
  • the module 13 controls to send a return information signal to the bus power communication circuit 4;
  • the open-circuit and short-circuit detection module 11 is respectively connected with the second driving circuit module 12 and the second MCU module 13, and is used for outputting to the second MCU module 13 when an open-circuit or short-circuit fault occurs in the second driving circuit module 12 indicating the second driving circuit
  • the signal of the failure of the module 12 can be uploaded through the software of the loop failure of the second driving circuit module 12 .
  • the second driving circuit module 12 is connected to the second MCU module 13 for driving and outputting different currents, and the second driving circuit module 12 has a short-circuit and open-circuit protection function.
  • the present invention uses the terminal module 3 to issue a detection command, the detection command is decoded by the RX-TX circuit module 9, and the decoded information data is transmitted to the intermediate control module 2 through the transmission of the bus power communication circuit 4, and then the intermediate control module 2 passes the first A decoding circuit module 6 decodes the information data sent by the bus power communication circuit 4, and transmits the decoded information data to the first MCU module 8, then the first MCU module 8 transmits the detection instruction information data to the external through serial communication device 1, the external device 1 performs the corresponding device self-test, and transmits the device self-test result data of the external device 1 to the intermediate control module 2 through serial communication; then the intermediate control module 2 receives the device self-test of the external device 1 according to the device self-test For the result data, the first MCU module 8 controls the first drive circuit module 5 to drive the bus power communication circuit 4, and the bus power communication circuit 4 generates the corresponding high and low pulse signals of the device self-test result data to the terminal module 3, then the terminal module 3
  • the invention has the characteristics of high integration, high detection precision and good stability.
  • the power supply line and the signal line are combined into one through the bus power communication circuit 4, realizing the technology of sharing one bus for the signal and the power supply, saving construction and cable costs at the same time, and bringing great benefits to on-site construction and later maintenance.
  • the bus power communication circuit has strong anti-interference ability, no need to isolate the power supply and the signal line, saves the cost of isolation, greatly reduces the cable requirements, and is easier and more reliable for on-site construction wiring, and saves labor and construction costs. ;
  • it can also be flexibly wired, support star, tree, bus topology, can carry out long-distance communication power supply connection, and has the characteristics of long communication distance.
  • the first decoding circuit module 6 includes a first fixed resistor R 1 , a second fixed resistor R 2 , a third fixed resistor R 3 , a fourth fixed resistor R 4 , a fifth fixed resistor R 5 , a first diode D 1 , a second diode D 2 and a first transistor VT 1 ;
  • One end of the first fixed resistor R1 is connected to the anode of the second diode D2, and the cathode of the second diode D2 is connected to the reference voltage V0 voltage terminal; the other end of the first fixed resistor R1 is grounded; the reference The voltage terminal of the voltage V 0 is connected to the output voltage terminal of the first MCU module 8 .
  • the cathode of the first diode D1 is connected to the anode of the second diode D2, the anode of the first diode D1 is connected to one end of the second fixed resistor R2, and the other end of the second fixed resistor R2 is connected.
  • One end is connected to the signal input end V i ; wherein the signal input end V i is connected to the signal end of the bus signal end of the bus power communication circuit 4 .
  • One end of the third fixed resistor R3 is connected to the signal input terminal Vi , the other end of the third fixed resistor R3 is connected to the emitter of the transistor VT1, and the base of the first transistor VT1 is connected to the first transistor VT1.
  • the pulse signal terminal output terminal CK is connected, and the pulse signal terminal output terminal CK is connected with the signal input terminal of the first MCU module.
  • V 0 is low
  • CK is high
  • V 0 is high
  • CK is low.
  • the present invention converts the signal output by the bus power communication circuit into a signal identifiable by the first MCU module by setting a specific first decoding circuit module.
  • the first decoding circuit module is Amplifying the signal through ordinary differential, but due to the difference of the IC itself and the influence of temperature, CK will be misjudged, and the first decoding circuit module in the present invention does not cause misjudgment due to the difference of the device, and the stability is strong, thereby greatly improving the high detection accuracy.
  • the RX-TX circuit module 9 includes a sixth fixed resistance R 6 , a seventh fixed resistance R 7 , an eighth fixed resistance R 8 , a ninth fixed resistance R 9 , a tenth fixed resistance R 10 , Zener diode D 3 , second transistor VT 2 and third transistor VT 3 ; one end of the seventh fixed resistor R 7 , the eighth fixed resistor R 8 and the ninth fixed resistor R 9 is grounded; the The emitter of the third transistor VT3 is grounded; the base of the second transistor VT2 is connected to one end of the sixth fixed resistor R6, and the other end of the sixth fixed resistor R6 is connected to the POUT output terminal, The POUT output terminal is connected with the POUT pin on the second MCU module 13; the emitter of the second transistor VT2 is connected with the other end of the seventh fixed resistor R7 , and the second transistor VT2 is connected to the other end of the seventh fixed resistor R7.
  • the collector of 2 is respectively connected with the cathode of the zener diode D3 and the other end of the eighth fixed resistor R8 , and the anode of the zener diode D3 and the other end of the ninth fixed resistor R9 are respectively connected with the
  • the base of the third triode VT3 is connected; the collector of the third triode VT3 is connected to one end of the tenth fixed resistor R10, and is connected to the PIN in input end, and the PINin input end is connected to the first end of the tenth fixed resistor R10.
  • the PIN in pins on the two MCU modules 13 are connected; the other end of the tenth fixed resistor R10 is connected with the VDD voltage terminal.
  • a specific RX-TX circuit module 9 a small current can be sent and returned to the bus power communication circuit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Dc Digital Transmission (AREA)

Abstract

Disclosed is a dual-bus communication and power supply MCU system, comprising an intermediate control module, a terminal module, and a bus power supply communication circuit. The intermediate control module is communicatively connected to an external device via serial communication. The intermediate control module is communicatively and power connected to the terminal module via a bus power supply communication circuit. The intermediate control module comprises: a first driving circuit module, a first decoding circuit module, and a first MCU module having a serial communication module. The first MCU module is communicatively connected to the external device via the serial communication module and is used for receiving a device instruction of the external device and, at the same time, issuing a control instruction to the external device. The terminal module comprises an RX-TX circuit module, a DC-DC circuit module, an open circuit and short circuit detection module, a second driving circuit module, and a second MCU module. The present invention is characterized by high detection precision and great stability.

Description

一种二总线通信和供电MCU系统A two-bus communication and power supply MCU system 技术领域technical field
本发明涉及消防技术领域,特别涉及一种二总线通信和供电MCU系统。The invention relates to the technical field of fire protection, in particular to a two-bus communication and power supply MCU system.
背景技术Background technique
MCU被称为微控制单元,又称单片微型计算机或者单片机,是把中央处理器的频率与规格做适当缩减,并将内存、计数器、USB、A/D转换、UART、PLC、DMA等周边接口,甚至LCD驱动电路都整合在单一芯片上,形成芯片级的计算机,为不同的应用场合做不同组合控制。诸如手机、PC外围、遥控器,汽车电子、工业上的步进马达、机器手臂的控制等等,都可见到MCU的身影。另外为了保护人们进行安全有效的生活和工作,消防应急照明与疏散指示系统、消防防火门监控系统、消防电源监控系统、消防电气火灾系统、消防火灾报警系统以及智能照明控制系统等等消防系统被广泛运用到生产生活当中,各种消防监控系统都是通过MCU进行控制的,而现有设备运行自检来实现检测功能,检测手段非常不方便,而且检测精度也不理想。随着科学技术的日新月异,行业对消防监控系统的安全需求越来越高,由此提供一种检测精度高、稳定性好的监控检测控制装置,成为了行业亟待解决的课题。MCU is called a micro-control unit, also known as a single-chip microcomputer or a single-chip microcomputer. It appropriately reduces the frequency and specifications of the central processing unit, and integrates memory, counter, USB, A/D conversion, UART, PLC, DMA and other peripherals. Interfaces, and even LCD driver circuits are integrated on a single chip to form a chip-level computer, which can be controlled in different combinations for different applications. Such as mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepper motors, robotic arm control, etc., MCU can be seen. In addition, in order to protect people's safe and effective life and work, fire emergency lighting and evacuation indication systems, fire door monitoring systems, fire power monitoring systems, fire electrical fire systems, fire fire alarm systems, and intelligent lighting control systems are used. Widely used in production and life, various fire monitoring systems are controlled by MCU, and the existing equipment runs self-test to realize the detection function, the detection method is very inconvenient, and the detection accuracy is not ideal. With the rapid development of science and technology, the industry's safety requirements for fire monitoring systems are getting higher and higher. Therefore, providing a monitoring and detection control device with high detection accuracy and good stability has become an urgent issue for the industry to solve.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于,提供一种二总线通信和供电MCU系统。本发明具有检测精度高、稳定性好的特点。The purpose of the present invention is to provide a two-bus communication and power supply MCU system. The invention has the characteristics of high detection precision and good stability.
本发明的技术方案:一种二总线通信和供电MCU系统,包括中间控制模块、终端模块和总线电源通信电路,所述中间控制模块经串口通信与外部设备通信连接,所述中间控制模块经总线电源通信电路与终端模块进行通信和供电连接;所述中间控制模块包括第一驱动电路模块、第一解码电路模块和带有串口通信模块的第一MCU模块;The technical scheme of the present invention: a two-bus communication and power supply MCU system, comprising an intermediate control module, a terminal module and a bus power communication circuit, the intermediate control module is connected to external equipment through serial communication, and the intermediate control module is connected through a bus The power communication circuit is connected with the terminal module for communication and power supply; the intermediate control module includes a first driving circuit module, a first decoding circuit module and a first MCU module with a serial communication module;
所述第一MCU模块经串口通信模块与外部设备通信连接,用于接收外部设备的设备指令,同时向外部设备传送指令信息;The first MCU module is communicatively connected with the external device through the serial port communication module, and is used for receiving the device command of the external device and simultaneously transmitting the command information to the external device;
所述第一解码电路模块连接在总线电源通信电路的总线信号端与第一MCU模块的解码输入口之间,用于将总线电源通信电路输出的信号转换成第一MCU模块可识别的信号;The first decoding circuit module is connected between the bus signal terminal of the bus power communication circuit and the decoding input port of the first MCU module, and is used for converting the signal output by the bus power communication circuit into a signal identifiable by the first MCU module;
所述第一驱动电路模块连接在总线电源通信电路的总线信号端与第一MCU模块的信号发出口之间;用于驱动总线电源通信电路向终端模块发出高低脉冲信号;The first driving circuit module is connected between the bus signal terminal of the bus power communication circuit and the signal sending port of the first MCU module; it is used for driving the bus power communication circuit to send high and low pulse signals to the terminal module;
所述终端模块包括RX-TX电路模块、DC-DC电路模块、开路短路检测模块、第二驱动电路模块和第二MCU模块;The terminal module includes an RX-TX circuit module, a DC-DC circuit module, an open-circuit and short-circuit detection module, a second driving circuit module and a second MCU module;
所述DC-DC电路模块与第二MCU模块相连,用于对终端模块进行压降;The DC-DC circuit module is connected with the second MCU module, and is used for voltage drop on the terminal module;
所述RX-TX电路模块连接在总线电源通信电路的总线信号端与第二MCU模块之间,用于接收总线电源通信电路发出的高低脉冲信号并进行解码,同时由第二MCU模块控制向总线电源通信电路发出返回信息信号;The RX-TX circuit module is connected between the bus signal terminal of the bus power communication circuit and the second MCU module, and is used for receiving the high and low pulse signals sent by the bus power communication circuit and decoding, and is controlled by the second MCU module to the bus. The power communication circuit sends a return information signal;
所述开路短路检测模块分别与第二驱动电路模块和第二MCU模块相连,用于在第二驱动电路模块发生开路或短路故障时向第二MCU模块输出表示第二驱动电路模块发生故 障的信号;The open-circuit and short-circuit detection module is respectively connected with the second driving circuit module and the second MCU module, and is used for outputting a signal indicating the failure of the second driving circuit module to the second MCU module when an open-circuit or short-circuit fault occurs in the second driving circuit module ;
所述第二驱动电路模块与第二MCU模块相连,用于驱动输出不同的电流。The second driving circuit module is connected with the second MCU module, and is used for driving and outputting different currents.
上述的二总线通信和供电MCU系统中,所述第一解码电路模块包括第一固定电阻R 1、第二固定电阻R 2、第三固定电阻R 3、第四固定电阻R 4、第五固定电阻R 5、第一二极管D 1、第二二极管D 2和第一三极管VT 1;所述第一固定电阻R 1一端与第二二极管D 2的阳极连接,第二二极管D 2的阴极连接有参考电压V 0电压端;第一固定电阻R 1另一端接地;所述第一二极管D 1阴极与第二二极管D 2的阳极连接,第一二极管D 1的阳极与第二固定电阻R 2的一端连接,第二固定电阻R 2的另一端连接信号输入端V i;所述第三固定电阻R 3的一端与信号输入端V i连接,第三固定电阻R 3的另一端与第一三极管VT 1的发射极连接,所述第一三极管VT 1的基极与第一固定电阻R 1的非接地端连接;所述第四固定电阻R 4和第五固定电阻R 5的一端分别与第一三极管VT 1集电极连接,第四固定电阻R 4的另一端接地,第五固定电阻R 5的另一端连接有脉冲信号端输出端CK。 In the above-mentioned two-bus communication and power supply MCU system, the first decoding circuit module includes a first fixed resistance R 1 , a second fixed resistance R 2 , a third fixed resistance R 3 , a fourth fixed resistance R 4 , and a fifth fixed resistance R 4 . Resistor R 5 , first diode D 1 , second diode D 2 and first transistor VT 1 ; one end of the first fixed resistor R 1 is connected to the anode of the second diode D 2 , and the first fixed resistor R 1 is connected to the anode of the second diode D 2 . The cathodes of the two diodes D2 are connected to the reference voltage V0 voltage terminal; the other end of the first fixed resistor R1 is grounded; the cathodes of the first diodes D1 are connected to the anodes of the second diodes D2; The anode of a diode D1 is connected to one end of the second fixed resistor R2, the other end of the second fixed resistor R2 is connected to the signal input terminal V i ; one end of the third fixed resistor R3 is connected to the signal input terminal V i is connected, and the other end of the third fixed resistor R3 is connected to the emitter of the first transistor VT1, and the base of the first transistor VT1 is connected to the non-ground terminal of the first fixed resistor R1; One ends of the fourth fixed resistor R4 and the fifth fixed resistor R5 are respectively connected to the collector of the first transistor VT1, the other end of the fourth fixed resistor R4 is grounded, and the other end of the fifth fixed resistor R5 The output terminal CK of the pulse signal terminal is connected.
前述的二总线通信和供电MCU系统中,所述RX-TX电路模块包括第六固定电阻R 6、第七固定电阻R 7、第八固定电阻R 8、第九固定电阻R 9、第十固定电阻R 10、稳压二极管D 3、第二三极管VT 2和第三三极管VT 3;所述第七固定电阻R 7、第八固定电阻R 8、第九固定电阻R 9的一端接地;所述第三三极管VT 3的发射极接地;所述第二三极管VT 2的基极与第六固定电阻R 6的一端连接,第六固定电阻R 6的另一端连接有POUT输出端,所述POUT输出端与第二MCU模块上的POUT引脚连接;所述第二三极管VT 2的发射极与第七固定电阻R 7的另一端连接,所述第二三极管VT 2的集电极分别同稳压二极管D 3的阴极、第八固定电阻R 8的另一端连接,所述稳压二极管D 3的阳极和所述第九固定电阻R 9的另一端分别与所述第三三极管VT 3的基极连接;所述第三三极管VT 3的集电极与第十固定电阻R 10的一端连接,并连接有PIN in输入端,所述PIN in输入端与第二MCU模块上的PIN in引脚连接;所述第十固定电阻R 10的另一端连接有VDD电压端。 In the aforementioned two-bus communication and power supply MCU system, the RX-TX circuit module includes a sixth fixed resistor R 6 , a seventh fixed resistor R 7 , an eighth fixed resistor R 8 , a ninth fixed resistor R 9 , and a tenth fixed resistor R 9 . Resistor R 10 , Zener diode D 3 , second transistor VT 2 and third transistor VT 3 ; one end of the seventh fixed resistor R 7 , the eighth fixed resistor R 8 , and the ninth fixed resistor R 9 Grounding; the emitter of the third triode VT3 is grounded; the base of the second triode VT2 is connected to one end of the sixth fixed resistor R6, and the other end of the sixth fixed resistor R6 is connected with POUT output terminal, the POUT output terminal is connected to the POUT pin on the second MCU module; the emitter of the second transistor VT2 is connected to the other end of the seventh fixed resistor R7 , the second three The collector of the diode VT2 is respectively connected with the cathode of the zener diode D3 and the other end of the eighth fixed resistor R8 , the anode of the zener diode D3 and the other end of the ninth fixed resistor R9 are respectively is connected with the base of the third triode VT3 ; the collector of the third triode VT3 is connected with one end of the tenth fixed resistor R10, and is connected with the PIN in input end, the PIN in The input end is connected to the PIN in pin on the second MCU module; the other end of the tenth fixed resistor R10 is connected to the VDD voltage end.
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
1、本发明利用终端模块发出检测指令,检测指令经RX-TX电路模块进行解码,通过总线电源通信电路传输将解码后的检测指令传递给中间控制模块,中间控制模块通过第一解码电路模块对检测指令进行解码,并将解码后的检测指令传递至第一MCU模块,第一MCU模块通过串口通信将检测指令信息数据传递给外部设备,外部设备根据相应的检测指令生成动作信号,动作信号通过串口通信向中间控制模块传递;然后中间控制模块根据接收到的外部设备的动作信号传输转换成高低脉冲信号给终端模块,终端模块中的RX-TX电路模块对总线电源通信电路传输来的高低脉冲信号进行解码,并将解码后的信息数据传递给第二MCU模块,第二MCU模块则根据解码后的动作信号得到外部设备的检测结果。此外,本发明还对各个电路进行了具体改进,使得本发明具有检测精度高、稳定性好的特点。本发明通过总线电源通信电路将供电线与信号线合二为一,实现了信号和供电共用一个总线的技术,同时节省了施工和线缆成本,给现场施工和后期维护带来了极大的便利,总线电源通信电路具有抗干扰能力强,无需电源与信号线隔离,节省隔离成本,对线缆要求大大降低,对现场施工布线更容易,更可靠,也更节省人工和施工费用;此外还可灵活布线,支持星形,树形,总线型拓扑,并具有通讯距离远的特点。1. The present invention uses the terminal module to issue a detection instruction, the detection instruction is decoded by the RX-TX circuit module, and the decoded detection instruction is transmitted to the intermediate control module through the transmission of the bus power communication circuit, and the intermediate control module passes the first decoding circuit module. The detection instruction is decoded, and the decoded detection instruction is transmitted to the first MCU module. The first MCU module transmits the detection instruction information data to the external device through serial communication. The external device generates an action signal according to the corresponding detection command, and the action signal passes through The serial communication is transmitted to the intermediate control module; then the intermediate control module converts the high and low pulse signals to the terminal module according to the received action signal transmission of the external device, and the RX-TX circuit module in the terminal module responds to the high and low pulses transmitted by the bus power communication circuit. The signal is decoded, and the decoded information data is transmitted to the second MCU module, and the second MCU module obtains the detection result of the external device according to the decoded action signal. In addition, the present invention also makes specific improvements to each circuit, so that the present invention has the characteristics of high detection accuracy and good stability. The invention combines the power supply line and the signal line into one through the bus power communication circuit, realizes the technology of sharing one bus for the signal and the power supply, saves the cost of construction and cables, and brings great benefits to the on-site construction and later maintenance. Convenient, the bus power communication circuit has strong anti-interference ability, no need to isolate the power supply and the signal line, saves the cost of isolation, greatly reduces the cable requirements, and is easier and more reliable for on-site construction wiring, and saves labor and construction costs; Flexible wiring, support star, tree, bus topology, and has the characteristics of long communication distance.
2、本发明通过设置特定的第一解码电路模块来将总线电源通信电路输出的信号 转换成第一MCU模块可识别的信号,该第一解码电路模块与普通的解码电路相比,普通的解码电路是通过普通差分放大信号的,但是由于IC本身差异性及温度影响,CK会有误判断,而本发明中的第一解码电路模块不因器件差异性造成误判断,稳定性强,从而极大地提高了检测精度高。2. The present invention converts the signal output by the bus power communication circuit into a signal identifiable by the first MCU module by setting a specific first decoding circuit module. Compared with the ordinary decoding circuit, the ordinary decoding The circuit amplifies the signal through the ordinary differential, but due to the difference of the IC itself and the influence of temperature, the CK will have a misjudgment, and the first decoding circuit module in the present invention does not cause misjudgment due to the difference of the device, and the stability is strong, so it is extremely stable. Greatly improved detection accuracy.
3、本发明通过设置特定的RX-TX电路模块来对总线电源通信电路能够进行小电流的发码回码。3. The present invention can send and return codes with small current to the bus power communication circuit by setting a specific RX-TX circuit module.
附图说明Description of drawings
图1是本发明的系统框图;Fig. 1 is a system block diagram of the present invention;
图2是第一解码电路模块的电路图;2 is a circuit diagram of a first decoding circuit module;
图3是RX-TX电路模块的电路图;Fig. 3 is the circuit diagram of RX-TX circuit module;
图4是终端模块的电路图。FIG. 4 is a circuit diagram of a terminal module.
1、外部设备;2、中间控制模块;3、终端模块;4、总线电源通信电路;5、第一驱动电路模块;6、第一解码电路模块;7、串口通信模块;8、第一MCU模块;9、RX-TX电路模块;10、DC-DC电路模块;11、开路短路检测模块;12、第二驱动电路模块;13、第二MCU模块。1. External equipment; 2. Intermediate control module; 3. Terminal module; 4. Bus power communication circuit; 5. First drive circuit module; 6. First decoding circuit module; 7. Serial communication module; 8. First MCU module; 9. RX-TX circuit module; 10. DC-DC circuit module; 11. Open-circuit and short-circuit detection module; 12. Second driving circuit module; 13. Second MCU module.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的说明,但并不作为对本发明限制的依据。The present invention will be further described below in conjunction with the accompanying drawings and embodiments, but not as a basis for limiting the present invention.
实施例:一种二总线通信和供电MCU系统,如图1-4所示,包括中间控制模块2、终端模块3和总线电源通信电路4,所述中间控制模块2经串口通信与外部设备1通信连接,所述中间控制模块2经总线电源通信电路4与终端模块3进行通信和供电连接;所述中间控制模块2包括第一驱动电路模块5、第一解码电路模块6和带有串口通信模块7的第一MCU模块8;Embodiment: A two-bus communication and power supply MCU system, as shown in Figures 1-4, includes an intermediate control module 2, a terminal module 3 and a bus power communication circuit 4, and the intermediate control module 2 communicates with the external device 1 through serial port communication. Communication connection, the intermediate control module 2 communicates and supplies power to the terminal module 3 through the bus power communication circuit 4; the intermediate control module 2 includes a first drive circuit module 5, a first decoding circuit module 6 and a serial port communication module the first MCU module 8 of the module 7;
所述第一MCU模块8经串口通信模块7与外部设备1通信连接,用于接收外部设备1的设备指令,同时向外部设备1传送指令信息;The first MCU module 8 is communicated and connected with the external device 1 through the serial port communication module 7, and is used to receive the device instruction of the external device 1 and transmit the instruction information to the external device 1 at the same time;
所述第一解码电路模块6连接在总线电源通信电路4的总线信号端与第一MCU模块8的解码输入口之间,用于将总线电源通信电路4输出的信号转换成第一MCU模块8可识别的信号;The first decoding circuit module 6 is connected between the bus signal terminal of the bus power communication circuit 4 and the decoding input port of the first MCU module 8, and is used to convert the signal output by the bus power communication circuit 4 into the first MCU module 8. identifiable signals;
所述第一驱动电路模块5连接在总线电源通信电路4的总线信号端与第一MCU模块8的信号发出口之间;用于驱动总线电源通信电路4向终端模块3发出高低脉冲信号;The first drive circuit module 5 is connected between the bus signal terminal of the bus power communication circuit 4 and the signal sending port of the first MCU module 8; it is used to drive the bus power communication circuit 4 to send high and low pulse signals to the terminal module 3;
所述终端模块3包括RX-TX电路模块9、DC-DC电路模块10、开路短路检测模块11、第二驱动电路模块12和第二MCU模块13;图4为终端模块3的电路图。其中电路a是LED光源电路模块,电路b是整流电路模块,电路c是降压电路模块;该电路图中的1引脚为PBJ(TX)引脚,2引脚为RST引脚;3引脚为PD0(X1)引脚;4引脚为PD1(X2)引脚;5引脚为VCAP引脚;6引脚为VSS引脚;7引脚为VDDM引脚;8引脚为PA6(RX)引脚;9引脚为VDD引脚;10引脚为FB引脚;11引脚为GND引脚;12引脚为SW引脚;13引脚为VCC1引脚;14引脚为VCC1引脚;15引脚为Vin引脚;17引脚为LOUT引脚;18引脚为COUT引脚;19引脚为ROUT引脚;20引脚为C&L引脚;21引脚为C&C引脚;22引脚为C&R引脚;23引脚为PBI(ADC9)引脚;24引脚为PA13(D10)引脚;25引脚为PA14(SCK)引脚;26引脚为PB3引脚;27引脚为PB4(BT0)引脚;28引脚为PB6(REC)引脚;29引 脚为PGND引脚。The terminal module 3 includes an RX-TX circuit module 9 , a DC-DC circuit module 10 , an open-circuit short-circuit detection module 11 , a second driving circuit module 12 and a second MCU module 13 ; FIG. 4 is a circuit diagram of the terminal module 3 . The circuit a is the LED light source circuit module, the circuit b is the rectifier circuit module, and the circuit c is the step-down circuit module; the 1 pin in the circuit diagram is the PBJ (TX) pin, the 2 pin is the RST pin; the 3 pin is the PBJ (TX) pin. It is PD0 (X1) pin; 4 pin is PD1 (X2) pin; 5 pin is VCAP pin; 6 pin is VSS pin; 7 pin is VDDM pin; 8 pin is PA6 (RX pin) ) pin; 9 pin is VDD pin; 10 pin is FB pin; 11 pin is GND pin; 12 pin is SW pin; 13 pin is VCC1 pin; 14 pin is VCC1 pin 15 pin is Vin pin; 17 pin is LOUT pin; 18 pin is COUT pin; 19 pin is ROUT pin; 20 pin is C&L pin; 21 pin is C&C pin; 22 pins are C&R pins; 23 pins are PBI (ADC9) pins; 24 pins are PA13 (D10) pins; 25 pins are PA14 (SCK) pins; 26 pins are PB3 pins; 27 pins The pin is the PB4 (BT0) pin; the 28 pin is the PB6 (REC) pin; the 29 pin is the PGND pin.
所述DC-DC电路模块10与第二MCU模块13相连,用于对终端模块3进行压降;The DC-DC circuit module 10 is connected with the second MCU module 13, and is used for voltage drop on the terminal module 3;
所述RX-TX电路模块9连接在总线电源通信电路4的总线信号端与第二MCU模块13之间,用于接收总线电源通信电路4发出的高低脉冲信号并进行解码,同时由第二MCU模块13控制向总线电源通信电路4发出返回信息信号;The RX-TX circuit module 9 is connected between the bus signal terminal of the bus power communication circuit 4 and the second MCU module 13, and is used to receive and decode the high and low pulse signals sent by the bus power communication circuit 4. The module 13 controls to send a return information signal to the bus power communication circuit 4;
所述开路短路检测模块11分别与第二驱动电路模块12和第二MCU模块13相连,用于在第二驱动电路模块12发生开路或短路故障时向第二MCU模块13输出表示第二驱动电路模块12发生故障的信号,可通过软件上传第二驱动电路模块12回路故障。The open-circuit and short-circuit detection module 11 is respectively connected with the second driving circuit module 12 and the second MCU module 13, and is used for outputting to the second MCU module 13 when an open-circuit or short-circuit fault occurs in the second driving circuit module 12 indicating the second driving circuit The signal of the failure of the module 12 can be uploaded through the software of the loop failure of the second driving circuit module 12 .
所述第二驱动电路模块12与第二MCU模块13相连,用于驱动输出不同的电流,第二驱动电路模块12具有短路开路保护功能。The second driving circuit module 12 is connected to the second MCU module 13 for driving and outputting different currents, and the second driving circuit module 12 has a short-circuit and open-circuit protection function.
本发明利用终端模块3发出检测指令,检测指令经RX-TX电路模块9进行解码,通过总线电源通信电路4传输将解码后的信息数据传递给中间控制模块2,则中间控制模块2则通过第一解码电路模块6对总线电源通信电路4发出的信息数据进行解码,并将解码后的信息数据传递至第一MCU模块8,则第一MCU模块8通过串口通信将检测指令信息数据传递给外部设备1,则外部设备1进行相应的设备自检,并通过串口通信向中间控制模块2传递外部设备1的设备自检结果数据;然后中间控制模块2根据接收到的外部设备1的设备自检结果数据,第一MCU模块8控制第一驱动电路模块5驱动总线电源通信电路4,由总线电源通信电路4产生相应的设备自检结果数据的高低脉冲信号给终端模块3,则终端模块3中的RX-TX电路模块9对总线电源通信电路4传输来的高低脉冲信号进行解码,并将解码后的信息数据传递给第二MCU模块13,则第二MCU模块13则根据解码后的信息数据得知外部设备1的自检结果。使得本发明具有集成度高、检测精度高、稳定性好的特点。本发明通过总线电源通信电路4将供电线与信号线合二为一,实现了信号和供电共用一个总线的技术,同时节省了施工和线缆成本,给现场施工和后期维护带来了极大的便利,总线电源通信电路具4有抗干扰能力强,无需电源与信号线隔离,节省隔离成本,对线缆要求大大降低,对现场施工布线更容易,更可靠,也更节省人工和施工费用;此外还可灵活布线,支持星形,树形,总线型拓扑,能进行长距离的通讯供电连接,具有通讯距离远的特点。The present invention uses the terminal module 3 to issue a detection command, the detection command is decoded by the RX-TX circuit module 9, and the decoded information data is transmitted to the intermediate control module 2 through the transmission of the bus power communication circuit 4, and then the intermediate control module 2 passes the first A decoding circuit module 6 decodes the information data sent by the bus power communication circuit 4, and transmits the decoded information data to the first MCU module 8, then the first MCU module 8 transmits the detection instruction information data to the external through serial communication device 1, the external device 1 performs the corresponding device self-test, and transmits the device self-test result data of the external device 1 to the intermediate control module 2 through serial communication; then the intermediate control module 2 receives the device self-test of the external device 1 according to the device self-test For the result data, the first MCU module 8 controls the first drive circuit module 5 to drive the bus power communication circuit 4, and the bus power communication circuit 4 generates the corresponding high and low pulse signals of the device self-test result data to the terminal module 3, then the terminal module 3 The RX-TX circuit module 9 decodes the high and low pulse signals transmitted by the bus power communication circuit 4, and transmits the decoded information data to the second MCU module 13, then the second MCU module 13 according to the decoded information data Know the self-test result of the external device 1. The invention has the characteristics of high integration, high detection precision and good stability. In the present invention, the power supply line and the signal line are combined into one through the bus power communication circuit 4, realizing the technology of sharing one bus for the signal and the power supply, saving construction and cable costs at the same time, and bringing great benefits to on-site construction and later maintenance. The bus power communication circuit has strong anti-interference ability, no need to isolate the power supply and the signal line, saves the cost of isolation, greatly reduces the cable requirements, and is easier and more reliable for on-site construction wiring, and saves labor and construction costs. ; In addition, it can also be flexibly wired, support star, tree, bus topology, can carry out long-distance communication power supply connection, and has the characteristics of long communication distance.
如图2所示,所述第一解码电路模块6包括第一固定电阻R 1、第二固定电阻R 2、第三固定电阻R 3、第四固定电阻R 4、第五固定电阻R 5、第一二极管D 1、第二二极管D 2和第一三极管VT 1As shown in FIG. 2 , the first decoding circuit module 6 includes a first fixed resistor R 1 , a second fixed resistor R 2 , a third fixed resistor R 3 , a fourth fixed resistor R 4 , a fifth fixed resistor R 5 , a first diode D 1 , a second diode D 2 and a first transistor VT 1 ;
所述第一固定电阻R 1一端与第二二极管D 2的阳极连接,第二二极管D 2的阴极连接有参考电压V 0电压端;第一固定电阻R 1另一端接地;参考电压V 0电压端与第一MCU模块8的输出电压端相连。 One end of the first fixed resistor R1 is connected to the anode of the second diode D2, and the cathode of the second diode D2 is connected to the reference voltage V0 voltage terminal; the other end of the first fixed resistor R1 is grounded; the reference The voltage terminal of the voltage V 0 is connected to the output voltage terminal of the first MCU module 8 .
所述第一二极管D 1阴极与第二二极管D 2的阳极连接,第一二极管D 1的阳极与第二固定电阻R 2的一端连接,第二固定电阻R 2的另一端连接信号输入端V i;其中信号输入端V i与总线电源通信电路4的总线信号端的信号端连接。 The cathode of the first diode D1 is connected to the anode of the second diode D2, the anode of the first diode D1 is connected to one end of the second fixed resistor R2, and the other end of the second fixed resistor R2 is connected. One end is connected to the signal input end V i ; wherein the signal input end V i is connected to the signal end of the bus signal end of the bus power communication circuit 4 .
所述第三固定电阻R 3的一端与信号输入端V i连接,第三固定电阻R 3的另一端与三极管VT 1的发射极连接,所述第一三极管VT 1的基极与第一固定电阻R 1的非接地端连接; One end of the third fixed resistor R3 is connected to the signal input terminal Vi , the other end of the third fixed resistor R3 is connected to the emitter of the transistor VT1, and the base of the first transistor VT1 is connected to the first transistor VT1. A non-ground connection of a fixed resistor R1;
所述第四固定电阻R 4和第五固定电阻R 5的一端分别与第一三极管VT 1集电极连接,第四固定电阻R 4的另一端接地,第五固定电阻R 5的另一端连接有脉冲信号端输出端CK,脉冲 信号端输出端CK与第一MCU模块的信号输入端连接。当V 0低电平时,CK为高电平;当V 0高电平,CK为低电平。本发明通过设置特定的第一解码电路模块来将总线电源通信电路输出的信号转换成第一MCU模块可识别的信号,该第一解码电路模块与普通的解码电路相比,普通的解码电路是通过普通差分放大信号的,但是由于IC本身差异性及温度影响,CK会有误判断,而本发明中的第一解码电路模块不因器件差异性造成误判断,稳定性强,从而极大地提高了检测精度高。 One ends of the fourth fixed resistor R4 and the fifth fixed resistor R5 are respectively connected to the collector of the first transistor VT1, the other end of the fourth fixed resistor R4 is grounded, and the other end of the fifth fixed resistor R5 The pulse signal terminal output terminal CK is connected, and the pulse signal terminal output terminal CK is connected with the signal input terminal of the first MCU module. When V 0 is low, CK is high; when V 0 is high, CK is low. The present invention converts the signal output by the bus power communication circuit into a signal identifiable by the first MCU module by setting a specific first decoding circuit module. Compared with the ordinary decoding circuit, the first decoding circuit module is Amplifying the signal through ordinary differential, but due to the difference of the IC itself and the influence of temperature, CK will be misjudged, and the first decoding circuit module in the present invention does not cause misjudgment due to the difference of the device, and the stability is strong, thereby greatly improving the high detection accuracy.
如图3所示,所述RX-TX电路模块9包括第六固定电阻R 6、第七固定电阻R 7、第八固定电阻R 8、第九固定电阻R 9、第十固定电阻R 10、稳压二极管D 3、第二三极管VT 2和第三三极管VT 3;所述第七固定电阻R 7、第八固定电阻R 8、第九固定电阻R 9的一端接地;所述第三三极管VT 3的发射极接地;所述第二三极管VT 2的基极与第六固定电阻R 6的一端连接,第六固定电阻R 6的另一端连接有POUT输出端,所述POUT输出端与第二MCU模块13上的POUT引脚连接;所述第二三极管VT 2的发射极与第七固定电阻R 7的另一端连接,所述第二三极管VT 2的集电极分别同稳压二极管D 3的阴极、第八固定电阻R 8的另一端连接,所述稳压二极管D 3的阳极和所述第九固定电阻R 9的另一端分别与所述第三三极管VT 3的基极连接;所述第三三极管VT 3的集电极与第十固定电阻R 10的一端连接,并连接有PIN in输入端,所述PINin输入端与第二MCU模块13上的PIN in引脚连接;所述第十固定电阻R 10的另一端连接有VDD电压端。本发明通过设置特定的RX-TX电路模块9来对总线电源通信电路能够进行小电流的发码回码。 As shown in FIG. 3 , the RX-TX circuit module 9 includes a sixth fixed resistance R 6 , a seventh fixed resistance R 7 , an eighth fixed resistance R 8 , a ninth fixed resistance R 9 , a tenth fixed resistance R 10 , Zener diode D 3 , second transistor VT 2 and third transistor VT 3 ; one end of the seventh fixed resistor R 7 , the eighth fixed resistor R 8 and the ninth fixed resistor R 9 is grounded; the The emitter of the third transistor VT3 is grounded; the base of the second transistor VT2 is connected to one end of the sixth fixed resistor R6, and the other end of the sixth fixed resistor R6 is connected to the POUT output terminal, The POUT output terminal is connected with the POUT pin on the second MCU module 13; the emitter of the second transistor VT2 is connected with the other end of the seventh fixed resistor R7 , and the second transistor VT2 is connected to the other end of the seventh fixed resistor R7. The collector of 2 is respectively connected with the cathode of the zener diode D3 and the other end of the eighth fixed resistor R8 , and the anode of the zener diode D3 and the other end of the ninth fixed resistor R9 are respectively connected with the The base of the third triode VT3 is connected; the collector of the third triode VT3 is connected to one end of the tenth fixed resistor R10, and is connected to the PIN in input end, and the PINin input end is connected to the first end of the tenth fixed resistor R10. The PIN in pins on the two MCU modules 13 are connected; the other end of the tenth fixed resistor R10 is connected with the VDD voltage terminal. In the present invention, by setting a specific RX-TX circuit module 9, a small current can be sent and returned to the bus power communication circuit.

Claims (2)

  1. 一种二总线通信和供电MCU系统,其特征在于:包括中间控制模块(2)、终端模块(3)和总线电源通信电路(4),所述中间控制模块(2)经串口通信与外部设备(1)通信连接,所述中间控制模块(2)经总线电源通信电路(4)与终端模块(3)进行通信和供电连接;所述中间控制模块(2)包括第一驱动电路模块(5)、第一解码电路模块(6)和带有串口通信模块(7)的第一MCU模块(8);A two-bus communication and power supply MCU system, characterized in that it comprises an intermediate control module (2), a terminal module (3) and a bus power communication circuit (4), wherein the intermediate control module (2) communicates with an external device via a serial port (1) Communication connection, the intermediate control module (2) communicates and supplies power to the terminal module (3) via a bus power communication circuit (4); the intermediate control module (2) includes a first drive circuit module (5) ), a first decoding circuit module (6) and a first MCU module (8) with a serial port communication module (7);
    所述第一MCU模块(8)经串口通信模块(7)与外部设备(1)通信连接,用于接收外部设备(1)的设备指令,同时向外部设备(1)传送指令信息;The first MCU module (8) is communicated and connected with the external device (1) via the serial port communication module (7), and is used for receiving the device instruction of the external device (1) and simultaneously transmitting the instruction information to the external device (1);
    所述第一解码电路模块(6)连接在总线电源通信电路(4)的总线信号端与第一MCU模块(8)的解码输入口之间,用于将总线电源通信电路(4)输出的信号转换成第一MCU模块(8)可识别的信号;The first decoding circuit module (6) is connected between the bus signal terminal of the bus power communication circuit (4) and the decoding input port of the first MCU module (8), and is used for the output of the bus power communication circuit (4). The signal is converted into a signal identifiable by the first MCU module (8);
    所述第一驱动电路模块(5)连接在总线电源通信电路(4)的总线信号端与第一MCU模块(8)的信号发出口之间;用于驱动总线电源通信电路(4)向终端模块(3)发出高低脉冲信号;The first driving circuit module (5) is connected between the bus signal terminal of the bus power communication circuit (4) and the signal sending port of the first MCU module (8); it is used for driving the bus power communication circuit (4) to the terminal Module (3) sends out high and low pulse signals;
    所述终端模块(3)包括RX-TX电路模块(9)、DC-DC电路模块(10)、开路短路检测模块(11)、第二驱动电路模块(12)和第二MCU模块(13);The terminal module (3) includes an RX-TX circuit module (9), a DC-DC circuit module (10), an open-circuit and short-circuit detection module (11), a second driving circuit module (12) and a second MCU module (13) ;
    所述DC-DC电路模块(10)与第二MCU模块(13)相连,用于对终端模块(3)进行压降;The DC-DC circuit module (10) is connected with the second MCU module (13), and is used for voltage drop on the terminal module (3);
    所述RX-TX电路模块(9)连接在总线电源通信电路(4)的总线信号端与第二MCU模块(13)之间,用于接收总线电源通信电路(4)发出的高低脉冲信号来进行收码解码,同时由第二MCU模块(13)控制向总线电源通信电路(4)发出回码信息信号;The RX-TX circuit module (9) is connected between the bus signal terminal of the bus power communication circuit (4) and the second MCU module (13), and is used for receiving the high and low pulse signals sent by the bus power communication circuit (4) to Carrying out code receiving and decoding, and at the same time being controlled by the second MCU module (13) to send a return code information signal to the bus power communication circuit (4);
    所述开路短路检测模块(11)分别与第二驱动电路模块(12)和第二MCU模块(13)相连,用于在第二驱动电路模块(12)发生开路或短路故障时向第二MCU模块(13)输出表示第二驱动电路模块(12)发生故障的信号;The open-circuit and short-circuit detection module (11) is respectively connected with the second driving circuit module (12) and the second MCU module (13), and is used for reporting to the second MCU when an open-circuit or short-circuit fault occurs in the second driving circuit module (12). The module (13) outputs a signal indicating that the second drive circuit module (12) is faulty;
    所述第二驱动电路模块(12)与第二MCU模块(13)相连,用于驱动输出不同的电流;The second driving circuit module (12) is connected with the second MCU module (13), and is used for driving and outputting different currents;
    所述第一解码电路模块(6)包括第一固定电阻R 1、第二固定电阻R 2、第三固定电阻R 3、第四固定电阻R 4、第五固定电阻R 5、第一二极管D 1、第二二极管D 2和第一三极管VT 1The first decoding circuit module (6) includes a first fixed resistor R 1 , a second fixed resistor R 2 , a third fixed resistor R 3 , a fourth fixed resistor R 4 , a fifth fixed resistor R 5 , a first diode tube D 1 , the second diode D 2 and the first transistor VT 1 ;
    所述第一固定电阻R 1一端与第二二极管D 2的阳极连接,第二二极管D 2的阴极连接有参考电压V 0电压端;第一固定电阻R 1另一端接地; One end of the first fixed resistor R1 is connected to the anode of the second diode D2, and the cathode of the second diode D2 is connected to the reference voltage V0 voltage terminal; the other end of the first fixed resistor R1 is grounded;
    所述第一二极管D 1阴极与第二二极管D 2的阳极连接,第一二极管D 1的阳极与第二固定电阻R 2的一端连接,第二固定电阻R 2的另一端连接信号输入端V iThe cathode of the first diode D1 is connected to the anode of the second diode D2, the anode of the first diode D1 is connected to one end of the second fixed resistor R2, and the other end of the second fixed resistor R2 is connected. One end is connected to the signal input terminal V i ;
    所述第三固定电阻R 3的一端与信号输入端V i连接,第三固定电阻R 3的另一端与第一三极管VT 1的发射极连接,所述第一三极管VT 1的基极与第一固定电阻R 1的非接地端连接; One end of the third fixed resistor R3 is connected to the signal input terminal Vi , and the other end of the third fixed resistor R3 is connected to the emitter of the first triode VT1, and the first triode VT1 is connected to the emitter. The base is connected to the non-ground terminal of the first fixed resistor R1;
    所述第四固定电阻R 4和第五固定电阻R 5的一端分别与第一三极管VT 1集电极连接,第四固定电阻R 4的另一端接地,第五固定电阻R 5的另一端连接有脉冲信号端输出端CK。 One ends of the fourth fixed resistor R4 and the fifth fixed resistor R5 are respectively connected to the collector of the first transistor VT1, the other end of the fourth fixed resistor R4 is grounded, and the other end of the fifth fixed resistor R5 The output terminal CK of the pulse signal terminal is connected.
  2. 根据权利要求1所述的二总线通信和供电MCU系统,其特征在于,所述RX-TX电路模块(9)包括第六固定电阻R 6、第七固定电阻R 7、第八固定电阻R 8、第九固定电阻R 9、第十固定电阻R 10、稳压二极管D 3、第二三极管VT 2和第三三极管VT 3The two-bus communication and power supply MCU system according to claim 1, wherein the RX-TX circuit module (9) comprises a sixth fixed resistor R 6 , a seventh fixed resistor R 7 , and an eighth fixed resistor R 8 , a ninth fixed resistor R 9 , a tenth fixed resistor R 10 , a Zener diode D 3 , a second transistor VT 2 and a third transistor VT 3 ;
    所述第七固定电阻R 7、第八固定电阻R 8、第九固定电阻R 9的一端接地;所述第三三极管VT 3的发射极接地; One ends of the seventh fixed resistor R 7 , the eighth fixed resistor R 8 , and the ninth fixed resistor R 9 are grounded; the emitter of the third transistor VT 3 is grounded;
    所述第二三极管VT 2的基极与第六固定电阻R 6的一端连接,第六固定电阻R 6的另一端连接有POUT输出端,所述POUT输出端与第二MCU模块(13)上的POUT引脚连接; The base of the second transistor VT2 is connected to one end of the sixth fixed resistor R6, the other end of the sixth fixed resistor R6 is connected to the POUT output terminal, and the POUT output terminal is connected to the second MCU module (13). ) on the POUT pin connection;
    所述第二三极管VT 2的发射极与第七固定电阻R 7的另一端连接,所述第二三极管VT 2的集电极分别同稳压二极管D 3的阴极、第八固定电阻R 8的另一端连接; The emitter of the second transistor VT2 is connected to the other end of the seventh fixed resistor R7 , and the collector of the second transistor VT2 is respectively the cathode of the zener diode D3 and the eighth fixed resistor. The other end of R 8 is connected;
    所述稳压二极管D 3的阳极和所述第九固定电阻R 9的另一端分别与所述第三三极管VT 3的基极连接; The anode of the zener diode D3 and the other end of the ninth fixed resistor R9 are respectively connected to the base of the third triode VT3;
    所述第三三极管VT3的集电极与第十固定电阻R10的一端连接,并连接有PIN in输入端,所述PIN in输入端与第二MCU模块(13)上的PIN in引脚连接;The collector of the third triode VT3 is connected with one end of the tenth fixed resistor R10, and is connected with a PIN in input terminal, and the PIN in input terminal is connected with the PIN in pin on the second MCU module (13) ;
    所述第十固定电阻R 10的另一端连接有VDD电压端。 The other end of the tenth fixed resistor R10 is connected to the VDD voltage end.
PCT/CN2021/092403 2020-08-19 2021-05-08 Dual-bus communication and power supply mcu system WO2022037132A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010834521.2A CN111711553B (en) 2020-08-19 2020-08-19 Two bus communication and power supply MCU systems
CN202010834521.2 2020-08-19

Publications (1)

Publication Number Publication Date
WO2022037132A1 true WO2022037132A1 (en) 2022-02-24

Family

ID=72547182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/092403 WO2022037132A1 (en) 2020-08-19 2021-05-08 Dual-bus communication and power supply mcu system

Country Status (2)

Country Link
CN (1) CN111711553B (en)
WO (1) WO2022037132A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115066060A (en) * 2022-08-18 2022-09-16 深圳市高斯宝电气技术有限公司 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication
CN115454192A (en) * 2022-10-10 2022-12-09 盈帜科技(常州)有限公司 Two-bus circuit
CN116170244A (en) * 2022-12-08 2023-05-26 杭州旗捷科技有限公司 Communication circuit and printer communication system
CN118280055A (en) * 2024-05-27 2024-07-02 营口天成消防设备有限公司 Power type two-bus signal range-extending system and range-extending method

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142442B (en) * 2019-12-31 2021-07-06 上海船舶电子设备研究所(中国船舶重工集团公司第七二六研究所) Ship damage monitoring system based on PLC integrated fire alarm control
CN111711553B (en) * 2020-08-19 2020-12-18 杭州并坚科技有限公司 Two bus communication and power supply MCU systems
CN112491444B (en) * 2020-11-16 2022-03-11 广州保得威尔电子科技股份有限公司 Two bus signal repeaters
CN112415940B (en) * 2021-01-25 2021-04-27 杭州并坚科技有限公司 Bus master controller, bus communication power supply system and communication power supply method thereof
CN112711215B (en) * 2021-02-04 2022-01-25 杭州并坚科技有限公司 Bus terminal controller, bus communication power supply system and communication power supply method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662380A (en) * 2012-05-21 2012-09-12 浙江优诺肯科技有限公司 Concentrative networking control method and system for family electric appliances
CN104898443A (en) * 2015-05-18 2015-09-09 袁涌耀 Gateway and intelligent household electrical appliance terminal based on power line carrier and implementation method thereof
CN105223820A (en) * 2015-09-22 2016-01-06 华南师范大学 A kind of multifunctional intellectual house control system
US20190113902A1 (en) * 2017-10-18 2019-04-18 Laird Technologies, Inc. Devices, systems, and methods related to controlling machines using operator control units and programmable logic controllers
CN111711553A (en) * 2020-08-19 2020-09-25 杭州并坚科技有限公司 Two bus communication and power supply MCU systems

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202856844U (en) * 2012-07-27 2013-04-03 华北电力大学 Telephone remote control system based on power line carrier
CN105553518A (en) * 2016-01-19 2016-05-04 同济大学 Rail breakage monitoring system based on power line carriers and wireless communication technique
CN107072018B (en) * 2017-06-17 2024-03-01 泉州师范学院 Intelligent street lamp pole system based on power carrier
CN108880624B (en) * 2018-06-11 2021-02-26 杨俊杰 SOC communication chip combining NFC, power line carrier and wireless communication module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662380A (en) * 2012-05-21 2012-09-12 浙江优诺肯科技有限公司 Concentrative networking control method and system for family electric appliances
CN104898443A (en) * 2015-05-18 2015-09-09 袁涌耀 Gateway and intelligent household electrical appliance terminal based on power line carrier and implementation method thereof
CN105223820A (en) * 2015-09-22 2016-01-06 华南师范大学 A kind of multifunctional intellectual house control system
US20190113902A1 (en) * 2017-10-18 2019-04-18 Laird Technologies, Inc. Devices, systems, and methods related to controlling machines using operator control units and programmable logic controllers
CN111711553A (en) * 2020-08-19 2020-09-25 杭州并坚科技有限公司 Two bus communication and power supply MCU systems

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115066060A (en) * 2022-08-18 2022-09-16 深圳市高斯宝电气技术有限公司 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication
CN115066060B (en) * 2022-08-18 2023-01-10 深圳市高斯宝电气技术有限公司 Receiving and transmitting integrated multiplexing circuit for LED driving power supply communication
CN115454192A (en) * 2022-10-10 2022-12-09 盈帜科技(常州)有限公司 Two-bus circuit
CN116170244A (en) * 2022-12-08 2023-05-26 杭州旗捷科技有限公司 Communication circuit and printer communication system
CN118280055A (en) * 2024-05-27 2024-07-02 营口天成消防设备有限公司 Power type two-bus signal range-extending system and range-extending method

Also Published As

Publication number Publication date
CN111711553A (en) 2020-09-25
CN111711553B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
WO2022037132A1 (en) Dual-bus communication and power supply mcu system
US11844160B2 (en) Monolithic bus slave circuit structure
CN2919212Y (en) Electric connecting clamp temperature monitoring device
CN212541548U (en) Gas sensing device, collector and gas alarm system
CN110887597B (en) Two-wire system intelligent differential pressure controller transmitter digital display instrument
CN112711215B (en) Bus terminal controller, bus communication power supply system and communication power supply method thereof
TWI444819B (en) Metohd and circuit for converting logical pulse signal
CN210490889U (en) Encoder control circuit with anti-interference function and communication control system
CN116024608A (en) Control circuit based on hydrogen generator and hydrogen production device
CN212809399U (en) Two-bus fire alarm driver
CN107809361B (en) Universal protocol conversion device of underground while drilling instrument
CN112415940A (en) Bus master controller, bus communication power supply system and communication power supply method thereof
CN212569078U (en) Detection circuit of DMX512 differential signal without signal ground wire
CN221149184U (en) Vehicle-mounted CAN module with high reliability
CN207490765U (en) A kind of intelligent drilling tool power manages circuit
CN101788832A (en) Integral and intelligent temperature and humidity monitoring controller
CN221597916U (en) Wireless communication interface for servo motor control system
CN221631863U (en) Wireless mapping-based operating system
CN206132083U (en) Helm angle signal converter
CN216286240U (en) DDR testing arrangement
CN212229806U (en) Wireless switch signal transmission module based on hybrid power supply
CN211293714U (en) Falling protection device integrated in handheld equipment
CN220340566U (en) Quick docking controller suitable for maximum 8Bit input and output sensor
CN204989888U (en) Power conversion ware detects control panel
CN219477605U (en) Wireless emergency stop sensor for overhead passenger device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21857233

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21857233

Country of ref document: EP

Kind code of ref document: A1