[go: up one dir, main page]

CN112953804A - Two-bus-based communication and energy transmission system - Google Patents

Two-bus-based communication and energy transmission system Download PDF

Info

Publication number
CN112953804A
CN112953804A CN202110360820.1A CN202110360820A CN112953804A CN 112953804 A CN112953804 A CN 112953804A CN 202110360820 A CN202110360820 A CN 202110360820A CN 112953804 A CN112953804 A CN 112953804A
Authority
CN
China
Prior art keywords
slave
host
module
bus
microprocessor
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.)
Granted
Application number
CN202110360820.1A
Other languages
Chinese (zh)
Other versions
CN112953804B (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.)
China Jiliang University
Original Assignee
China Jiliang University
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 China Jiliang University filed Critical China Jiliang University
Priority to CN202110360820.1A priority Critical patent/CN112953804B/en
Publication of CN112953804A publication Critical patent/CN112953804A/en
Application granted granted Critical
Publication of CN112953804B publication Critical patent/CN112953804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

本发明公开了一种基于二总线通信及能量传输系统,其包括从机单元(1)与主机单元(2),从机单元(1)与主机单元(2)通过总线A(3)与总线B(4)相连,所述的从机单元(1)包括从机能量储存模块(5)、从机微处理器(6)、从机RS485收发模块(7)、从机光耦开关模块(8),所述的主机单元(2)包括主机光耦开关模块(9)、主机RS485收发模块(10)、主机微处理器(11)、DC‑DC模块(12)、主机能量储存模块(13),主、从机单元之间仅靠二总线便能实现信息的传递和能量的传输,节省线材,功耗低,可拓展性强,可应用于改进传统的有线传感器网络或分布式能量采集等场合。

Figure 202110360820

The invention discloses a communication and energy transmission system based on two buses, which comprises a slave unit (1) and a master unit (2), and the slave unit (1) and the master unit (2) communicate with the bus through a bus A (3) and a master unit (2). B (4) is connected, and the slave unit (1) includes a slave energy storage module (5), a slave microprocessor (6), a slave RS485 transceiver module (7), a slave optocoupler switch module ( 8), the host unit (2) includes a host optocoupler switch module (9), a host RS485 transceiver module (10), a host microprocessor (11), a DC-DC module (12), a host energy storage module ( 13), the master and slave units can realize information transmission and energy transmission only by two buses, saving wires, low power consumption, strong scalability, and can be applied to improve traditional wired sensor networks or distributed energy collection, etc.

Figure 202110360820

Description

