A control system and method for dual operating systems for thermal processing equipment
By designing a dual operating system control system in hot processing equipment, combining real-time and non-real-time operating systems, the problem of insufficient intelligence in the existing technology is solved, and a higher control accuracy and automation level is achieved.
Patent Information
- Application Number
- CN202311566255.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2043-11-22
AI Technical Summary
The existing thermal processing equipment control system is not intelligent enough, making it difficult to simultaneously compatible with hardware control strategies and control strategies based on real-time data simulation.
Design a dual operating system control system for thermal processing equipment, integrating real-time operating systems and non-real-time operating systems, real-time operating systems are used to control equipment and collect sensing data, and non-real-time operating systems are used to simulate and calculate thermal processing technology control policy and efficient data transmission between the two through inter-core communication components.
The accuracy and intelligence of thermal processing equipment control are improved, and the automatic control of the thermal processing process is realized, avoiding unnecessary redundant data transmission.
Smart Images

Figure CN117518969B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control, and in particular to a control system integrating a programmable controller and computer-aided engineering (CAE). Background Art
[0002] Accurate, timely and effective process control during thermal processing is one of the key factors to ensure product quality, performance and stability. At present, the control of thermal processing equipment is still in the equipment hardware control stage, and the degree of intelligence is insufficient, especially it is difficult to simultaneously be compatible with hardware control strategies and control strategies based on real-time data simulation. Summary of the invention
[0003] In view of this, in order to improve the control efficiency and accuracy of thermal processing equipment and enhance the intelligence level of thermal processing process, the first aspect of the present application provides a control system with a dual operating system for thermal processing equipment, wherein the control system is configured on an integrated processor, wherein the processor includes multiple cores and an inter-core communication component;
[0004] A real-time operating system and a non-real-time operating system are respectively arranged on the multiple cores; the real-time operating system is used to control the heat treatment equipment and collect sensor data of the heat treatment equipment; the non-real-time operating system is used to simulate the heat treatment equipment and calculate the non-real-time heat treatment process control strategy;
[0005] The real-time operating system includes: a PLC module and a collection module;
[0006] The non-real-time operating system includes: a CAE agent model, an AI model, and a thermal processing model;
[0007] The inter-core communication components include: shared memory, virtual switch, and control module;
[0008] The inter-core communication component controls the interruption of the virtual switch through a shared memory and a control module, controls the communication between the multiple cores configured to run the real-time operating system, the communication between the multiple cores configured to run the non-real-time operating system, and the communication between the multiple cores configured to run the real-time operating system and the non-real-time operating system;
[0009] The communication between the plurality of kernels configured to run the real-time operating system and the non-real-time operating system comprises:
[0010] The control module is used to control and configure the data transmission frequency from the real-time operating system to the non-real-time operating system to be higher than the data transmission frequency from the non-real-time operating system to the real-time operating system.
[0011] In some embodiments, the communication between the multiple kernels running the real-time operating system and the non-real-time operating system includes:
[0012] The shared memory stores a plurality of first data transmitted from the real-time operating system to the non-real-time operating system, wherein the first data includes the sensor data collected by the collection module and the control instructions of the PLC module;
[0013] If at least one group of untransmitted first data stored in the shared memory is abnormal, the non-real-time operating system is stopped from transmitting data to the real-time operating system.
[0014] In some embodiments, at least one set of untransmitted first data exceptions stored in the shared memory includes:
[0015] The at least one set of first data that has not been transmitted abnormally exceeds a first threshold,
[0016] or,
[0017] The at least one group of untransmitted first data exceeds the current calculation data of the non-real-time operating system, and the current calculation data is: the statistical range of the first data between the last time the non-real-time operating system transmitted data to the real-time operating system and the current time.
[0018] In some embodiments, the control system further comprises: a real-time operating system memory, a non-real-time operating system memory;
[0019] The non-real-time operating system memory cooperates with the shared memory in the inter-core communication component so that the non-real-time operating system outputs a heat treatment process control strategy that conforms to the current working state of the heat treatment equipment to the real-time operating system after simulation based on the data fed back by the real-time operating system.
[0020] In some embodiments, the cooperation between the non-real-time operating system memory and the shared memory in the inter-core communication component includes:
[0021] The shared memory stores at least one group of continuous control instructions of the PLC module and sensor data of the thermal processing equipment working under the control instructions;
[0022] When the number of groups of control instructions stored in the shared memory and the sensor data for the thermal processing equipment working under the control instructions exceeds a group number threshold, the inter-core communication component sends all of at least one continuous group of control instructions and the sensor data for the thermal processing equipment working under the control instructions to the non-real-time operating system memory;
[0023] When the sensor data of the heat treatment equipment working under the control instruction exceeds a second threshold, the inter-core communication component sends the control instruction exceeding the second threshold and the sensor data of the heat treatment equipment working under the control instruction, as well as the unsent control instructions and the sensor data of the heat treatment equipment working under the control instruction before exceeding the second threshold, to the non-real-time operating system memory.
[0024] In some embodiments, controlling the data transmission frequency from the real-time operating system to the non-real-time operating system includes:
[0025] The real-time operating system transmits first data to the non-real-time operating system at a fixed frequency;
[0026] The first data includes: sensor data collected by the collection module and control instructions of the PLC module.
[0027] In some embodiments, controlling the data transmission frequency from the non-real-time operating system to the real-time operating system includes:
[0028] The non-real-time operating system transmits the second data to the non-real-time operating system at a frequency not limited to a fixed frequency, and the starting node for transmitting the second data from the non-real-time operating system to the non-real-time operating system is: the thermal processing process model completes an iteration, and the iteration is based on the CAE proxy model and the data transmitted from the real-time operating system to the non-real-time operating system;
[0029] The second data includes: a thermal processing process control strategy running on the PLC module.
[0030] In some embodiments, if there is a conflict in communication between the multiple cores of the real-time operating system and the non-real-time operating system, data transmission from the real-time operating system to the non-real-time operating system is interrupted, and data transmission from the non-real-time operating system to the real-time operating system is prioritized.
[0031] In some embodiments, the controlling and configuring, by the control module, that the data transmission frequency from the real-time operating system to the non-real-time operating system is higher than the data transmission frequency from the non-real-time operating system to the real-time operating system comprises:
[0032] The non-real-time operating system simulates the thermal processing equipment and calculates the thermal processing process strategy according to at least one data transmitted by the real-time operating system.
[0033] A second aspect of the present invention provides a control method for a dual operating system for a thermal processing device, using any of the control systems for a dual operating system for a thermal processing device as described above, comprising:
[0034] Controlling the thermal processing equipment using control instructions of a real-time operating system and collecting sensor data of the thermal processing equipment;
[0035] Transmitting the control instruction and the sensor data to a non-real-time operating system via the inter-core communication component;
[0036] Using the non-real-time operating system, simulating and calculating based on the control instructions and the sensor data, to obtain the thermal processing process control strategy;
[0037] The heat treatment process control strategy is transmitted to the real-time operating system through the inter-core communication component to form the control instruction to control the heat treatment equipment.
[0038] The present invention designs a dual operating system of a real-time operating system and a non-real-time operating system for thermal processing equipment, and uses the real-time operating system to integrate PLC programming software to realize real-time control, and uses the non-real-time operating system to run the control algorithms of different thermal processing processes for reliable adjustment, so as to realize the automatic control of the thermal processing process intelligently. The present invention combines the needs of the thermal processing process, and the data transmission trigger control of the dual operating system of the real-time operating system and the non-real-time operating system effectively improves the control accuracy of the thermal processing process and avoids unnecessary redundant data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A block diagram of a control system for a dual operating system of a thermal processing device provided by an exemplary embodiment of the present invention.
[0040] Figure 2 A flowchart of a control method for a dual operating system of a thermal processing equipment is provided as an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0042] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0043] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0044] The existing thermal processing control system is still basically in the equipment hardware control stage, and a large number of them still use simple open-loop control strategies based on PLC controllers and configuration software or traditional PID control strategies, and the control effect is greatly affected by the initial setting factors. Based on this, the dual operating system designed by the present invention for thermal processing equipment can not only use the real-time operating system to integrate PLC programming software to achieve real-time control, but also use the non-real-time operating system to run the control algorithms of different thermal processing processes, and intelligently realize the automatic control of the thermal processing process.
[0045] Figure 1 A block diagram of a control system for a dual operating system of a thermal processing device provided by an exemplary embodiment of the present invention.
[0046] Please refer to Figure 1 , a dual operating system control system for thermal processing equipment, the control system is configured on an integrated processor, the processor includes multiple cores, and an inter-core communication component 300;
[0047] A real-time operating system 100 and a non-real-time operating system 200 are respectively arranged on the multiple cores; the real-time operating system is used to control the heat treatment equipment and collect sensor data of the heat treatment equipment; the non-real-time operating system is used to simulate the heat treatment equipment and calculate non-real-time heat treatment process control strategy.
[0048] The processor integrates two or more cores, which can be homogeneous multi-cores or heterogeneous multi-cores. The cores running the real-time operating system 100 can be homogeneous or heterogeneous; the cores running the non-real-time operating system 200 can be homogeneous or heterogeneous.
[0049] Taking E2000Q as an example of a processor, the dual operating system control system for hot processing equipment provided in this exemplary embodiment integrates 2 FTC664 cores and 2 FTC310 cores, and is a 4-core heterogeneous CPU. The cores of one part of the processor, 2 FTC664 cores, run the New-RTOS real-time operating system 100, and the cores of another part of the processor, 2 FTC310 cores, run the Linux non-real-time operating system.
[0050] The New-RTOS real-time operating system 100 runs functions that have strict real-time requirements, mainly PLC modules. The Linux non-real-time operating system 200 is used to run functions that do not have strict real-time requirements, mainly including CAE agent models 201, AI models 202, thermal processing process models 203, etc., which are used to realize the automation and intelligent control of different thermal processing processes.
[0051] New-RTOS is an embedded hard real-time operating system 100 that is secondary developed based on the existing domestic hard real-time operating system 100. It supports SMP multi-core real-time scheduling and can run on a variety of CPU architecture target platforms.
[0052] New-RTOS is not limited to the above-mentioned allocation method of running the real-time operating system 100 and the non-real-time operating system 200. The New-RTOS real-time operating system 100 can also be a common real-time operating system 100 such as VxWorks, QNX, SylixOS, Reworks, etc.; the Linux non-real-time operating system 200 can also be a common non-real-time operating system 200 such as Unix, Windows, etc.
[0053] For example, New-RTOS can run on one of the four CPU cores, and Linux can run on three of the four CPU cores.
[0054] For another example, New-RTOS can run on three of the four CPU cores, and Linux can run on one of the four CPU cores.
[0055] For another example, New-RTOS can use one FTC664 core and one FTC310 core as a group to run New-RTOS or Linux.
[0056] The real-time operating system 100 includes: a PLC module 101 and a collection module 102 .
[0057] The PLC module 101 also includes a host computer (referred to as PLC IDE) and a lower runtime system (referred to as PLC Runtime). PLC IDE provides a graphical programming environment. Engineers use PLC IDE to complete the development and debugging of control programs, and download the target machine code to the controller through compilation and download. PLC Runtime is a software component in the PLC controller, which is responsible for monitoring and controlling various devices and components in the PLC system to ensure the normal operation of the PLC system.
[0058] The compiled contents of PLC module 101 are mainly application programs, logic control and protocol stack. Application programs refer to PLC applications based on five (or several) programming languages of IEC61131 standard or C / C++ and Python programming languages. The logic control component is the bridge between the user control logic and the controller, and mainly completes the basic functions of PLC such as the operation control of user logic, interaction with programming software logic configuration software, data refresh of fieldbus slave equipment, communication protocol support, controller transaction processing, etc. The protocol stack mainly refers to the framing, deframing, data sending and receiving of common protocol frames such as EtherCAT, Profinet, Profibus DP, Glink, Modbus, CANopen, etc.
[0059] This embodiment uses a Type 1 Hypervisor architecture based on an embedded virtualization technology solution to implement hybrid multi-systems. The Type 1 Hypervisor architecture is virtualization at the hardware system layer, running directly on physical hardware. Through the Hypervisor, multiple virtual machines of different critical levels can be integrated into one hardware platform, and interference between different virtual machines can be avoided by combining software and hardware.
[0060] In some embodiments, a Type 2 Hypervisor architecture based on an embedded virtualization technology solution may also be used to implement hybrid multi-systems. The Type 2 Hypervisor architecture is virtualization at the operating system layer, which means that the kernel of the operating system can provide multiple isolated user state instances. These user state instances are usually called containers. For its users, it is like a real computer with its own independent file system, network, system settings, and shared libraries. Well-known operating system layer virtualization solutions include Linux-based Docker and New-RTOS-based ECS real-time containeropen in new window.
[0061] In some embodiments, a hybrid multi-system may also be implemented using a technical solution based on hardware resource partitioning, such as OpenAMP (Open Asymmetric Multi-Processing). OpenAMP provides the software components required to develop software applications for AMP systems, allowing operating systems to interact in a wide range of complex homogeneous and heterogeneous architectures, and allowing asymmetric multi-processing applications to take advantage of the parallelism provided by multi-core configurations.
[0062] The non-real-time operating system 200 includes: a CAE agent model 201 , an AI model 202 , and a thermal processing process model 203 .
[0063] The non-real-time operating system 200 is used to realize the automation and intelligent simulation and control strategy calculation of different thermal processing processes.
[0064] The inter-core communication component 300 includes: a shared memory 301 , a virtual switch 302 , and a control module 303 .
[0065] It can be understood that the inter-core communication component 300 can not only realize the communication between different cores under the same operating system, but also realize the communication between cores with different operating systems.
[0066] The real-time operating system 100 and the non-real-time operating system 200 are run simultaneously and independently of each other. Specifically, on the non-real-time operating system 200, by using the CAE proxy model 201 and the AI model 202, the heat treatment process control strategy analyzed by the operation will be transmitted to the PLC module 101 on the real-time operating system 100. At the same time, the data results of the actual heat treatment process controlled by the PLC module 101 in real time will also be fed back to the non-real-time operating system 200. The AI module on the non-real-time operating system 200 will compare and analyze the strategy data and the actual data, continuously learn and optimize the mathematical model, so as to improve and optimize the algorithm of the next heat treatment process control strategy.
[0067] Therefore, the present application proposes a dual operating system controller for hot processing equipment in response to the special control environment of hot processing equipment. By running the analyzed hot processing process control strategy on the non-real-time operating system 200, it assists the real-time operating system 100 in completing the real-time control of the hot processing process flow, forming a complete operation optimization control system. It can realize process automation control, logic control, protocol stack function and process monitoring function during the hot processing process, and ensure the safe operation of the hot processing control system.
[0068] The inter-core communication component 300 controls the interruption of the virtual switch 303 through the shared memory 301 and the control module 303, controls the communication between multiple cores configured to run the real-time operating system 100, controls the communication between multiple cores configured to run the non-real-time operating system 200, and controls the communication between multiple cores configured to run the real-time operating system 100 and the non-real-time operating system 200.
[0069] For example, in this embodiment, the inter-core communication component 300 uses shared memory, Hypercall, RPMSG, virtual network switch, virtual serial port and other methods for data exchange between different cores. The main goal of the inter-core communication component 300 is to make full use of the mechanism provided by the hardware to achieve efficient inter-core communication, so as to give full play to the overall performance of the system on chip Soc. The inter-core communication component 300 can not only realize the communication between different cores under the same operating system, but also realize the communication between cores with different operating systems. In particular, the technical solution based on hardware resource partitioning is adopted to realize hybrid multi-system. The inter-core communication component 300 will mainly use shared memory and interrupts to realize data exchange between different cores.
[0070] The communication between the multiple cores configured to run the real-time operating system 100 and the non-real-time operating system 200 includes: configuring, through a control module, a data transmission frequency of the real-time operating system 100 to the non-real-time operating system 200 to be higher than a data transmission frequency of the non-real-time operating system 200 to the real-time operating system 100.
[0071] During the operation of the heat treatment equipment, the data transmitted from the real-time operating system 100 to the non-real-time operating system 200 include: control instructions in the real-time operating system 100, sensor data of the heat treatment equipment based on the control instructions, and relevant data of the processed product. With the real-time control instructions issued by the PLC module 101 in the real-time operating system 100 to the heat treatment equipment, and the sensor data that changes with time under the control quality, the update speed is relatively fast. On the contrary, the update speed of the data transmitted from the non-real-time operating system 200 to the real-time operating system 100 is relatively slow. The reason is that the data transmitted from the non-real-time operating system 200 to the real-time operating system 100 needs to undergo a large amount of simulation and calculation, and the calculation cycle time itself is relatively long. Secondly, under normal circumstances, each simulation and calculation is based on multiple groups of control instructions and sensor data under the control instructions, etc., instead of performing simulation calculations every time a group of control instructions and sensor data under the control instructions are received, so as to improve the calculation efficiency and accuracy. Therefore, using the same frequency, or performing data transmission whenever there is a transmission trigger between the real-time operating system 100 and the non-real-time operating system 200, is not a more efficient transmission option.
[0072] This embodiment realizes reasonable coordination between the two operating systems by setting up shared memory and controlling the shared memory to interact with data between the real-time operating system 100 and the non-real-time operating system 200. That is, the real-time control instructions and sensor data obtained by the real-time operating system 100 of the heat treatment equipment are taken into account for the data frequency requirement required by the non-real-time operating system for simulation and heat treatment process calculation, and the closed-loop feedback of the non-real-time operating system 200 to the real-time operating system after completing the simulation and heat treatment process calculation is taken into account, thereby improving the communication efficiency between the real-time operating system 100 and the non-real-time operating system 200, and further improving the intelligent control level of the heat treatment process.
[0073] In some embodiments, the communication between the multiple kernels running the real-time operating system 100 and the non-real-time operating system 200 includes:
[0074] The shared memory stores a plurality of first data transmitted from the real-time operating system 100 to the non-real-time operating system 200, wherein the first data includes the sensor data collected by the collection module 102 and the control instructions of the PLC module 101;
[0075] If at least one group of untransmitted first data stored in the shared memory is abnormal, the non-real-time operating system 200 is stopped from transmitting data to the real-time operating system 100 .
[0076] When there are anomalies in the shared memory such as sensor data and control instructions of the PLC module 101 collected by the cached real-time operating system 100, it means that there are major problems with the control instructions for the hot working control. At this time, the hot working process control strategy obtained after simulation based on the control instructions in the previous time period and the corresponding sensor data is difficult to meet the current hot working control requirements. The design of anomaly recognition and strategy control based on anomaly recognition during the communication process avoids the transmission of non-real-time simulation data that does not meet the requirements of the hot working control process to the real-time operating system 100 that directly controls the hot working equipment, thereby improving the safety of the hot working process and the effectiveness of data transmission.
[0077] Furthermore, at least one set of untransmitted first data stored in the shared memory is abnormal including:
[0078] The at least one group of untransmitted first data abnormally exceeds a first threshold, or the at least one group of untransmitted first data exceeds the current calculation data of the non-real-time operating system 200, and the current calculation data is: the statistical range of the first data between the last time the non-real-time operating system 200 transmitted data to the real-time operating system 100 and the current time.
[0079] In some embodiments, the control system also includes: a real-time operating system 100 memory and a non-real-time operating system 200 memory; the non-real-time operating system 200 memory cooperates with the shared memory in the inter-core communication component 300, so that the non-real-time operating system 200 outputs a heat treatment process control strategy that conforms to the current working state of the heat treatment equipment to the real-time operating system 100 after simulation based on the data fed back by the real-time operating system 100.
[0080] The cooperation between the memory of the non-real-time operating system 200 and the shared memory in the inter-core communication component 300 includes:
[0081] The shared memory stores at least one continuous set of control instructions of the PLC module 101 and the sensor data of the thermal processing equipment working under the control instructions.
[0082] When the number of groups of control instructions stored in the shared memory and the sensor data for the heat treatment equipment working under the control instructions exceeds a group number threshold, the inter-core communication component 300 sends all of at least one continuous group of control instructions and the sensor data for the heat treatment equipment working under the control instructions to the memory of the non-real-time operating system 200.
[0083] When the sensor data of the heat treatment equipment working under the control instruction exceeds a second threshold, the inter-core communication component 300 sends the control instruction exceeding the second threshold and the sensor data of the heat treatment equipment working under the control instruction, as well as the unsent control instructions before exceeding the second threshold and the sensor data of the heat treatment equipment working under the control instruction, to the memory of the non-real-time operating system 200.
[0084] The above steps provided in this embodiment can timely identify data that may have potential abnormalities in the thermal processing process, or data that may be improperly controlled, in the shared memory, and timely transmit them to the non-real-time operating system 200 for simulation calculation. The above identification of insignificant abnormalities (i.e., exceeding the second threshold) in the shared memory triggers the data transmission from the real-time operating system 100 to the non-real-time operating system 200, which can avoid faults in the thermal processing process as much as possible in advance, thereby improving the safety of the thermal processing equipment control process.
[0085] In some embodiments, controlling data transmission from the real-time operating system 100 to the non-real-time operating system 200 includes: the real-time operating system 100 transmits first data to the non-real-time operating system 200 at a fixed frequency; the first data includes: sensor data collected by the acquisition module 102 and control instructions of the PLC module 101.
[0086] In some embodiments, controlling the data transmission from the non-real-time operating system 200 to the real-time operating system 100 includes: the non-real-time operating system 200 transmits second data to the non-real-time operating system 200 at a frequency not limited to a fixed frequency, and the starting node for the transmission of the second data from the non-real-time operating system 200 to the non-real-time operating system 200 is: the thermal processing process model 203 completes an iteration, and the iteration is based on the CAE agent model 201 and the data transmitted by the real-time operating system 100 to the non-real-time operating system 200; the second data includes: the thermal processing process control strategy running on the PLC module 101.
[0087] The real-time operating system 100 uses the simulation calculation time of the non-real-time limited system as a trigger, and is not limited to a fixed frequency for transmitting data to the non-real-time operating system 200, which improves the transmission efficiency between the real-time operating system 100 and the non-real-time operating system 200 and avoids transmission waste.
[0088] If there is a conflict in the communication between the multiple cores of the real-time operating system 100 and the non-real-time operating system 200, the data transmission from the real-time operating system 100 to the non-real-time operating system 200 is interrupted, and the data transmission from the non-real-time operating system 200 to the real-time operating system 100 is prioritized. From the point of view of the real-time control requirements in the thermal processing process, combined with the certain period required for simulation calculation, the timeliness requirements for the control instructions and sensor data transmitted to the non-real-time operating system are not high. Setting the transmission of the control thermal processing process strategy is superior to the control instructions and sensor data, which is more conducive to the adjustment of the thermal processing process strategy of the thermal processing equipment.
[0089] In some embodiments, considering that the cycle of each simulation calculation is longer than the control instructions and sensor data sent, the control module controls the configuration of the data transmission frequency of the real-time operating system 100 to the non-real-time operating system 200 to be higher than the data transmission frequency of the non-real-time operating system 200 to the real-time operating system 100, including: the non-real-time operating system 200 simulates the thermal processing equipment and calculates the thermal processing process strategy according to at least one data transmitted by the real-time operating system.
[0090] The dual operating system of the real-time operating system and the non-real-time operating system designed in this embodiment for the thermal processing equipment realizes real-time control by integrating the PLC programming software with the real-time operating system, and uses the non-real-time operating system to run the control algorithms of different thermal processing processes for reliable adjustment, so as to realize the automatic control of the thermal processing process intelligently. In this embodiment, the data transmission trigger control of the dual operating system of the real-time operating system and the non-real-time operating system is combined with the needs of the thermal processing process, which effectively improves the control accuracy of the thermal processing process and avoids unnecessary redundant data transmission.
[0091] Figure 2 A flowchart of a control method for a dual operating system of a thermal processing equipment is provided as an exemplary embodiment of the present invention.
[0092] Please refer to Figure 2 , a control method for a dual operating system of a thermal processing equipment includes:
[0093] S101, using control instructions of a real-time operating system to control the thermal processing equipment and collect sensor data from the thermal processing equipment.
[0094] S102, transmitting the control instruction and the sensor data to a non-real-time operating system via the inter-core communication component.
[0095] S103, using the non-real-time operating system to perform simulation and calculation based on the control instructions and the sensor data to obtain the thermal processing process control strategy;
[0096] S104, transmitting the thermal processing process control strategy to the real-time operating system through the inter-core communication component to form the control instruction to control the thermal processing equipment.
[0097] The implementation process of the functions and effects of each unit in the above method is specifically detailed in the corresponding unit in the above device, and the technical effects are similar, so they will not be repeated here. For the method embodiment, since it basically corresponds to the device embodiment, the relevant parts can be referred to the partial description of the device embodiment. The device embodiment described above is merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0098] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A dual-operating system control system for thermal processing equipment, characterized in that: The control system is configured on an integrated processor, the processor including multiple cores and an inter-core communication component; A real-time operating system and a non-real-time operating system are respectively arranged on the multiple cores; the real-time operating system is used to control the thermal processing equipment and collect sensor data of the thermal processing equipment; The non-real-time operating system is used to simulate the thermal processing equipment and calculate the non-real-time thermal processing process control strategy; The real-time operating system includes: a PLC module and a collection module; The non-real-time operating system includes: a CAE agent model, an AI model, and a thermal processing model; The inter-core communication components include: shared memory, virtual switch, and control module; The inter-core communication component controls the interruption of the virtual switch through a shared memory and a control module, controls the communication between the multiple cores configured to run the real-time operating system, the communication between the multiple cores configured to run the non-real-time operating system, and the communication between the multiple cores configured to run the real-time operating system and the non-real-time operating system; The communication between the plurality of kernels configured to run the real-time operating system and the non-real-time operating system comprises: The control module controls and configures the data transmission frequency from the real-time operating system to the non-real-time operating system to be higher than the data transmission frequency from the non-real-time operating system to the real-time operating system; The control system further includes: a real-time operating system memory and a non-real-time operating system memory, wherein the non-real-time operating system memory cooperates with the shared memory in the inter-core communication component, including: The shared memory stores at least one group of continuous control instructions of the PLC module and sensor data of the thermal processing equipment working under the control instructions; When the number of groups of control instructions stored in the shared memory and the sensor data for the thermal processing equipment working under the control instructions exceeds a group number threshold, the inter-core communication component sends all of at least one continuous group of control instructions and the sensor data for the thermal processing equipment working under the control instructions to the non-real-time operating system memory; When the sensor data of the heat treatment equipment working under the control instruction exceeds a second threshold, the inter-core communication component sends the control instruction exceeding the second threshold and the sensor data of the heat treatment equipment working under the control instruction, as well as the unsent control instructions and the sensor data of the heat treatment equipment working under the control instruction before exceeding the second threshold, to the non-real-time operating system memory.
2. The dual-operating system control system for thermal processing equipment according to claim 1, characterized in that: The communication between the multiple kernels running the real-time operating system and the non-real-time operating system includes: The shared memory stores a plurality of first data transmitted from the real-time operating system to the non-real-time operating system, wherein the first data includes the sensor data collected by the collection module and the control instructions of the PLC module; If at least one group of untransmitted first data stored in the shared memory is abnormal, the non-real-time operating system is stopped from transmitting data to the real-time operating system.
3. The control system for dual operating system of thermal processing equipment according to claim 2, characterized in that: The at least one set of untransmitted first data stored in the shared memory is abnormal including: The at least one set of first data that has not been transmitted abnormally exceeds a first threshold, or, The at least one group of untransmitted first data exceeds the current calculation data of the non-real-time operating system, and the current calculation data is: the statistical range of the first data between the last time the non-real-time operating system transmitted data to the real-time operating system and the current time.
4. The control system for dual operating system of thermal processing equipment according to claim 1, characterized in that: The non-real-time operating system memory cooperates with the shared memory in the inter-core communication component so that the non-real-time operating system outputs a heat treatment process control strategy that conforms to the current working state of the heat treatment equipment to the real-time operating system after simulation based on the data fed back by the real-time operating system.
5. The control system of the dual operating system for thermal processing equipment according to claim 1, characterized in that: Controlling data transmission from the real-time operating system to the non-real-time operating system includes: The real-time operating system transmits first data to the non-real-time operating system at a fixed frequency; The first data includes: sensor data collected by the collection module and control instructions of the PLC module.
6. The control system for dual operating system of thermal processing equipment according to claim 1, characterized in that: Controlling data transmission from the non-real-time operating system to the real-time operating system includes: The non-real-time operating system transmits the second data to the non-real-time operating system at a frequency not limited to a fixed frequency, and the starting node for transmitting the second data from the non-real-time operating system to the non-real-time operating system is: the thermal processing process model completes an iteration, and the iteration is based on the CAE proxy model and the data transmitted from the real-time operating system to the non-real-time operating system; The second data includes: a thermal processing process control strategy running on the PLC module.
7. The dual-operating system control system for thermal processing equipment according to claim 1, characterized in that: It is characterized in that If there is a conflict in the communication between the multiple cores of the real-time operating system and the non-real-time operating system, the data transmission from the real-time operating system to the non-real-time operating system is interrupted, and the data transmission from the non-real-time operating system to the real-time operating system is prioritized.
8. The control system for dual operating systems of thermal processing equipment according to claim 1, characterized in that: The step of controlling and configuring, by the control module, that the data transmission frequency from the real-time operating system to the non-real-time operating system is higher than the data transmission frequency from the non-real-time operating system to the real-time operating system comprises: The non-real-time operating system simulates the thermal processing equipment and calculates the thermal processing process strategy according to at least one data transmitted by the real-time operating system.
9. A control method for a dual operating system of a thermal processing equipment, characterized in that: A control system for a dual operating system for hot processing equipment as claimed in any one of claims 1 to 8, comprising: Controlling the thermal processing equipment using control instructions of a real-time operating system and collecting sensor data of the thermal processing equipment; Transmitting the control instruction and the sensor data to a non-real-time operating system via the inter-core communication component; Using the non-real-time operating system, simulating and calculating based on the control instructions and the sensor data, to obtain the thermal processing process control strategy; The heat treatment process control strategy is transmitted to the real-time operating system through the inter-core communication component to form the control instruction to control the heat treatment equipment.
Citation Information
Patent Citations
Exception handling method based on multiple processes
CN115599549A
Robot control system
CN115958600A
Intelligent STEP-NC controller system and its complementing method
CN1912783A