CN111413951A - Control system test signal generation method and device and test platform - Google Patents

Control system test signal generation method and device and test platform Download PDF

Info

Publication number
CN111413951A
CN111413951A CN202010249846.4A CN202010249846A CN111413951A CN 111413951 A CN111413951 A CN 111413951A CN 202010249846 A CN202010249846 A CN 202010249846A CN 111413951 A CN111413951 A CN 111413951A
Authority
CN
China
Prior art keywords
test
tested
control system
model
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010249846.4A
Other languages
Chinese (zh)
Inventor
袁历
潘剑良
杨平
张轩
吴方明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN202010249846.4A priority Critical patent/CN111413951A/en
Publication of CN111413951A publication Critical patent/CN111413951A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

According to the method, the device and the test platform for generating the test signal of the control system, the corresponding relation between the model identification and the corresponding model to be simulated is stored in a preset model database in advance, and when a test instruction is received, the test instruction comprises all test parameters, a target test state and the model identification corresponding to the test instruction of the control system to be tested; firstly, obtaining a model identifier corresponding to a test instruction, and searching a model to be simulated corresponding to the model identifier from a preset model database; then calling a model to be simulated, and simulating a target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested; and finally, sending the test signal to a system to be tested so as to realize the verification of the system to be tested. By the method and the device, all test signals of the system to be tested, which are obtained according to the test progress simulation working condition of the actual field, can be simulated, and the test efficiency is improved.

Description