Two-bus-based communication and energy transmission system
Technical Field
The invention relates to the field of two-bus communication and energy transmission, in particular to a two-bus communication and energy transmission system.
Background
In the field of communication and control, a two-bus technology for simultaneously transmitting electric energy and signals is always the focus of common attention of the majority of engineering technicians. The two-bus technology is characterized in that a master computer is connected with each slave node by only two wires, and the two wires are used as electric energy transmission wires to provide power for each node and are also used as signal wires to enable the nodes to be communicated with each other. Compared with the traditional multi-bus technology, the two-bus system has the advantages of simple structure, clear division of labor, low cost and high reliability, and in addition, the two-bus system also has the characteristics of simple interface, less bus number and the like. In large-scale and remote monitoring systems, such as petroleum, chemical, electric, fire monitoring, water monitoring and the like, data measured by the detectors need to be accurately and reliably collected, and meanwhile, a master control station also needs to send control commands to an actuating mechanism. Aiming at the characteristics of wide region coverage, numerous sensors, scattered installation and the like of the system, the wire cost advantage is obvious when the communication distance is long, and the monitoring system using the two-bus structure has the advantages of convenience in installation and maintenance, cost reduction, strong anti-interference capability and the like. The method has a wide development prospect in the application field of monitoring the related physical quantities of a plurality of production and living places.
The two-bus system is usually implemented by a scheme of superimposing carrier signals on an electric energy transmission line, for example, a "two-bus remote power supply and communication device (CN 2433782Y)" of the invention patent and a "two-bus remote power supply and communication system thereof (CN 1127237C)" of the invention patent, but a communication node couples signals to the electric energy transmission line, a special signal modulation circuit is required, and a special demodulation circuit is also required when receiving the signals, so that the electric energy transmission loss of the device is large, the manufacturing cost is high, meanwhile, the process needs to be adjusted in sensitivity, the expansibility is poor, and because complete isolation is difficult to implement, carrier signals are often interfered by a power supply circuit and an electric circuit, so that the signal transmission distance is short, the communication speed is low, the node capacity is small, and the requirements on the performance of the power supply device and the electric device are greatly improved. In addition, in these occasions, the communication data mainly comprises control information or state information, the information quantity is relatively small, the real-time performance of communication is relatively weak, and the time response is long. A new two-bus implementation scheme is also proposed, for example, two-bus technical research on energy/information time division transmission is reported in pages 58-59 of paragraph 9 of 2012, "microcomputer and application," and the energy/information transmission of the two buses is realized by using a time division multiplexing method, but the problems of complex circuit, poor expansibility, low communication rate, complicated sensitivity adjustment and the like still exist. In some application fields, the system is required to have a powerful function and an ultra-low power consumption characteristic, such as a distributed energy harvesting system, the harvested energy is limited due to the weak energy distribution density in the environment and randomness, and the power consumption of the general two-bus system is too large, so that the general two-bus system is difficult to apply.
In view of the defects, the invention designs the two-bus-based communication and energy transmission system, realizes mode switching by the optocoupler switch module and the RS485 transceiver module in the master unit and the slave unit, has high communication speed and strong expansibility, and can effectively reduce the energy transmission loss of the system.
Disclosure of Invention
The purpose of the invention is as follows: the system realizes mode switching through the optocoupler switch module and the RS485 transceiver module in the master unit and the slave unit, so that the master unit and the slave unit can realize information transmission and energy transmission only through two buses, and the system can be applied to occasions of improving the traditional wired sensor network or distributed energy collection and the like.
In order to realize the purpose of the invention, the following technology is adopted: the communication and energy transmission system based on the two buses is characterized by comprising a slave unit (1) and a host unit (2), wherein the slave unit (1) is connected with the host unit (2) through the two buses formed by a bus A (3) and a bus B (4), the slave unit (1) comprises a slave energy storage module (5), a slave microprocessor (6), a slave RS485 transceiver module (7) and a slave optocoupler switch module (8), and the host unit (2) comprises a host optocoupler switch module (9), a host RS485 transceiver module (3)10) The system comprises a host microprocessor (11), a DC-DC module (12) and a host energy storage module (13). The slave RS485 transceiver module (7) comprises a slave RS485 chip and a resistorR1Resistance ofR1The two ends of the secondary energy storage module (5) are respectively connected with a pin A and a pin B of a secondary RS485 chip, an RXD port, a TXD port, a GPIO1 port and a GPIO2 port of the secondary microprocessor (6) are respectively connected with an RO pin, a DI pin, a/R/E pin and a DE pin of a secondary RS485 transceiving module (7), and the secondary energy storage module (5) comprises a secondary energy storage device and a sliding rheostatRP1The Vcc1 pin and the GND1 pin of the slave energy storage device are respectively connected with a sliding rheostatRP1Two fixed contacts, slide rheostatRP1The movable contact of the slave optical coupling switch module (8) is connected with a GPIO4 port of the slave microprocessor (6), the slave optical coupling switch module (8) comprises a slave optical coupling switch 1 and a slave optical coupling switch 2, an IN end of the slave optical coupling switch 1 is connected with an IN end of the slave optical coupling switch 2 and then connected with a GPIO3 port of the slave microprocessor (6), an NO end of the slave optical coupling switch 1 is connected with Vcc1, an NO end of the slave optical coupling switch 2 is connected with GND1, a COM end of the slave optical coupling switch 1 is connected with an A pin of a slave RS485 chip and then connected with a bus A (3), and a COM end of the slave optical coupling switch 2 is connected with a B pin of the slave RS485 chip and then connected with a bus B (. The host RS485 transceiver module (10) comprises a host RS485 chip and a resistorR2Resistance ofR2The two ends of the main machine energy storage module (13) are respectively connected with a pin A and a pin B of a main machine RS485 chip, an RXD port, a TXD port, a GPIO1 port and a GPIO2 port of the main machine microprocessor (11) are respectively connected with an RO pin, a DI pin, a/R/E pin and a DE pin of the main machine RS485 chip, and the main machine energy storage module (13) comprises a main machine energy storage and a sliding rheostatRP2Vcc2 terminal of host energy storage and sliding rheostatRP2Is connected with the IO2 end of the DC-DC module (12), and the GND2 end of the main machine energy storage is connected with the slide rheostatRP2Is connected with the other fixed contact and then connected with the GND end of the DC-DC module (12), and the slide rheostatRP2The movable contact is connected with a GPIO4 port of a host microprocessor (11), the host optical coupling switch module (9) comprises a host optical coupling switch 1 and a host optical coupling switch 2, and the host is connected with a host computerThe IN end of the optical coupling switch 1 is connected with the IN end of the host optical coupling switch 2 and then connected with a GPIO3 port of the host microprocessor (11), the NO end of the host optical coupling switch 1 is connected with an IO1 end of the DC-DC module (12), the NO end of the host optical coupling switch 2 is connected with a GND end of the DC-DC module (12), the COM end of the host optical coupling switch 1 is connected with a pin A of the host RS485 chip and then connected with a bus A (3), and the COM end of the host optical coupling switch 2 is connected with a pin B of the host RS485 chip and then connected with a bus B (4).
The invention has the beneficial effects that:
1. only two buses are used between the master unit and the slave unit to carry out communication or energy transmission, so that wires are saved, and wiring is simple.
2. Based on RS485 bus design, peripheral circuit is few, and the required low power dissipation of system, expansibility are strong, when new equipment needs to be introduced, only need for the equipment of new access assign new address alright access system.
For a better understanding of the nature and technical aspects of the present invention, reference should be made to the following detailed description of the invention, taken in conjunction with the accompanying drawings, which are provided for purposes of illustration and description and are not intended to limit the invention.
Drawings
Fig. 1 is a schematic diagram of an overall structure of a two-bus communication and energy transmission system according to the present invention.
Fig. 2 is a schematic circuit connection diagram of a two-bus communication and energy transmission system according to the present invention.
Fig. 3 is a schematic diagram illustrating a connection between a master unit and a slave unit based on a two-bus communication and energy transmission system according to the present invention.
1: a slave unit; 2: a host unit; 3: a bus A; 4: a bus B; 5: a slave energy storage module; 6: a slave microprocessor; 7: a slave RS485 receiving and transmitting module; 8: a slave optical coupling switch module; 9: the main machine optical coupling switch module; 10: a host RS485 receiving and transmitting module; 11: a host microprocessor; 12: a DC-DC module; 13: a host energy storage module.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Specifically, referring to fig. 1, a two-bus communication and energy transmission system comprises a slave unit (1) and a master unit (2), wherein the slave unit (1) and the master unit (2) are connected through two buses formed by a bus a (3) and a bus B (4), the slave unit (1) comprises a slave energy storage module (5), a slave microprocessor (6), a slave RS485 transceiver module (7) and a slave optocoupler switch module (8), the two buses formed by the bus a (3) and the bus B (4) are connected with the slave RS485 transceiver module (7) and the slave optocoupler switch module (8), the slave optocoupler switch module (8) is connected with the slave energy storage module (5), the slave energy storage module (5) is connected with the slave RS485 transceiver module (7) and the slave microprocessor (6), the slave microprocessor (6) is connected with the slave RS485 transceiver module (7) and the slave optocoupler switch module (8), host computer unit (2) including host computer optical coupling switch module (9), host computer RS485 transceiver module (10), host computer microprocessor (11), DC-DC module (12), host computer energy storage module (13), and two bus connection host computer RS485 transceiver module (10) and host computer optical coupling switch module (9) that bus A (3) and bus B (4) formed, DC-DC module (12) is connected in host computer optical coupling switch module (9), host computer energy storage module (13) is connected in DC-DC module (12), host computer RS485 transceiver module (10) and host computer microprocessor (11) are connected in host computer energy storage module (13), host computer RS485 transceiver module (10) and host computer optical coupling switch module (9) are connected in host computer microprocessor (11).
Specifically, referring to fig. 2, the slave RS485 transceiver module (7) comprises a slave RS485 chip and a resistorR1Resistance ofR1The two ends of the secondary energy storage module (5) are respectively connected with a pin A and a pin B of a secondary RS485 chip, an RXD port, a TXD port, a GPIO1 port and a GPIO2 port of the secondary microprocessor (6) are respectively connected with an RO pin, a DI pin, a/R/E pin and a DE pin of a secondary RS485 transceiving module (7), and the secondary energy storage module (5) comprises a secondary energy storage device and a sliding rheostatRP1Energy storage of slave machinesThe Vcc1 pin and the GND1 pin are respectively connected with a slide rheostatRP1Two fixed contacts, slide rheostatRP1The movable contact of the slave optical coupling switch module (8) is connected with a GPIO4 port of the slave microprocessor (6), the slave optical coupling switch module (8) comprises a slave optical coupling switch 1 and a slave optical coupling switch 2, an IN end of the slave optical coupling switch 1 is connected with an IN end of the slave optical coupling switch 2 and then connected with a GPIO3 port of the slave microprocessor (6), an NO end of the slave optical coupling switch 1 is connected with Vcc1, an NO end of the slave optical coupling switch 2 is connected with GND1, a COM end of the slave optical coupling switch 1 is connected with an A pin of a slave RS485 chip and then connected with a bus A (3), and a COM end of the slave optical coupling switch 2 is connected with a B pin of the slave RS485 chip and then connected with a bus B (. The host RS485 transceiver module (10) comprises a host RS485 chip and a resistorR2Resistance ofR2The two ends of the main machine energy storage module (13) are respectively connected with a pin A and a pin B of a main machine RS485 chip, an RXD port, a TXD port, a GPIO1 port and a GPIO2 port of the main machine microprocessor (11) are respectively connected with an RO pin, a DI pin, a/R/E pin and a DE pin of the main machine RS485 chip, and the main machine energy storage module (13) comprises a main machine energy storage and a sliding rheostatRP2Vcc2 terminal of host energy storage and sliding rheostatRP2Is connected with the IO2 end of the DC-DC module (12), and the GND2 end of the main machine energy storage is connected with the slide rheostatRP2Is connected with the other fixed contact and then connected with the GND end of the DC-DC module (12), and the slide rheostatRP2The movable contact of (2) is connected with a GPIO4 port of a host microprocessor (11), the host optical coupling switch module (9) comprises a host optical coupling switch 1 and a host optical coupling switch 2, an IN end of the host optical coupling switch 1 is connected with an IN end of the host optical coupling switch 2 and then connected with a GPIO3 port of the host microprocessor (11), an NO end of the host optical coupling switch 1 is connected with an IO1 end of a DC-DC module (12), an NO end of the host optical coupling switch 2 is connected with a GND end of the DC-DC module (12), a COM end of the host optical coupling switch 1 is connected with a pin A of a host RS485 chip and then connected with a bus A (3), and a COM end of the host optical coupling switch 2 is connected with a pin B485 of the host RS and then connected with a bus B (4).
Specifically, referring to fig. 3, the master unit (2) is connected to the bus a (3) and the bus B (4) to form two buses, and the slave units 1, 2 through the slave unit N are connected to the master unit (2) through the bus a (3) and the bus B (4) to form two buses.
In particular, the system is applied to improve the traditional wired sensor network. Addresses are allocated to all slave units. When the two buses are used for the intercommunication between the slave unit and the master unit, the sensor can transmit the collected environment information to the master unit through a slave RS485 transceiver module (7) in the slave unit and can also receive signal indication from the master unit. Meanwhile, the slave microprocessor (6) in the slave unit continuously detects the voltage of the slave energy storage module (5) in the slave unit, when the voltage is found to be lower than a set value, when the slave unit has the risk of stopping working, a slave microprocessor (6) in the slave unit sends a signal to a master unit through two buses of a slave RS485 transceiver module (7) and a slave A, B to indicate that the master unit needs to provide electric energy to maintain working, the master unit sends a response signal to the slave unit after receiving the signal, a master microprocessor (11) in the master unit and a slave microprocessor (6) in the slave unit respectively control optical coupling switches in the master unit and the slave unit to be closed, at the moment, the A, B two buses are used for transmitting energy, and the master unit starts to transmit energy to the slave unit to maintain the working of a sensor in the slave unit. When a new slave unit needs to be expanded, only A, B pins of a slave RS485 transceiver module (7) in the slave unit need to be connected to A, B buses respectively, and a new address needs to be allocated to the slave unit.
In particular, the system is applied to distributed energy harvesting. Addresses are allocated to all slave units. The energy collecting device stores collected environment energy in a slave energy storage module (5) of a slave unit, a slave microprocessor (6) in the slave unit continuously detects the voltage of the slave energy storage module (5), when the voltage of the slave energy storage module (5) in a certain slave unit reaches a set value, the slave microprocessor (6) in the slave unit sends a signal to a master unit through a slave RS485 transceiver module (7) to indicate that the collected energy can be transmitted to the master, and at the moment, two buses are used for the communication between the slave unit and the master unit. The master unit receives the signal and then sends a response signal to the slave unit, a master microprocessor (11) in the master unit and a slave microprocessor (6) in the slave unit respectively control the optical coupling switches in the master unit and the slave unit to be closed, the slave unit starts to transmit energy to the master unit, the collected energy is stored in an energy storage module (9) of the master unit, and at the moment, the two buses are used for transmitting the energy. When a new slave unit needs to be expanded, only A, B pins of the slave unit slave RS485 transceiver module (7) need to be connected to A, B buses respectively, and a new address needs to be allocated to the slave unit.
In particular, the system may be used to combine a traditional wired sensor network with distributed energy harvesting. Addresses are allocated to all slave units. When the two buses are not used for transmitting energy, the sensor can transmit the acquired environmental information to the host unit through a slave RS485 transceiver module (7) of the slave unit and can also receive signal indication from the host unit. When the environment energy is sufficient, the energy collecting device stores the collected environment energy in a slave energy storage module (5) of the slave unit, a slave microprocessor (6) in the slave unit continuously detects the voltage of the slave energy storage module (5), the voltage in the slave energy storage module (5) is higher than a set value, and when the electric energy is sufficient, the slave microprocessor (6) in the slave unit sends a signal to a host unit through an RS485 transceiver module (4) to indicate that the excess energy can be transmitted and stored to the host. The master unit receives the signals and then sends response signals to the slave unit, a master microprocessor (11) in the master unit and a slave microprocessor (6) in the slave unit respectively control optical coupling switches in the master unit and the slave unit to be closed, the slave unit starts to transmit energy to the master unit, the master unit stores the energy, and at the moment, the two buses are used for transmitting the energy. When energy in the environment is difficult to collect, for example, when no wind exists or at night, a slave microprocessor (6) in a certain slave unit detects that the voltage of a slave energy storage module (5) in the slave unit is lower than a set value, and when the slave unit has the risk of stopping working, the slave microprocessor (6) in the slave unit sends a signal to a master unit through a slave RS485 transceiver module (7) to indicate that the master unit needs to provide electric energy to maintain working, the master unit sends a response signal to the slave unit after receiving the signal, the master microprocessor (11) in the master unit and the slave microprocessor (6) in the slave unit respectively control optical coupling switches of the master unit and the slave unit to be closed, and the master unit starts to transmit energy to the slave unit to maintain working. When a new slave unit needs to be expanded, only A, B pins of the slave unit slave RS485 transceiver module (7) need to be connected to A, B buses respectively, and a new address needs to be allocated to the slave unit.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (3)

1.一种基于二总线通信及能量传输系统,包括从机单元(1)与主机单元(2),其特征在于所述的从机单元(1)与主机单元(2)通过总线A(3)与总线B(4)形成的二总线相连,所述的从机单元(1)包括从机能量储存模块(5)、从机微处理器(6)、从机RS485收发模块(7)、从机光耦开关模块(8),所述的主机单元(2)包括主机光耦开关模块(9)、主机RS485收发模块(10)、主机微处理器(11)、DC-DC模块(12)、主机能量储存模块(13),所述的从机能量储存模块(5)为从机微处理器(6)、从机RS485收发模块(7)提供电源,并可对能量采集装置采集到的能量进行储存或为传感器提供电源,所述的从机微处理器(6)会不断地检测从机能量储存模块(5)的电压判断此时从机能量储存模块(5)储存电能的多少,若储存的能量达到设定阈值时,从机微处理器(6)会向从机RS485收发模块(7)发送TTL电平的请求信号,表示可向主机单元(2)传输能量,从机RS485收发模块(7)将收到的TTL电平的请求信号转换成差分的请求信号通过总线A(3)与总线B(4)形成的二总线将信息传送给主机单元(2)中的主机RS485收发模块(10),主机RS485收发模块(10)可将收到的差分的请求信号转换为TTL电平的请求信号传送给主机微处理器(11),主机微处理器(11)在接收到从机单元(1)的请求信号后,会向主机RS485收发模块(10)发送TTL电平的应答信号,表示允许从机单元(1)向主机单元(2)传输电能,随后主机微处理器(11)会控制主机光耦开关模块(9)闭合,主机RS485收发模块(10)将收到的TTL电平的应答信号转换成差分的应答信号通过总线A(3)与总线B(4)形成的二总线将信息传送给从机单元(1)中的从机RS485收发模块(7),从机RS485收发模块(7)可将收到的差分的应答信号转换为TTL电平的应答信号传送给从机微处理器(6),随后从机微处理器(6)会控制从机光耦开关模块(8)闭合,从机能量储存模块(5)开始通过从机光耦开关模块(8)、总线A(3)、总线B(4)、主机光耦开关模块(9)及DC-DC模块(12)向主机能量储存模块(13)传输电能,所述的主机能量储存模块(13)为主机RS485收发模块(10)、主机微处理器(11)提供电源,并可通过DC-DC模块(12)储存来自从机单元(1)的电能或通过DC-DC模块(12)向从机传输电能,所述的DC-DC模块(12)能保证电能传输过程的稳定进行,若储存的能量过低,从机微处理器(6)会向从机RS485收发模块(7)发送TTL电平的请求信号,表示需要主机单元(2)提供电能以维持从机单元(1)的正常运行,从机RS485收发模块(7)将收到的TTL电平的请求信号转换成差分的请求信号通过总线A(3)与总线B(4)形成的二总线将信息传送给主机单元(2)中的主机RS485收发模块(10),主机RS485收发模块(10)可将收到的差分的请求信号转换为TTL电平的请求信号传送给主机微处理器(11),主机微处理器(11)在接收到从机单元(1)的请求信号后,会向主机RS485收发模块(10)发送TTL电平的应答信号,表示可以向从机单元(1)传输电能,随后主机微处理器(11)会控制主机光耦开关模块(9)闭合,主机RS485收发模块(10)将收到的TTL电平的应答信号转换成差分的应答信号通过总线A(3)与总线B(4)形成的二总线将信息传送给从机单元(1)中的从机RS485收发模块(7),从机RS485收发模块(7)可将收到的差分的应答信号转换为TTL电平的应答信号传送给从机微处理器(6),随后从机微处理器(6)会控制从机光耦开关模块(8)闭合,主机能量储存模块(13)开始通过DC-DC模块(12)、主机光耦开关模块(9)、总线A(3)、总线B(4)及从机光耦开关模块(8)向从机能量储存模块(5)传输电能。1. A communication and energy transmission system based on two buses, comprising a slave unit (1) and a master unit (2), characterized in that the slave unit (1) and the master unit (2) pass through the bus A (3) ) is connected to the second bus formed by the bus B (4), the slave unit (1) includes a slave energy storage module (5), a slave microprocessor (6), a slave RS485 transceiver module (7), A slave optocoupler switch module (8), the host unit (2) includes a host optocoupler switch module (9), a host RS485 transceiver module (10), a host microprocessor (11), a DC-DC module (12) ), the host energy storage module (13), the slave energy storage module (5) provides power for the slave microprocessor (6) and the slave RS485 transceiver module (7), and can collect the energy collected by the energy collection device. The energy stored in the device is stored or provides power for the sensor, and the slave microprocessor (6) will continuously detect the voltage of the slave energy storage module (5) to determine the amount of electrical energy stored by the slave energy storage module (5) at this time. , if the stored energy reaches the set threshold, the slave microprocessor (6) will send a TTL level request signal to the slave RS485 transceiver module (7), indicating that energy can be transmitted to the master unit (2), and the slave The RS485 transceiver module (7) converts the received TTL level request signal into a differential request signal and transmits the information to the host in the host unit (2) through the two buses formed by the bus A (3) and the bus B (4). The RS485 transceiver module (10), the host RS485 transceiver module (10) can convert the received differential request signal into a TTL level request signal and transmit it to the host microprocessor (11), and the host microprocessor (11) receives After receiving the request signal from the slave unit (1), it will send a TTL level response signal to the host RS485 transceiver module (10), indicating that the slave unit (1) is allowed to transmit power to the host unit (2), and then the host micro-processing The controller (11) controls the host optocoupler switch module (9) to close, and the host RS485 transceiver module (10) converts the received TTL level response signal into a differential response signal through the bus A (3) and the bus B (4). ) to transmit the information to the slave RS485 transceiver module (7) in the slave unit (1), and the slave RS485 transceiver module (7) can convert the received differential response signal into a TTL level response The signal is transmitted to the slave microprocessor (6), and then the slave microprocessor (6) will control the slave optocoupler switch module (8) to close, and the slave energy storage module (5) starts to pass through the slave optocoupler switch module. (8), the bus A (3), the bus B (4), the host optocoupler switch module (9) and the DC-DC module (12) transmit electrical energy to the host energy storage module (13), the host energy storage module (13) Provide power for the host RS485 transceiver module (10) and the host microprocessor (11), and can store the electrical energy from the slave unit (1) through the DC-DC module (12) Or transmit power to the slave through the DC-DC module (12), the DC-DC module (12) can ensure the stable performance of the power transmission process, if the stored energy is too low, the slave microprocessor (6) will Send a TTL level request signal to the slave RS485 transceiver module (7), indicating that the master unit (2) needs to provide power to maintain the normal operation of the slave unit (1), and the slave RS485 transceiver module (7) will receive the received The TTL level request signal is converted into a differential request signal, and the information is transmitted to the host RS485 transceiver module (10) in the host unit (2) through the two buses formed by the bus A (3) and the bus B (4), and the host RS485 transceiver module (10). The module (10) can convert the received differential request signal into a TTL level request signal and transmit it to the host microprocessor (11), and the host microprocessor (11) receives the request signal from the slave unit (1). After that, a TTL level response signal will be sent to the host RS485 transceiver module (10), indicating that power can be transmitted to the slave unit (1), and then the host microprocessor (11) will control the host optocoupler switch module (9) to close , the host RS485 transceiver module (10) converts the received TTL level response signal into a differential response signal and transmits the information to the slave unit (1) through the two buses formed by bus A (3) and bus B (4). In the slave RS485 transceiver module (7), the slave RS485 transceiver module (7) can convert the received differential response signal into a TTL level response signal and transmit it to the slave microprocessor (6), and then the slave The microprocessor (6) will control the slave optocoupler switch module (8) to close, and the host energy storage module (13) starts to pass through the DC-DC module (12), the host optocoupler switch module (9), and the bus A (3) , the bus B (4) and the slave optocoupler switch module (8) transmit electrical energy to the slave energy storage module (5). 2.根据权利要求1所描述的一种基于二总线通信及能量传输系统,其特征在于所述的从机RS485收发模块(7)包括从机RS485芯片和电阻R1,电阻R1的两端分别与从机RS485芯片的A引脚、B引脚相连,所述的从机微处理器(6)的RXD口、TXD口、GPIO1口和GPIO2口分别连接从机RS485收发模块(7)的RO引脚、DI引脚、/R/E引脚和DE引脚,所述的从机能量储存模块(5)包括从机能量储存器和滑动变阻器RP1,从机能量储存器的Vcc1引脚与GND1引脚分别连接滑动变阻器RP1的两个固定触点,滑动变阻器RP1的动触点连接从机微处理器(6)的GPIO4口,所述的从机光耦开关模块(8)包括从机光耦开关1和从机光耦开关2,从机光耦开关1的IN端与从机光耦开关2的IN端相连后再与从机微处理器(6)的GPIO3口相连,从机光耦开关1的NO端连接Vcc1,从机光耦开关2的NO端连接GND1,从机光耦开关1的COM端与从机RS485芯片的A引脚相连后再与总线A(3)相连,从机光耦开关2的COM端与从机RS485的B引脚相连后再与总线B(4)相连。2. A two-bus-based communication and energy transmission system according to claim 1, characterized in that the slave RS485 transceiver module (7) comprises a slave RS485 chip and a resistor R1 , and the two ends of the resistor R1 are respectively connected to The A pins and B pins of the slave RS485 chip are connected, and the RXD port, TXD port, GPIO1 port and GPIO2 port of the slave microprocessor (6) are respectively connected to the RO pins of the slave RS485 transceiver module (7). pin, DI pin, /R/E pin and DE pin, the slave energy storage module (5) includes a slave energy storage and a sliding rheostat RP1 , and the Vcc1 pin of the slave energy storage is connected to GND1 The pins are respectively connected to the two fixed contacts of the sliding rheostat RP1 , and the movable contact of the sliding rheostat RP1 is connected to the GPIO4 port of the slave microprocessor (6). The slave optocoupler switch module (8) includes a slave optical Coupler switch 1 and slave optocoupler switch 2, the IN terminal of slave optocoupler switch 1 is connected to the IN terminal of slave optocoupler switch 2, and then connected to the GPIO3 port of the slave microprocessor (6). The NO end of the coupling switch 1 is connected to Vcc1, the NO end of the slave optocoupler switch 2 is connected to GND1, the COM end of the slave optocoupler switch 1 is connected to the A pin of the slave RS485 chip and then connected to the bus A (3), The COM terminal of the slave optocoupler switch 2 is connected to the B pin of the slave RS485 and then connected to the bus B (4). 3.根据权利要求1所描述的一种基于二总线通信及能量传输系统,其特征在于所述的主机RS485收发模块(10)包括主机RS485芯片和电阻R2,电阻R2的两端分别与主机RS485芯片的A引脚、B引脚相连,所述的主机微处理器(11)的RXD口、TXD口、GPIO1口和GPIO2口分别连接主机RS485芯片的RO引脚、DI引脚、/R/E引脚和DE引脚,所述的主机能量储存模块(13)包括主机能量储存器和滑动变阻器RP2,主机能量储存器的Vcc2端与滑动变阻器RP2的其中一个固定触点相连后再与DC-DC模块(12)的IO2端相连,主机能量储存器的GND2端与滑动变阻器RP2的另一个固定触点相连后再与DC-DC模块(12)的GND端相连,滑动变阻器RP2的动触点连接主机微处理器(11)的GPIO4口,所述的主机光耦开关模块(9)包括主机光耦开关1和主机光耦开关2,主机光耦开关1的IN端与主机光耦开关2的IN端相连后再与主机微处理器(11)的GPIO3口相连,主机光耦开关1的NO端连接DC-DC模块(12)的IO1端,主机光耦开关2的NO端连接DC-DC模块(12)的GND端,主机光耦开关1的COM端与主机RS485芯片的A引脚相连后再与总线A(3)相连,主机光耦开关2的COM端与主机RS485的B引脚相连后再与总线B(4)相连。3. A two-bus-based communication and energy transmission system according to claim 1, characterized in that the host RS485 transceiver module (10) comprises a host RS485 chip and a resistor R2 , and two ends of the resistor R2 are respectively connected to the host RS485 The A pins and B pins of the chip are connected, and the RXD port, TXD port, GPIO1 port and GPIO2 port of the host microprocessor (11) are respectively connected to the RO pin, DI pin, /R/ The E pin and the DE pin, the host energy storage module (13) includes a host energy storage and a sliding rheostat RP2 , the Vcc2 end of the host energy storage is connected to one of the fixed contacts of the sliding rheostat RP2 , and then connected to the DC -The IO2 terminal of the DC module (12) is connected, the GND2 terminal of the host energy storage is connected to another fixed contact of the sliding rheostat RP2 , and then connected to the GND terminal of the DC-DC module (12), and the moving contact of the sliding rheostat RP2 It is connected to the GPIO4 port of the host microprocessor (11). The host optocoupler switch module (9) includes a host optocoupler switch 1 and a host optocoupler switch 2. The IN terminal of the host optocoupler switch 1 is connected to the host optocoupler switch. The IN terminal of 2 is connected to the GPIO3 port of the host microprocessor (11), the NO terminal of the host optocoupler switch 1 is connected to the IO1 terminal of the DC-DC module (12), and the NO terminal of the host optocoupler switch 2 is connected to DC -The GND terminal of the DC module (12), the COM terminal of the host optocoupler switch 1 is connected to the A pin of the host RS485 chip and then connected to the bus A (3), the COM terminal of the host optocoupler switch 2 is connected to the host RS485 B pin The pins are connected and then connected to bus B (4).
CN202110360820.1A 2021-04-02 2021-04-02 A dual-bus communication and energy transmission system Active CN112953804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110360820.1A CN112953804B (en) 2021-04-02 2021-04-02 A dual-bus communication and energy transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110360820.1A CN112953804B (en) 2021-04-02 2021-04-02 A dual-bus communication and energy transmission system

Publications (2)

Publication Number Publication Date
CN112953804A true CN112953804A (en) 2021-06-11
CN112953804B CN112953804B (en) 2024-12-24

Family

ID=76232254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110360820.1A Active CN112953804B (en) 2021-04-02 2021-04-02 A dual-bus communication and energy transmission system

Country Status (1)

Country Link
CN (1) CN112953804B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114607217A (en) * 2022-03-10 2022-06-10 递易(上海)智能科技有限公司 Electromagnetic lock control system and method and electronic equipment
WO2023124756A1 (en) * 2021-12-30 2023-07-06 恒亦明(重庆)科技有限公司 Communication information sending method, communication host apparatus and two-wire system power supply communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19606940A1 (en) * 1995-02-16 1997-04-17 Radebold Walter Dipl Geol Asynchronous bus system with common information and energy transmission between master and slave
CN201174358Y (en) * 2008-02-02 2008-12-31 余伟 Bus type near-zero power consumption circuit breaker for automobile
CN107078502A (en) * 2014-08-06 2017-08-18 飞利浦灯具控股公司 Distribution system
CN108860012A (en) * 2017-05-16 2018-11-23 福特全球技术公司 The starting of vehicle power relay controls and diagnosis
CN214337924U (en) * 2021-04-02 2021-10-01 中国计量大学 A two-bus based communication and energy transmission system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19606940A1 (en) * 1995-02-16 1997-04-17 Radebold Walter Dipl Geol Asynchronous bus system with common information and energy transmission between master and slave
CN201174358Y (en) * 2008-02-02 2008-12-31 余伟 Bus type near-zero power consumption circuit breaker for automobile
CN107078502A (en) * 2014-08-06 2017-08-18 飞利浦灯具控股公司 Distribution system
CN108860012A (en) * 2017-05-16 2018-11-23 福特全球技术公司 The starting of vehicle power relay controls and diagnosis
CN214337924U (en) * 2021-04-02 2021-10-01 中国计量大学 A two-bus based communication and energy transmission system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李向阳;石德乐;李振宇;董昊;: "无线能量传输系统能源管理技术研究", 空间电子技术, no. 03, 25 September 2013 (2013-09-25) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124756A1 (en) * 2021-12-30 2023-07-06 恒亦明(重庆)科技有限公司 Communication information sending method, communication host apparatus and two-wire system power supply communication system
CN114607217A (en) * 2022-03-10 2022-06-10 递易(上海)智能科技有限公司 Electromagnetic lock control system and method and electronic equipment

