CN112886584A - Two-core non-polar bus communication power supply method, device and communication system - Google Patents
Two-core non-polar bus communication power supply method, device and communication system Download PDFInfo
- Publication number
- CN112886584A CN112886584A CN202110249827.6A CN202110249827A CN112886584A CN 112886584 A CN112886584 A CN 112886584A CN 202110249827 A CN202110249827 A CN 202110249827A CN 112886584 A CN112886584 A CN 112886584A
- Authority
- CN
- China
- Prior art keywords
- power supply
- bus
- power
- reverse
- polar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000001514 detection method Methods 0.000 claims description 44
- 230000003287 optical effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000009434 installation Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/007—Arrangements for selectively connecting the load or loads to one or several among a plurality of power lines or power sources
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H1/00—Details of emergency protective circuit arrangements
- H02H1/0007—Details of emergency protective circuit arrangements concerning the detecting means
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/02—Details
- H02H3/04—Details with warning or supervision in addition to disconnection, e.g. for indicating that protective apparatus has functioned
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/08—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00001—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00006—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
- H02J13/00016—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using a wired telecommunication network or a data transmission bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02B90/20—Smart grids as enabling technology in buildings sector
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/20—Systems supporting electrical power generation, transmission or distribution using protection elements, arrangements or systems
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S40/00—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S40/12—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
- Y04S40/124—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment using wired telecommunication networks or data transmission busses
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Small-Scale Networks (AREA)
Abstract
The application relates to a two-core non-polar bus communication power supply method, a device and a communication system, wherein the method comprises the following steps: detecting the power supply direction of the bus; when the bus is in a non-power supply direction, supplying power to the bus, and counting positive and negative power supply data of each unit on the bus; when a preset power supply switching condition is detected, sending a same-direction power supply signal to the bus according to the positive and negative power supply data; and the equidirectional power supply signal is used for controlling the unit which supplies power in the same direction on the bus to start power supply. When power supply switching is needed, the units which supply power in the same direction on the control bus supply power simultaneously, short circuit caused by power supply conflict can be avoided, and power supply reliability can be effectively improved.
Description
Technical Field
The application relates to the technical field of intelligent equipment communication, in particular to a two-core non-polar bus communication power supply method, a two-core non-polar bus communication power supply device and a two-core non-polar bus communication power supply system.
Background
A two-core non-polar HOMEBUS (home bus) communication system, a communication method without a wiring sequence designed to prevent installation crews from wiring wrong wires, needs to have both power supply and communication functions.
In a conventional two-core non-polar bus communication system, in order to avoid the problems of short circuit caused by power supply conflict, a power supply is generally provided by 1 node of the system, but if too many communication nodes exist, the power supply capability of a single node is limited, and the defect of low power supply reliability exists.
Disclosure of Invention
Therefore, it is necessary to provide a two-core non-polar bus communication power supply method, device and communication system to solve the problem of low power supply reliability of the conventional two-core non-polar bus communication system, so as to achieve the effect of effectively improving the power supply reliability.
A two-core non-polar bus communication power supply method comprises the following steps:
detecting the power supply direction of the bus;
when the bus is in a non-power supply direction, supplying power to the bus, and counting positive and negative power supply data of each unit on the bus;
when a preset power supply switching condition is detected, sending a same-direction power supply signal to the bus according to the positive and negative power supply data; and the equidirectional power supply signal is used for controlling the unit which supplies power in the same direction on the bus to start power supply.
In one embodiment, the power supply switching condition includes: the number of nodes on the bus is greater than a preset threshold.
In one embodiment, the sending a equidirectional power supply signal to the bus according to the positive and negative power supply data when a preset power supply switching condition is detected includes:
when a preset power supply switching condition is detected, analyzing the number of units supplying power in the same direction and in the reverse direction according to the positive and negative power supply data;
and when the number of the units supplying power in the same direction is greater than or equal to that of the units supplying power in the reverse direction, sending a signal of supplying power in the same direction to the bus.
In one embodiment, after analyzing the number of units supplying power in the same direction and in the reverse direction according to the positive and negative power supply data when the preset power supply switching condition is detected, the method further includes:
when the number of the units supplying power in the same direction is smaller than that of the units supplying power in the reverse direction, a reverse power supply signal is sent to the bus, and power supply to the bus is stopped; and the reverse power supply signal is used for controlling the unit which reversely supplies power on the bus to start power supply.
In one embodiment, after detecting the power supply direction of the bus, the method further includes:
and if the power supply direction of the bus is the same direction, the power supply is started after the same-direction power supply signal is received.
In one embodiment, after detecting the power supply direction of the bus, the method further includes:
and if the power supply direction of the bus is reverse, starting power supply after receiving a reverse power supply signal and no power supply is available on the bus.
A two-core non-polar bus communication power supply device comprising:
the power supply detection module is used for detecting the power supply direction of the bus;
the data acquisition module is used for supplying power to the bus when the bus is not in the power supply direction and counting the positive and negative power supply data of each unit on the bus;
the power supply control module is used for sending a same-direction power supply signal to the bus according to the positive and negative power supply data when a preset power supply switching condition is detected; and the equidirectional power supply signal is used for controlling the unit which supplies power in the same direction on the bus to start power supply.
A two-core non-polar bus communication system comprises more than two units, wherein the units are connected through a bus, and the units are controlled to supply power according to the method.
In one embodiment, the unit comprises a power supply direction detection module, an overcurrent detection module, a power supply control module and a communication module, wherein the power supply direction detection module is connected with the bus and the power supply control module, the power supply control module is connected with the overcurrent detection module, the overcurrent detection module is connected with the bus, and the communication module is connected with the power supply control module and the bus.
In one embodiment, the power supply direction detection module includes an optical coupler U1, an optical coupler U2, a resistor R1, a resistor R2 and a resistor R3, one end of the resistor R1 is connected to a first bus end, the other end of the resistor R1 is connected to an input end of an emitting portion of the optical coupler U1 and an output end of the emitting portion of the optical coupler U2, an output end of an emitting portion of the optical coupler U1 is connected to a second bus end, an input end of a receiving portion of the optical coupler U1 is connected to the power supply control module and is connected to an external power supply end through the resistor R2, and an output end of the receiving portion of the optical coupler U1 is grounded; the input end of the transmitting part of the optocoupler U2 is connected with the second bus end, the input end of the receiving part of the optocoupler U2 is connected with the power supply control module and is connected with an external power supply end through the resistor R3, and the output end of the receiving part of the optocoupler U2 is grounded.
According to the two-core non-polar bus communication power supply method, the two-core non-polar bus communication power supply device and the two-core non-polar bus communication power supply system, the power supply direction of the bus is detected, the bus is supplied with power when the bus is in the non-power supply direction, and positive and negative power supply data of each unit on the bus are counted. When a preset power supply switching condition is detected, a same-direction power supply signal is sent to the bus according to the positive and negative power supply data, and the unit supplying power in the same direction on the bus is controlled to start power supply. When power supply switching is needed, the units which supply power in the same direction on the control bus supply power simultaneously, short circuit caused by power supply conflict can be avoided, and power supply reliability can be effectively improved.
Drawings
FIG. 1 is a flow diagram of a method for powering two-core non-polar bus communications in one embodiment;
FIG. 2 is a flowchart illustrating sending a unidirectional power signal to a bus according to positive and negative power data when a predetermined power switching condition is detected according to an embodiment;
FIG. 3 is a flow chart of a method for powering two-core non-polar bus communications in another embodiment;
FIG. 4 is a block diagram of a two-core non-polar bus communication power supply device according to an embodiment;
FIG. 5 is a block diagram of an embodiment of an assembly;
FIG. 6 is a schematic diagram of a power supply direction detection module according to an embodiment;
FIG. 7 is a power flow diagram of a core non-polar bus communication system in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. The "connection" in the following embodiments is understood as "electrical connection", "communication connection", or the like if the connected circuits, modules, units, or the like have electrical signals or data transmission therebetween.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, the terminology used in this specification includes any and all combinations of the associated listed items.
In one embodiment, a two-core non-polar bus communication power supply method is provided, which is suitable for power supply control of a two-core non-polar HOMEBUS (home bus) multi-node communication system. As shown in fig. 1, the method includes:
step S110: the power supply direction of the bus is detected.
Specifically, a plurality of units are connected to the two-core non-polar bus, and each unit serves as a node. It can be understood that the electric device on the bus may also be used as a node, and taking the home bus as an example, the electric device may be a television, an air conditioner, a washing machine, a range hood and other household appliances. The power is supplied to the bus through the unit, so that the working voltage is provided for the electric equipment on the bus. Firstly, the unit defaults to not supply power to the bus after being powered on and operated, the bus is detected through the power supply direction detection module, and whether the bus is powered or not and the power supply direction of the bus are determined. Wherein, the power supply direction of each unit is fixed, and the power supply is in a forward direction and a reverse direction. The power supply direction is specific to each unit, each unit has a power supply function, and the power supply direction of the bus is the forward direction when the power supply direction is the same as the power supply direction of the unit, and the power supply direction is the reverse direction when the power supply direction is opposite to the power supply direction of the unit.
Step S120: and when the bus is in a non-power supply direction, supplying power to the bus, and counting positive and negative power supply data of each unit on the bus.
If the bus has no power supply direction, the bus is powered by no group on the bus. The unit tries to supply power for the bus through the power supply control module, and when the power supply control module supplies power for the bus, the unit still utilizes and overflows the detection module and carries out the detection of overflowing, when detecting the too big power supply control module automatic power cut-off of electric current, then judges whether need supplying power again according to the power supply condition on the bus, if need supply power, can supply power again after delaying, ensures the power supply time of staggering a plurality of nodes.
And the main unit is used as a host after the power supply of the unit is successful, and the positive and negative power supply data of each unit on the bus are counted through the communication module of the host. Specifically, each unit is used as a node on the bus, the unit of each node sends out own power supply condition on the bus through the communication module, and the same direction or the opposite direction of the nodes is judged according to the power supply direction of the host, so that positive and negative power supply data of each unit on the bus are obtained. In addition, the host is also responsible for distributing the ID numbers of all the units. Specifically, the host which supplies power successfully sets itself as the number 1 host, and distributes an ID address to each node unit through the communication module and counts the condition of positive and negative power supply. It is understood that in other embodiments, the ID numbers of the nodes on the bus may be preset for storage.
Step S130: and when a preset power supply switching condition is detected, sending a same-direction power supply signal to the bus according to the positive and negative power supply data.
And the equidirectional power supply signal is used for controlling the unit which supplies power in the same direction on the bus to start power supply. The specific content of the power supply switching condition is not unique, and may be that the total number of nodes on the bus reaches a threshold value, that a power supply switching instruction is received, or the like. In one embodiment, the power supply switching condition includes: the number of nodes on the bus is greater than a preset threshold. The specific value of the preset threshold is not unique and can be set according to actual requirements. When the number of nodes on the bus is larger than a preset threshold value, in order to avoid the condition of insufficient power supply, the single-node power supply is switched into a multi-node power supply scheme, and at the moment, the host analyzes nodes for supplying power in the same direction and supplying power in the reverse direction, and sends a signal for supplying power in the same direction to the bus. After receiving the equidirectional power supply signals, all the equidirectional power supply nodes start power supply after delaying for a certain time, so that the power supply nodes are adjusted to provide power for the multiple nodes, the power supply capacity is ensured, communication abnormity caused by insufficient power can be avoided, and the power supply problem of multi-node communication is effectively solved.
According to the two-core non-polar bus communication power supply method, the power supply direction of the bus is detected, the bus is powered when the bus is not powered, and positive and negative power supply data of each unit on the bus are counted. When a preset power supply switching condition is detected, a same-direction power supply signal is sent to the bus according to the positive and negative power supply data, and the unit supplying power in the same direction on the bus is controlled to start power supply. When power supply switching is needed, the units which supply power in the same direction on the control bus supply power simultaneously, short circuit caused by power supply conflict can be avoided, and power supply reliability can be effectively improved.
In one embodiment, as shown in fig. 2, step S130 includes steps S131 to S133.
Step S131: and when a preset power supply switching condition is detected, analyzing the number of units supplying power in the same direction and in the reverse direction according to the positive and negative power supply data. When the condition that the power supply switching is met is detected, the host machine counts the conditions of positive and negative power supply, and the number of units supplying power in the same direction and in the reverse direction is determined according to the collected data of the positive and negative power supply.
Step S132: and when the number of the units supplying power in the same direction is greater than or equal to that of the units supplying power in the reverse direction, sending a signal of supplying power in the same direction to the bus. And if the number of the units supplying power in the same direction is greater than or equal to that of the units supplying power in the reverse direction, the host sends a signal supplying power in the same direction to control the units supplying power in the same direction on the bus to supply power to the bus. The bus is supplied by selecting a large number of equidirectional power supply units, so that the power supply capacity of the bus is improved as much as possible, and the communication power supply of multiple nodes of the bus is further ensured. It can be understood that, in other embodiments, when it is detected that the power supply switching condition is met, the host may also directly control the unit that supplies power in the same direction on the bus to supply power to the bus, and the problem of insufficient power supply of a single node may also be solved.
Further, in one embodiment, with continued reference to fig. 2, after step S131, step S130 further includes step S133: and when the number of the units supplying power in the same direction is smaller than that of the units supplying power in the reverse direction, sending a reverse power supply signal to the bus, and stopping supplying power to the bus.
And the reverse power supply signal is used for controlling the unit which reversely supplies power on the bus to start power supply. When the number of the units supplying power in the same direction is smaller than that of the units supplying power in the reverse direction, the host informs of supplying power and sends a reverse power supply signal to the bus to control the units supplying power in the reverse direction in other nodes of the bus to start supplying power. In addition, if other units supplying power in the same direction supply exist in the bus and supply power to the bus, the units supplying power in the same direction supply stop supplying power to the bus after a certain time delay when receiving a reverse power supply signal.
In this embodiment, when the number of the units supplying power in the same direction is smaller than that of the units supplying power in the reverse direction, all the units supplying power in the reverse direction are switched to supply power to the bus, and more units can be selected to supply power, so that the power supply capacity of the bus is improved as much as possible.
Further, in step S133, after the host sends the reverse power supply signal to the bus, if the node does not respond, the host sends a reverse power supply termination signal, and the reverse power supply termination signal is used to control the unit for reverse power supply to stop starting power supply. Specifically, after all the units with reverse power supply receive the reverse power supply signal, the response signal is fed back to the communication module of the host through the communication module. If the reverse node unit does not respond, the host sends a reverse power supply termination signal to avoid the reverse node unit not responding. In addition, the host computer can also feed back the ID number of the non-responding node so as to facilitate the overhaul of the operator.
It can be understood that after all units supplying power in the same direction receive the reverse power supply signal, the response signal can also be fed back to the communication module of the host through the communication module. If the equidirectional node unit does not respond, the host machine also sends a reverse power supply termination signal so as to enable the equidirectional node unit which supplies power to continue supplying power.
In one embodiment, as shown in fig. 3, after step S110, the method further includes step S140: and if the power supply direction of the bus is the same direction, the power supply is started after the same-direction power supply signal is received.
If the power supply direction of the bus is the same direction, the bus is provided with the host for supplying power, the power supply direction of the unit is the same as that of the host, and the unit is used as the unit for supplying power in the same direction and is stored after receiving the ID number distributed by the host. If the same-direction power supply signal sent by the host is not received, the bus is not powered as it is. And starting power supply after receiving a same-direction power supply signal sent by the host.
In one embodiment, with continued reference to fig. 3, after step S110, the method further includes step S150: if the power supply direction of the bus is reverse, the power supply is started after the reverse power supply signal is received and no power is supplied to the bus.
Specifically, if the power supply direction of the bus is reverse, it indicates that the bus has the host to supply power, and the power supply direction of the unit is opposite to the power supply direction of the host, and the unit is used as a unit for reverse power supply and is stored after receiving the ID number distributed by the host. If a reverse power supply signal sent by the host is received, the power supply direction needs to be switched, and the unit starts to supply power after detecting that no power is supplied to the bus.
Further, in an embodiment, in step S150, after the group receives the reverse power supply signal sent by the host, the host is further determined again according to its ID number, so as to perform the power supply direction switching control again in the following. For example, after receiving a reverse power supply signal sent by the host, the unit also detects whether the unit is a reverse power supply unit with the smallest ID number, and if so, starts to supply power after detecting that no power is supplied to the bus, and serves as a new host; if not, power supply is started after no power supply on the bus is detected. It should be noted that, because it is determined that the other node units are in the same direction or in the opposite direction according to the power supply direction of the host, when the power supply direction changes, and a new unit is set as the host (the unit with the smallest ID in the original opposite node), the same-direction and opposite-direction attributes of all the units are changed. The unit in the same power supply direction as the new host becomes a homodromous node, and the unit in the opposite power supply direction from the new host becomes a reverse node.
In one embodiment, a two-core non-polar bus communication power supply device is further provided, and is suitable for power supply control of a two-core non-polar HOMEBUS (home bus) multi-node communication system. As shown in fig. 4, the apparatus includes a power supply detection module 110, a data acquisition module 120, and a power supply control module 130.
The power supply detection module 110 is used for detecting the power supply direction of the bus; the data acquisition module 120 is used for supplying power to the bus when the bus is in a non-power supply direction, and counting positive and negative power supply data of each unit on the bus; the power supply control module 130 is configured to send a equidirectional power supply signal to the bus according to the positive and negative power supply data when detecting a preset power supply switching condition; and the equidirectional power supply signal is used for controlling the unit which supplies power in the same direction on the bus to start power supply.
In one embodiment, the power supply control module 130 is configured to analyze the number of units supplying power in the same direction and in the opposite direction according to the data of the positive and negative power supplies when a preset power supply switching condition is detected; and when the number of the units supplying power in the same direction is greater than or equal to that of the units supplying power in the reverse direction, sending a signal of supplying power in the same direction to the bus.
Further, in an embodiment, the power supply control module 130 is further configured to send a reverse power supply signal to the bus and stop supplying power to the bus when the number of units supplying power in the same direction is smaller than the number of units supplying power in the reverse direction.
In one embodiment, the two-core non-polar bus communication power supply device further includes a equidirectional power supply module, and the equidirectional power supply module is configured to, after the power supply detection module 110 detects the power supply direction of the bus, turn on power supply after receiving a equidirectional power supply signal if the power supply direction of the bus is the same direction.
In one embodiment, the two-core non-polar bus communication power supply device further includes a reverse power supply module, where the reverse power supply module is configured to, after the power supply detection module 110 detects the power supply direction of the bus, receive a reverse power supply signal if the power supply direction of the bus is reverse, and start power supply after no power is supplied to the bus.
For specific limitations of the two-core non-polar bus communication power supply device, reference may be made to the above limitations of the two-core non-polar bus communication power supply method, which is not described herein again. The modules in the two-core non-polar bus communication power supply device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
According to the two-core non-polar bus communication power supply device, the power supply direction of the bus is detected, the bus is powered when the bus is in the non-power supply direction, and positive and negative power supply data of each unit on the bus are counted. When a preset power supply switching condition is detected, a same-direction power supply signal is sent to the bus according to the positive and negative power supply data, and the unit supplying power in the same direction on the bus is controlled to start power supply. When power supply switching is needed, the units which supply power in the same direction on the control bus supply power simultaneously, short circuit caused by power supply conflict can be avoided, and power supply reliability can be effectively improved.
In one embodiment, a two-core non-polar bus communication system is also provided, and may be a two-core non-polar HOMEBUS multi-node communication system. The two-core non-polar bus communication system comprises more than two units, wherein the units are connected through a bus, and the units perform power supply control according to the method.
Specifically, in one embodiment, as shown in fig. 5, the unit includes a power supply direction detection module 210, an overcurrent detection module 220, a power supply control module 230, and a communication module 240, where the power supply direction detection module 210 is connected to the bus and the power supply control module 230, the power supply control module 230 is connected to the overcurrent detection module 220, the overcurrent detection module 220 is connected to the bus, and the communication module 240 is connected to the power supply control module 230 and the bus. The power supply direction detection module 210 is configured to detect a power supply direction of a bus, the power supply control module 230 is configured to access an external power source to supply power to the bus, the overcurrent detection module 220 is configured to detect a power supply current of the unit, and the power supply control module 230 stops supplying power when the power supply current is greater than a preset current threshold. The communication module 240 is used for communicating with other units on the bus, such as transmitting and receiving ID numbers, co-current power supply signals, reverse power supply signals, and the like.
In one embodiment, as shown in fig. 6, the power supply direction detection module 210 includes an optocoupler U1, an optocoupler U2, a resistor R1, a resistor R2, and a resistor R3, one end of the resistor R1 is connected to the first bus end P1, the other end of the resistor R1 is connected to the input end of the transmitting portion of the optocoupler U1 and the output end of the transmitting portion of the optocoupler U2, the output end of the transmitting portion of the optocoupler U1 is connected to the second bus end P2, the input end of the receiving portion of the optocoupler U1 is connected to the power supply control module 230 and is connected to an external power supply terminal VCC through a resistor R2, and the output end of the receiving portion of; the input of the transmitting part of the optocoupler U2 is connected with a second bus end P2, the input of the receiving part of the optocoupler U2 is connected with the power supply control module 230, the receiving part of the optocoupler U2 is connected with an external power supply end VCC through a resistor R3, and the output end of the receiving part of the optocoupler U2 is grounded. The input end of the receiving part of the optocoupler U1 is connected with the power supply control module 230 through a port IC-P, and the input end of the receiving part of the optocoupler U2 is connected with the power supply control module 230 through a port IC-N. The power supply detection module 110 can detect whether power is supplied to the bus, and can detect the direction of power supply to the bus.
According to the two-core non-polar bus communication system, the power supply direction of the bus is detected, the bus is powered when the bus is in the non-power supply direction, and positive and negative power supply data of each unit on the bus are counted. When a preset power supply switching condition is detected, a same-direction power supply signal is sent to the bus according to the positive and negative power supply data, and the unit supplying power in the same direction on the bus is controlled to start power supply. When power supply switching is needed, the units which supply power in the same direction on the control bus supply power simultaneously, short circuit caused by power supply conflict can be avoided, and power supply reliability can be effectively improved.
In order to better understand the method, the device and the communication system for communication and power supply of the two-core non-polar bus, a two-core non-polar HOMEBUS multi-node communication system is taken as an example for detailed explanation.
In the existing two-core non-polar HOMEBUS communication scheme, in order to avoid the problems of short circuit and the like caused by power supply conflict, 1 node in the nodes generally provides power, but if too many communication nodes exist, the power supply capacity of a single node is limited, communication abnormity is easily caused, and in order to solve the power supply problem of multi-node communication, a higher scheme is needed to solve the power supply problem.
Based on this, this application provides a two-core nonpolarity HOMEBUS communication power supply scheme of solving the power supply problem, increases the node quantity of two-core nonpolarity HOMEBUS communication, improves communication quality and stability, ensures simultaneously that installer can make things convenient for the wiring, improves unit installation effectiveness. In addition, the cost can be saved, and unnecessary waste is avoided. The power supply detection and the power supply scheme switching are adopted, and the power supply scheme is switched according to the power supply detection condition, so that the power supply of the communication line is ensured. By adopting a non-polar wiring scheme, the problem of short circuit caused by wrong line sequence does not need to be considered during wiring, and wiring is performed by scheme installers, so that the unit installation efficiency is improved.
Specifically, the unit has contained power supply direction detection module, has crossed current detection module, power supply control module and HOMEBUS communication module in this scheme, and power supply direction detection module can the power supply direction on the detection bus, also can detect whether have the electricity on the bus. The power supply control module is used for controlling the power supply of the bus. The HOMEBUS communication module is used for bus communication. After each unit is connected, the power supply direction of each unit is fixed, and the unit is supplied with power in a forward direction and a reverse direction, so that if the unit is supplied with power in the forward direction and the unit is supplied with power in the reverse direction simultaneously on the bus, short circuit occurs, and the short circuit is avoided.
The two-core non-polar HOMEBUS multi-node communication power supply scheme is shown in fig. 7, and includes the following steps:
1. the unit is powered on, the bus is not powered, and the power supply direction detection module is used for detecting the condition of the bus power supply. The power supply direction detection module is explained with reference to fig. 6: the power supply direction detection module mainly comprises an optocoupler U1 and an optocoupler U2, wherein P1 and P2 are HOMEBUS bus ends, when no power is supplied to the bus, the optocoupler U1 and the optocoupler U2 are not conducted, and no signal exists at ports IC-P and IC-N; when the power is supplied in the same direction on the bus, the level of the P1 end is higher than that of the P2 end, the optocoupler U1 is conducted, the optocoupler U2 is not conducted, a signal exists at the port IC-P, and a signal does not exist at the port IC-N; when power is reversely supplied to the bus, the level of the P2 end is higher than that of the P1 end, the optocoupler U1 is not conducted, the optocoupler U2 is conducted, the port IC-P has no signal, and the port IC-N has a signal. That is, the power supply direction detection module may detect whether power is supplied to the bus, and may detect a power supply direction on the bus.
2. If power supply exists, the power supply is judged to be in the same direction or in the reverse direction, and meanwhile, the HOMEBUS communication module sends out the power supply condition of the HOMEBUS communication module.
3. If there is no power on the bus, the control power control module attempts to supply power. During the power supply, the overcurrent detection module detects that the current is too large at any moment, the power supply is automatically cut off, then whether power supply needs to be carried out again or not is judged according to the power supply condition on the bus, and if power supply needs to be carried out, the power supply can be carried out again after random delay, so that the power supply time of a plurality of nodes can be staggered.
4. After the power supply of the unit is successful, the unit is set as a host and is responsible for distributing an ID address to the electrified communication node and counting the conditions of positive and negative power supply.
5. When the host detects that the number of the nodes on the bus is larger than n, in order to avoid the condition of insufficient power supply, the single-node power supply is switched into a multi-node power supply scheme. At this time, the host counts the number of nodes which are supplied with power in the same direction and in the reverse direction.
6. When the number of nodes for supplying power in the same direction is larger than that of nodes for supplying power in the reverse direction, the host computer sends a signal for supplying power in the same direction, and all the nodes for supplying power in the same direction start to supply power after delaying t1 after receiving the signal.
7. When the number of the nodes for supplying power in the reverse direction is more than that of the nodes for supplying power in the same direction, the host sends a reverse power supply signal (namely a power supply direction switching instruction), all the nodes feed back a response signal after receiving the signal, if the nodes do not respond, the host sends a reverse power supply termination signal to avoid that the nodes do not respond, and the host can feed back the ID numbers of the nodes which do not respond.
8. After all the same-direction power supply nodes receive the reverse power supply signals, response signals are fed back, and then the power supply of the same-direction power supply nodes is cut off after a long time t 1.
9. After all the reverse power supply nodes receive the reverse power supply signal, a response signal is fed back, then whether power is supplied to the bus or not is detected, when no power is supplied to the bus is detected, power supply is started, then each node detects the ID numbers of all the nodes which supply power in the same direction (before power supply is started or the nodes which supply power in the reverse direction) on the bus, and the node with the minimum ID becomes a new host.
10. The overcurrent protection mechanism is in an operating state in the whole process. If the power supply is stopped due to the overcurrent condition, the node can detect the power supply condition (including the same-direction power supply, the reverse power supply, whether a multi-node power supply scheme is switched or not) on the bus to judge whether the power supply is needed or not. If the overcurrent protection is triggered by 3 consecutive attempts to supply power, the node has a high probability of failure, and in order to avoid interference with bus communications, the node relinquishes power and signals a power failure.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110249827.6A CN112886584A (en) | 2021-03-08 | 2021-03-08 | Two-core non-polar bus communication power supply method, device and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110249827.6A CN112886584A (en) | 2021-03-08 | 2021-03-08 | Two-core non-polar bus communication power supply method, device and communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112886584A true CN112886584A (en) | 2021-06-01 |
Family
ID=76055664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110249827.6A Pending CN112886584A (en) | 2021-03-08 | 2021-03-08 | Two-core non-polar bus communication power supply method, device and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112886584A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1147417A (en) * | 1976-09-07 | 1983-05-31 | Richard M. Bixler | Multiprocessor polling system |
CN104617633A (en) * | 2015-02-24 | 2015-05-13 | 刘光辰 | Intelligent battery, electricity transfer bus system and balanced charging and discharging method |
CN110285552A (en) * | 2019-07-01 | 2019-09-27 | 珠海格力电器股份有限公司 | Line controller power supply control circuit, air conditioner internal unit and air conditioning system |
CN112333068A (en) * | 2020-10-30 | 2021-02-05 | 天基电气(深圳)有限公司 | Power supply communication bus system, power supply communication method and electronic equipment |
CN214506555U (en) * | 2021-03-08 | 2021-10-26 | 珠海格力电器股份有限公司 | Two-core non-polar bus communication system |
-
2021
- 2021-03-08 CN CN202110249827.6A patent/CN112886584A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1147417A (en) * | 1976-09-07 | 1983-05-31 | Richard M. Bixler | Multiprocessor polling system |
CN104617633A (en) * | 2015-02-24 | 2015-05-13 | 刘光辰 | Intelligent battery, electricity transfer bus system and balanced charging and discharging method |
CN110285552A (en) * | 2019-07-01 | 2019-09-27 | 珠海格力电器股份有限公司 | Line controller power supply control circuit, air conditioner internal unit and air conditioning system |
CN112333068A (en) * | 2020-10-30 | 2021-02-05 | 天基电气(深圳)有限公司 | Power supply communication bus system, power supply communication method and electronic equipment |
CN214506555U (en) * | 2021-03-08 | 2021-10-26 | 珠海格力电器股份有限公司 | Two-core non-polar bus communication system |
Non-Patent Citations (1)
Title |
---|
王振臣;姜一峰;王树贤;: "基于MC68HC908JB16的XY・CN总线转换器的设计", 微计算机信息, no. 32, 15 November 2008 (2008-11-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3686443B2 (en) | Device and method for manipulating the power status of a remote device | |
US6954863B2 (en) | Local area network terminal adapted to be rebooted with local power supply interruption if remote power supply is not being received | |
US20070293953A1 (en) | Power line communication terminal apparatus | |
KR102546893B1 (en) | SYSTEM FOR SEQUENTIAL CONTROL OF NETWORK SWITCH FOR PoE-BASED IoT SYSTEM AND METHOD THEREOF | |
CN102882692A (en) | Network power supply control system, network power supply equipment and network power receiving device thereof | |
TW201807979A (en) | System for transmitting power to a remote Ethernet power (POE) subsystem by transferring a power input from a powered device (PD) | |
US20210003307A1 (en) | Communication Implementation Method and Device for Air Conditioning Units, Non-Transitory Computer Readable Storage Medium and Processor | |
CN107817886B (en) | Power supply control method and electronic equipment | |
CN214506555U (en) | Two-core non-polar bus communication system | |
CN106101032B (en) | Method and device for COMBO interface self-adaptive Ethernet interface | |
JP2021117963A (en) | How to manage redundant power supply using power over Ethernet and its redundant power supply | |
CN110532149A (en) | Store the management method and device of equipment | |
CN112886584A (en) | Two-core non-polar bus communication power supply method, device and communication system | |
CN113329286B (en) | Wireless earphone and wireless earphone system | |
CN113572622A (en) | POE power supply system and POE power supply method | |
CN205071015U (en) | Ethernet power supply unit | |
CN116382449B (en) | Power supply distribution method, system and storage medium | |
CN111181737B (en) | Control method, power receiving device and system | |
EP3446443B1 (en) | Detection of non-powered device (non-pd) on a power-over-ethernet port based on the data link state information | |
CN110168468B (en) | Communication equipment of power supply | |
CN118696204A (en) | Controller for household appliances | |
CN108090009A (en) | Multi-machine reversing method, device and system | |
CN114089490B (en) | USB active optical cable and plug capable of managing power consumption and state | |
CN105245840A (en) | Data forwarding method and device and camera | |
CN111208804A (en) | Dust remover ash removal system and disconnection fault safety hot standby hard connection method |
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 |