Control system test signal generation method and device and test platform
Technical Field
The application relates to the technical field of automatic control, relates to testing of automatic control loops in the automation industry, and particularly relates to a method and a device for generating a test signal of a control system and a test platform.
Background
With the development of the automation industry, the automation level of an automatic control system is higher and higher, and the response process packages and interlocks are more and more complex, so that the test and verification of the process packages and the process interlocks in the chemical industry/petrochemical industry become more important.
At present, logic tests of a conventional DCS (Distributed Control System) and an SIS (Safety Instrumented System) System can only be performed through software simulation, as shown in fig. 1, in the existing test mode, engineering personnel are required to perform assignment at a System IO end one by one to complete the test.
However, since engineering personnel are required to assign values to the IO end of the system one by one, the testing efficiency is low, and the signals cannot be combined with the actual signal channel of the system, so that the testing cannot be performed with reference to the actual situation of the field.
Disclosure of Invention
The application provides a method, a device and a test platform for generating a test signal of a control system, and aims to improve the test efficiency and realize the test according to the actual situation of a field.
In order to achieve the above object, the present application provides the following technical solutions:
a method of generating a control system test signal, comprising:
receiving a test instruction, wherein the test instruction comprises all test parameters of a control system to be tested, a target test state and a model identification corresponding to the test instruction;
obtaining a model identification corresponding to the test instruction, and searching a model to be simulated corresponding to the model identification from a preset model database, wherein the preset model database stores the corresponding relation between the model identification and the corresponding model to be simulated;
calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested;
and sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
Preferably, the test instructions further comprise: the calling order is used for identifying the preset calling order of each true model to be called in the true models to be called;
calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested, wherein the specific steps are as follows:
sequentially calling the models to be accessed in the preset model database according to the preset calling sequence;
and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
Preferably, the simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in one test period to obtain the test signal of the control system to be tested specifically includes:
acquiring all test parameters of the control system to be tested;
calling the model to be accessed according to the target test state in a test period;
and simulating the target test state of the control system to be tested to obtain a test signal of the control system to be tested in a test period.
An apparatus for generating a control system test signal, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a test instruction, and the test instruction comprises all test parameters, a target test state and a model identification corresponding to the test instruction of a control system to be tested;
the searching unit is used for acquiring a model identifier corresponding to the test instruction, and searching a model to be simulated corresponding to the model identifier from a preset model database, wherein the preset model database stores the corresponding relation between the model identifier and the corresponding model to be simulated;
the simulation unit is used for calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested;
and the sending unit is used for sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
Preferably, the test instructions further comprise: the calling order is used for identifying the preset calling order of each true model to be called in the true models to be called;
the simulation unit is specifically configured to:
sequentially calling the models to be accessed in the preset model database according to the preset calling sequence;
and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
Preferably, the simulation unit is specifically configured to:
acquiring all test parameters of the control system to be tested;
calling the model to be accessed according to the target test state in a test period;
and simulating the target test state of the control system to be tested to obtain a test signal of the control system to be tested in a test period.
A test platform, comprising: the simulation system comprises a test instruction input unit, a programmable controller carrying at least one model to be simulated and a signal generation unit, wherein the test instruction input unit is connected with the programmable controller through an interface unit, the signal generation unit is connected with the programmable controller through an input/output unit, the programmable controller is connected with a control system to be tested through the input/output unit, and the simulation system comprises:
the test instruction input unit is used for receiving a test instruction, and the test instruction comprises all test parameters and a target test state of a control system to be tested and a model identifier corresponding to the test instruction;
the programmable controller is used for obtaining a model identifier corresponding to the test instruction, searching a model to be simulated corresponding to the model identifier from a preset model database, calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period, wherein the preset model database stores the corresponding relation between the model identifier and the model to be simulated;
the signal generating unit is used for generating a test signal of the to-be-tested control system according to the to-be-simulated model called by the programmable controller, and sending the test signal to the to-be-tested system through the input and output unit so as to realize the verification of the to-be-tested system.
Preferably, the test instruction input unit is a touch screen.
Preferably, the signal generating unit includes: digital quantity input unit, digital quantity output unit, analog quantity output unit and waveform generator, wherein:
the digital quantity input unit is used for receiving the output signal of the control system to be tested and indicating the corresponding switch state;
the digital quantity output unit is used for generating a digital quantity signal and providing the input signal of the control system to be tested;
the analog quantity output unit is used for generating an analog quantity signal and providing an input signal of the control system to be tested;
the waveform generator is used for providing various waveform signals generated by a simulated field and used for collecting process signals of the control system to be tested.
The method for generating the test signal of the control system comprises the steps that the corresponding relation between a model identifier and a corresponding model to be simulated is stored in a preset model database in advance, and when a test instruction is received, the test instruction comprises all test parameters, a target test state and the model identifier corresponding to the test instruction of the control system to be tested; firstly, obtaining a model identifier corresponding to the test instruction, and searching a model to be simulated corresponding to the model identifier from a preset model database; then calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested; and finally, sending the test signal to the system to be tested so as to realize the verification of the system to be tested. By the method for generating the test signals of the control system, all the test signals of the system to be tested can be obtained by simulating the working conditions of the actual field according to the test progress, the test efficiency is improved, and the test is realized according to the actual conditions of the field.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a prior art architecture diagram for testing a chemical/petrochemical automation system device under test;
fig. 2 is a flowchart of a method for generating a test signal of a control system according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a device for generating a test signal of a control system according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a test platform according to an embodiment of the present disclosure;
fig. 5 is a detailed schematic diagram of a test platform structure according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 2, an embodiment of the present application provides a flowchart of a method for generating a test signal of a control system, where the method specifically includes the following steps:
s201: and receiving a test instruction, wherein the test instruction comprises all test parameters of the control system to be tested, a target test state and a model identification corresponding to the test instruction.
In the embodiment of the application, the test instruction may be an instruction input to the test platform by an engineer or an instruction input to the test platform by other manners, the test instruction mainly includes all test parameters, a target test state of the control system to be tested and a model identifier corresponding to the test instruction, and the model identifier is used for identifying a model to be simulated, which is called by the test instruction.
It should be noted that, if the control system to be tested is a valve of a boiler system, all the corresponding test parameters include: and inputting working condition parameters of response, working conditions of valve action time, pipe diameter of the pipeline and the like, wherein the corresponding target test states comprise normal states and fault states of the valve.
S202: and obtaining a model identification corresponding to the test instruction, and searching a model to be simulated corresponding to the model identification from a preset model database, wherein the preset model database stores the corresponding relation between the model identification and the corresponding model to be simulated.
It should be noted that, a corresponding relationship between the model identifier and the corresponding model to be simulated is stored in the preset model database in advance, and a one-to-many corresponding relationship exists between the model identifier and the model to be simulated, that is: the model identification can correspondingly find one model to be simulated, and can also correspondingly find a plurality of models to be simulated according to the actual test progress.
For example, the control system to be tested is a boiler control system in chemical production, the preset model database stores some basic models such as various valve simulation models (model field valve action signals), a process pressure detection simulation model (a model simulating field pressure changes), a process flow detection simulation model (a model simulating field flow changes), a process temperature detection simulation model (a model simulating field temperature changes), and a pump operation unit simulation model (simulating field pump operation).
S203: and calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
The simulation of the target test state is performed on the control system to be tested according to all test parameters of the control system to be tested in one test period to obtain a test signal of the control system to be tested, and the simulation method specifically comprises the following steps:
and acquiring all test parameters of the control system to be tested.
And calling the model to be accessed according to the target test state in a test period.
And simulating the target test state of the control system to be tested to obtain a test signal of the control system to be tested in a test period.
S204: and sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
Calling the model to be simulated according to the model to be simulated found in the step S202, simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested, and finally sending the test signal to the system to be tested to realize the verification of the system to be tested.
Still taking the above boiler system valve test as an example, a model to be simulated corresponding to the model identifier is searched from a preset model database according to the model identifier, the model to be simulated is a boiler system valve model, the working condition parameters of response, the working conditions of valve action time, pipe diameter of a pipeline and the like are input, a valve output signal and a valve feedback signal required by the system to be tested are combined into the valve model, the model intelligently simulates two states of normal and failure of an actual valve on site in a test period, so that the situation is completely equal to that of the actual equipment on site and the feedback signal is transmitted back to the control system to be tested, and meanwhile, the output signal configuration of the control system to be tested is input into a digital quantity signal output unit for real-time.
The method for generating the test signal of the control system comprises the steps that the corresponding relation between a model identifier and a corresponding model to be simulated is stored in a preset model database in advance, and when a test instruction is received, the test instruction comprises all test parameters, a target test state and the model identifier corresponding to the test instruction of the control system to be tested; firstly, obtaining a model identifier corresponding to the test instruction, and searching a model to be simulated corresponding to the model identifier from a preset model database; then calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested; and finally, sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
By the method for generating the test signals of the control system, all the test signals of the system to be tested can be obtained by simulating the working conditions of the actual field according to the test progress, the test efficiency is improved, and the test is realized according to the actual conditions of the field. Meanwhile, by using the method for generating the test signal of the control system, forced simulation of individual signals is not needed in the actual verification process, the working condition of an actual field can be simulated according to the test progress, the efficiency is improved to the maximum extent, and the usability is improved.
Further, in another embodiment, the test instruction further includes: the calling order is used for identifying the preset calling order of each true model to be called in the true models to be called; calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested, wherein the specific steps are as follows:
sequentially calling the models to be accessed in the preset model database according to the preset calling sequence;
and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
It should be noted that, a corresponding relationship between the model identifier and the corresponding model to be simulated is stored in the preset model database in advance, and a one-to-many corresponding relationship exists between the model identifier and the model to be simulated, that is: the model identification can correspondingly find one model to be simulated, and can also correspondingly find a plurality of models to be simulated according to the actual test progress.
In this embodiment of the present application, the test instruction further includes: the method comprises the steps that a preset calling sequence for identifying each true model to be visited in the true models to be called is used, so that when the models to be simulated are called, the models to be visited in the preset model database are called in sequence according to the preset calling sequence; and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested. When the engineering personnel inputs the test instruction, all test signals of the system to be tested, which are obtained according to the test progress and simulated working conditions of the actual site, can be simulated, so that the test efficiency is improved, and the test is realized according to the actual conditions of the site.
Referring to fig. 3, based on the method for generating a test signal of a control system disclosed in the foregoing embodiment, the present embodiment correspondingly discloses a device for generating a test signal of a control system, which specifically includes: a receiving unit 301, a searching unit 302, a simulating unit 303 and a sending unit 304, wherein:
the receiving unit 301 is configured to receive a test instruction, where the test instruction includes all test parameters, a target test state of the control system to be tested, and a model identifier corresponding to the test instruction.
The searching unit 302 is configured to obtain a model identifier corresponding to the test instruction, and search for a to-be-simulated model corresponding to the model identifier from a preset model database, where a corresponding relationship between the model identifier and the to-be-simulated model is stored in the preset model database.
The simulation unit 303 is configured to call the model to be simulated, and perform simulation of the target test state on the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
A sending unit 304, configured to send the test signal to the system to be tested, so as to implement verification of the system to be tested.
Further, the test instruction further includes: the calling order is used for identifying the preset calling order of each true model to be called in the true models to be called;
the simulation unit 303 is specifically configured to:
sequentially calling the models to be accessed in the preset model database according to the preset calling sequence;
and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
Further, the simulation unit 303 is specifically configured to:
acquiring all test parameters of the control system to be tested;
calling the model to be accessed according to the target test state in a test period;
and simulating the target test state of the control system to be tested to obtain a test signal of the control system to be tested in a test period.
On the basis of the method and the apparatus for generating the control system test signal, as shown in fig. 4, an embodiment of the present application further discloses a test platform, where the test platform 400 specifically includes: the simulation system comprises a test instruction input unit 403, a programmable controller 402 carrying at least one model to be simulated, and a signal generation unit 401, wherein the test instruction input unit 403 is connected with the programmable controller 402 through an interface unit 153, the signal generation unit 401 is connected with the programmable controller 402 through an input/output unit 151, the programmable controller 402 is connected with a control system 500 to be tested through an input/output unit 152, and the simulation system comprises:
the test instruction input unit 403 is configured to receive a test instruction, where the test instruction includes all test parameters, a target test state of the control system to be tested, and a model identifier corresponding to the test instruction.
The programmable controller 402 is configured to obtain a model identifier corresponding to the test instruction, search a to-be-simulated model corresponding to the model identifier from a preset model database, where a corresponding relationship between the model identifier and the corresponding to-be-simulated model is stored in the preset model database, call the to-be-simulated model, and perform simulation of the target test state on the to-be-tested control system according to all test parameters of the to-be-tested control system in a test period;
the signal generating unit 401 is configured to generate a test signal of the to-be-tested control system according to the to-be-simulated model called by the programmable controller, and send the test signal to the to-be-tested system through the input/output unit, so as to implement verification of the to-be-tested system.
Preferably, the test instruction input unit 403 is a touch screen, and is configured to invoke a valve simulation model program and a pump operation unit simulation model, input corresponding process parameters, and invoke a corresponding process pressure detection simulation model and a corresponding process flow detection simulation model.
In the embodiment of the present application, a corresponding relationship between a model identifier and a corresponding model to be simulated is stored in a preset model database of the programmable controller 402 in advance, and when a test instruction input by the test instruction input unit 403 is received, the test instruction includes all test parameters, a target test state of a control system to be tested, and a model identifier corresponding to the test instruction; firstly, obtaining a model identifier corresponding to the test instruction, and searching a model to be simulated corresponding to the model identifier from a preset model database; then, the signal generating unit 401 performs simulation of the target test state on the control system to be tested according to all test parameters of the control system to be tested in a test period according to the model to be simulated called by the programmable controller, so as to obtain a test signal of the control system to be tested; and finally, sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
The test platform provided by the application can simulate all test signals of the system to be tested according to the working condition of the actual field according to the test progress, so that the test efficiency is improved, and the test is realized according to the actual condition of the field.
As shown in fig. 5, which is a detailed schematic diagram of a test platform structure provided in the embodiment of the present application, the test platform 100 of the embodiment of the present application is used to test a control system 200 to be tested, wherein the control system to be tested is a boiler control system in a chemical industry production.
The test platform 100 of the embodiment of the present application includes: the touch screen display comprises a programmable controller 150, an interface module 153, a touch screen 160, an analog quantity signal output unit 110, a digital quantity signal output unit 120, a digital quantity signal input unit 130 and a waveform generator 140. The programmable controller 150 carries some basic models, such as various valve simulation models, for simulating the on-site valve action signals; the process pressure detection simulation model is used for simulating a model of field pressure change; the process flow detection simulation model is used for simulating a model of field flow change; the process temperature detection simulation model is used for simulating a model of field temperature change; and the pump operation unit simulation model is used for simulating a model of field pump operation.
The test instruction may be input through the touch screen 160, such as: calling a corresponding boiler system valve model to be tested, inputting working condition parameters of response, valve action time, pipeline diameter and other working conditions, and inputting a valve output signal and a valve feedback signal required by the system to be tested into the valve model, wherein the model intelligently simulates two states of normal and fault of an actual valve on site in a test period, which is completely equal to that the actual equipment on site returns a feedback signal to the system to be tested, and simultaneously, the DO signal configuration of the system to be tested is input into a digital quantity signal output unit 120 for real-time indication; calling a corresponding boiler system pump model to be tested, generating a current parameter signal, pump running, pump failure, pump running current and other signals which are equal to actual pump running in real time according to a pump start-stop signal and medium working condition parameters by combining a waveform generator 140, and returning the signals to the system for verification; calling a corresponding liquid level change curve model of the boiler system to be tested, inputting response working condition parameters, valve switching states and equipment parameters, combining a waveform generator 140, obtaining a real-time change signal which is consistent with a curve of the liquid level change of the boiler in a test period through the model, and returning the real-time change signal to the test system to be used as an AI intelligent input signal for testing the boiler system; calling a process pipeline flow change model of a corresponding boiler system to be tested, and establishing a real-time signal consistent with an actual pipeline flow change curve in a test period through the valve opening, medium parameters and working condition states of the same pipeline and transmitting the real-time signal back to the test system; and (3) obtaining a real-time change signal by referring to the pressure signal and the temperature signal required by the system to be tested for testing and the calling model.
The programmable controller 150 is edited via the touch screen 160, via the interface module 153 in the present example; the control system IO to be tested is connected to the test platform 100 through the input/output unit 152 and enters the programmable controller 150; the programmable controller 150 calls the analog quantity signal output unit 110, the digital quantity signal output unit 120, the digital quantity signal input unit 130 and the waveform generator 140 to realize real-time intelligent simulation of all test signals produced by the boiler in a test period for verifying the correctness of the control system to be tested.
It should be noted that the digital signal input unit 130 includes a signal generator, an emergency stop button, a selection switch, and an instantaneous reset button, and is used for simulating signals operated by field workers; the digital quantity signal output unit 120 mainly comprises an indicator light and a relay and is used for indicating the indication of the actual test signal on site; the analog signal output unit 110 is mainly composed of an AO numerical display for indicating the indication of the actual AO signal on site.
In the embodiment of the application, the field device unit is simulated through the modularization intelligence, so that the test period is greatly reduced, the test efficiency is improved, meanwhile, test simulation can be carried out according to various parameters of the control system to be tested, and the output test signal is more fit with the actual given parameters.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method for generating a control system test signal, comprising:
receiving a test instruction, wherein the test instruction comprises all test parameters of a control system to be tested, a target test state and a model identification corresponding to the test instruction;
obtaining a model identification corresponding to the test instruction, and searching a model to be simulated corresponding to the model identification from a preset model database, wherein the preset model database stores the corresponding relation between the model identification and the corresponding model to be simulated;
calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested;
and sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
2. The method of claim 1, wherein the test instructions further comprise: the calling order is used for identifying the preset calling order of each true model to be called in the true models to be called;
calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested, wherein the specific steps are as follows:
sequentially calling the models to be accessed in the preset model database according to the preset calling sequence;
and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
3. The method according to claim 1, wherein the simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in one test period to obtain the test signal of the control system to be tested specifically comprises:
acquiring all test parameters of the control system to be tested;
calling the model to be accessed according to the target test state in a test period;
and simulating the target test state of the control system to be tested to obtain a test signal of the control system to be tested in a test period.
4. An apparatus for generating a control system test signal, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a test instruction, and the test instruction comprises all test parameters, a target test state and a model identification corresponding to the test instruction of a control system to be tested;
the searching unit is used for acquiring a model identifier corresponding to the test instruction, and searching a model to be simulated corresponding to the model identifier from a preset model database, wherein the preset model database stores the corresponding relation between the model identifier and the corresponding model to be simulated;
the simulation unit is used for calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested;
and the sending unit is used for sending the test signal to the system to be tested so as to realize the verification of the system to be tested.
5. The apparatus of claim 4, wherein the test instructions further comprise: the calling order is used for identifying the preset calling order of each true model to be called in the true models to be called;
the simulation unit is specifically configured to:
sequentially calling the models to be accessed in the preset model database according to the preset calling sequence;
and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period to obtain a test signal of the control system to be tested.
6. The apparatus according to claim 4, wherein the simulation unit is specifically configured to:
acquiring all test parameters of the control system to be tested;
calling the model to be accessed according to the target test state in a test period;
and simulating the target test state of the control system to be tested to obtain a test signal of the control system to be tested in a test period.
7. A test platform, comprising: the simulation system comprises a test instruction input unit, a programmable controller carrying at least one model to be simulated and a signal generation unit, wherein the test instruction input unit is connected with the programmable controller through an interface unit, the signal generation unit is connected with the programmable controller through an input/output unit, the programmable controller is connected with a control system to be tested through the input/output unit, and the simulation system comprises:
the test instruction input unit is used for receiving a test instruction, and the test instruction comprises all test parameters and a target test state of a control system to be tested and a model identifier corresponding to the test instruction;
the programmable controller is used for obtaining a model identifier corresponding to the test instruction, searching a model to be simulated corresponding to the model identifier from a preset model database, calling the model to be simulated, and simulating the target test state of the control system to be tested according to all test parameters of the control system to be tested in a test period, wherein the preset model database stores the corresponding relation between the model identifier and the model to be simulated;
the signal generating unit is used for generating a test signal of the to-be-tested control system according to the to-be-simulated model called by the programmable controller, and sending the test signal to the to-be-tested system through the input and output unit so as to realize the verification of the to-be-tested system.
8. The test platform of claim 7, wherein the test instruction input unit is a touch screen.
9. The test platform of claim 7, wherein the signal generation unit comprises: digital quantity input unit, digital quantity output unit, analog quantity output unit and waveform generator, wherein:
the digital quantity input unit is used for receiving the output signal of the control system to be tested and indicating the corresponding switch state;
the digital quantity output unit is used for generating a digital quantity signal and providing the input signal of the control system to be tested;
the analog quantity output unit is used for generating an analog quantity signal and providing an input signal of the control system to be tested;
the waveform generator is used for providing various waveform signals generated by a simulated field and used for collecting process signals of the control system to be tested.
CN202010249846.4A 2020-04-01 2020-04-01 Control system test signal generation method and device and test platform Pending CN111413951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010249846.4A CN111413951A (en) 2020-04-01 2020-04-01 Control system test signal generation method and device and test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010249846.4A CN111413951A (en) 2020-04-01 2020-04-01 Control system test signal generation method and device and test platform