Also Published As

Publication number Publication date
CN112953804B (en) 2024-12-24

Similar Documents

Publication Publication Date Title
CN214337924U (en) A two-bus based communication and energy transmission system
CN112953804B (en) A dual-bus communication and energy transmission system
CN206332860U (en) LoRa gateways
WO2022052512A1 (en) Single line-based method and device for data transmission
CN108390699B (en) Cloud communication system based on power line carrier technology and communication method and device
CN103578232A (en) Bus type gas monitoring and alarming control system and method
CN114023053B (en) Terminal energy data acquisition system and method based on HPLC and Bluetooth
CN110456705B (en) Network control device capable of dynamically expanding interface and building automatic control system
CN209184614U (en) Instrument bus host communication circuit
CN201556978U (en) Remote monitoring module for power system switching value
CN109556655A (en) A kind of regenerative heat-exchange system temperature and liquid level integral type acquire pick-up device
CN202818377U (en) Remote monitor system node based on power line carrier local area network
CN106487627B (en) RIOM and train with RIOM
CN202017366U (en) Parking lot lock management system based on wireless data communication network
CN201327586Y (en) Data acquisition device for power plant
CN203847102U (en) CAN bus and 485 bus node circuit
CN108089481A (en) A kind of automobile detection system circuit based on CAN/LIN
CN201476899U (en) A temperature real-time monitoring system applied to substations in residential quarters
CN115696705B (en) Lighting control system and method
CN218765841U (en) Leakage detection structure based on CAN bus LAN
CN111402562A (en) A deep coverage acquisition system of electricity information
CN207304589U (en) Aerospace vehicle communication system based on plastic optical fiber CAN bus
CN212458698U (en) A high-voltage power distribution temperature measuring device
CN104700606B (en) Ammeter information reporting system based on plastic optical fiber
CN219978403U (en) Cascade type electric energy meter

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
GR01 Patent grant
GR01 Patent grant