CN114637188A - Equipment control system and control method - Google Patents

Equipment control system and control method Download PDF

Info

Publication number
CN114637188A
CN114637188A CN202210280261.8A CN202210280261A CN114637188A CN 114637188 A CN114637188 A CN 114637188A CN 202210280261 A CN202210280261 A CN 202210280261A CN 114637188 A CN114637188 A CN 114637188A
Authority
CN
China
Prior art keywords
controller
control
backup
appliance
primary
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
Application number
CN202210280261.8A
Other languages
Chinese (zh)
Inventor
陆晓峰
姚典
刘丽娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Qinxuanhan Information Technology Co ltd
Original Assignee
Xi'an Qinxuanhan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Qinxuanhan Information Technology Co ltd filed Critical Xi'an Qinxuanhan Information Technology Co ltd
Priority to CN202210280261.8A priority Critical patent/CN114637188A/en
Publication of CN114637188A publication Critical patent/CN114637188A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)

Abstract

Disclosed are an apparatus control system and a control method, characterized by comprising: the system comprises a server, a main controller, a backup controller and at least one device; the server synchronously sends control instructions to the main controller and the backup controller in real time, and the stability of the controller for controlling the equipment can be realized through the design, so that the full automation of the equipment control is realized.

Description

Equipment control system and control method
Technical Field
The application relates to the technical field of automation control, in particular to an equipment control system and a control method thereof.
Background
Along with the rapid development of industrial technology, the application of controlling equipment through a controller is more and more extensive, in the prior art, but the environment that equipment controlled by the controller is usually located is more messy, the materials are randomly placed, the machine noise is serious, so the phenomena of power failure, external interference and the like usually occur when the controller is used for controlling the motion of each equipment, the controller cannot normally work, the phenomena of system breakdown, emergency stop, disordered motion and the like occur in the operation process of the equipment, the full automation of equipment control cannot be realized, when the emergency occurs, the recovery of manual intervention equipment operation exists, the problem of low efficiency exists, and an effective solution is not proposed at present.
Disclosure of Invention
An object of the present application is to provide an apparatus control system and a control method thereof, so as to improve stability of the apparatus control system and implement full automation of apparatus control.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an apparatus control system is provided in an embodiment of the present application, including: the system comprises a server, a main controller, a backup controller and at least one device; and the server synchronously sends control instructions to the main controller and the backup controller in real time.
Optionally, the main controller sends the control instructions to the devices according to a first direction, and the devices sequentially send the control instructions to the backup controller according to the first direction.
Optionally, the backup controller sends the control instruction to the device according to a second direction, and the device sends the control instruction to the main controller in sequence according to the second direction.
Optionally, the master controller or the backup controller collates the control instruction issued by the server with the control instruction sent by the device.
Optionally, the primary controller and the backup controller interact with each other through messages, and the backup controller determines the state of the primary controller according to a reply message of the primary controller.
Optionally, the backup controller continues to send the control instruction that is not completed by the primary controller to the device according to a second direction.
In a second aspect, the present invention provides a control method for the plant control system of the first aspect, including: the system comprises a server, a main controller, a backup controller and at least one device; and the server synchronously sends control instructions to the main controller and the backup controller in real time.
Optionally, the primary controller sends a control instruction to the device according to a first direction, and the device sequentially sends the control instruction to the backup controller according to the first direction.
Optionally, the backup controller sends the control instruction to the device according to a second direction, and the device sends the control instruction to the main controller in sequence according to the second direction.
Optionally, the master controller or the backup controller collates the control instruction issued by the server with the control instruction sent by the device.
Optionally, the primary controller and the backup controller interact with each other through messages, and the backup controller determines the state of the primary controller according to the reply message of the primary controller.
Optionally, the backup controller continues to send the control instruction that is not completed by the primary controller to the device according to a second direction.
The beneficial effect of this application is:
an apparatus control system provided in an embodiment of the present application is characterized by including: the system comprises a server, a main controller, a backup controller and at least one device; the server synchronously sends control instructions to the main controller and the backup controller in real time, and the stability of the controller for controlling the equipment can be realized through the design, so that the controller controls the equipment to be fully automatic.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of a control system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an inter-controller interaction process according to an embodiment of the present application;
fig. 3 is a schematic diagram of another inter-controller signaling interaction process provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of a control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another control method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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 application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Fig. 1 is a schematic diagram of a control system according to an embodiment of the present disclosure. The control system 10 shown in fig. 1 includes a server 101, a controller 1102, a controller 2103, and a device 104. In the embodiment shown in fig. 1, the device includes N devices 104, where N is a positive integer greater than or equal to 1, and the N devices are sequentially connected through a bus and interact with each other through signaling. The devices may interact with each other via a bus protocol. The controller 1 and the controller 2 are respectively connected with the server 101 and respectively interact with the server through signaling. And controller 1 and controller 2 also interact through signaling.
When the control system works initially, the server can designate the controller 1 or the controller 2 as a main controller, and the other controller is a backup controller; it is also possible to preset one controller as the primary controller and the other as the backup controller. In the embodiment shown in fig. 1, the controller 1 is set as a primary controller and the controller 2 is set as a backup controller for illustrative purposes, but the invention is not limited thereto.
In the embodiment shown in fig. 1, when the control system starts to work, the server 101 synchronously sends control instructions to the controller 1 (main controller) and the controller 2 (backup controller) in real time, the controller 1 sends the control instructions to the device 1, the device 1 sends the control instructions to the device N in sequence, and the device N sends the control instructions to the controller 2. The controller 2 collates the control instruction received from the server with the control instruction received from the slave device N, and if the control signaling collation result is normal, the controller 1 continues to operate as a master controller. If the checking is abnormal, for example, the control signaling sent by the device N is missing or has a signaling error compared with the control signaling received by the server; for example, in the task list 204 shown in fig. 2, the controller 2 receives from the server a complete task list, but the task list received from the device N lacks 3 in the task list; the controller 2 considers that the controller 1 is abnormal, and the controller 2 replaces the controller 1 to be used as a main controller. When the controller 2 is switched to the main controller, the controller 2 sends the control instruction received from the server to the device N, the device N sends the control instruction to the device 1 in sequence, and the device 1 sends the control instruction to the controller 1.
In other embodiments, the controller 2 may send the control signaling received from the slave device N to the device 1 sequentially through N-1, N-2. The present invention is not particularly limited.
In yet another embodiment, the controller 1 may instruct the device M alone to execute instructions, where M is greater than or equal to 1 and less than or equal to N. The controller 1 sends the execution instruction to the device 1, the device 1 sends a response message to the controller 1 which is not the device M, and sequentially sends the execution instruction to the device 2 until the execution instruction is sent to the device M.
In other embodiments, the device M sends the received control signaling to the controller 1 sequentially through the devices M-1, M-2. The present invention is not particularly limited.
In another embodiment, the controller 2 sends an inquiry message to the controller 1, and the controller 2 determines whether the controller 1 is in a normal operation state according to the signal state replied by the controller 1. For example, when the state that the controller 1 is restored is "1", the controller 1 is considered to be in a normal operating state; when the return state of the controller is "0", the controller 1 is considered to be in an abnormal state, and the controller 2 is switched to the main controller instead of the controller 1. The operation of the controller 2 as the main controller is similar to the above embodiment, and will not be described here.
After the controller 1 is recovered, the server may indicate that the controller 1 is the primary controller and the controller 2 is the backup controller control device, where a process of switching the controller 1 to the primary controller is similar to the above process of switching the controller 2 to the primary controller, and is not described here again.
In yet another embodiment, after controller 1 is restored, controller 2 may continue to control the device as the primary controller, with controller 1 acting as the backup controller. When an abnormality occurs in the controller 2 as the main controller, the controller 1 is switched to the main controller. The handover procedure is similar to the above embodiments, and will not be described herein again.
Fig. 2 is a schematic diagram of an interaction process between controllers according to an embodiment of the present disclosure. The embodiment shown in fig. 2 includes a controller 1201, a controller 2202, inter-controller interaction signaling 203, and a task list 204. The signaling 203 between the controller 1 and the controller 2 is status query interaction signaling, and in the embodiment where the controller 1 is the primary controller, the backup controller 2 sends a query message to the controller 1, and when the controller 1 receives the query message, as in the embodiment shown in fig. 3, feeds back an acknowledgement message to the controller 2. Wherein the acknowledgement message may be a status message, e.g. a high level "1" or a low level "0". The controller 2 judges whether the controller 1 is in a normal working state according to the received confirmation message. For example, when a high level "1" is received, the controller 1 is considered to be in a normal operating state, and a low level "0" is considered to be in an abnormal state. When the controller 2 judges that the controller 1 is in an abnormal state, the controller 2 switches to the main controller to continue controlling the apparatus. In other embodiments, the inquiry message and the confirmation message may also be certain signaling messages from which the status of the controller 1 can be determined. The present invention is not particularly limited.
In another embodiment, controller 2 is the master controller, controller 1 sends an inquiry message to controller 2, and controller 2 replies an acknowledgement message to controller 1. The controller 1 determines the state of the controller 2 from the confirmation message. The process is similar to the above embodiment and will not be described herein.
Fig. 3 is a schematic diagram of another inter-controller signaling interaction process according to an embodiment of the present disclosure, in which a backup controller (fig. 3 is a controller 2, but the present invention is not limited in particular) may periodically send an inquiry message to a primary controller (fig. 3 is a controller 1, but the present invention is not limited in particular), and the primary controller sends an acknowledgement message to the backup controller in time after receiving the inquiry message. And if the backup controller does not receive the confirmation message of the main controller within a certain time, the backup controller considers that the controller is abnormal, and the backup controller is switched into the main controller. In other embodiments, the backup controller may also send the query message to the primary controller again if it does not receive the confirmation message in time, and after sending the query message for a certain number of times or if it does not receive the confirmation message, it determines that the primary controller is abnormal, and the backup controller is switched to the primary controller.
In the embodiment of the present invention, when the primary controller is abnormal, the backup controller switches to the primary controller and starts from the task next to the task interruption, but if the interrupted task is not completely executed, the execution is resumed from the interrupted task, as shown in fig. 2, the task list is 205, which includes n tasks, and when the third task is executed, the primary controller is abnormal, the controller 2 switches to the primary controller, and if the controller 2 receives the real-time information that the task 3 is completed, the controller 2 starts from the task 4, otherwise the controller 2 starts from the task 3. The n tasks in the task list may be specific task instructions or codes, and the present invention is not limited in particular. As described in the foregoing embodiment, the backup controller may determine where to continue to execute the task list according to the control signaling received from the server and the control instruction transmitted by the device, so as to achieve seamless switching between the master backup controller and the backup controller, and improve stability of the control system.
For the purpose of schematically illustrating that only one backup controller is provided in the above embodiments, but the present invention is not limited to the case where there is one backup controller and there are multiple backup controllers, and similar to the process of the above embodiments, the description is omitted here.
Fig. 4 is a flowchart illustrating a control method according to an embodiment of the present application. The embodiment shown in fig. 4 comprises the following steps:
s401: the controller 1 functions normally as a main controller. The server may indicate the controller 1 as the master controller, or may initially set the controller 1 as the master controller. And the server synchronously sends control instructions to the main controller and the backup controller in real time.
S402: the main controller sends the control instruction to the device 1, the device 1 sequentially sends the control instruction to the device N, and the device N sends the control instruction to the backup controller.
And S403, the backup controller collates the control instruction received from the server with the control instruction received from the slave device N.
S404: the backup controller checks for abnormalities. And if the backup controller finds that the equipment instruction sent by the equipment N is missing or misplaced through the control instruction sent by the calibration server and the control instruction transmitted by the equipment N, the backup controller considers that the main controller is abnormal.
S405: and the backup controller is switched into the main controller, and the control instruction is continuously sent to the equipment n. The backup controller continues the abnormal command of the main controller, thereby realizing seamless switching of equipment control and improving the stability of the equipment control system.
Device n in turn transmits control signaling to device 1S 406. The device 1 transmits the control signaling to the main controller before the abnormality.
By the embodiment shown in fig. 4, the seamless switching between the primary controller and the backup controller is completed, the primary controller before abnormality after switching is completed is recovered to be normal and then used as the backup controller, and the backup controller before abnormality is used as the primary controller. If an abnormal condition occurs later, the controller and the backup controller may be continuously switched, and the process is similar to the above embodiment, and will not be described again here.
Fig. 5 is a schematic flowchart of another control method according to an embodiment of the present application. The embodiment shown in fig. 5 comprises the following steps:
s501: the controller 1 functions normally as a main controller. The server may indicate the controller 1 as the master controller, or may initially set the controller 1 as the master controller. And the server synchronously sends control instructions to the main controller and the backup controller in real time.
S502: the main controller sends the control information to the device 1, the device 1 sequentially sends the control information to the device N, and the device N sends the control instruction to the backup controller.
S503, the backup controller collates the control instruction received from the server and the control instruction received from the device N.
In this step, the backup controller may check the control instruction received from the server and the control instruction received from the slave device N according to the embodiment shown in fig. 4, and if an abnormality is found, switch between the primary controller and the backup controller according to the embodiment shown in fig. 4, and the process is similar and will not be described again here. And if the checking result is normal, the main controller continues to issue the control instruction.
S504, the backup controller sends inquiry information to the master controller, the master controller sends confirmation information to the slave controller, and the backup controller finds the abnormality of the master controller from the confirmation information. The backup controller can judge the abnormality of the main controller according to the state fed back by the main controller, for example, if the state fed back by the main controller is "1", the main controller is considered to be normally working, and if the state fed back by the main controller is "0", the controller is considered to be abnormal; or judging the working state of the main controller according to the information in the confirmation message sent by the main controller. The present invention is not particularly limited.
And if the main controller is judged to be in a normal state, the main controller continues to control the equipment. If the main controller state is found to be abnormal, step S505 is performed.
S505: and the backup controller is switched into the main controller, and the control instruction is continuously sent to the equipment n. The backup controller continues the abnormal command of the main controller, thereby realizing seamless switching of equipment control and improving the stability of the equipment control system.
Device n in turn transmits control signaling to device 1S 506. The device 1 transmits the control signaling to the main controller before the abnormality.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. An appliance control system, comprising: the system comprises a server, a main controller, a backup controller and at least one device; and the server synchronously sends control instructions to the main controller and the backup controller in real time.
2. The appliance control system of claim 1, wherein the primary controller sends control commands to the appliance in a first direction, the appliance sending the control commands to the backup controller in sequence in the first direction.
3. The appliance control system of claim 1, wherein the backup controller sends control commands to the appliance in a second direction, the appliance sending the control commands to the primary controller in sequence in the second direction.
4. The device control system according to claim 2 or 3, wherein the main controller or the backup controller collates the control instruction issued by the server with the control instruction sent by the device.
5. The appliance control system of claim 1, wherein the primary controller interacts with the backup controller via messages, and the backup controller determines the status of the primary controller based on a reply message from the primary controller.
6. The appliance control system of claim 3, wherein the backup controller continues to send control commands outstanding by the primary controller to the appliance in the second direction.
7. A control method for controlling the appliance control system according to claim 1, characterized by comprising: the system comprises a server, a main controller, a backup controller and at least one device; and the server synchronously sends control instructions to the main controller and the backup controller in real time.
8. The control method of claim 7, wherein the primary controller sends control commands to the appliance in a first direction, and the appliance sends the control commands to the backup controller in sequence in the first direction.
9. The control method of claim 7, wherein the backup controller sends control commands to the appliance in a second direction, the appliance sending the control commands to the primary controller in sequence in the second direction.
10. The control method according to claim 8 or 9, wherein the primary controller or the backup controller collates the control instruction issued by the server with the control instruction sent by the device.
11. The control method of claim 7, wherein the primary controller and the backup controller interact through messages, and the backup controller determines the state of the primary controller according to a reply message of the primary controller.
12. The control method of claim 9, wherein the backup controller continues to send control commands outstanding by the primary controller to the appliance in the second direction.
CN202210280261.8A 2022-03-21 2022-03-21 Equipment control system and control method Pending CN114637188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210280261.8A CN114637188A (en) 2022-03-21 2022-03-21 Equipment control system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210280261.8A CN114637188A (en) 2022-03-21 2022-03-21 Equipment control system and control method