Publications (1)

Publication Number Publication Date
CN111413951A true CN111413951A (en) 2020-07-14

Family

ID=71491733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010249846.4A Pending CN111413951A (en) 2020-04-01 2020-04-01 Control system test signal generation method and device and test platform

Country Status (1)

Country Link
CN (1) CN111413951A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114002590A (en) * 2020-07-28 2022-02-01 北京机械设备研究所 Travel switch detection method and system
CN114527733A (en) * 2022-02-23 2022-05-24 上海电气集团股份有限公司 Simulation test method and device for electrical control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060132A1 (en) * 2003-09-15 2005-03-17 Yoav Hollander Method and system for test creation
CN101183406A (en) * 2007-12-25 2008-05-21 盛科网络(苏州)有限公司 Method for establishing network chip module level function checking testing platform
CN102522128A (en) * 2011-11-09 2012-06-27 中广核工程有限公司 Method and system for testing configuration logic design of DCS (Distributed Control System) of nuclear power station
CN107025172A (en) * 2017-03-22 2017-08-08 厦门大学 A kind of method for testing software based on probabilistic risk assessment
CN110658399A (en) * 2019-09-18 2020-01-07 中国东方电气集团有限公司 Power generation ship power supply system test optimization platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060132A1 (en) * 2003-09-15 2005-03-17 Yoav Hollander Method and system for test creation
CN101183406A (en) * 2007-12-25 2008-05-21 盛科网络(苏州)有限公司 Method for establishing network chip module level function checking testing platform
CN102522128A (en) * 2011-11-09 2012-06-27 中广核工程有限公司 Method and system for testing configuration logic design of DCS (Distributed Control System) of nuclear power station
CN107025172A (en) * 2017-03-22 2017-08-08 厦门大学 A kind of method for testing software based on probabilistic risk assessment
CN110658399A (en) * 2019-09-18 2020-01-07 中国东方电气集团有限公司 Power generation ship power supply system test optimization platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114002590A (en) * 2020-07-28 2022-02-01 北京机械设备研究所 Travel switch detection method and system
CN114002590B (en) * 2020-07-28 2024-01-30 北京机械设备研究所 Travel switch detection method and system
CN114527733A (en) * 2022-02-23 2022-05-24 上海电气集团股份有限公司 Simulation test method and device for electrical control system

