CN110632857A - Control performance verification method for large-scale hierarchical control system - Google Patents

Control performance verification method for large-scale hierarchical control system Download PDF

Info

Publication number
CN110632857A
CN110632857A CN201910912374.3A CN201910912374A CN110632857A CN 110632857 A CN110632857 A CN 110632857A CN 201910912374 A CN201910912374 A CN 201910912374A CN 110632857 A CN110632857 A CN 110632857A
Authority
CN
China
Prior art keywords
control
hardware
software
performance
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910912374.3A
Other languages
Chinese (zh)
Other versions
CN110632857B (en
Inventor
余冰
安宝冉
孙黎
李立
罗君
曾司凤
高航
任强
邓金华
吴淮
倪志高
王晓丽
谢兴全
陈刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
COMPUTER APPLICATION INST CHINA ENGINEERING PHYSICS ACADEMY
Original Assignee
COMPUTER APPLICATION INST CHINA ENGINEERING PHYSICS ACADEMY
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by COMPUTER APPLICATION INST CHINA ENGINEERING PHYSICS ACADEMY filed Critical COMPUTER APPLICATION INST CHINA ENGINEERING PHYSICS ACADEMY
Priority to CN201910912374.3A priority Critical patent/CN110632857B/en
Publication of CN110632857A publication Critical patent/CN110632857A/en
Application granted granted Critical
Publication of CN110632857B publication Critical patent/CN110632857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41885Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by modeling, simulation of the manufacturing system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25232DCS, distributed control system, decentralised control unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a control performance verification method suitable for a large-scale hierarchical control system, which comprises the following specific steps of: step one, controlling a performance verification overall framework; step two, establishing a software and hardware equipment test model; step three, establishing a software test model with reconfigurable control logic; step four, software and hardware parametric configuration and rapid construction of the control system; and step five, controlling the automatic test of the performance index. The method simulates software and hardware equipment with different control performances and system services with different control logics from the aspects of functions and performances, and builds a large-scale hierarchical control system through parameterization configuration, so that whether the control performance and software and hardware resources of the large-scale hierarchical control system meet the requirements or not is quickly judged, and the control performance verification efficiency of the large-scale complex device control system is greatly improved.

Description

Control performance verification method for large-scale hierarchical control system
Technical Field
The invention relates to the field of control systems of complex devices, in particular to a control performance verification method suitable for a large-scale hierarchical control system.
Background
Complex device control systems, particularly laser device control systems, generally adopt a hierarchical control architecture to realize the integration and monitoring of the control system. The control system has large-scale hardware controlled objects and complex business control logic, different control software needs to be deployed on different computers to realize the integration of the control system, particularly, a large amount of experimental data and device operation data can be generated in the device operation process, and the software hierarchical architecture and the rationality of the control software deployment have great influence on the reliability, the control precision, the stability and the real-time response speed of the control system.
In early foreign countries, a networked simulation tool is adopted to ensure that the bandwidth of a computer network meets the control requirement, or the logic realization and the rapid simulation of an upper-layer control function are realized through an interface simulator, but the performance test requirement of a control scene with variable business processes is difficult to solve. For example, if a large-scale complex device control system needs to be built, the rationality of the control system architecture design and the control software resource deployment can meet the needs of the site, and due to the cost and the requirements on the site, all devices cannot be directly purchased to build the system, so as to demonstrate whether the control scene performance can meet the needs, and further, the implementability and the rationality of the control system are influenced.
Disclosure of Invention
An object of the present invention is to solve at least the above problems and/or disadvantages and to provide at least the advantages described hereinafter.
The invention also aims to provide a control performance verification method for the large-scale hierarchical control system, which can build the large-scale hierarchical control system through parametric configuration according to the index requirements of the control performance, thereby quickly judging whether the control performance and software and hardware resources of the large-scale hierarchical control system meet the requirements or not and greatly improving the control performance verification efficiency of the large-scale complex device control system.
To achieve these objects and other advantages in accordance with the purpose of the invention, there is provided a control performance verification method for a large-scale hierarchical control system, including:
step one, building a total framework for controlling performance verification;
step two, establishing a test model of the hardware equipment;
step three, establishing a software test model with reconfigurable control logic;
establishing hardware equipment to be verified and a simulation object of a corresponding business process according to the index requirement of the control performance, carrying out parametric configuration on software and hardware related to the hardware equipment to be verified, and further establishing a hierarchical control simulation system for verification, which is configured and deployed according to the control requirement;
and fifthly, carrying out automatic verification test on the control performance indexes by adopting a hierarchical control simulation system.
Preferably, in step one, the overall architecture is configured to be implemented by building a corresponding hardware environment and a hierarchical control model matched with the hardware environment;
the hardware environment is configured to include:
a controlled hardware device;
the front computer is used for installing and integrating the controlled hardware equipment object driver;
the console computer is used for realizing resource monitoring of the front computer and carrying out remote deployment, start-stop and monitoring on a controlled hardware equipment object;
a server for generating a virtual machine according to the types of the memory, the CPU, the hard disk space and the operating system so as to start, stop or deploy the console computer, wherein deployment and software start-stop services are installed on all computers;
the hierarchical control model is configured to include:
a controlled hardware device;
the equipment object is used for packaging different controlled hardware equipment as services so as to realize real operation and simulation mode switching;
system service software for realizing flow business combination;
the centralized control tool is used for realizing software deployment, management and performance test, and is configured to comprise a parameter configuration tool for configuring the scale, hierarchy, software deployment and monitoring of a control system, a computer monitoring tool for carrying out parameterization configuration in a server according to related requirements of a kernel, a memory, network bandwidth and an operating system, creating a virtual computer template, modifying computer hardware configuration parameters and operating the start and stop of a computer, a software deployment tool for remotely deploying control software according to the configuration parameters, a device service start and stop tool for remotely realizing the start and stop of the control software and the monitoring of computer resources, a device simulator and a system service simulator.
Preferably, in the second step, the establishing of the test model of the hardware device is configured to include:
according to the inconsistency of different controlled hardware devices on the requirements of computer resources, the device simulator configures the functions of the hardware devices through json configuration files so as to establish different simulation test models.
Preferably, in step three, the establishing of the reconfigurable software test model by the control logic is configured to include:
the device control software is used for controlling hardware devices in batches, creating related functions according to the function names, the control functions, the input parameter types and the controlled object list, and realizing the device batch control function when the client calls the functions;
the flow control software realizes the control of the business flow, establishes business function realizing points according to the DAG model, establishes logic among the business function points, and executes related control flows through a flow execution engine to realize serial parallel and closed-loop operation;
monitoring the attribute of the controlled hardware equipment in batch, periodically polling the state information of the equipment according to the attribute name and the equipment list of the controlled hardware equipment, and issuing the attribute information to the equipment state monitoring software of the client by an event mechanism.
Preferably, in the fourth step, the establishment of the hardware device to be verified and the business process simulation object corresponding to the hardware device to be verified is realized by controlling a software simulation device;
the control software simulation equipment establishes a hardware object simulation model similar to the functions and the related factors of the dynamically configurable hardware object function, the response time, the data throughput and the CPU occupancy rate according to the factors possibly influencing the performance of the controlled object of the hardware, and further matches the response time, the data transmission and the resource occupancy of the control software performance verification to realize the function and performance simulation of the control system, and the control software simulation equipment is configured to adopt a hardware equipment simulator and a system service simulator.
Preferably, the control software simulation device decomposes the controlled hardware device into a controlled object and a service control logic;
the hardware equipment simulator abstracts controlled hardware equipment in a control system into a demand model for computer resources, and establishes simulation objects of the hardware equipment one by testing functions and performances of the hardware objects;
the system service simulator abstracts the service logic layer into a flow control simulation object model which can be dynamically configured and reconstructed by control logic, and dynamically configures the subsystem control function according to the service logic.
Preferably, the hardware device simulator may determine, by performing a function test and a performance test on the hardware device, related limiting factors of each hardware device according to inconsistency of different hardware devices with respect to computer hardware configuration, memory, CPU, IO, response time, and computer resource requirements or network requirements of the hardware driver, so as to allocate the computer resource requirements or network requirements of the plurality of controlled hardware devices according to the related limiting factors.
Preferably, the system service simulator realizes the rapid reconfiguration of the control business logic in a control flow modeling manner according to the difference of the business logic of different subsystems and the consistency from the control business flow modeling perspective;
the method comprises the steps of establishing a control flow configuration execution model based on parallelism and flow of service logic of each subsystem, and realizing the modeling and simulation functions of the service flows of different systems by using concurrent, serial and simple closed-loop logic control nodes provided by a control flow engine and calling hardware equipment.
Preferably, wherein the index requirement of the control performance is configured to include a function response time, a state update time, and an image acquisition time;
the index requirement of the control performance is highly related to service control logic, hardware equipment performance, concurrency, control scale and a hierarchical architecture design mode, and is closely coupled with the interface calling mode performance and the event receiving mode capability of the control software framework.
Preferably, in the fifth step, the automatic monitoring of the control performance index and the adjustment of the architecture are realized through the automatic verification test, the performance test data is displayed in a visual form, and the test data is stored in sqlite;
the automatic verification test is used for detecting the CPU utilization rate, the memory use size, the hard disk use size, the network communication state, the performance index and the like of each computer and the control software thereof to judge whether the requirements are met, and the software deployment mode and the control function are dynamically adjusted through parameterization configuration software deployment, start-stop tools and the like so as to quickly verify whether the hierarchical control system can meet the requirements of controlling the performance index.
The invention at least comprises the following beneficial effects: firstly, compared with the prior art, the method can quickly verify whether the large-scale hierarchical control framework of the complex device can meet the requirement of the control performance index, and timely find out the potential possibility of influencing the reliability, the control precision, the stability and the real-time response speed of the control system, thereby ensuring the rationality of the design of the control system in the design stage of the control system.
Secondly, the control performance verification method of the invention completes the rapid construction of the control system through parameterization configuration, ensures the rationality of the control system architecture design and the control software resource deployment through the verification mode by controlling performance indexes such as function response time, state updating time, image acquisition time and the like, and provides an integrated simulation test environment for the development of a later control system.
Thirdly, the method simulates software and hardware equipment with different control performances and system services with different control logics from the aspects of functions and performances, and builds a large-scale hierarchical control system through parameterization configuration, so that whether the control performance and software and hardware resources of the large-scale hierarchical control system meet the requirements or not is quickly judged, and the control performance verification efficiency of the large-scale complex device control system is greatly improved.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
FIG. 1 is a schematic flow diagram illustrating the construction of a hierarchical control simulation system according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a software and hardware environment for controlling performance testing according to another embodiment of the present invention;
FIG. 3 is a diagram of a hierarchical control software architecture in accordance with an embodiment of the present invention;
fig. 4 is a schematic layout of a monitoring scheme for energy system status according to another embodiment of the present invention.
Detailed Description
The present invention is further described in detail below with reference to the attached drawings so that those skilled in the art can implement the invention by referring to the description text.
It will be understood that terms such as "having," "including," and "comprising," as used herein, do not preclude the presence or addition of one or more other elements or groups thereof.
Fig. 1 shows an implementation form of a control performance verification method for a large-scale hierarchical control system according to the present invention, which includes:
step one, building a total framework for controlling performance verification;
step two, establishing a test model of the hardware equipment;
step three, establishing a software test model with reconfigurable control logic;
establishing hardware equipment to be verified and a simulation object of a corresponding business process according to the index requirement of the control performance, carrying out parametric configuration on software and hardware related to the hardware equipment to be verified, and further establishing a hierarchical control simulation system for verification, which is configured and deployed according to the control requirement;
and fifthly, carrying out automatic verification test on the control performance indexes by adopting a hierarchical control simulation system. The general idea of control performance verification in the scheme is based on control performance indexes, and the control performance of a large-scale hierarchical control system is quickly verified by realizing the function and performance simulation of the control system in a virtual environment and a semi-physical simulation environment.
2-3, in step one, the overall architecture is configured to be implemented by building a corresponding hardware environment and a hierarchical control model matched with the hardware environment;
the hardware environment is configured to include:
a controlled hardware device;
the front computer is used for installing and integrating the controlled hardware equipment object driver;
the console computer is used for realizing resource monitoring of the front computer and carrying out remote deployment, start-stop and monitoring on a controlled hardware equipment object;
a server for generating a virtual machine according to the types of the memory, the CPU, the hard disk space and the operating system so as to start, stop or deploy the console computer, wherein deployment and software start-stop services are installed on all computers;
the hierarchical control model is configured to include:
a controlled hardware device;
the equipment object is used for packaging different controlled hardware equipment as services so as to realize real operation and simulation mode switching;
system service software for realizing flow business combination;
a centralized control tool (centralized control software) for implementing software deployment, management and performance test, which is configured to include a parameter configuration tool for configuring the scale, hierarchy, software deployment and monitoring of the control system, a computer monitoring tool for performing parameterized configuration in the server according to the kernel, memory, network bandwidth, and related requirements of the operating system, creating a virtual computer template, modifying computer hardware configuration parameters, and operating the start and stop of the computer, a software deployment tool for remotely deploying the control software according to the configuration parameters, a device service start and stop tool for remotely implementing the start and stop of the control software and monitoring of computer resources, and a device simulator and a system service simulator, in which the control performance verification overall architecture hardware environment is composed of a console computer, a server, a front computer, and a hardware controlled device such as a stepping motor, PLC, CCD, serial server, etc. Deployment and software start-stop services are installed on all computers, wherein the computers on the console; the virtual server cluster can generate virtual machines according to the types of a memory, a CPU, a hard disk space and an operating system; the front computer realizes the drive installation and integration of the hardware controlled object. The hierarchical control model is composed of hardware equipment, equipment objects, system services and centralized software, wherein the equipment objects are used for packaging different hardware equipment, real operation and simulation mode switching can be realized, the system services are used for realizing the combination of flow services, and the centralized control software is used for realizing software deployment, management and performance test.
The control performance indexes of the control system, such as state response time, state updating time, image acquisition time and the like, are influenced by factors such as function execution time, data transmission size, CPU occupation time, calling times, control scale and the like, and the verification framework simulates and decomposes the performance indexes through an equipment simulator and system service;
according to different distinguishing or framework modes, the overall framework can also comprise a verification tool and a verification environment, wherein the verification tool comprises a parameter configuration tool, a computer monitoring tool, a software deployment tool, an equipment service start-stop tool, an equipment simulator, a system service simulator and the like; the verification environment consists of a computer service cluster and related controlled hardware equipment, and a hierarchical control system is quickly built through verification tools such as the parameter configuration tool, the computer monitoring tool, the software deployment tool, the equipment service start-stop tool, the equipment simulator, the system service simulator and the like according to the control performance index requirement of the control system, so that the parametric configuration, the automatic deployment and the automatic test of the distributed control system are realized;
further, the overall architecture for control performance verification in the scheme packages related tools into services, and consists of control system integration tools and control software simulation equipment. The control system integration tool mainly realizes the functions of parametric configuration, automatic deployment and monitoring of the control system, and comprises a parameter configuration tool, a computer monitoring tool, a software deployment tool and an equipment service start-stop tool; the control software simulation device mainly realizes the simulation of a hardware controlled device object of the control system and the simulation of a service control logic, such as a hardware device simulator and a system service simulator.
The computer monitoring tool can be parameterized and configured in the server according to the requirements of a kernel, a memory, network bandwidth, an operating system and the like, create a virtual computer template, modify the configuration parameters of computer hardware and have the computer start-stop function; the software deployment tool can remotely deploy the control software according to the configuration parameters; the equipment service start-stop tool can remotely realize the start-stop of control software and the monitoring of computer resources; the invention configures the functions of parametric configuration, automatic deployment and monitoring from the aspects of configuration, deployment, management, monitoring and the like, comprises auxiliary tools such as parameter configuration, computer monitoring, software deployment, equipment service start and stop and the like, and realizes the rapid adjustment of the control software architecture design and the rapid verification of the indexes in a semi-physical or virtual simulation environment.
In another embodiment, in step two, the establishing of the test model of the hardware device is configured to include:
according to the inconsistency of different controlled hardware devices on the requirements of computer resources, the device simulator configures the functions of the hardware devices through json configuration files so as to establish different simulation test models. In the scheme, the hardware equipment is influenced by hardware access time, concurrency, data transmission size and CPU occupation time, different hardware equipment has different requirements on computer resources, different hardware equipment simulation test models are established, and functions of the hardware equipment are configured through json configuration files, wherein the functions comprise information such as function names, function types, execution time, data sizes, CPU occupation time and drive sharing. The device simulator sets execution delay according to execution time, returns data with set length according to data size, sets CPU occupancy rate according to CPU occupancy time, and sets whether a hardware drive is concurrent access or serial access according to whether sharing is performed, and the configuration file format is defined as follows:
function list// json map list
A function name; // character string
A function type; // character strings, functions or attributes
Execution time; // shaping, ms
A data size; // shaping, Byte
CPU occupation time; // floating point type, percent;
whether the drive is shared; v/Boolean type
Whether an event is issued; v/Boolean type
Taking CCD as an example, testing hardware access time, image transmission performance and concurrency performance of different functions of the CCD under windows, and establishing a CCD device simulation object according to the test data.
In another embodiment, in step three, the establishing of the control logic reconfigurable software test model is configured to include:
the device control software is used for controlling hardware devices in batches, creating related functions according to the function names, the control functions, the input parameter types and the controlled object list, and realizing the device batch control function when the client calls the functions;
the method comprises the steps of realizing business process control, establishing business function realization points and logic among the business function points by a model according to a DAG model, and executing related control processes by a process execution engine to realize process control software of serial-parallel and closed-loop operation;
the method comprises the steps of monitoring the attributes of the controlled hardware devices in batches, periodically polling state information of the devices according to the attribute names and the device lists of the controlled hardware devices, and issuing the attribute information to device state monitoring software of a client through an event mechanism. The device control function realizes batch control on hardware devices, the model creates related functions according to the function name, the control function, the input parameter type and the controlled object list, and the device batch control function is realized when the client calls the functions; the flow control function realizes business flow control, the model establishes business function realization points according to the DAG model, establishes logic among the business function points, and executes related control flows through the flow execution engine to realize serial-parallel and closed-loop operation; the device state monitoring realizes the monitoring of the batch device attributes, the model periodically polls the device state information according to the device attribute name and the device list, and issues the attribute information to the client by an event mechanism.
Device control list// json map list
Function name: // character string
A control function; // character string
Inputting parameter types: // character string
A controlled object list; // character string List
Controlling the process; // json map
The logical relationship is as follows: node name, next node name// string list
And (3) node configuration parameters: // json map
And (3) node name: // character string
Node parameters: // json, specific parameter configuration information
The node function is as follows: device name, function name, input parameters, etc.
Taking light path collimation control as an example, the collimation process is decomposed into a plurality of node functions, logic between nodes is established, and finally the process control process of a plurality of devices is realized.
In another embodiment, in step four, the establishment of the hardware device to be verified and the business process simulation object corresponding to the hardware device to be verified is realized by controlling a software simulation device;
wherein, the control software simulation equipment can simulate the hardware controlled object according to the factors which can affect the performance of the hardware controlled object, such as the calling of computer configuration to software interface, the calling mode of hardware driver to the controlled object, the occupation of software calling to CPU and corresponding time, etc., establishing a hardware object simulation model similar to the function of dynamically configurable hardware object, response time, data throughput and CPU occupancy rate, further matching with the response time, data transmission and resource occupation of the performance verification of the control software, realizing the function and performance simulation of the control system, the control software emulation device is configured to employ a hardware device emulator and a system services emulator, in the scheme, the implementation logic, the hierarchical architecture, the monitoring mode and the deployment mode of the control software have influence on the performance index of the control system. The method comprises the steps that function and performance simulation of a controlled object of hardware of a control system is achieved through a hardware device simulation object, after simulation of different business function logics is achieved through a system service simulator, the influence of a hierarchical framework and a deployment mode on control performance indexes of the control system is mainly considered, specifically, software and hardware parameterization configuration and rapid construction of the control system are achieved, and a verification model is configured and deployed according to hierarchical control requirements. Taking the state update time index of the energy system as an example, the verification model diagram is shown in fig. 4, and the energy upper layer software needs to monitor the voltage and current states of 48 × 180 energy devices, and determine whether the state update frequency requirement of 1Hz can be met. The configuration flow is as follows: testing the functional characteristics and the hardware access time of the energy equipment hardware controlled object according to the characteristics of the energy equipment hardware controlled object, and establishing an object simulation model equivalent to the energy hardware equipment; configuring state monitoring parameters of system services, such as equipment object names, attribute names and state refreshing frequency; registering 48 system services and 48 × 180 device services in the control system through a python service deployment interface, and configuring parameters of the energy device simulation object and the energy system; starting the object through a python service start-stop interface; and finally subscribing the energy system event through the performance monitoring client.
In another embodiment, the control software simulation device decomposes the controlled hardware device into a controlled object and a service control logic;
the hardware equipment simulator abstracts controlled hardware equipment in a control system into a demand model for computer resources, and establishes simulation objects of the hardware equipment one by testing functions and performances of the hardware objects;
the system service simulator abstracts a service logic layer into a process control simulation object model which can be dynamically configured and reconstructed by control logic, and dynamically configures a subsystem control function according to the service logic. Abstracting hardware equipment in a control system into a demand model for computer resources, such as computer hardware configuration, memory, CPU, IO, response time, hardware drive and the like, and performing function and performance tests on hardware objects to establish simulation objects of the hardware equipment one by one; and abstracting a business logic layer into a flow control simulation object model capable of being dynamically configured and reconstructed by control logic, configuring a subsystem control function according to the business logic dynamic, finally quickly building a large-scale hierarchical control system in a semi-physical or virtual simulation environment through related tools, and verifying the control performance index of the large-scale hierarchical control system.
In another embodiment, the hardware device simulator can determine relevant limiting factors of each hardware device by performing functional test and performance test on the hardware devices according to inconsistency of different hardware devices on computer hardware configuration, memory, CPU, IO, response time and hardware drive on computer resource requirements or network requirements, so as to allocate the computer resource requirements or network requirements of a plurality of controlled hardware devices according to the relevant limiting factors.
In another embodiment, the system service simulator realizes the rapid reconstruction of the control business logic in a control flow modeling manner according to the difference of the business logic of different subsystems and the consistency from the angle of the control business flow modeling;
the method comprises the steps that a control flow configuration execution model can be established based on the characteristics that service logics of all subsystems have strong parallelism and process, concurrent, serial and simple closed-loop logic control nodes provided by a control flow engine and hardware equipment are used for calling service flows of different systems to realize modeling and simulation functions, in the scheme, the service logics in the subsystems are reconstructed through the control flows, the comprehensive consideration on the running rationality of the whole control system to be verified is facilitated, and the service flows are subjected to shunting or queuing type processing, so that the running stability of the systems is ensured, and no service conflict occurs.
In another embodiment, the index requirements of the control performance are configured to include function response time, state update time and image acquisition time, because the validation architecture focuses on testing the control performance indexes such as function response time, state update time and image acquisition time;
in the scheme, the control performance of the complex device control system needs to be ensured to meet the requirements of the control performance of the control system, such as state response time, state update time, image acquisition time and the like, under a certain scale, and the control performance indexes can be decomposed layer by layer according to the requirements so as to solve the problem of verifying the control performance indexes, such as function response time, state update time, image acquisition time and the like in the prior art.
In another embodiment, in step five, the automatic monitoring of the control performance index and the adjustment of the architecture are realized through the automatic verification test, the performance test data is displayed in a visual form, and the test data is stored in sqlite;
the automatic verification test is used for detecting the CPU utilization rate, the memory use size, the hard disk use size, the network communication state, the performance index and the like of each computer and control software thereof to judge whether the requirements are met, and the software deployment mode and the control function are dynamically adjusted through parameterization configuration software deployment, start-stop tools and the like so as to quickly verify whether the hierarchical control system can meet the requirements of controlling the performance index. The performance test data is presented in a visual form and saved to sqlite for subsequent analysis. Whether the requirements are met is judged by detecting the CPU utilization rate, the memory use size, the hard disk use size, the network communication state, the performance index and the like of each computer and control software thereof, and the control performance index of the hierarchical control system is rapidly verified by dynamically adjusting the software deployment mode, the control function and the like through parameterization configuration software deployment, start-stop tools and the like.
The general idea of the control performance verification of the invention is to realize the function and performance simulation of a control system in a virtual environment and a semi-physical simulation environment so as to quickly verify the control performance of a large-scale hierarchical control system, which simulates software and hardware equipment with different control performances and system services with different control logics from the aspects of functions and performance based on the requirements of the performance indexes of the control system to be verified, i.e. a controlled object in the control system is decomposed into a hardware controlled object and a service control logic, so as to build the large-scale hierarchical control system through the cooperation of verification tools and parameterization configuration, thereby quickly judging whether the control performance and software and hardware resources of the large-scale hierarchical control system meet the requirements, greatly improving the control performance verification efficiency of the control system of a large-scale complex device, and simultaneously ensuring the rationality of the architecture design of the control system and the deployment of control software resources, an integrated simulation test environment is provided for the development of a later control system, and the potential possibility of influencing the reliability, the control precision, the stability and the real-time response speed of the control system is found in time, so that the rationality of the design of the control system is ensured at the design stage of the control system.
The above scheme is merely illustrative of a preferred example, and is not limiting. When the invention is implemented, appropriate replacement and/or modification can be carried out according to the requirements of users.
The number of apparatuses and the scale of the process described herein are intended to simplify the description of the present invention. Applications, modifications and variations of the control performance verification method for a large-scale hierarchical control system of the present invention will be apparent to those skilled in the art.
While embodiments of the invention have been disclosed above, it is not intended to be limited to the uses set forth in the specification and examples. It can be applied to all kinds of fields suitable for the present invention. Additional modifications will readily occur to those skilled in the art. It is therefore intended that the invention not be limited to the exact details and illustrations described and illustrated herein, but fall within the scope of the appended claims and equivalents thereof.

Claims (10)

1. A control performance verification method for a large-scale hierarchical control system is characterized by comprising the following steps:
step one, building a total framework for controlling performance verification;
step two, establishing a test model of the hardware equipment;
step three, establishing a software test model with reconfigurable control logic;
establishing hardware equipment to be verified and a simulation object of a corresponding business process according to the index requirement of the control performance, carrying out parametric configuration on software and hardware related to the hardware equipment to be verified, and further establishing a hierarchical control simulation system for verification, which is configured and deployed according to the control requirement;
and fifthly, carrying out automatic verification test on the control performance indexes by adopting a hierarchical control simulation system.
2. The control performance verification method for large-scale hierarchical control system according to claim 1, wherein in step one, the overall architecture is configured to be implemented by building a corresponding hardware environment and a hierarchical control model matched with the hardware environment;
the hardware environment is configured to include:
a controlled hardware device;
the front computer is used for installing and integrating the controlled hardware equipment object driver;
the console computer is used for realizing resource monitoring of the front computer and carrying out remote deployment, start-stop and monitoring on a controlled hardware equipment object;
a server for generating a virtual machine according to the types of the memory, the CPU, the hard disk space and the operating system so as to start, stop or deploy the console computer, wherein deployment and software start-stop services are installed on all computers;
the hierarchical control model is configured to include:
a controlled hardware device;
the equipment object is used for packaging different controlled hardware equipment as services so as to realize real operation and simulation mode switching;
system service software for realizing flow business combination;
the centralized control tool is used for realizing software deployment, management and performance test, and is configured to comprise a parameter configuration tool for configuring the scale, hierarchy, software deployment and monitoring of a control system, a computer monitoring tool for carrying out parameterization configuration in a server according to related requirements of a kernel, a memory, network bandwidth and an operating system, creating a virtual computer template, modifying computer hardware configuration parameters and operating the start and stop of a computer, a software deployment tool for remotely deploying control software according to the configuration parameters, a device service start and stop tool for remotely realizing the start and stop of the control software and the monitoring of computer resources, a device simulator and a system service simulator.
3. The control performance verification method for the large-scale hierarchical control system according to claim 1, wherein in step two, the establishment of the test model of the hardware device is configured to include:
according to the inconsistency of different controlled hardware devices on the requirements of computer resources, the device simulator configures the functions of the hardware devices through json configuration files so as to establish different simulation test models.
4. The control performance verification method for a large-scale hierarchical control system according to claim 1, wherein in step three, the establishment of the control logic reconfigurable software test model is configured to include:
the device control software is used for controlling hardware devices in batches, creating related functions according to the function names, the control functions, the input parameter types and the controlled object list, and realizing the device batch control function when the client calls the functions;
the flow control software realizes the control of the business flow, establishes business function realizing points according to the DAG model, establishes logic among the business function points, and executes related control flows through a flow execution engine to realize serial parallel and closed-loop operation;
monitoring the attribute of the controlled hardware equipment in batch, periodically polling the state information of the equipment according to the attribute name and the equipment list of the controlled hardware equipment, and issuing the attribute information to the equipment state monitoring software of the client by an event mechanism.
5. The method for verifying control performance of a large-scale hierarchical control system according to claim 1, wherein in step four, the hardware device to be verified and the business process simulation object corresponding thereto are established by a control software simulation device;
the control software simulation equipment establishes a hardware object simulation model similar to the functions and the related factors of the dynamically configurable hardware object function, the response time, the data throughput and the CPU occupancy rate according to the factors possibly influencing the performance of the controlled object of the hardware, and further matches the response time, the data transmission and the resource occupancy of the control software performance verification to realize the function and performance simulation of the control system, and the control software simulation equipment is configured to adopt a hardware equipment simulator and a system service simulator.
6. The control performance verification method for the large-scale hierarchical control system according to claim 5, wherein the control software simulation device decomposes the controlled hardware device into a controlled object and a service control logic;
the hardware equipment simulator abstracts controlled hardware equipment in a control system into a demand model for computer resources, and establishes simulation objects of the hardware equipment one by testing functions and performances of the hardware objects;
the system service simulator abstracts the service logic layer into a flow control simulation object model which can be dynamically configured and reconstructed by control logic, and dynamically configures the subsystem control function according to the service logic.
7. The control performance verification method for the large-scale hierarchical control system according to claim 6, wherein the hardware device simulator can determine relevant limiting factors of each hardware device by performing functional test and performance test on the hardware devices according to inconsistency of different hardware devices in computer hardware configuration, memory, CPU, IO, response time and hardware drive on computer resource requirements or network requirements, so as to allocate the computer resource requirements or network requirements of a plurality of controlled hardware devices according to the relevant limiting factors.
8. The method as claimed in claim 6, wherein the system service simulator implements the fast reconfiguration of the control business logic by means of the control flow modeling according to the differences of the business logic of different subsystems and the consistency from the control business flow modeling perspective;
the method comprises the steps of establishing a control flow configuration execution model based on parallelism and flow of service logic of each subsystem, and realizing the modeling and simulation functions of the service flows of different systems by using concurrent, serial and simple closed-loop logic control nodes provided by a control flow engine and calling hardware equipment.
9. The control performance verification method for the large-scale hierarchical control system according to claim 1, wherein the index requirement of the control performance is configured to include a function response time, a state update time, and an image acquisition time;
the index requirement of the control performance is highly related to service control logic, hardware equipment performance, concurrency, control scale and a hierarchical architecture design mode, and is closely coupled with the interface calling mode performance and the event receiving mode capability of the control software framework.
10. The control performance verification method for the large-scale hierarchical control system according to claim 1, wherein in step five, automatic monitoring of control performance indexes and adjustment of architecture are realized through the automatic verification test, performance test data is displayed in a visual form, and the test data is saved in sqlite;
the automatic verification test is used for detecting the CPU utilization rate, the memory use size, the hard disk use size, the network communication state, the performance index and the like of each computer and the control software thereof to judge whether the requirements are met, and the software deployment mode and the control function are dynamically adjusted through parameterization configuration software deployment, start-stop tools and the like so as to quickly verify whether the hierarchical control system can meet the requirements of controlling the performance index.
CN201910912374.3A 2019-09-25 2019-09-25 Control performance verification method for large-scale hierarchical control system Active CN110632857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910912374.3A CN110632857B (en) 2019-09-25 2019-09-25 Control performance verification method for large-scale hierarchical control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910912374.3A CN110632857B (en) 2019-09-25 2019-09-25 Control performance verification method for large-scale hierarchical control system

Publications (2)

Publication Number Publication Date
CN110632857A true CN110632857A (en) 2019-12-31
CN110632857B CN110632857B (en) 2022-05-17

Family

ID=68974063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910912374.3A Active CN110632857B (en) 2019-09-25 2019-09-25 Control performance verification method for large-scale hierarchical control system

Country Status (1)

Country Link
CN (1) CN110632857B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781882A (en) * 2020-08-10 2020-10-16 中国空气动力研究与发展中心低速空气动力研究所 Virtualization console for wind tunnel test
CN112925572A (en) * 2021-03-01 2021-06-08 联想(北京)有限公司 Control method and device and electronic equipment
CN112948653A (en) * 2021-04-23 2021-06-11 广东省气象探测数据中心 Meteorological data monitoring system based on business process
CN113495498A (en) * 2021-07-06 2021-10-12 中国工商银行股份有限公司 Simulation method, simulator, device, and medium for hardware device
CN116298863A (en) * 2023-02-01 2023-06-23 深圳市致诚达科技有限公司 Quick inspection system and control method for BLDC motor production line

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087917A1 (en) * 2000-09-22 2002-07-04 International Business Machines Corporation Method and system for testing a processor
KR20030023485A (en) * 2001-09-14 2003-03-19 양세양 Design Verification Apparatus Using Mixed Emulation, Simulation, and Formal Verification
US20110145795A1 (en) * 2009-12-10 2011-06-16 Amol Khanapurkar System and method for automated performance testing in a dynamic production environment
CN105302950A (en) * 2015-10-19 2016-02-03 北京精密机电控制设备研究所 Software and hardware cooperation based cross-linking simulation test method for programmable logic device
JP2017076412A (en) * 2016-11-21 2017-04-20 インテル・コーポレーション Test, verification, and program and method of debug architecture
US20190087513A1 (en) * 2017-09-20 2019-03-21 International Business Machines Corporation Learning framework for software-hardware model generation and verification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087917A1 (en) * 2000-09-22 2002-07-04 International Business Machines Corporation Method and system for testing a processor
KR20030023485A (en) * 2001-09-14 2003-03-19 양세양 Design Verification Apparatus Using Mixed Emulation, Simulation, and Formal Verification
US20110145795A1 (en) * 2009-12-10 2011-06-16 Amol Khanapurkar System and method for automated performance testing in a dynamic production environment
CN105302950A (en) * 2015-10-19 2016-02-03 北京精密机电控制设备研究所 Software and hardware cooperation based cross-linking simulation test method for programmable logic device
JP2017076412A (en) * 2016-11-21 2017-04-20 インテル・コーポレーション Test, verification, and program and method of debug architecture
US20190087513A1 (en) * 2017-09-20 2019-03-21 International Business Machines Corporation Learning framework for software-hardware model generation and verification

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
刘海山等: "基于软、硬件协同的FPGA软件交联仿真验证技术", 《导弹与航天运载技术》 *
张鲁峰等: "基于虚拟微处理器的嵌入式软件开发与系统验证环境", 《计算机研究与发展》 *
胡伟等: "基于门级信息流分析的安全体系架构设计", 《电子科技大学学报》 *
胡向东等: "高性能处理器层次化可重用模拟验证环境", 《中国科学:信息科学》 *
许荣斌等: "基于紧急程度的共享异构资源调度策略", 《计算机集成制造系统》 *
陈龙等: "BPEL文档基于DAG自动生成框架的研究与实现", 《计算机应用与软件》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781882A (en) * 2020-08-10 2020-10-16 中国空气动力研究与发展中心低速空气动力研究所 Virtualization console for wind tunnel test
CN112925572A (en) * 2021-03-01 2021-06-08 联想(北京)有限公司 Control method and device and electronic equipment
CN112925572B (en) * 2021-03-01 2023-05-23 联想(北京)有限公司 Control method and device and electronic equipment
CN112948653A (en) * 2021-04-23 2021-06-11 广东省气象探测数据中心 Meteorological data monitoring system based on business process
CN113495498A (en) * 2021-07-06 2021-10-12 中国工商银行股份有限公司 Simulation method, simulator, device, and medium for hardware device
CN113495498B (en) * 2021-07-06 2024-05-28 中国工商银行股份有限公司 Simulation method, simulator, device and medium for hardware device
CN116298863A (en) * 2023-02-01 2023-06-23 深圳市致诚达科技有限公司 Quick inspection system and control method for BLDC motor production line
CN116298863B (en) * 2023-02-01 2024-05-10 深圳市致诚达科技有限公司 Quick inspection system and control method for BLDC motor production line

Also Published As

Publication number Publication date
CN110632857B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN110632857B (en) Control performance verification method for large-scale hierarchical control system
CN107678946B (en) Model-based airborne embedded software test environment construction method
CN107784152A (en) Include the simulation of multiple simulators
US9037448B2 (en) Computer system, program, and method for assigning computational resource to be used in simulation
CN109740222B (en) Testing device and system for automobile networking scene
US7765096B1 (en) Simulation of network traffic using non-deterministic user behavior models
US8983823B1 (en) Verification harness for automatically generating a text-based representation of a graphical model
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
Wang et al. Interfacing issues in multiagent simulation for smart grid applications
US20120117531A1 (en) Instantiating a Software Development Environment From an Environment Class
CN110991040A (en) Complex product collaborative simulation environment construction method
CN107749807A (en) A kind of network function verification method and checking system towards NFV
CN115098354B (en) Method for building high-performance cloud simulation design platform
CN115174454A (en) Virtual-real combined network test implementation method and storage medium
EP4152715A1 (en) Method and apparatus for determining resource configuration of cloud service system
CN110471767B (en) Equipment scheduling method
CN101969442B (en) Process running environment perception and migration based network analog framework implementation method
Lucas et al. Remote simulation to evaluate real-time traffic control strategies
CN103324472A (en) Developing device and developing method for creating program for control unit
CN114417633B (en) Network shooting range scene construction method and system based on parallel simulation six-tuple
Calvez et al. Uninterpreted co-simulation for performance evaluation of hw/sw systems
Liu et al. A Co-Simulation-and-Test Method for CAN Bus System.
US10386806B2 (en) Method for connecting models of technical systems in a testing device equipped for control unit development
Zeliu et al. MapReduce rationality verification based on object Petri net
JP6914901B2 (en) Open facility verification equipment, verification methods, and programs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant