Master-slave control system
Through the automatic addressing of communication connection between the routing units between the master and slave devices, the problems of complex connection and low reliability in traditional master and slave control circuits are solved, the wiring process is simplified, and the equipment disassembly and assembly efficiency and circuit reliability are improved.
Patent Information
- Application Number
- CN202422475379.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2034-10-14
AI Technical Summary
In traditional master-slave control circuits, there are many wiring harnesses between master and slave devices, and the connection is complicated, and errors are prone to occur during field wiring, resulting in long disassembly and low circuit reliability.
The routing unit connected between the master device and the slave device through a connecting line is used for communication and connection, and the routing unit sets the address information for automatic addressing and communication, simplifying the connection wiring harness.
It reduces the workload of field wiring, facilitates equipment disassembly and assembles, reduces the probability of errors, improves circuit reliability, and realizes one-click switching of the power switch of the master and slave equipment.
Smart Images

Figure CN223168331U_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of circuit control technologies, and in particular, to a master-slave control system. Background Art
[0002] The traditional master-slave control circuit controls the power-on and power-off operations of the master and slave devices by using the electrical line connection between the master and slave devices, and then uses the communication cable between the master and slave devices to transmit control information to control the operations of the master and slave devices. The disadvantage of this control method is that there are many connection wires between the master and slave devices, the connection between the devices is complex, it is easy to make mistakes during on-site wiring, the equipment disassembly and assembly time is long, and the reliability of the circuit is low. Summary of the Utility Model
[0003] The technical problem to be solved by the present disclosure is to overcome the defects in the prior art that there are many connection wires between the master and slave devices, the connection between the devices is complex, it is easy to make mistakes during on-site wiring, resulting in a long equipment disassembly and assembly time and low circuit reliability, and to provide a master-slave control system.
[0004] The present disclosure solves the above technical problem through the following technical solutions:
[0005] The present disclosure provides a master-slave control system, and the master-slave control system includes a master device and a slave device;
[0006] The master device includes a first control module, and the slave device includes a second control module;
[0007] The first control module includes a first routing unit, and the second control module includes a second routing unit;
[0008] The first routing unit and the second routing unit are connected by a connection wire;
[0009] The second routing unit is used to set the first address information corresponding to the first routing unit and communicate with the first routing unit according to the first address information; or, the first routing unit is used to set the second address information corresponding to the second routing unit and communicate with the second routing unit according to the second address information.
[0010] Preferably, the master device further includes a first power-on / off button electrically connected to the first control module;
[0011] The first power-on / off button is used to turn on and / or off the master device and send a first power-on / off signal to the first control module;
[0012] The first control module is used to receive the first power-on / off signal to drive the master device to perform the power-on and power-off operations;
[0013] The first control module is further configured to send the first power-on / off signal to the second control module to drive the slave device to perform power-on and power-off actions;
[0014] and / or,
[0015] The slave device further includes a second power-on / off button electrically connected to the second control module;
[0016] The second power-on / off button is used to turn on and / or off the slave device and send a second power-on / off signal to the second control module;
[0017] The second control module is configured to receive the second power-on / off signal to drive the slave device to perform power-on and power-off actions;
[0018] The second control module is further configured to send the second power-on / off signal to the first control module to drive the master device to perform power-on and power-off actions.
[0019] Preferably, the master device further includes a first switching power supply electrically connected to the first control module;
[0020] The first switching power supply is used to convert external alternating current into direct current to supply power to the master device;
[0021] and / or,
[0022] The slave device further includes a second switching power supply electrically connected to the second control module;
[0023] The second switching power supply is used to convert external alternating current into direct current to supply power to the slave device.
[0024] Preferably, the master device further includes a first switching module and a host computer;
[0025] The first switching module is electrically connected to the first control module;
[0026] The first control module is further configured to drive the first switching module to work according to the first power-on / off signal and / or the second power-on / off signal, so that the host computer is connected to or disconnected from the first switching power supply.
[0027] Preferably, the first routing unit is further configured to set third address information corresponding to the host computer and communicate with the host computer according to the third address information.
[0028] Preferably, the first switching module includes a relay.
[0029] Preferably, the slave device further includes a second switching module and an industrial computer;
[0030] The second switch module is electrically connected to the second control module;
[0031] The second control module is further configured to drive the second switch module to operate according to the first power-on / off signal and / or the second power-on / off signal, so that the industrial computer is connected to or disconnected from the second switch power supply.
[0032] Preferably, the second routing unit is further configured to set fourth address information corresponding to the industrial computer and communicate with the industrial computer according to the fourth address information.
[0033] Preferably, the second switch module includes a relay.
[0034] Preferably, the slave device further includes a plurality of drivers and a plurality of motors;
[0035] Wherein, a plurality of the drivers are cascaded, and communication connections are established between the driver of the first stage and the industrial computer and between the driver of the previous stage and the driver of the next stage;
[0036] Each of the drivers is electrically connected to a plurality of the motors;
[0037] The second control module is further configured to drive the second switch module to operate according to the first power-on / off signal and / or the second power-on / off signal, so that the driver is connected to or disconnected from the second switch power supply.
[0038] On the basis of conforming to the common knowledge in the art, the above preferred conditions can be combined arbitrarily to obtain various preferred examples of the present disclosure.
[0039] The positive and progressive effects of the present disclosure are as follows:
[0040] In the master-slave control system of the present disclosure, the master device and the slave device are communicatively connected through a single connection line between two routing units, simplifying the connection harness between the existing master and slave devices, reducing the on-site wiring workload, facilitating the disassembly and assembly of the on-site master and slave devices, saving the disassembly and assembly time, reducing the probability of errors in the installation of multiple wiring harnesses, and improving the reliability of the circuit. Brief Description of the Drawings
[0041] Figure 1 It is a schematic diagram of the modules of the master-slave control system according to Embodiment 1 of the present disclosure.
[0042] Figure 2 It is a schematic structural diagram of the master-slave control system according to Embodiment 2 of the present disclosure. Detailed Description of the Embodiments
[0043] The present disclosure will be further described below by way of examples, but the present disclosure is not limited thereto.
[0044] In the embodiments of the present disclosure, prefix words such as "first" and "second" are only used to distinguish different described objects, and have no restrictive effect on the position, order, priority, quantity, content, etc. of the described objects. The use of prefix words such as ordinal numbers for distinguishing described objects in the embodiments of the present disclosure does not constitute a restriction on the described objects. For the statement of the described objects, refer to the description in the claims or the context of the embodiments, and no redundant restriction should be constituted due to the use of such prefix words. In addition, in the description of this embodiment, unless otherwise specified, the meaning of "a plurality of" is two or more.
[0045] In the embodiments of the present disclosure, the processing of the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information involved all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.
[0046] Embodiment 1
[0047] This embodiment provides a master-slave control system, such as Figure 1 The module schematic diagram of the master-slave control system of this embodiment is shown as follows. The master-slave control system includes a master device 1 and a slave device 2;
[0048] The master device 1 includes a first control module 11, and the slave device 2 includes a second control module 21;
[0049] The first control module 11 includes a first routing unit 111, and the second control module 21 includes a second routing unit 211;
[0050] The first routing unit 111 and the second routing unit 211 are connected by a connecting line;
[0051] The second routing unit 211 is used to set the first address information corresponding to the first routing unit 111 and communicate with the first routing unit 111 according to the first address information; or, the first routing unit 111 is used to set the second address information corresponding to the second routing unit 211 and communicate with the second routing unit 211 according to the second address information.
[0052] Specifically, the first control module includes control board A, and the second control module includes control board B. The first routing unit inside control board A and the second routing unit inside control board B both integrate routing functions. The first routing unit is used to set the second address information corresponding to the second routing unit, such as an IP address (Internet Protocol Address), and automatically address and connect to the second routing unit according to the set IP address after power-on, enabling communication connection between the master device and the slave device through a single connection line; the second routing unit is used to set the first address information corresponding to the first routing unit, such as an IP address, and automatically address and connect to the first routing unit according to the set IP address after power-on, enabling communication connection between the master device and the slave device through a single connection line. Here, using an IP address is just an example, which can be set or adjusted according to the actual situation. The number of slave devices can be one or more, and each slave device communicates with the master device through a single connection line, and the number of slave devices is set or adjusted according to needs.
[0053] In this embodiment, the master device and the slave device in the master-slave control system communicate through a single connection line between two routing units, simplifying the connection harness between the existing master and slave devices, reducing the on-site wiring workload, facilitating the disassembly and assembly of the on-site master and slave devices, saving the disassembly and assembly time, reducing the probability of errors easily occurring in the installation of multiple harnesses, and improving the reliability of the circuit.
[0054] Embodiment 2
[0055] This embodiment provides a master-slave control system, which is a further improvement on Embodiment 1.
[0056] In an implementable solution, as Figure 2 shown in the structural schematic diagram of the master-slave control system of this embodiment, the master device 1 further includes a first power-on / off button 12 electrically connected to the first control module 11;
[0057] The first power-on / off button 12 is used to turn on and / or turn off the master device 1 and send a first power-on / off signal to the first control module 11;
[0058] The first control module 11 is used to receive the first power-on / off signal to drive the master device 1 to perform power-on and power-off actions;
[0059] The first control module 11 is further used to send the first power-on / off signal to the second control module 21 to drive the slave device 2 to perform power-on and power-off actions.
[0060] Specifically, after the control board A is powered on, it starts to search for and connect to the control board B and enters the standby state. The first power on / off button is connected to the DI (Digital Input)-A terminal of the control board A of the main device. After pressing the first power on / off button, the control board A detects the first power on / off signal corresponding to the first power on / off button, so that the main device performs the power on / off action; in addition, the first power on / off signal is transmitted to the slave device through the connection line between the first routing unit and the second routing unit, so that the slave device performs the power on / off action. The first power on / off signal is the button signal corresponding to the first power on / off button, including the first power on signal and the first power off signal.
[0061] In this solution, by setting the first power on / off button electrically connected to the first control module, the first control module receives the first power on / off signal corresponding to the first power on / off button to drive the main device to perform the power on / off action and sends the first power on / off signal to the slave device, so that the slave device performs the power on / off action, that is, the main device can realize the one-key switching of the power on / off state of the entire master-slave control system (the main device and the slave device), improving the convenience of controlling the power on / off state of the master-slave control system.
[0062] In an implementable solution, the slave device 2 further includes a second power on / off button 22 electrically connected to the second control module 21;
[0063] The second power on / off button 22 is used to turn on and / or off the slave device 2 and send out the second power on / off signal to the second control module 21;
[0064] The second control module 21 is used to receive the second power on / off signal to drive the slave device 2 to perform the power on / off action;
[0065] The second control module 21 is further used to send the second power on / off signal to the first control module 11 to drive the main device 1 to perform the power on / off action.
[0066] Specifically, after the control board B is powered on, it starts to search for and connect to the control board A and enters the standby state. The second power on / off button is connected to the DI-B terminal of the control board B of the slave device. After pressing the second power on / off button, the control board B detects the second power on / off signal corresponding to the second power on / off button, so that the slave device performs the power on / off action; in addition, the second power on / off signal is transmitted to the main device through the connection line between the first routing unit and the second routing unit, so that the main device performs the power on / off action. The second power on / off signal is the button signal corresponding to the second power on / off button, including the second power on signal and the second power off signal.
[0067] In this solution, by setting a second power-on / off button electrically connected to the second control module, the second control module receives a second power-on / off signal corresponding to the second power-on / off button to drive the slave device to perform a power-on / off action and sends the second power-on / off signal to the master device so that the master device performs a power-on / off action. That is, at the slave device side, the on / off state of the entire master-slave control system can be switched with one key, improving the convenience of controlling the on / off state of the master-slave control system.
[0068] In an implementable solution, the master device 1 further includes a first switching power supply 13 electrically connected to the first control module 11;
[0069] The first switching power supply 13 is used to convert external alternating current into direct current to supply power to the master device 1.
[0070] The slave device 2 further includes a second switching power supply 23 electrically connected to the second control module 21;
[0071] The second switching power supply 23 is used to convert external alternating current into direct current to supply power to the slave device.
[0072] Specifically, the external alternating current can use an AC (Alternating Current) 220V power supply, which is respectively converted into direct current through the first switching power supply to supply power to each component inside the master device and through the second switching power supply to supply power to each component inside the slave device. The first control module is electrically connected to the first switching power supply, making the first control module in a constantly powered-on state; the second control module is electrically connected to the second switching power supply, making the second control module in a constantly powered-on state. When both the master device and the slave device are connected to an external power supply and the connection line between the master and slave devices is in good condition, information interaction will occur between control board A and control board B through the connection line.
[0073] In this solution, by setting a switching power supply to convert external alternating current into direct current, it is convenient for the power supply needs of the master device and the slave device, ensuring the power supply safety of the master device and the slave device.
[0074] In an implementable solution, the master device 1 further includes a first switch module 14 and a host computer 15;
[0075] The first switch module 14 is electrically connected to the first control module 11;
[0076] The first control module 11 is further configured to drive the first switch module 14 to work according to the first power-on / off signal and / or the second power-on / off signal, so that the host computer 15 is connected to or disconnected from the first switching power supply 13.
[0077] Among them, the first switch module includes a relay.
[0078] Specifically, when the control board A is in the standby state and the first power-on / off button is pressed, the control board A detects the first power-on signal. At this time, the first switch module is controlled to close, and the host computer is powered on and starts up. The host computer and the control board A complete the connection, and the main device end enters the self-check process. In addition, the first power-on signal is transmitted to the slave device end through the connection line. The control board A receives the second power-on signal transmitted by the slave device end through the connection line, and the control process is similar and will not be elaborated here.
[0079] When the control board A is in the power-on state and the first power-on / off button is pressed, the control board A detects the first power-off signal. At this time, the first switch module is controlled to disconnect, and the host computer loses power and shuts down. In addition, the first power-off signal is transmitted to the slave device end through the connection line. The control board A receives the second power-off signal transmitted by the slave device end through the connection line, and the control process is similar and will not be elaborated here.
[0080] In this solution, by setting the first power-on / off module, the automatic control of the power-on / off state of the host computer is realized, and the convenience of controlling the power-on / off state of the main device is improved.
[0081] In an implementable solution, the first routing unit 111 is further configured to set the third address information corresponding to the host computer 15, and communicate with the host computer 15 according to the third address information.
[0082] Specifically, the host computer and the control board A are connected through a connection line. The first routing unit is used to set the third address information corresponding to the host computer, such as the IP address, and automatically address and connect to the host computer according to the set IP address, so that the host computer and the control board A communicate through the connection line. Here, using the IP address is just an example, and it can be set or adjusted according to the actual situation.
[0083] In this solution, the first routing unit realizes the communication connection between the host computer and the first control module by setting the third address information corresponding to the host computer, and improves the convenience of communication between the host computer and the first control module.
[0084] In an implementable solution, the slave device 2 further includes a second switch module 24 and an industrial control computer 25;
[0085] The second switch module 24 is electrically connected to the second control module 21;
[0086] The second control module 21 is further configured to drive the second switch module 24 to work according to the first power-on / off signal and / or the second power-on / off signal, so that the industrial control computer 25 is connected to or disconnected from the second switching power supply 23.
[0087] Among them, the second switch module includes a relay.
[0088] Specifically, when the control board B is in the standby state and the second power-on / off button is pressed, the control board B detects the second power-on signal. At this time, the second switch module is controlled to close to supply power to the industrial computer, and the industrial computer and the control board B complete the connection, and the slave device enters the self-check process; in addition, the second power-on signal is transmitted to the master device end through the connection line; the control board B receives the first power-on signal transmitted by the master device end through the connection line, and the control process is similar and will not be elaborated here. After the self-checks of both the master and slave device ends are completed, the master-slave control system can be used normally.
[0089] When the control board B is in the power-on state and the second power-on / off button is pressed, the control board B detects the second power-off signal. At this time, the second switch module is controlled to disconnect, cutting off the power supply to the industrial computer; in addition, the second power-off signal is transmitted to the master device end through the connection line; the control board B receives the first power-off signal transmitted by the master device end through the connection line, and the control process is similar and will not be elaborated here.
[0090] In this solution, by setting the second power-on / off module, the automatic control of the power-on and power-off states of the industrial computer is realized, improving the convenience of controlling the power-on and power-off states of the slave device.
[0091] In an implementable solution, the second routing unit 211 is also used to set the fourth address information corresponding to the industrial computer 25 and communicate with the industrial computer 25 according to the fourth address information.
[0092] Specifically, the industrial computer and the control board B are connected through a connection line. The second routing unit is used to set the fourth address information corresponding to the industrial computer, such as the IP address, and automatically address and connect to the industrial computer according to the set IP address, so that communication connection between the industrial computer and the control board B is realized through the connection line. Using the IP address here is just an example and can be set or adjusted according to the actual situation.
[0093] In this solution, the second routing unit realizes the communication connection between the industrial computer and the second control module by setting the fourth address information corresponding to the industrial computer, improving the convenience of communication between the industrial computer and the second control module.
[0094] In an implementable solution, the slave device 2 further includes a plurality of drivers 26 and a plurality of motors 27;
[0095] Among them, the plurality of drivers 26 are cascaded, and communication connections are established between the driver 26 of the first stage and the industrial computer 25, and between the driver 26 of the previous stage and the driver 26 of the next stage;
[0096] Each driver 26 is electrically connected to a plurality of motors 27;
[0097] The second control module 21 is further configured to drive the second switch module 24 to operate according to the first power-on / off signal and / or the second power-on / off signal, so as to connect or disconnect the driver 26 from the second switching power supply 23.
[0098] Specifically, the slave device includes N drivers, where N≥1 and N is an integer. The N drivers are successively the first driver, the second driver, the third driver... the (N - 1)th driver, and the Nth driver. The first driver is communicatively connected to the industrial control computer through a connection line. The second driver, the third driver... the (N - 1)th driver and the Nth driver are communicatively connected through a connection line, that is, the N drivers are connected in series, and each driver is connected to one or more motors. The number of drivers and the number of motors connected to each driver are set or adjusted according to needs.
[0099] When the control board B is in the standby state and the second power-on / off button is pressed, the control board B detects the second power-on signal. At this time, the second switch module is controlled to close to supply power to the industrial control computer and the driver. The industrial control computer searches for the driver signal and connects. The industrial control computer and the control board B complete the connection, and the slave device enters the self-check process; in addition, the second power-on signal is transmitted to the master device end through the connection line; the control board B receives the first power-on signal transmitted from the master device end through the connection line, and the control process is similar and will not be elaborated here. After the self-checks of both the master and slave device ends are completed, the master-slave control system can be used normally.
[0100] When the control board B is in the power-on state and the second power-on / off button is pressed, the control board B detects the second power-off signal. At this time, the second switch module is controlled to disconnect, disconnecting the power supply to the industrial control computer and the driver; in addition, the second power-off signal is transmitted to the master device end through the connection line; the control board B receives the first power-off signal transmitted from the master device end through the connection line, and the control process is similar and will not be elaborated here.
[0101] In this solution, the automatic control of the on / off state of the driver is realized through the second power-on / off module, which improves the convenience of controlling the on / off state of the slave device.
[0102] In this embodiment, the master device and the slave device in the master-slave control system are communicatively connected through a single connection line between two routing units, which simplifies the connection wire harness between the existing master and slave devices, reduces the on-site wiring workload, facilitates the disassembly and assembly of the on-site master and slave devices, saves the disassembly and assembly time, reduces the probability of errors in the installation of multiple wire harnesses, improves the reliability of the circuit, and either end of the master and slave devices can realize the one-key switching of the on / off state of the entire master-slave control system, improving the convenience of controlling the on / off state of the master-slave control system.
[0103] Although the specific embodiments of the present disclosure have been described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Without departing from the principles and essence of the present disclosure, those skilled in the art can make various changes or modifications to these embodiments, but these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A master-slave control system, characterized in that, The master-slave control system includes a master device and a slave device; The master device includes a first control module, and the slave device includes a second control module; The first control module includes a first routing unit, and the second control module includes a second routing unit; The first routing unit and the second routing unit are connected by a connecting line; The second routing unit is used to set the first address information corresponding to the first routing unit and communicate with the first routing unit according to the first address information; or, the first routing unit is used to set the second address information corresponding to the second routing unit and communicate with the second routing unit according to the second address information.
2. The master-slave control system according to claim 1, characterized in that, The master device further includes a first power-on / off button electrically connected to the first control module; The first power-on / off button is used to turn on and / or off the master device and send a first power-on / off signal to the first control module; The first control module is used to receive the first power-on / off signal to drive the master device to perform a power-on / off operation; The first control module is further used to send the first power-on / off signal to the second control module to drive the slave device to perform a power-on / off operation; and / or The slave device further includes a second power-on / off button electrically connected to the second control module; The second power-on / off button is used to turn on and / or off the slave device and send a second power-on / off signal to the second control module; The second control module is used to receive the second power-on / off signal to drive the slave device to perform a power-on / off operation; The second control module is further used to send the second power-on / off signal to the first control module to drive the master device to perform a power-on / off operation.
3. The master-slave control system according to claim 2, characterized in that, The master device further includes a first switching power supply electrically connected to the first control module; The first switching power supply is used to convert external alternating current into direct current to supply power to the master device; and / or The slave device further includes a second switching power supply electrically connected to the second control module; The second switching power supply is used to convert external alternating current into direct current to supply power to the slave device.
4. The master-slave control system according to claim 3, characterized in that, The master device further includes a first switch module and a host computer; The first switch module is electrically connected to the first control module; The first control module is further used to drive the first switch module to work according to the first power-on / off signal and / or the second power-on / off signal, so that the host computer is connected to or disconnected from the first switching power supply.
5. The master-slave control system according to claim 4, wherein The first routing unit is further used to set the third address information corresponding to the host computer and communicate with the host computer according to the third address information.
6. The master-slave control system according to claim 4, wherein The first switch module includes a relay.
7. The master-slave control system according to any one of claims 3-6, characterized in that, The slave device further includes a second switch module and an industrial computer; The second switch module is electrically connected to the second control module; The second control module is further used to drive the second switch module to work according to the first power-on / off signal and / or the second power-on / off signal, so that the industrial computer is connected to or disconnected from the second switching power supply.
8. The master-slave control system according to claim 7, characterized in that, The second routing unit is further configured to set fourth address information corresponding to the industrial control computer, and communicate with the industrial control computer according to the fourth address information.
9. The master-slave control system according to claim 7, characterized in that The second switch module includes a relay.
10. The master-slave control system according to claim 7, wherein, The slave device further includes a plurality of drivers and a plurality of motors; Among them, a plurality of the drivers are cascaded, and communication connections are established between the driver of the first stage and the industrial control computer, and between the driver of the previous stage and the driver of the next stage; Each of the drivers is electrically connected to a plurality of the motors; The second control module is further configured to drive the second switch module to work according to the first power-on / off signal and / or the second power-on / off signal, so that the driver is connected to or disconnected from the second switch power supply.