Similar Documents

Publication Publication Date Title
CN106257367A (en) A kind of nuclear power DCS platform test device based on analogue system and method for testing
CN109324601A (en) The test platform of robot controller or control system based on hardware in loop
CN112817872A (en) Development test system and method
KR101865666B1 (en) Apparatus and System for Simulating Core Protection system software
CN108776278B (en) Topological-associated configuration type relay protection test system and method
CN111413951A (en) Control system test signal generation method and device and test platform
KR100935777B1 (en) Virtual operating and test commander apparatus for experience accumulation test of unproven man machine interface system technology and the control method
CN1981250A (en) Method for simulating a technical installation
CN110471394B (en) Task testing method, device and system, storage medium and processor
US8204608B2 (en) Monitoring and control apparatus
CN108377209A (en) Equipment fault detecting system based on SCADA and detection method
CN110611312A (en) On-line simulation system and method for panoramic data of substation bay level
CN116107794B (en) Ship software fault automatic diagnosis method, system and storage medium
CN109870927A (en) Million capacitance grade steam turbine island control logic verification platforms
CN103425055A (en) Semi-virtual functional test device and method for control system
CN115018466B (en) Simulation control method and device, storage medium and electronic equipment
CN112035996A (en) Equipment testability integrated design and evaluation system
CN115733741B (en) Abnormal scene test method and device for system to be tested
CN115794624A (en) Closed-loop testing method and system for single automation device of intelligent substation
CN112214912B (en) External automatic test system and airborne equipment test method
CN115185258A (en) HIL simulation test system and method suitable for vehicle control unit
CN214670127U (en) Fuel cell control algorithm hardware-in-the-loop test platform
CN107861401A (en) Electromechanical semi-matter simulating system
CN113688059A (en) Automatic function detection system and method for stability control system
CN113541126A (en) Power distribution network simulation system suitable for verifying advanced algorithm and algorithm verification method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200714

RJ01 Rejection of invention patent application after publication