Publications (1)

Publication Number Publication Date
CN114637188A true CN114637188A (en) 2022-06-17

Family

ID=81948956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210280261.8A Pending CN114637188A (en) 2022-03-21 2022-03-21 Equipment control system and control method

Country Status (1)

Country Link
CN (1) CN114637188A (en)

Similar Documents

Publication Publication Date Title
CN107395304B (en) Device and method for controlling an automation system
JP2007312043A (en) Remote i/o system
CN101592941B (en) Heterogeneous PLC multilevel redundancy control system
CN103955188A (en) Control system and method supporting redundancy switching function
US7039947B1 (en) Error protected data transfer system and method
US10044580B2 (en) Redundantly operable industrial communication system, communication device and method for redundantly operating an industrial communication system
CN106020135B (en) Process control system
US20070270984A1 (en) Method and Device for Redundancy Control of Electrical Devices
WO2018179368A1 (en) Control device and motor control system
US6871240B2 (en) Method of configuring a safe station and safe control system using the same
CN110178306A (en) Controller for motor and motor control system
CN101739317B (en) Method for switching two-computer software redundancy system
CN114637188A (en) Equipment control system and control method
US9003067B2 (en) Network and method for operating the network
US6725419B1 (en) Automation system and method for operating an automation system
CN114844742B (en) Battery management system and control method thereof
KR20210022003A (en) Distributed multi-node control system and method
CN103246219A (en) Control method and system
EP3933596B1 (en) A method for failure detection and role selection in a network of redundant processes
CN110262215B (en) Control method, device and system based on dissimilar redundancy technology
CN110554935B (en) Facility monitoring system and communication method in facility monitoring system
CN115277482B (en) On-line detection method for industrial edge equipment
CN111669389A (en) Data transmission method and device of industrial control system and related equipment
JP4788597B2 (en) Programmable controller redundant system
CN112612654B (en) Multi-host-standby switching method of air traffic control automation system and redundant service system

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