A control system transformation method and equipment control system
By obtaining the signal points of the original control system and determining the control logic, the problems of production suspension and production reduction during the control system upgrade are solved, and personalized control logic verification is realized, improving the universality of the control system.
Patent Information
- Application Number
- CN202210714396.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2042-06-22
AI Technical Summary
During the factory production process, the production suspension and production reduction losses caused by the original control system stopping during the upgrade of the control system, and the existing control system is poor in versatility, making it difficult to apply to different transformation projects through the same logical program and model.
The signal points of the original control system are obtained through the controller, the control logic is determined, and the logic is verified and modified according to the control needs and the controlled device. Until the control conditions are met, the original control system is replaced to realize the control of the controlled device.
The control system has been effectively upgraded and transformed, avoiding the losses caused by production suspension and production reduction, and solving the problem of poor universality through personalized control logic verification.
Smart Images

Figure CN114942610B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation control technology, and in particular to a control system transformation method and an equipment control system. Background Art
[0002] Compared with foreign countries, my country's industrial control industry started later, and the control systems of most industries are monopolized by foreign companies (such as Siemens, Schneider, AB, ABB, Mitsubishi, etc.). With the development of information technology and artificial intelligence in recent years, and with the support or guidance of national policies, more and more industries and enterprise control systems are moving towards full automation and intelligence. However, the overall upgrade and replacement costs are very high. Therefore, when upgrading and renovating, it is best to do it without adding too much equipment to the existing equipment. At the same time, in order to change the situation where foreign industrial control companies severely restrict our industry, more and more domestic controllers are used to replace foreign controllers.
[0003] At present, many factories are still producing on the basis of semi-automatic or manual control, and some companies' control systems still use the technology from the end of the last century. Some industrial and mining enterprises considered cost issues at the beginning of the design, and reduced the control system, which subsequently affected production and required transformation. The following problems exist in the transformation process: poor versatility, even the corresponding parameters of the control system of the same project are not the same, so it is difficult to use the same logic program and model in different transformation projects, even if the project is the same. In addition, stopping production and reducing production during the transformation process will bring losses. Summary of the invention
[0004] The present invention provides a control system transformation method and an equipment control system to solve the loss of production suspension or production reduction caused by the original control system stopping working during the control system upgrade process.
[0005] According to one aspect of the present invention, a control system reconstruction method is provided, which is applied to a device control system, wherein the device control system includes an original control system, a target control system, and at least one controlled device, wherein the original control system is connected to each of the controlled devices and controls each of the controlled devices, and the target control system includes a controller, wherein the controller is connected to and communicates with the original control system, and the method includes:
[0006] The controller acquires at least one signal point of the original control system;
[0007] The controller determines at least one control logic of the controller according to each of the signal points;
[0008] The controller verifies and modifies each of the control logics according to the control requirements and the corresponding controlled devices;
[0009] The controller determines that each of the control logics meets the corresponding control conditions, replaces the original control system and controls each of the controlled devices.
[0010] According to another aspect of the present invention, there is provided a device control system, which includes an original control system, a target control system and at least one controlled device, wherein the original control system controls each of the controlled devices, and the target control system includes a controller, which is connected to and communicates with the original control system, and the target control system is used to execute a control system transformation method described in any embodiment of the present invention.
[0011] The embodiment of the present invention provides a control system transformation method and an equipment control system, which is applied to an equipment control system. The equipment control system includes an original control system, a controller and at least one controlled device. The original control system is connected to each controlled device and controls each controlled device. The target control system includes a controller, which is connected to and communicates with the original control system. The method includes: the controller obtains at least one signal point of the original control system; the controller determines at least one control logic of the controller according to each signal point; the controller verifies and modifies each control logic according to the control requirements and the corresponding controlled devices; the controller determines that each control logic meets the corresponding control conditions, replaces the original control system and controls each controlled device. The controller generates control logic through the signal points of the original control system, verifies and modifies the control logic through the control requirements and the controlled devices until the control logic meets the control conditions, replaces the original control system, controls the controlled devices through the controller, completes the system upgrade and transformation, realizes effective control of the system, and the controlled devices work normally during the control logic verification process, avoiding losses caused by production stoppage and production reduction. The control logic is generated according to the signal points of the original control system to realize personalized transformation of different control systems, avoiding the mismatch problem caused by using the same logic and model during the control system upgrade and transformation process.
[0012] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1is a flow chart of a control system transformation method provided according to Embodiment 1 of the present invention;
[0015] Figure 2 is a schematic diagram of the structure of a device control system provided according to Embodiment 1 of the present invention;
[0016] Figure 3 is a flow chart of a control system transformation method provided according to Embodiment 2 of the present invention;
[0017] Figure 4 This is a structural example diagram of a device control system provided according to Embodiment 2 of the present invention;
[0018] Figure 5 is a structural example diagram of a control system provided according to Embodiment 2 of the present invention;
[0019] Figure 6 is a flowchart of a system transformation implementation provided according to Embodiment 2 of the present invention;
[0020] Figure 7 It is a structural schematic diagram of an equipment control system for implementing a control system transformation method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "target", "original", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] Embodiment 1
[0024] Figure 1A flowchart of a control system modification method is provided for the first embodiment of the present invention. This embodiment is applicable to upgrading and modifying the control system and controlling the controlled devices in the system. The method is applied to the device control system. Figure 2 A schematic diagram of the structure of a device control system provided in an embodiment of the present application, the device control system includes an original control system 11, a target control system 12 and at least one controlled device 13, the original control system 11 is connected to each controlled device 13, and controls each controlled device 13, the target control system 12 includes a controller 121, and the controller 121 is connected to and communicates with the original control system 11. The original control system 11 and the controller 121 can communicate by means of a serial port, a network port, etc., and communicate through an agreed communication protocol. The communication protocol can be an S7 protocol, an EtherNet / IP protocol, a modbus / tcp protocol, etc., which is determined according to the type of the original control system 11 and the controller 121. The original control system 11 is connected to each controlled device 13, and the connection method can be a communication connection or a hardware connection. The original control system 11 controls the controlled device 13. When the original control system 11 controls each controlled device 13, it can directly control according to the control instructions determined by the system itself, or it can control according to the control instructions determined by the controller 121, so as to realize the control of the controlled device 13 by the controller 121.
[0025] like Figure 1 As shown, the method includes:
[0026] S101. A controller obtains at least one signal point of an original control system.
[0027] In this embodiment, the original control system can be specifically understood as the original control system, which has the need for upgrading and transformation. The original control system preferably uses a programmable logic controller PLC; the target control system can be specifically understood as the transformed control system, which replaces the original control system to control the equipment after the transformation is completed. The controller can be a programmable logic controller PLC. The signal point can be specifically understood as a signal input point or a signal output point in the system. The signal point can be a signal point that directly controls the controlled device, or a signal point involved in the intermediate process when controlling the controlled device. The signal input point can be a detection or perception point, and the signal output point can be a controlled object or execution point.
[0028] In the process of the original control system controlling the controlled equipment, it is necessary to realize the control of the equipment according to the correlation between the signal points, and the signal points in the system cooperate with each other to realize the control of the equipment. By analyzing the working principle of each controlled equipment in the original control system, the signal points in the original control system are determined and stored. The controller can directly obtain the stored signal points of the original control system, or analyze the original control system to determine the signal points. After determining the signal points in the original control system, an IO point table can be formed and stored. The controller can directly determine the signal points in the system under the original control according to the IO point table.
[0029] S102: The controller determines at least one control logic of the controller according to each signal point.
[0030] In this embodiment, the control logic can be specifically understood as the function logic for controlling the controlled device. In engineering applications, the control logic can be implemented in a programming language, and the control logic is converted into a corresponding control program through a computer language. The controller analyzes the relationship between each signal point to determine the relationship between each signal point, and then generates the corresponding control logic according to the relationship between each signal point, and describes the relationship between each signal point through the control logic.
[0031] S103: The controller verifies and modifies each control logic according to the control requirements and the corresponding controlled devices.
[0032] In this embodiment, the control demand can be specifically understood as the demand for controlling the controlled equipment in the equipment control system. For example, if the equipment control system is a system for controlling furnace temperature, the control demand can be the furnace time of the billet, the billet quality requirements (such as billet hardness), etc. The control demand controls the opening of the regulating valve to achieve furnace temperature control and complete billet firing. The controlled equipment can be a regulating valve, etc.
[0033] Specifically, the control requirements can be determined according to the normal operation of the equipment in the actual engineering application, and the control requirements can also be pre-set for different controlled equipment. When verifying the control logic, first obtain the control requirements corresponding to different control logics. The controller determines the state that the controlled equipment needs to reach according to the control requirements, and then determines the control process through the control logic to realize the control of the controlled equipment. At this time, the controlled equipment works normally. After controlling the controlled equipment to perform relevant operations, the corresponding feedback information is determined. The feedback information can be whether the controlled equipment is successfully executed, or whether the corresponding environmental parameters, product parameters, etc. meet the requirements after the controlled equipment is successfully executed. For example, the controlled equipment is a regulating valve of the furnace, and the feedback information can be the temperature of the furnace (i.e., environmental parameters), the hardness of the billet (i.e., product parameters), etc. Determine whether the control logic controls the controlled equipment in a timely and accurate manner according to the feedback information to realize the verification of the control logic. When it is determined that the control logic cannot meet the control conditions when controlling the controlled equipment, modify the control logic and re-verify until the control logic meets the control conditions. The control logic is integrated in the controller to realize the control of the controlled equipment.
[0034] S104: The controller determines that each control logic satisfies the corresponding control condition, replaces the original control system and controls each controlled device.
[0035] In this embodiment, the control condition may be that the accuracy of controlling the controlled device meets the accuracy requirement, the delay of controlling the controlled device meets the time requirement, etc. After the controller determines that each control logic meets the corresponding control condition, the controller replaces the original control system, controls each controlled device, and completes the system transformation.
[0036] The embodiment of the present invention provides a control system transformation method, which is applied to an equipment control system. The equipment control system includes an original control system, a target control system and at least one controlled device. The original control system is connected to each controlled device and controls each controlled device. The target control system includes a controller, which is connected to and communicates with the original control system. The method includes: the controller obtains at least one signal point of the original control system; the controller determines at least one control logic of the controller according to each signal point; the controller verifies and modifies each control logic according to the control requirements and the corresponding controlled devices; the controller determines that each control logic meets the corresponding control conditions, replaces the original control system and controls each controlled device. The controller generates control logic through the signal points of the original control system, verifies and modifies the control logic through the control requirements and the controlled devices until the control logic meets the control conditions, replaces the original control system, controls the controlled devices through the controller, completes the system upgrade and transformation, realizes effective control of the system, and the controlled devices work normally during the control logic verification process, avoiding losses caused by production stoppage and production reduction. The control logic is generated according to the signal points of the original control system to realize personalized transformation of different control systems, avoiding the mismatch problem caused by using the same logic and model during the control system upgrade and transformation.
[0037] Embodiment 2
[0038] Figure 3 This is a flow chart of a control system modification method provided in the second embodiment of the present invention. This embodiment is refined on the basis of the above embodiment. Figure 3 As shown, the method includes:
[0039] S201. A controller obtains at least one signal point of an original control system.
[0040] S202: The controller obtains a control task file.
[0041] In this embodiment, the control task file can be specifically understood as a document, and the hungry content in the document can include information such as how to control the controlled device, the relationship between the controlled devices, and the parameters involved in the control process of the controlled device, and can also be the various signal points involved in the control process of the controlled device, and the relationship between the signal points. The control task file is pre-formed and stored, which can be stored locally or in a storage space such as the cloud, and the controller can directly obtain the control task file.
[0042] S203: The controller parses the control task file to determine the correlation between the signal points.
[0043] The information stored in the control task file can be stored in a certain format, and the information can be determined by parsing the control task file, and the association relationship between the signal points can be determined by analyzing the information. In this embodiment, the association relationship between the signal points can also be determined by displaying the information in the control task file to the user, and receiving the association relationship between the signal points determined by the user based on the information in the control task file.
[0044] S204: The controller generates corresponding control logic according to the association relationship between the signal points.
[0045] After determining the correlation between the signal points, the workflow and principle of the controlled device are determined according to the correlation, and then different control logics are generated to achieve different control functions.
[0046] S205. The controller determines the control requirements corresponding to each control logic respectively.
[0047] Each control logic in the embodiment of the present application needs to be verified. For each control logic, the controller determines the control requirements corresponding to the control logic. Different control logics implement different control functions, so their corresponding control requirements may also be different.
[0048] S206: The controller determines a target control instruction according to control requirements.
[0049] In this embodiment, the target control instruction can be specifically understood as a control instruction when the controller controls the controlled device. The controller analyzes the control requirements, determines the state that the controlled device needs to achieve, and determines the parameters involved in the control process, and further determines the target control instruction for directly controlling the controlled device based on the parameters.
[0050] As an optional embodiment of this embodiment, this optional embodiment further optimizes the controller to determine the target control instruction according to the control demand as follows:
[0051] A1. The controller determines the control parameters according to the control requirements.
[0052] In this embodiment, the control parameters may be parameters such as temperature and pressure, and the type of control parameters is related to the type of controlled equipment. The controller analyzes the control requirements and assists in calculating the control parameters for different types of parameters. Exemplarily, the control requirement is that the billet out-of-furnace temperature is x, and the billet out-of-furnace temperature is determined by many factors such as the temperature when entering the furnace, the time in the furnace, and the furnace temperature of each section of the furnace. The billet into the furnace temperature is a known value, and the billet into the furnace temperature can be collected by a temperature sensor, or it can be set to a fixed value. Every time the billet enters the furnace, the temperature of the furnace reaches this temperature; the time in the furnace can also be determined according to the production rhythm, and the temperature value of each section (i.e., the control parameter) is calculated according to the above parameter value, so as to control the regulating valve to make the furnace temperature reach the above temperature value, so as to achieve the purpose of the billet out-of-furnace temperature x.
[0053] Optionally, the target control system further includes a secondary system, and this optional embodiment is further optimized to include the secondary system determining at least one logical operation model according to preset rules.
[0054] In this embodiment, the secondary system can be understood as a subsystem in the target control system, which can assist the controller in controlling and managing the controlled equipment. The logical operation model can be specifically understood as a model that performs logical operations according to an algorithm, which is used to calculate control parameters. The pre-rules can be understood as predetermined data operation rules. According to the preset rules, the operation logic between the various parameters involved in the equipment control process, the logical relationship between the various signal points, etc. are determined. The secondary system performs logical analysis and reasoning through the preset rules to generate a logical operation model. In the process of controlling the equipment according to different control requirements, the operation logic is different due to the different parameters involved. Therefore, the number of logical operation models in this application can be one or more, which can be determined according to actual engineering requirements.
[0055] As an optional embodiment of the present embodiment, the optional embodiment further optimizes the controller to determine the control parameters according to the control demand as follows: the controller receives the control parameters determined and fed back by the secondary system according to the control demand.
[0056] The secondary system can assist the controller in determining control parameters. The controller sends the control requirements to the secondary system. The secondary system determines the corresponding logical operation model based on the control requirements, calculates the control parameters through the corresponding logical operation model, and feeds back to the controller.
[0057] Optionally, the secondary system determines control parameters according to control requirements, including: the secondary system determines a corresponding target logic operation model according to the control requirements; the secondary system determines the control parameters according to the target logic operation model combined with system operating parameters.
[0058] In this embodiment, the target logic operation model can be specifically understood as a logic operation model that matches the control requirements. The system operation parameters can be specifically understood as parameters generated during the operation of the equipment control system, such as the temperature of the furnace, the opening of the valve, etc.; the system operation parameters can be parameters directly generated by the controlled equipment, or parameters affected by the operation of the controlled equipment, or parameters that affect the controlled equipment, such as the time the billet is in the furnace, the furnace temperature of each section of the furnace, the temperature of the billet entering the furnace, etc.
[0059] The mapping relationship between different control requirements and logic operation models can be preset. After the control requirements are determined, the target logic operation model corresponding to the control requirements is determined according to the mapping relationship. The system operation parameters are collected in real time, or the predetermined system operation parameters are obtained, and the system operation parameters are used as the input of the target logic operation model, and the control parameters are calculated through the target logic operation model.
[0060] A2. The controller generates target control instructions based on the control parameters.
[0061] The controller generates the target control instruction corresponding to the control parameter according to the conversion logic between the parameter and the instruction. For example, the control parameter is that the furnace temperature rises to m2 within the time t1-t2. The target control instruction obtained by calculating the control parameter is the opening of the regulating valve is n.
[0062] S207: The controller sends the target control instruction to the original control system through the control logic, so that the original control system controls the corresponding controlled device according to the system control right and the target control instruction.
[0063] The controller sends the target control instruction to the original control system by calling the control logic, so that the original control system can control the controlled device accordingly. The original control system can control the controlled device through the target control instruction or through the control instruction determined by itself.
[0064] As an optional embodiment of this embodiment, this optional embodiment further optimizes the original control system to control the corresponding controlled device according to the system control right combined with the target control instruction as follows:
[0065] B1. When the system control right is the target system control, the original control system controls the corresponding controlled equipment according to the target control instructions.
[0066] When the system control right is the target system control, it is controlled by the controller at this time, and the original control system directly controls the corresponding controlled equipment according to the target control instructions generated by the controller. At this time, the original control system realizes the function of connecting the controller and the controlled equipment.
[0067] B2. When the system control right belongs to the original system, the original control system determines the original control instruction according to the control requirements, and controls the corresponding controlled equipment according to the original control instruction.
[0068] When the system control right belongs to the original system, the original control system is in control at this time. The original control system generates the original control instruction according to the control demand, determines the corresponding control parameters according to the control demand, and further generates the original control instruction according to the corresponding control parameters. The original control instruction can also be generated by the logical operation model. Usually, the generation principle of the original control instruction is the same as that of the target control instruction, but the logical operation model they use may be different. The original control system controls the corresponding controlled device according to the original control instruction.
[0069] S208. The controller receives feedback information fed back by the original control system when the system control right is the target system control.
[0070] In this embodiment, the feedback information can be collected environmental information, such as the temperature of the furnace, or information of the controlled equipment, such as the actual opening of the regulating valve, etc.; the system control right can be understood as which control system actually controls each controlled equipment in the equipment control system. The system control right can be target system control, that is, the system control is performed by the controller, or it can be original system control, that is, the system control is performed by the original control system.
[0071] After the original control system controls the controlled device, it collects the corresponding feedback information and feeds it back to the controller. Feedback information can be collected through sensors, instruments or other devices, and transmitted to the original control system by connecting to the original control system. When the controller replaces the original control system, the sensors and other devices in the system are connected and communicated with the controller. The original control system determines whether to control the controlled device directly through the target control instructions generated by the controller or to control the controlled device by generating control instructions by the original control system based on the system control right. After controlling the controlled device to perform the corresponding operation, the corresponding type of feedback information is collected. Feedback information can also be determined according to control requirements, that is, the type of feedback information corresponding to different control requirements can be different.
[0072] When the system control right is the target system control, the controlled device is actually controlled by the controller, and the original control system feeds back the feedback information in this case to the controller.
[0073] S209: The controller verifies the control logic according to the feedback information, and modifies the control logic when the control logic does not meet the control conditions.
[0074] After receiving the feedback information, the controller determines whether the control logic accurately sends the target control instruction to the original control system through the feedback information to achieve effective control of the controlled device. Different types of control logic may have different verification methods. The controller determines whether the control logic can achieve correct logical control based on the feedback information. If so, it determines that the control logic meets the control conditions; otherwise, it determines that the control logic does not meet the control conditions and modifies the control logic. When modifying the control logic, the errors or problems of the control logic can be located by analyzing the feedback information, and then the control logic can be optimized and modified. The control logic can also be analyzed and modified by the staff, and the controller receives the user's modification. For the modified control logic, continue to verify and modify it through the control requirements. At this time, the control requirements can change as the system works. During the control logic modification process, the original control system can control the controlled device without affecting the normal operation of the controlled device.
[0075] As an optional embodiment of this embodiment, this optional embodiment further optimizes the controller to verify the control logic according to the feedback information as follows:
[0076] C1. When the control type corresponding to the control requirement is logic control and the feedback information matches the control requirement, the controller determines that the control logic satisfies the control condition.
[0077] In this embodiment, logical control can be used to represent a direct control relationship. For example, when the control requirement is to control the valve to open, the valve needs to be directly opened under the control of the corresponding target control instruction. This type of control is logical control; or the input A data is output corresponding B data, and so on. When the control type corresponding to the control requirement is logical control, it is determined whether the feedback information matches the control requirement. For example, the control requirement is to control the valve to open, and the feedback information is that the valve has been opened. The feedback information matches the control requirement, and it is determined that the control logic meets the control conditions. When determining whether the feedback information matches the control requirement, a certain error tolerance range can be set. Within a certain error tolerance range, it can be determined that the feedback information matches the control requirement. When the control type corresponding to the control requirement is logical control, the feedback information used to verify the control logic is information at a certain moment.
[0078] C2. When the control type corresponding to the control requirement is process control, the controller obtains feedback information within a preset time. If the feedback information within the preset time matches the control requirement, it is determined that the control logic meets the control condition.
[0079] In this embodiment, process control can be used to represent a control relationship that is controlled after a certain period of time. For example, when the control requirement is to control the temperature, since it takes a certain period of time for the temperature to rise or fall, it is necessary to observe for a period of time to determine whether to respond to the target control instruction corresponding to the control requirement. This type of control is process control. The length of the preset time can be determined according to the control requirement, and different preset times can be set for different types of control requirements.
[0080] When the control type corresponding to the control demand is process control, feedback information is obtained continuously for a preset time, and the feedback information within the preset time is generated according to the target control instruction corresponding to the control demand. For example, the control demand is that the temperature of the furnace is m2 in the time period t1-t2, and the target control instruction is that the opening of the regulating valve is x1. The target control instruction can be kept unchanged in the time period t1-t2, and the flow rate is adjusted according to the opening of the regulating valve, and then the temperature of the regulating valve accessories is adjusted to achieve the purpose of the furnace temperature being m2. The target adjustment instruction can also be adjusted according to the real-time temperature of the furnace to achieve the purpose of the furnace temperature being m2. If the feedback information within the preset time matches the control demand, it is determined that the control logic meets the control conditions. When the control type corresponding to the control demand is process control, the feedback information used to verify the control logic is information within a period of time.
[0081] S210: The controller determines that each control logic satisfies the corresponding control condition, replaces the original control system and controls each controlled device.
[0082] As an optional embodiment of the present embodiment, the optional embodiment is further optimized to include that after the controller determines that each control logic satisfies the corresponding control condition, the secondary system verifies the target logic operation model according to the control parameters.
[0083] After the control logic meets the corresponding control conditions, the secondary system verifies and modifies the target logic operation model. The secondary system determines the control parameters calculated by the target logic operation model, analyzes the calculated control parameters in combination with the control requirements, and determines whether the calculated control parameters are correct, whether the calculation process is reasonable, whether the model is optimal, etc. If the target logic operation model does not meet the requirements (for example, the calculation process is unreasonable, the calculated control parameters are incorrect, etc.), the target logic operation model is modified, and the target logic operation model can be verified according to the calculation results to determine the problem of the target logic operation model and make targeted modifications. The secondary system can also receive the target logic operation model analyzed and modified by the staff. After the target logic operation model is modified, the control parameters are calculated repeatedly and verified until the requirements are met. During the verification of the target logic operation model, the control logic can also be re-verified and modified.
[0084] As an optional embodiment of the present embodiment, the optional embodiment is further optimized to include that after the original control system controls the corresponding controlled device according to the system control right in combination with the target control instruction, the original control system updates the system control right according to the feedback information.
[0085] After the original control system controls the corresponding controlled equipment according to the system control right combined with the target control instruction, it collects feedback information and determines whether the working state of the controlled equipment is correct or reasonable based on the feedback information. If the feedback information is fed back by the original control system when the system control right is controlled by the target system, the controller in the target control system actually controls the controlled equipment at this time. When it is determined that the controlled equipment cannot work normally, it is determined that the system control right is switched from the target system control to the original system control. When the controller in the target control system cannot ensure the normal operation of the controlled equipment, it is switched to the original control system to control the controlled equipment to avoid production stoppage and production reduction caused by equipment stopping working.
[0086] The system control right update in the embodiment of the present application can also be manually switched by the staff. When the control logic does not meet the control conditions, the staff can switch the system control right to the original system control to ensure that the original production order is not disrupted.
[0087] Optionally, the target control system further includes a database, and this optional embodiment is further optimized to include the controller storing information generated during the control process in the database.
[0088] In this embodiment, the information generated during the control process may be a target control instruction, or information generated by the controlled device in response to the target control instruction, or related information affected by the controlled device, etc. All information generated by the controller during the device control process may be stored in a database. The database stores real-time data and historical data, which can be used to analyze the relationship between signal points to generate control logic, etc. Signal points can also be stored in the database, and the signal points that need to be stored are determined and stored in the database.
[0089] For example, Figure 4A structural example diagram of a device control system provided in an embodiment of the present invention includes an original control system 11, a target control system 12 and at least one controlled device 13. The target control system 12 includes a controller 121, a secondary system 122 and a database 123. The original control system is connected to each controlled device and controls the controlled device 13. The controller 121 communicates with the original control system 11 and controls the controlled device 13 through the original control system 11. The original control system 11 and the controller 121 in the embodiment of the present application are real-time systems, the secondary system 122 and the database 123 are deployed in a non-real-time system, the controller 121 communicates with the secondary system 122 through a custom TCP protocol, and the database 123 communicates with the controller 121 through an IO Server. The controller 121, the secondary system 122 and the database 123 in the target control system 12 are deployed in the same server hardware, so that the controller 121, the secondary system 122 and the database 123 are integrated into the same device.
[0090] For example, Figure 5 A structural example diagram of a control system provided by an embodiment of the present invention includes: an edge controller 31 and an original control system 32, and the edge controller 31 and the original control system 32 are connected and communicated. Among them, the edge controller 31 includes a target control system 311, a gateway 312, a non-real-time system 313 and an operating system 314, and the target control system 311 includes a database 3111, a secondary system 3112, and a controller 3113. The non-real-time system 313 includes an Ubuntu system 3131 and a WINDOWS system 3132, and the Ubuntu system 3131 and the WINDOWS system 3132 run on the operating system 314, and the operating system 314 runs on the edge controller 31. The database 3111 and the secondary system 3112 run on the non-real-time system 313. The operating system 314 can be selected by yourself, such as INTEWELL.
[0091] For example, Figure 6 A system transformation implementation flow chart provided in an embodiment of the present invention includes the following steps:
[0092] S401. The controller is connected to the original control system.
[0093] S402: The controller collects at least one signal point of the original control system.
[0094] After the signal points are collected, S403-S404 and S405-S406 are executed respectively.
[0095] S403: The controller determines the signal points to be stored and stores them in a database.
[0096] S404: The secondary system determines at least one logical operation model.
[0097] When generating a logical operation model, the secondary system can perform modeling according to preset rules, or it can perform modeling in combination with data in a database (for example, signal points stored in the database, information generated during the system control process stored in the database).
[0098] S405. The controller determines the control logic according to each signal point.
[0099] S406, the controller determines whether each control logic meets the control conditions, if not, executes S407; if yes, executes S408.
[0100] The logic verification of each control logic is achieved by judging whether each control logic meets the control conditions.
[0101] S407: The controller modifies the control logic and returns to execute S406.
[0102] S408, the secondary system determines whether each logic operation model meets the conditions, if so, execute S410; if not, when there is a problem with the logic operation model, execute S409, when there is a problem with the logic of the control logic, execute S407.
[0103] The logic operation model is verified by judging whether each logic operation model meets the conditions.
[0104] S409: The secondary system modifies the logical operation model and returns to execute S408.
[0105] S410: The target control system replaces the original control system.
[0106] The embodiment of the present invention provides a control system transformation method. This embodiment refines the target control system. The target control system also includes a secondary system and a database. The controller and the secondary system are deployed on the same server to realize control system integration. The controller generates control logic through the signal points of the original control system, verifies and modifies the control logic through the control requirements and the controlled equipment, until the control logic meets the control conditions, the controller replaces the original control system, controls the controlled equipment through the controller, completes the system upgrade and transformation, and realizes effective control of the system. During the control logic verification process, the controlled equipment works normally to avoid losses caused by shutdowns and production cuts. According to the signal points of the original control system, the control logic can be generated quickly to realize personalized transformation of different control systems, avoiding the mismatch problem caused by using the same logic and model during the upgrade and transformation of the control system. The transformed target control system can realize full automation and intelligent control. The control system transformation method provided in this application is replicable and can be promoted in multiple industries.
[0107] Embodiment 3
[0108] Figure 7 The schematic diagram of the structure of the device control system that can be used to implement the embodiment of the present invention is shown. The device control system includes an original control system 51, a target control system 52 and at least one controlled device 53. The original control system 51 is connected to each controlled device 53 and controls each controlled device 53. The target control system 52 includes a controller 521, which is connected to and communicates with the original control system 51. The target control system 52 is used to execute a control system transformation method provided by any embodiment of the present invention.
[0109] The controller 521 in the target control system 52 obtains at least one signal point of the original control system 51 and determines the control logic, verifies and modifies each control logic according to the control requirements and the corresponding controlled equipment, determines that each control logic meets the corresponding control conditions, replaces the original control system 51 and controls each controlled equipment 53.
[0110] The target control system and the original control system provided by the embodiments of the present invention can execute the corresponding steps in the control system transformation method provided by any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of the execution method.
[0111] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0112] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A control system modification method, characterized in that: Applied to a device control system, the device control system includes an original control system, a target control system and at least one controlled device, the original control system is connected to each of the controlled devices and controls each of the controlled devices, the target control system includes a controller, the controller is connected to and communicates with the original control system, and the method includes: The controller acquires at least one signal point of the original control system; The controller determines at least one control logic of the controller according to each of the signal points; The controller verifies and modifies each of the control logics according to the control requirements and the corresponding controlled devices; The controller determines that each of the control logics meets the corresponding control conditions, replaces the original control system and controls each of the controlled devices.
2. The method according to claim 1, characterized in that The controller determines at least one control logic of the controller according to each of the signal points, including: The controller obtains a control task file; The controller parses the control task file to determine the correlation between the signal points; The controller generates corresponding control logic according to the association relationship between the signal points.
3. The method according to claim 1, characterized in that The controller verifies and modifies each control logic according to the control requirements and the corresponding controlled devices, including: The controller determines, for each control logic, a control requirement corresponding to the control logic; The controller determines a target control instruction according to the control requirement; The controller sends the target control instruction to the original control system through control logic, so that the original control system controls the corresponding controlled device according to the system control right and the target control instruction; The controller receives feedback information fed back by the original control system when the system control right is the target system control; The controller verifies the control logic according to the feedback information, and modifies the control logic when the control logic does not meet the control condition.
4. The method according to claim 3, characterized in that The controller determines a target control instruction according to the control requirement, including: The controller determines the control parameters according to the control requirements; The controller generates a target control instruction according to the control parameter.
5. The method according to claim 4, characterized in that The target control system further includes a secondary system, and the method further includes: The secondary system determines at least one logical operation model according to preset rules.
6. The method according to claim 5, characterized in that The controller determines the control parameters according to the control requirement, including: The controller receives the control parameters determined and fed back by the secondary system according to the control demand; Accordingly, the secondary system determines the control parameters according to the control requirements, including: The secondary system determines the corresponding target logic operation model according to the control requirements; The secondary system determines control parameters according to the target logic operation model in combination with system operation parameters.
7. The method according to claim 6, characterized in that After the controller determines that each of the control logics satisfies the corresponding control condition, the method further includes: The secondary system verifies the target logical operation model according to the control parameters.
8. The method according to claim 3, characterized in that The original control system controls the corresponding controlled device according to the system control right combined with the target control instruction, including: When the system control right is the target system control, the original control system controls the corresponding controlled device according to the target control instruction; When the system control right is controlled by the original system, the original control system determines the original control instruction according to the control demand, and controls the corresponding controlled device according to the original control instruction.
9. The method according to claim 3, characterized in that: The controller verifies the control logic according to the feedback information, including: The controller determines that the control logic satisfies the control condition when the control type corresponding to the control requirement is logic control and the feedback information matches the control requirement; When the control type corresponding to the control requirement is process control, the controller obtains feedback information within a preset time, and determines that the control logic satisfies the control condition if the feedback information within the preset time matches the control requirement.
10. The method according to claim 3, characterized in that: After the original control system controls the corresponding controlled device according to the system control right in combination with the target control instruction, the method further includes: The original control system updates the system control right according to the feedback information.
11. The method according to any one of claims 1 to 10, characterized in that: The target control system further includes a database, and the method further includes: The controller stores information generated during the control process in the database.
12. A device control system, characterized in that: The device control system includes an original control system, a target control system and at least one controlled device, the original control system is connected to each of the controlled devices and controls each of the controlled devices, the target control system includes a controller, the controller is connected to and communicates with the original control system, and the target control system is used to execute a control system transformation method described in any one of claims 1-11.
Citation Information
Patent Citations
Control system and method for automatically adding flail knife in coal mining of fully mechanized coal mining face of coal mine
CN114293988A