CN110839091A - Bus type communication control system and online addressing method - Google Patents
Bus type communication control system and online addressing method Download PDFInfo
- Publication number
- CN110839091A CN110839091A CN201911128401.4A CN201911128401A CN110839091A CN 110839091 A CN110839091 A CN 110839091A CN 201911128401 A CN201911128401 A CN 201911128401A CN 110839091 A CN110839091 A CN 110839091A
- Authority
- CN
- China
- Prior art keywords
- addressing
- power supply
- bus
- node
- core bus
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 133
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000000977 initiatory effect Effects 0.000 claims abstract description 48
- 230000000875 corresponding effect Effects 0.000 claims abstract description 23
- 239000003999 initiator Substances 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000007935 neutral effect Effects 0.000 claims description 3
- 230000001276 controlling effect Effects 0.000 claims description 2
- 230000008878 coupling Effects 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 claims description 2
- 238000005859 coupling reaction Methods 0.000 claims description 2
- 238000009434 installation Methods 0.000 abstract description 17
- 230000007246 mechanism Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 101100134058 Caenorhabditis elegans nth-1 gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
The invention relates to the field of communication control, and discloses a bus type communication control system and an online addressing method, wherein the system comprises a three-core bus, a power supply connected with the three-core bus, an addressing initiating device and a plurality of node devices; the power supply, the addressing initiating device and the node devices transmit electric energy and serial instruction data frames through a three-core bus; the power supply is used for supplying working electric energy to equipment connected to the three-core bus; the addressing initiating device is used for generating a serial instruction data frame and sending the serial instruction data frame to the three-core bus; the node equipment is used for carrying out corresponding action according to the serial instruction data frame received from the three-core bus. According to the embodiment of the invention, the power supply, the addressing initiating device and all the node devices are connected to the three-core bus, and all the node devices are addressed on line, so that the cost is reduced, and the installation and debugging efficiency of the system is improved.
Description
Technical Field
The invention relates to the field of communication control, in particular to a bus type communication control system and an online addressing method.
Background
The bus type communication control system comprises a power supply, node equipment, a power supply bus and a communication bus, wherein the power supply bus and the communication bus are used for connecting the power supply and the node equipment, and the node equipment also needs to have an identification address, so that normal communication between the node equipment can be ensured, and a preset control function is realized. In order to improve the convenience of installation and debugging of the equipment, the node equipment can be preferably programmed with an address related to an installation position on line after being installed in place. In the current bus type communication control system, at least the following disadvantages exist: the power supply bus and the communication bus are separately arranged, and node equipment cannot be addressed online, so that the node equipment is inconvenient to install and debug, and the installation and debugging efficiency of the system is low.
Disclosure of Invention
The embodiment of the invention provides a bus type communication control system and an online addressing method, which can enable a power supply line and a communication line to be combined, can perform online addressing on node equipment connected to a bus, and improve the installation and debugging efficiency of the system.
In a first aspect, an embodiment of the present invention provides a bus-type communication control system, where the bus-type communication control system includes a three-core bus, and a power supply, an addressing initiation device, and a plurality of node devices that are connected to the three-core bus;
the power supply, the addressing initiating device and the node devices transmit electric energy and serial instruction data frames through the three-core bus, and the serial instruction data frames are used for carrying out online addressing on the node devices;
the power supply is used for supplying working electric energy to equipment connected to the three-core bus;
the addressing initiating device is used for generating a serial instruction data frame and sending the serial instruction data frame to the three-core bus;
and the node equipment is used for carrying out corresponding action according to the serial instruction data frame received from the three-core bus.
Optionally, the three-core bus includes a first core bus, a second core bus, and a third core bus, where the first core bus and the second core bus are connected in parallel with all of the node devices, and each of the node devices is further connected in series through the third core bus.
Optionally, the node device includes: the control unit is respectively connected with the communication unit and the communication connection unit and is used for controlling the communication unit and the communication connection unit to execute corresponding actions according to the data frame instruction;
the power conversion unit is connected in parallel to the first core bus and the second core bus and used for receiving electric energy of the power supply and converting the electric energy into electric energy suitable for the work of the node equipment;
the communication unit is respectively connected with the second core bus and the third core bus and is used for transmitting the serial instruction data frame;
the third core bus is connected from the communication unit of the addressing initiator to inputs of the communication unit and the communication connection unit of the next node device, and from an output of the communication unit to inputs of the communication unit and the communication connection unit of the next node device.
Optionally, the communication connection unit is a relay.
Optionally, the power supply is a dc power supply device, the first core bus is connected to a positive electrode of the dc power supply device, and the second core bus is connected to a negative electrode of the dc power supply device.
Optionally, the power supply is an ac power supply device, the first core bus is connected to the a line of the ac power supply device, and the second core bus is connected to the B line of the ac power supply device, or
The first core bus is connected with the B line of the alternating current power supply equipment, and the second core bus is connected with the A line of the alternating current power supply equipment.
Optionally, the ac power supply device is a high voltage ac power supply device, the first core bus is connected to the live wire of the high voltage ac power supply device, the second core bus is connected to the zero line of the high voltage ac power supply device, and the third core bus is connected to the ground wire of the high voltage ac power supply device.
Optionally, the communication unit is a carrier communication unit, and the carrier communication unit is configured to couple a carrier signal to the second core bus and the third core bus for transmission.
Optionally, the bus-type communication control system further includes a low-pass filter circuit, where the low-pass filter circuit is used to connect a ground line of the high-voltage ac power supply device and the third core bus.
Optionally, the first one of the node devices is the addressing originating device.
In a second aspect, an embodiment of the present invention provides an online addressing method based on a bus-type communication control system, where the method includes:
the addressing initiating device sends a preparation addressing instruction to each node device so that the node device executes corresponding operation;
the addressing initiating device sends an addressing instruction data frame containing a target address value of the node device to the node device;
judging whether the node equipment meets an addressing condition;
if so, the node equipment makes a corresponding response to the addressing instruction data frame;
and if not, the node equipment ignores the addressing instruction data frame.
Optionally, the node device performs corresponding operations, including:
the node equipment sends a corresponding addressing preparation mark position 1;
and the communication connection unit in the node equipment is set to be in a disconnection state.
Optionally, the node device responds to the addressing instruction data frame correspondingly, including:
the node equipment takes out address data from the addressing instruction data frame and permanently stores the address data as a self address;
the node equipment transmits the prepared addressing flag position 0;
the communication connection unit in the node apparatus is set to an on state.
Optionally, the node device responds to the addressing instruction data frame correspondingly, and further includes:
and the node equipment sets the addressing instruction data frame containing the target address value according to a preset rule, and sends the addressing instruction data frame to the first node equipment behind the node equipment so as to address the first node equipment behind the node equipment.
The embodiment of the invention has the beneficial effects that: the bus type communication control system comprises a three-core bus, a power supply connected with the three-core bus, an addressing initiating device and a plurality of node devices; the power supply, the addressing initiating device and the node devices transmit electric energy and serial instruction data frames through a three-core bus; the power supply is used for supplying working electric energy to equipment connected to the three-core bus; the addressing initiating device is used for generating a serial instruction data frame and sending the serial instruction data frame to the three-core bus; the node equipment is used for carrying out corresponding action according to the serial instruction data frame received from the three-core bus. According to the embodiment of the invention, the power supply, the addressing initiating device and all the node devices are connected to the three-core bus, and all the node devices are addressed on line, so that the cost is reduced, and the installation and debugging efficiency of the system is improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic diagram of a bus-type communication control system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a node device in a bus-type communication control system according to an embodiment of the present invention;
fig. 3 is a flowchart of an online addressing method based on a bus-type communication control system according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of step 21 in FIG. 3;
fig. 5 is a schematic flow chart of step 23 in fig. 3.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention 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 invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. The terms "first", "second", "third", and the like used in the present invention do not limit data and execution order, but distinguish the same items or similar items having substantially the same function and action.
Fig. 1 is a bus type communication control system according to an embodiment of the present invention, where the bus type communication control system 10 includes a three-core bus 11, and a power supply 12, a node device 13, and an addressing initiation device 14 connected to the three-core bus 11;
the power supply 12, the addressing initiating device 14 and the plurality of node devices 13 transmit electric energy and a serial instruction data frame through the three-core bus 11, wherein the serial instruction data frame is used for addressing the plurality of node devices 13 on line;
the power supply 12 is used for supplying working electric energy to the equipment connected to the three-core bus 11;
the addressing initiating device 14 is configured to generate a serial instruction data frame and send the serial instruction data frame to the three-core bus 11;
the node device 13 is configured to perform a corresponding action according to the serial command data frame received from the three-core bus 11.
Therefore, the bus type communication control system 10 connects the power supply 12, the addressing initiating device 14 and all the node devices 13 to the three-core bus 11, and addresses all the node devices 13 on line, thereby reducing the cost and improving the installation and debugging efficiency of the system.
In some embodiments, with continued reference to fig. 1, the three-core bus 11 includes a first core bus 111, a second core bus 112, and a third core bus 113, wherein the first core bus 111 and the second core bus 112 are connected in parallel with all node devices 13, and each node device 13 is further connected in series through the third core bus 113.
In some embodiments, the power supply 12 may be embodied as a switching power supply, inverter power supply, regulated ac power supply, regulated DC power supply, DC/DC power supply, communication power supply, modular power supply, variable frequency power supply, UPS power supply, or the like.
If the power supply 12 is a dc power supply, the first core bus 111 is connected to the positive electrode of the dc power supply, and the second core bus 112 is connected to the negative electrode of the dc power supply.
If the power supply 12 is a low-voltage ac power supply device, the first core bus 111 is connected to the a line of the low-voltage ac power supply device, and the second core bus 112 is connected to the B line of the ac power supply device, or
The first core bus 111 is connected to the B line of the ac power supply device, and the second core bus 112 is connected to the a line of the ac power supply device.
If the AC power supply device is a high-voltage AC power supply device, such as AC utility power AC110V or AC220V, the first core bus 111 is connected to the live line L of the high-voltage AC power supply device, the second core bus 112 is connected to the neutral line N of the high-voltage AC power supply device, and the third core bus 113 is connected to the ground line PE of the high-voltage AC power supply device.
In some embodiments, node devices 13 communicate using a carrier communication technique, with a carrier signal coupled on both the second core bus 112 and the third core bus 113.
In some embodiments, a first one of node devices 13 acts as addressing initiator device 14, and addressing initiator device 14 generates and transmits serial data frame instructions to subsequent node devices 13 to enable online addressing of subsequent node devices 13.
Further, the bus type communication control system 10 further includes a low pass filter circuit 15, and when the power supply 12 is a high voltage ac power supply device, the low pass filter circuit 15 is used to connect the ground PE of the high voltage ac power supply device and the third core bus 113.
In summary, the electric energy of the power supply 12 in the bus type communication control system 10 is transmitted to each node device 13 through the three-core bus 11, and meanwhile, the serial data frame instruction for online addressing is transmitted to each node device 13 through the three-core bus 11 to perform online addressing on each node device 13, so that normal communication between the node devices 13 is ensured, and after the node devices 13 are installed in place, addresses related to installation positions can be programmed in online, so that convenience of system installation and debugging is improved, and further, installation and debugging efficiency of the system is improved.
Referring to fig. 2, fig. 2 is a bus-type communication control system according to another embodiment of the present invention, as shown in fig. 2, each node device 13 includes a control unit 131, a communication unit 132, a power conversion unit 133, and a communication connection unit 134, where the control unit 131 is respectively connected to the communication unit 132 and the communication connection unit 134, and is configured to control the communication unit 132 and the communication connection unit 134 to execute corresponding actions according to data frame instructions;
the power conversion unit 133 is connected in parallel to the first core bus 111 and the second core bus 112, and is configured to receive the electric energy from the power supply 12 and convert the electric energy into electric energy suitable for the node device 13;
the communication unit 132 is connected to the second core bus 112 and the third core bus 113, respectively, and is configured to transmit a serial command data frame;
In some embodiments, the first core bus 111 is a power supply line, the second core bus 112 is a power supply and communication common line, and the third core bus 113 is a communication line. Therefore, the three-core bus can combine the power supply wires and the communication wires, and the circuit cost is reduced.
In some embodiments, the node device 13 further comprises an execution unit 137, the execution unit 137 being connected to the control unit 131, which performs actions according to the received instructions.
Preferably, the communication connection unit 134 is a single-pole double-throw relay, 1342 is a common terminal, and 1341 is a normally closed terminal. The common terminal and the normally closed terminal are both connected to the third core bus 113, the normally closed terminal 1341 is an input terminal of the communication connection unit 134, the common terminal 1342 is an output terminal of the communication connection unit 134, and when the normally closed terminal 1341 is connected to the common terminal 1342, that is, the relay is in a closed state, the node device is connected to the next node device. The normally open end of the single-pole double-throw relay can be not connected with the second core bus 112 or connected with the second core bus 112, and the anti-interference capability during the execution of the addressing function can be improved during the connection.
As shown in fig. 2, the power conversion unit 133 of the node device 13 is connected in parallel with the first core bus 111 and the second core bus 112 of the buses, and is configured to receive power from the power source and convert the power into a voltage/current suitable for the operation of the internal circuit of the node device 13. The third core bus 113 of the bus 11 is connected from the output terminal 1342 of the communication connection unit 134 of the addressing initiator 14 to the input terminal 1341 of the communication connection unit 134 of the second node device 13, and from the output terminal 1342 of the communication connection unit 134 of the second node device 13 to the input terminal 1341 … … of the communication connection unit 134 of the third node device 13, in short, the output terminal 1342 of the communication connection unit 134 of the n-1 th node device is connected to the input terminal 1341 of the communication connection unit 134 of the n-th node device 13 through the third core bus 113 of the bus 11.
Under the default condition that the node device 13 is not powered on or is powered on and reset, the communication connection units 134 of all the node devices 13 maintain a closed connection state, and the third core bus 113 is a continuously conducted bus.
In this embodiment, the node devices 13 communicate with each other by using a known carrier communication technique, a carrier signal is coupled to two lines, i.e., the second core bus 112 and the third core bus 113, and the communication unit 132 is a carrier communication unit.
In some embodiments, the node device further includes a low pass filter 135 and a chassis housing 136.
When the power supply 12 is a dc power supply, the first core bus 111 is connected to the positive electrode V + of the dc power supply 12, and the second core bus 112 is connected to the negative electrode V-of the dc power supply 12;
when the power supply 12 is a low-voltage ac power supply, the first core bus 111 is connected to the a terminal of the low-voltage ac power supply 12, and the second core bus 112 is connected to the B terminal of the low-voltage ac power supply 12;
when the power supply 12 is the AC commercial power (AC110V or AC22V), the first core bus 111 connects to the live line (L) of the AC commercial power, the second core bus 112 connects to the neutral line (N) of the AC commercial power, and the third core bus 113 connects to the ground line (PE) of the AC commercial power 12 through the low pass filter 14. When the system power supply 12 is an ac commercial power, the third core bus 113 also functions as a ground (PE), and the third core bus 113 is connected to the metal casing 136 of the node device 13 through the low pass filter 135.
The low-pass filter 135 is used for preventing the high-frequency carrier signal on the third core bus 113 from leaking out to form interference noise to the environment, avoiding the loss of carrier energy, and avoiding the coupling and conduction of electromagnetic noise outside the system to the third core bus 113 to interfere the carrier signal; meanwhile, the low pass filter 135 allows a low frequency leakage current to pass therethrough, and keeps the third core bus 113 doubling as a ground (PE) line.
Preferably, the low pass filter 135 is an inductor with a suitable inductance value and over-current capability, such as a 220uH/1A inductor. The inductance value of the inductor is determined by the frequency of the carrier signal, and the rated overcurrent value is determined by the power consumption of the node device 13.
The carrier communication unit 132 in the node device 13 is connected to the second core bus 112 and the third core bus 113, receives the carrier communication signal, demodulates the carrier communication signal to obtain a serial data frame, and transmits the serial data frame to the control unit 131 connected thereto. Or receives a serial data frame to be transmitted from the control unit 131, modulates the serial data frame into a carrier signal, and transmits the carrier signal to the second core bus 112 and the third core bus 113 for being received by other node devices on the buses.
Preferably, the carrier communication unit 132 employs a half-duplex communication mechanism and remains in a receiving state when idle.
The control unit 131 is also connected to the communication connection unit 134, and controls the connection and disconnection of the communication connection unit 134.
Based on the bus-type communication control system, the addressing initiation device 14 may perform online addressing on all node devices 13, and a specific online addressing method may be described as follows:
the node device 13 located at the foremost end of the bus is taken as an addressing initiator 14, and the addressing initiator 14 initiates an addressing process with respect to the following node devices 13. Addressed originating device 14 may not include communication continuation unit 134.
All node devices 13 except the addressing initiator 14 have "addressing preparation flag bits" in software or hardware, and when the addressing preparation flag bit is set to 0, the node device 13 ignores the received "addressing instruction data frame"; when addressing flag location 1 is ready, the node device 13 will respond to the received "addressing command data frame".
All node devices 13 are powered on and initialized, the "ready addressing flag" of the node device 13 is set to 0, the communication connection unit 134 is connected, that is, the normally closed terminal 1341 and the public terminal 1342 are closed, and the node device 13 is connected to the next node device 13 through the communication connection unit 134.
Then, the addressing initiator 14 obtains the number of the node devices 13 to be addressed and its own address, and sends a "ready addressing" instruction to the other node devices 13, where the "ready addressing" instruction represents ready addressing, and the other node devices 13 receive the instruction, and then set its own "ready addressing flag bit" to 1, which represents that the node device 13 can respond to the "addressing instruction data frame", and at the same time, the node device 13 also disconnects the communication connection unit 134, that is, disconnects the normally closed terminal 1341 from the public terminal 1342, so that the node device disconnects the next node device 13 through the communication connection unit 134. That is, when the node apparatus 13 responds to an addressed instruction, the node apparatus 13 installed behind it is prevented from receiving an upcoming "addressed instruction data frame".
Then, addressing initiating device 14 sends "addressing instruction data frame" containing the target address value of node device 13 to node device 13, and node device 13 determines whether the addressing condition is satisfied, if so, node device 13 makes a corresponding response to the addressing instruction data frame, and if not, node device 13 ignores the addressing instruction data frame. Wherein, the node device 13 receives the "addressing command data frame" and its own "ready addressing flag" is 1, which means that the node device 13 satisfies the addressing condition, the node device 13 will respond to the command, specifically, the node device 13 takes out the address data from the addressing command data frame and stores it as its own address permanently, then sets the ready addressing flag to 0, and sets the communication connection unit 134 in the node device 13 to on state, that is, the node device 13 on the bus turns off its own communication connection unit 134 after entering the "ready addressing" state, so that the node device installed behind it is prevented from receiving the "addressing command data frame", and the communication connection unit 134 is turned on only after itself finishes addressing, so that the subsequent node device 13 may receive the next addressing command sent by the addressing initiating device 14, meanwhile, the self exits the addressing preparation state through clearing 0 of the 'addressing preparation zone bit', thereby realizing that the addressing initiating device 14 sequentially addresses the node devices 13 on the bus. In addition, when the communication connection unit 134 is disconnected, the common port 1342 thereof is connected to the normally open port, i.e., the second core bus 112. The beneficial technical effect is that, in the case of large energy of the carrier signal, the carrier signal is also coupled from the end 1341 to the end 1342 after the communication connection unit 134 is disconnected, thereby improving the reliability of the system.
If the node device 13 that received the "addressing instruction data frame" does not satisfy the addressing condition, the addressing initiation device 14 will continue to address the next node device 13, and the addressing initiation device 14 can completely predict that the n-th "addressing instruction data frame" will be sent to the n-th node device 13 installed therebehind, so that the node device 13 can be addressed in relation to its installation location. This has significant positive implications for practical communication control systems.
Finally, after a period of time delay, the addressing initiating device 14 will determine whether the number of times of programming reaches the number of node devices to be addressed, if yes, the addressing is finished, and if not, the addressing initiating device 14 continues to send addressing instruction data frames to the node devices 13.
In summary, all the addressing instruction data frames are sent by the addressing initiating device 14, the addressing initiating device 14 sequentially performs online addressing on all the node devices meeting the addressing condition, the node device 13 on the bus is disconnected from the next node device 13 after entering the addressing state, and the connection with the next node device 13 is not connected until the node device 13 completes the online addressing, so that the addressing initiating device 14 continues to perform online addressing on the next node device 13 until all the node devices 13 complete the addressing. In this online addressing method, all communication units 132 of node devices 13 except the addressing initiator device 14 may have only a receiving mechanism and no transmitting mechanism, further reducing circuit costs. In addition, in the method, the address value of the target device can be set arbitrarily by the 'addressing instruction data frame' sent by the same addressing initiating device 14 each time, so that the addressing function is more flexible.
In some embodiments, the addressing initiator device 14 does not address all node devices 13 online, but only the first node device 13 installed thereafter is addressed online, and then the first node device 13 installed thereafter is addressed online by that node device 13, and so on until the last node device 13 completes addressing online. Specifically, the method comprises the following steps:
all the node devices 13 are powered on and initialized, the "preparation addressing flag" of all the node devices 13 is cleared by 0, the communication connection unit 134 is switched on, the addressing initiating device 14 sends a "preparation addressing" instruction, after receiving the instruction, the node devices 13 set the "preparation addressing flag" thereof to 1, the communication connection unit 134 is switched off, then the addressing initiating device 14 sends an "addressing instruction data frame" containing the target address value of the node device 13 to the node devices 13, the node devices 13 judge whether the node devices 13 meet the addressing condition, if so, the node devices 13 make corresponding responses to the addressing instruction data frame, and if not, the node devices 13 ignore the addressing instruction data frame.
The specific response of the node device 13 to the received addressing instruction data frame is that the node device 13 takes out the address data from the "addressing instruction data frame" as the address of the node device to be stored permanently, clears the "preparation addressing flag bit" to 0, and connects the communication connection unit 134;
next, the node device 13 sets the destination address value included in the "addressing instruction data frame" according to a predetermined rule (for example, the own address +1), changes the own communication unit 132 from the reception state to the transmission state, and then issues the "addressing instruction data frame" to address the first node device 13 installed therebehind.
That is, the addressing initiation device 14 only sends the addressing instruction data frame to the first node device 13, after the addressing of the first node device 13 is completed, the target address value contained in the addressing instruction data frame is modified according to the predetermined rule, then the modified addressing instruction data frame is sent to the second node device 13, after the addressing of the second node device 13 is completed, the target address value contained in the addressing instruction data frame is modified according to the predetermined rule, then the modified addressing instruction data frame is sent to the third node device 13 installed behind, and so on, until the nth-1 node device 13 sends the modified addressing instruction data frame to the nth node device 13, so that the nth node device 13 completes the online addressing.
And finally, judging whether all the node equipment 13 on the bus finishes addressing, if so, finishing addressing, and if not, continuing to perform online addressing on the subsequent node equipment 13 by the node equipment 13.
In summary, the addressing initiating device 14 in the online addressing method only needs to send out the addressing instruction data frame once, and the subsequent addressing instruction data frames are sent out sequentially by the node devices 13 behind the addressing initiating device.
In the embodiment of the invention, the bus type communication control system comprises a three-core bus, a power supply connected with the three-core bus, an addressing initiating device and a plurality of node devices; the power supply, the addressing initiating device and the node devices transmit electric energy and serial instruction data frames through a three-core bus; the power supply is used for supplying working electric energy to equipment connected to the three-core bus; the addressing initiating device is used for generating a serial instruction data frame and sending the serial instruction data frame to the three-core bus; the node equipment is used for carrying out corresponding action according to the serial instruction data frame received from the three-core bus. The embodiment of the invention has the advantages that the power supply, the addressing initiating device and all the node devices are connected to the three-core bus, and simultaneously, the function of programming the address related to the installation position into the bus node devices on line is realized, the cost is reduced, and the installation and debugging efficiency of the system device is improved.
In the various embodiments described above, the control units in the addressing initiator device and the node device may be general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), single-chip microprocessors, arm (acorn RISC machines) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combinations of these components. Also, the control unit may be any conventional processor, controller, microcontroller, or state machine. A control unit may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
As another aspect of the embodiments of the present invention, an online addressing method is provided in an embodiment of the present invention, and is applied to a bus-type communication control system. The online addressing method of the embodiment of the invention is based on the bus type control system and is executed by the control unit in the system.
Referring to fig. 3, the online addressing method 20 based on the bus-type communication control system includes:
step 24, if yes, the node equipment makes a corresponding response to the addressing instruction data frame;
and 25, if not, the node equipment ignores the addressing instruction data frame.
By adopting the online addressing method, the power supply, the addressing initiating device and all the node devices can be connected to the three-core bus, and meanwhile, the online addressing method also has the function of programming the addresses related to the installation positions of the node devices of the online bus, thereby reducing the cost and improving the installation and debugging efficiency of the system device.
In some embodiments, as shown in fig. 4, step 21 further comprises:
step 212, the communication connection unit in the node device is set to the disconnected state.
In some embodiments, as shown in fig. 5, step 23 further comprises:
231, the node device takes out address data from the addressing instruction data frame and permanently stores the address data as a self address;
In some embodiments, step 23 further comprises: and the node equipment sets the addressing instruction data frame containing the target address value according to a preset rule, and sends the addressing instruction data frame to the first node equipment behind the node equipment so as to address the first node equipment behind the node equipment.
By adopting the online addressing method, the power supply, the addressing initiating device and all the node devices can be connected to the three-core bus, and meanwhile, the online addressing method also has the function of programming the addresses related to the installation positions of the node devices of the online bus, thereby reducing the cost and improving the installation and debugging efficiency of the system device.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (14)
1. A bus type communication control system is characterized by comprising a three-core bus, a power supply source, an addressing initiating device and a plurality of node devices, wherein the power supply source, the addressing initiating device and the node devices are connected to the three-core bus;
the power supply, the addressing initiating device and the node devices transmit electric energy and serial instruction data frames through the three-core bus, and the serial instruction data frames are used for carrying out online addressing on the node devices;
the power supply is used for supplying working electric energy to equipment connected to the three-core bus;
the addressing initiating device is used for generating a serial instruction data frame and sending the serial instruction data frame to the three-core bus;
and the node equipment is used for carrying out corresponding action according to the serial instruction data frame received from the three-core bus.
2. The bus type communication control system according to claim 1, wherein: the three-core bus comprises a first core bus, a second core bus and a third core bus, the first core bus and the second core bus are connected with all the node devices in parallel, and each node device is further connected in series through the third core bus.
3. The bus type communication control system according to claim 2, wherein the node device comprises: the control unit is respectively connected with the communication unit and the communication connection unit and is used for controlling the communication unit and the communication connection unit to execute corresponding actions according to the data frame instruction;
the power conversion unit is connected in parallel to the first core bus and the second core bus and used for receiving electric energy of the power supply and converting the electric energy into electric energy suitable for the work of the node equipment;
the communication unit is respectively connected with the second core bus and the third core bus and is used for transmitting the serial instruction data frame;
the third core bus is connected from the communication unit of the addressing initiator to inputs of the communication unit and the communication connection unit of the next node device, and from an output of the communication unit to inputs of the communication unit and the communication connection unit of the next node device.
4. The bus type communication control system according to claim 3, wherein the communication connection unit is a relay.
5. The bus type communication control system according to claim 2, wherein the power supply is a dc power supply device, the first core bus is connected to a positive electrode of the dc power supply device, and the second core bus is connected to a negative electrode of the dc power supply device.
6. The bus type communication control system according to claim 2, wherein the power supply is an ac power supply device, the first core bus is connected to a line a of the ac power supply device, and the second core bus is connected to a line B of the ac power supply device, or
The first core bus is connected with the B line of the alternating current power supply equipment, and the second core bus is connected with the A line of the alternating current power supply equipment.
7. The bus type communication control system according to claim 6, wherein the ac power supply device is a high voltage ac power supply device, the first core bus is connected to a live wire of the high voltage ac power supply device, the second core bus is connected to a neutral wire of the high voltage ac power supply device, and the third core bus is connected to a ground wire of the high voltage ac power supply device.
8. The bus-type communication control system according to claim 3, wherein the communication unit is a carrier communication unit for coupling a carrier signal to the second core bus and the third core bus for transmission.
9. The bus-type communication control system according to claim 7, further comprising a low-pass filter circuit for connecting a ground line of the high-voltage ac power supply device and the third core bus.
10. The bus-type communication control system according to any one of claims 1 to 9, wherein a first one of the node devices is the addressing initiator device.
11. An on-line addressing method applied to a bus type communication control system is characterized in that,
the addressing initiating device sends a preparation addressing instruction to each node device so that the node device executes corresponding operation;
the addressing initiating device sends an addressing instruction data frame containing a target address value of the node device to the node device;
judging whether the node equipment meets an addressing condition;
if so, the node equipment makes a corresponding response to the addressing instruction data frame;
and if not, the node equipment ignores the addressing instruction data frame.
12. The method of claim 11, wherein the node device performs corresponding operations comprising:
the node equipment sends a corresponding addressing preparation mark position 1;
and the communication connection unit in the node equipment is set to be in a disconnection state.
13. The method of claim 12, the node device responding correspondingly to the addressing-instruction data frame, comprising:
the node equipment takes out address data from the addressing instruction data frame and permanently stores the address data as a self address;
the node equipment transmits the prepared addressing flag position 0;
the communication connection unit in the node apparatus is set to an on state.
14. The method of claim 13, the node device responding correspondingly to the addressing-instruction data frame, further comprising:
and the node equipment sets the addressing instruction data frame containing the target address value according to a preset rule, and sends the addressing instruction data frame to the first node equipment behind the node equipment so as to address the first node equipment behind the node equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911128401.4A CN110839091A (en) | 2019-11-18 | 2019-11-18 | Bus type communication control system and online addressing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911128401.4A CN110839091A (en) | 2019-11-18 | 2019-11-18 | Bus type communication control system and online addressing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110839091A true CN110839091A (en) | 2020-02-25 |
Family
ID=69576709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911128401.4A Pending CN110839091A (en) | 2019-11-18 | 2019-11-18 | Bus type communication control system and online addressing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110839091A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112074048A (en) * | 2020-09-16 | 2020-12-11 | 深圳市芯宇昊科技有限公司 | Power line control online addressing method and system without address line |
CN113228569A (en) * | 2020-05-27 | 2021-08-06 | 深圳市大疆创新科技有限公司 | Movable platform, control method and device thereof, and storage medium |
CN114584020A (en) * | 2022-05-05 | 2022-06-03 | 广东科伺智能科技有限公司 | Servo system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5841360A (en) * | 1996-10-21 | 1998-11-24 | Binder; Yehuda | Distributed serial control system |
WO2009027060A1 (en) * | 2007-08-25 | 2009-03-05 | Sew-Eurodrive Gmbh & Co. Kg | Device for connection to a bus, converter, and addressing method |
CN201742434U (en) * | 2010-06-25 | 2011-02-09 | 广州励丰声光科技有限公司 | Three-wire feed communication system |
CN102354181A (en) * | 2011-08-03 | 2012-02-15 | 韦自力 | Control system based on field bus and method for addressing addresses for bus equipment |
CN102661161A (en) * | 2012-04-10 | 2012-09-12 | 重庆友诚自动化工程技术有限公司 | Addressing system for controller of hydraulic support for mine, and its addressing method |
CN103760794A (en) * | 2013-12-31 | 2014-04-30 | 南京南瑞集团公司 | Automatic addressing data acquisition system and method thereof |
CN106027690A (en) * | 2016-05-09 | 2016-10-12 | 株洲嘉成科技发展有限公司 | Dynamic network configuration system based on MVB bus and method thereof |
CN106201964A (en) * | 2016-07-14 | 2016-12-07 | 陕西科技大学 | The on-line automatic addressing of RDM driver and RDM bus short circuit positioner and method |
DE102016006428A1 (en) * | 2015-09-11 | 2017-03-16 | Sew-Eurodrive Gmbh & Co Kg | Method for transmitting telegrams, bus system and method for assigning identifiers |
CN207319002U (en) * | 2017-10-11 | 2018-05-04 | 西南交通大学 | A kind of passback with geocoding is returned to school distributed output control circuit |
CN109831858A (en) * | 2019-03-08 | 2019-05-31 | 派诺西智能科技(苏州)有限公司 | A kind of intelligent illuminating system |
-
2019
- 2019-11-18 CN CN201911128401.4A patent/CN110839091A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5841360A (en) * | 1996-10-21 | 1998-11-24 | Binder; Yehuda | Distributed serial control system |
WO2009027060A1 (en) * | 2007-08-25 | 2009-03-05 | Sew-Eurodrive Gmbh & Co. Kg | Device for connection to a bus, converter, and addressing method |
CN201742434U (en) * | 2010-06-25 | 2011-02-09 | 广州励丰声光科技有限公司 | Three-wire feed communication system |
CN102354181A (en) * | 2011-08-03 | 2012-02-15 | 韦自力 | Control system based on field bus and method for addressing addresses for bus equipment |
CN102661161A (en) * | 2012-04-10 | 2012-09-12 | 重庆友诚自动化工程技术有限公司 | Addressing system for controller of hydraulic support for mine, and its addressing method |
CN103760794A (en) * | 2013-12-31 | 2014-04-30 | 南京南瑞集团公司 | Automatic addressing data acquisition system and method thereof |
DE102016006428A1 (en) * | 2015-09-11 | 2017-03-16 | Sew-Eurodrive Gmbh & Co Kg | Method for transmitting telegrams, bus system and method for assigning identifiers |
CN106027690A (en) * | 2016-05-09 | 2016-10-12 | 株洲嘉成科技发展有限公司 | Dynamic network configuration system based on MVB bus and method thereof |
CN106201964A (en) * | 2016-07-14 | 2016-12-07 | 陕西科技大学 | The on-line automatic addressing of RDM driver and RDM bus short circuit positioner and method |
CN207319002U (en) * | 2017-10-11 | 2018-05-04 | 西南交通大学 | A kind of passback with geocoding is returned to school distributed output control circuit |
CN109831858A (en) * | 2019-03-08 | 2019-05-31 | 派诺西智能科技(苏州)有限公司 | A kind of intelligent illuminating system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113228569A (en) * | 2020-05-27 | 2021-08-06 | 深圳市大疆创新科技有限公司 | Movable platform, control method and device thereof, and storage medium |
CN112074048A (en) * | 2020-09-16 | 2020-12-11 | 深圳市芯宇昊科技有限公司 | Power line control online addressing method and system without address line |
CN112074048B (en) * | 2020-09-16 | 2023-03-24 | 深圳市芯宇昊科技有限公司 | Power line control online addressing method and system without address line |
CN114584020A (en) * | 2022-05-05 | 2022-06-03 | 广东科伺智能科技有限公司 | Servo system |
CN114584020B (en) * | 2022-05-05 | 2022-07-15 | 广东科伺智能科技有限公司 | Servo system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110839091A (en) | Bus type communication control system and online addressing method | |
CN207543063U (en) | Multicompartment grade Quick shut-off device and photovoltaic system | |
CN103488159A (en) | Distribution box type smart home terminal and comprehensive protection controller | |
CN109269033A (en) | A kind of centralized control converter and air-conditioning system | |
CN105337598A (en) | Air conditioner, and circuit having low stand-by power consumption and control method thereof | |
CN106773892A (en) | The digital and analogue signals harvester of industry is equipped towards electrician | |
CN205299829U (en) | Split type one drags many air conditioners controller and air conditioning equipment | |
CN109287056A (en) | A kind of single-fire-wire electronic switch | |
CN112993970B (en) | Bipolar bidirectional boost-buck DC-DC converter with function of inhibiting direct-current voltage unbalance | |
CN105159222B (en) | Remote start control circuit for master-slave industrial control equipment | |
CN105186845A (en) | Circuit and method for controlling IPM (intelligent power module) | |
EP3783834B1 (en) | Control method, power receiving device and system | |
CN109546959A (en) | Multicomponent grade Quick shut-off device and photovoltaic system | |
CN104570774A (en) | Method and system for powering on and off multiple electrical units | |
JPH0693692B2 (en) | Loop-type local area network concentrator | |
CN103197569A (en) | Mechano-electronic integrated switch | |
CN216870639U (en) | Electric energy meter capable of realizing three-phase three-wire and three-phase four-wire switching function | |
CN109728759A (en) | A kind of frequency converter control system | |
CN205304589U (en) | Power supply control circuit | |
CN205336276U (en) | Based on many windings coupling inductance power line carrier communication system | |
CN105527888B (en) | A kind of civil power break-make detection device and implementation method for industrial computer | |
CN114500627A (en) | Method, device and equipment for remotely accessing serial port equipment and storage medium | |
CN105471477A (en) | Power line carrier communication system and method based on multi-winding coupling inductor | |
CN209693116U (en) | A kind of single-fire-wire electronic switch | |
CN208506592U (en) | A kind of smart home wireless switch controller |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200225 |