CN112051837A - Test method and device for batch controllers - Google Patents

Test method and device for batch controllers Download PDF

Info

Publication number
CN112051837A
CN112051837A CN202010966505.9A CN202010966505A CN112051837A CN 112051837 A CN112051837 A CN 112051837A CN 202010966505 A CN202010966505 A CN 202010966505A CN 112051837 A CN112051837 A CN 112051837A
Authority
CN
China
Prior art keywords
curve
signal
output signal
controller
determining
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
CN202010966505.9A
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 Instrument Co ltd
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon Instrument Co ltd
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 Instrument Co ltd, Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Instrument Co ltd
Priority to CN202010966505.9A priority Critical patent/CN112051837A/en
Publication of CN112051837A publication Critical patent/CN112051837A/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
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Landscapes

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

Abstract

When the batch controller is tested, the control logic of the batch controller to be tested can be input into the analog controller firstly, and then an input signal is determined, wherein the input signal is used for simulating a signal generated when a field device works; then the input signal is input into the analog controller. Because the control logic of the analog controller is consistent with the processing logic of the batch controller to be tested, the analog controller can simulate the processing process of the batch controller on the input signals. Then, by inputting the input signal into the analog controller, the output signal of the batch controller to be tested can be determined in case the input is the input signal. After the output signal is acquired, the test result may be determined from the output signal. Thus, the simulation of the input and output of the batch controller under the actual working environment is equivalent to the simulation of the input and output of the batch controller by using software and a simulation controller. The test cost is greatly reduced on the basis of ensuring that the batch controllers can be tested.

Description

Test method and device for batch controllers
Technical Field
The application relates to the technical field of industrial control, in particular to a method and a device for testing batch controllers.
Background
The batch controller is a core device in the batch production process and is used for controlling the raw material feeding amount or the product discharging amount in the batch production process so as to ensure the normal operation of the batch production. In the actual production process, the batch controller is connected with field devices such as pumps, valves, pipelines, flowmeters, tanks and the like, the working condition of each field device is monitored through the sensors, control signals are determined according to signals returned by the sensors, and the field devices are controlled through the control signals to complete the task of batch production.
Since batch controllers are production safety related, to ensure the reliability of batch controllers, the batch controllers need to be tested before they can be put into use. At present, when a batch controller is tested, a field laboratory can be built, and field devices such as pipelines and the like are connected with the batch controller, so that the actual working environment of the batch controller is simulated in the field laboratory, and the performance of the batch controller is determined.
However, because field devices are generally expensive, the use of field devices to simulate the actual operating environment of a batch controller can significantly increase testing costs. In addition, field devices such as pipelines often have large volumes, which results in large floor space for field laboratories, and common manufacturers do not have the conditions for establishing field laboratories.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for testing a batch controller, which aim to reduce the test cost of the batch controller by simulating the actual working environment of the batch controller through software and simple hardware devices.
A method of testing a batch controller, the method comprising:
determining an input signal, wherein the input signal is used for simulating a signal generated by a field device during operation;
inputting the input signal into an analog controller so that the analog controller processes the input signal according to a control logic to obtain an output signal, wherein the control logic of the analog controller is consistent with the control logic of the batch controller to be tested;
and acquiring the output signal, and determining a test result according to the output signal.
Optionally, the determining the input signal comprises:
acquiring a simulation test condition, wherein the simulation test condition comprises at least one parameter for simulating the working state of the field device;
simulating a signal generated when the field device works in the working state according to the simulation test condition;
and determining a signal obtained by simulation as the input signal.
Optionally, the acquiring the output signal comprises:
periodically collecting the output signal;
recording the time of acquiring the output signal;
the determining a test result from the output signal comprises:
obtaining a first curve according to the input signal, wherein the first curve represents the change trend of the input signal along with time;
obtaining a second curve according to the output signal and the time for acquiring the output signal, wherein the second curve represents the change trend of the output signal along with the time;
and determining a test result according to the first curve and the second curve.
Optionally, the determining a test result according to the first curve and the second curve includes:
determining a third curve according to the first curve, wherein the third curve represents the change trend of the output signal along with time under an ideal state;
judging whether the difference between the third curve and the second curve exceeds a preset threshold value or not;
and when the difference between the third curve and the second curve exceeds a preset threshold value, generating an alarm signal according to the first curve, the second curve and the third curve.
Optionally, after generating the alarm signal, the method further comprises:
judging whether the quantity of the alarm signals generated in an accumulated mode exceeds a quantity threshold value or not;
when the number of the alarm signals generated in an accumulating way exceeds a number threshold value, the test is stopped, and the total time consumed by the test is taken as a test result.
An apparatus for testing a batch controller, the apparatus comprising:
the input determining module is used for determining an input signal, and the input signal is used for simulating a signal generated when the field device works;
the signal input module is used for inputting the input signal into the analog controller so that the analog controller processes the input signal according to a control logic to obtain an output signal, and the control logic of the analog controller is consistent with the control logic of the batch controller to be tested;
and the result determining module is used for acquiring the output signal and determining a test result according to the output signal.
Optionally the input determination module comprises:
the system comprises a condition acquisition module, a test simulation module and a test simulation module, wherein the condition acquisition module is used for acquiring a simulation test condition which comprises at least one parameter for simulating the working state of the field device;
the signal simulation module is used for simulating a signal generated when the field device works in the working state according to the simulation test condition; and determining a signal obtained by the simulation as the input signal.
Optionally, the result determination module includes:
the periodic acquisition module is used for periodically acquiring the output signals;
the time recording module is used for recording the time for acquiring the output signal;
the first determining module is used for obtaining a first curve according to the input signal, and the first curve represents the change trend of the input signal along with time;
the second determining module is used for obtaining a second curve according to the output signal and the time for acquiring the output signal, wherein the second curve represents the change trend of the output signal along with the time;
and the third determining module is used for determining a test result according to the first curve and the second curve.
Optionally, the third determining module is specifically configured to:
determining a third curve according to the first curve, wherein the third curve represents the change trend of the output signal along with time under an ideal state;
judging whether the difference between the third curve and the second curve exceeds a preset threshold value or not;
and when the difference between the third curve and the second curve exceeds a preset threshold value, generating an alarm signal according to the first curve, the second curve and the third curve.
Optionally, the apparatus further comprises:
the quantity judging module is used for judging whether the quantity of the alarm signals generated by accumulation exceeds a quantity threshold value;
and the test termination module is used for stopping the test and taking the total time consumed by the test as a test result when the number of the alarm signals generated in the accumulating mode exceeds a number threshold value.
When the batch controllers are tested, the control logic of the batch controllers to be tested can be input into an analog controller, and then input signals are determined, wherein the input signals are used for simulating signals generated when field equipment works; and inputting the input signal into an analog controller. Because the control logic of the analog controller is consistent with the processing logic of the batch controller to be tested, the analog controller can simulate the processing process of the batch controller on the input signals. Then, by inputting the input signal into the analog controller, the output signal of the batch controller to be tested can be determined in case the input is the input signal. After the output signal is acquired, the test result may be determined from the output signal. Thus, the simulation of the input and output of the batch controller under the actual working environment is equivalent to the simulation of the input and output of the batch controller by using software and a simulation controller. The test cost is greatly reduced on the basis of ensuring that the batch controllers can be tested.
Drawings
To illustrate the technical solutions in the present embodiment or the prior art more clearly, the drawings needed to be used in the description of the embodiment or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for testing a batch controller according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of a testing apparatus of a batch controller according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a testing apparatus of a batch controller according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a test apparatus for a batch controller according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a test apparatus of a batch controller according to an embodiment of the present disclosure.
Detailed Description
At present, the method for testing the batch controllers mainly comprises two methods, namely user field testing and field laboratory testing. In the user field test, a technician is required to go to the user field for testing, namely, the technician goes to the application field of the batch controller for testing. Because the production environment such as factory workshop is mostly in the user scene, often can not satisfy the demand of test work.
If a field laboratory is adopted to test the batch controllers, the field laboratory needs to be built by using field equipment in advance, and then the batch controllers are connected with the field equipment in the field laboratory. The field device can simulate various signals generated in the actual working environment, the batch controller can acquire the signals through the sensor and process the signals according to the pre-designed processing logic to obtain the output signals of the field device controlled by the user. In this manner, the performance of the batch controller may be determined by observing the operating conditions of the field devices.
However, the field devices are relatively expensive and bulky, resulting in high costs and harsh set-up conditions for setting up a field laboratory. In addition, some field devices may be hazardous and require professional manipulation. The operation and control of the device by a tester has potential safety hazard, and accidents are easy to happen to harm the personal safety
In order to provide a test method with lower cost, the application provides a test method and a test device for a batch controller, and a preferred embodiment of the application will be described below from the perspective of computer software. It should be noted that the method provided in the embodiments of the present application may be applied to computer software, and may also be applied to other devices having the capability of running a program.
Referring to fig. 1, fig. 1 is a flowchart of a method for testing a batch controller according to an embodiment of the present application, including:
s101: an input signal is determined.
To test a batch controller, the software may first determine the input signals for the test. The input signal is an external signal necessary for the batch controller to work normally and is used for simulating a signal generated when the field device works.
For example, assume that a batch controller of a certain type is operated to acquire the pressure of the liquid in the pipeline A and determine the opening degree of the valve B according to the pressure. Then in actual use, a pressure sensor C may be provided in the conduit a and connected to the batch controller. The batch controller can receive the electrical signal from the pressure sensor C and determine the pressure of the liquid in the pipeline A according to the electrical signal. Then, when the batch controller is tested, the electric signal generated by the pressure sensor C under any working condition can be simulated, and the simulated electric signal is determined as the input signal.
In the embodiment of the present application, a technician can freely select the simulation test condition and generate the corresponding input signal according to the simulation test condition. Specifically, the software may first obtain the simulated test conditions set by the technician. The simulated test conditions may include one or more parameters for simulating the operating condition of the field device, which may include, for example, pipe pressure, fluid temperature, fluid flow rate, etc. After the simulation test conditions are determined, software can simulate signals generated when the field device works in the working state described by the simulation test conditions according to the simulation test conditions, and the obtained signals are determined as input signals.
For example, assuming that it is desired to test the operation of the batch controller in an operating environment having a liquid flow rate of 0.5 meters per second, i.e., the simulated test conditions include a liquid flow rate of 0.5 meters per second, the software may determine the model of the flow rate sensor actually used, determine the electrical signal generated by the sensor of the model when the liquid flow rate of 0.5 meters per second is detected, and determine the electrical signal as the input signal.
Therefore, signals generated by the field device under the simulation test condition are used as input signals, and the input signals under different working conditions can be obtained only by changing the simulation test condition, so that the batch of sensors to be tested are tested. In addition, because the input signal is simulated according to the simulation test condition, the simulation of extreme working conditions can be carried out only by adjusting the simulation test condition, and the risk of equipment can not be brought.
For example, assume that a flow rate of 5 meters per second may cause a valve to crack. Then for safety reasons it is not possible to test the performance of a batch controller at a flow rate of 5 meters per second in a field laboratory in order to avoid accidents due to liquid leakage. But this problem does not exist with analog test conditions to calculate the input signal.
S102: and inputting the input signal into an analog controller.
After determining the input signal, the software may input the input signal to the analog controller. The control logic described in the analog controller may be identical to that of the batch controller, for example, may be identical devices manufactured by the same process, and may be identical to the performance of the batch controller. Thus, inputting the input signal into the analog controller is equivalent to performing simulation on the batch controller under the condition that the input signal is input, namely performing analog test on the batch controller.
After the input signal is input into the analog controller, the analog controller may process the input signal according to a preset control logic to obtain a corresponding output signal. Because the control logic of the analog controller is consistent with that of the batch controller to be tested, the output signal obtained by the analog controller according to the input signal is consistent with the output signal obtained by the batch controller to be tested according to the input signal. Thus, an output signal determined by the analog controller and the input signal corresponds to testing of the analog batch controller in a simulated test environment. Because a field laboratory is not required to be built, the cost of the simulation test is reduced.
S103: an output signal is acquired.
During actual operation of the batch controller, an output signal may be generated from the input signal for controlling the field devices to perform a corresponding action. Also, in the embodiments of the present application, the analog controller may generate an output signal from an input signal. The software can obtain the output signal of the analog controller and determine the test result of the batch controller to be tested according to the output signal.
The embodiment of the application provides a test method of a batch controller, when the batch controller is tested, the control logic of the batch controller to be tested can be firstly input into an analog controller, and then an input signal is determined, wherein the input signal is used for simulating a signal generated when a field device works; and inputting the input signal into an analog controller. Because the control logic of the analog controller is consistent with the processing logic of the batch controller to be tested, the analog controller can simulate the processing process of the batch controller on the input signals. Then, by inputting the input signal into the analog controller, the output signal of the batch controller to be tested can be determined in case the input is the input signal. After the output signal is acquired, the test result may be determined from the output signal. Thus, the simulation of the input and output of the batch controller under the actual working environment is equivalent to the simulation of the input and output of the batch controller by using software and a simulation controller. The test cost is greatly reduced on the basis of ensuring that the batch controllers can be tested.
The above describes a method for testing a batch controller, and the following further describes a process for determining a test result according to an output signal.
In one embodiment, the first curve may be determined from the input signal. For example, the second curve may be obtained by adding the input signal at each time to a corresponding position in the coordinate system with time as a unit on the horizontal axis of the coordinate axis and the voltage of the output signal as a unit on the vertical axis of the coordinate axis. In this way, the obtained second curve can represent the change trend of the input signal along with time.
In addition, the signal acquisition device can be used for periodically acquiring the output signal from the output end of the analog controller and recording the corresponding relation between the output signal and the time for acquiring the output signal. The software may then derive a second curve based on the output signal and the time at which the output signal was acquired. For example, the time may be taken as a unit of a horizontal axis of a coordinate axis, the voltage of the output signal may be taken as a unit of a vertical axis of the coordinate axis, the input signals acquired at different times may be added to corresponding positions in the coordinate system in the form of discrete points, and then curve fitting may be performed on the discrete points to obtain the second curve. Therefore, the obtained second curve can show the change trend of the output signal along with time, namely the output characteristic of the analog controller is equivalent to the output characteristic of the batch controller to be tested under the input signal.
Since the output signal is derived by the analog controller from the input signal, it is equivalent to the second curve being derived by the analog controller from the first curve. Then, the test result of the analog controller can be determined by comparing the corresponding relation between the first curve and the second curve, and whether the batch controller to be tested has a fault or not is further determined, so that the test of the batch controller is realized.
In order to ensure the normal operation of batch production, the batch controller needs to output an output signal with a specific value when the input signal is the specific value. Then, to ensure the performance of the batch controller, in one embodiment, the output signal may also be compared to an ideal output signal for deviation.
In particular, the third curve may be determined from the first curve first. The third curve represents the output signal of an ideal batch controller when the input signal is the input signal, namely the change trend of the output signal corresponding to the input signal along with the time under the ideal state. After determining the third curve, it may be determined whether a difference between the third curve and the second curve exceeds a preset threshold. For example, it may be determined whether an average value of a difference between a voltage value of the third curve and a voltage value of the second curve at the same time exceeds a preset threshold, or a maximum value of a difference between the third curve and the second curve exceeds a preset threshold, or curve fitting may be performed on the second curve and the third curve, and whether a difference between the second curve and the third curve exceeds a preset threshold may be determined by comparing analytic expressions of the second curve and the third curve.
If the difference between the third curve and the second curve exceeds a preset threshold, it indicates that a large difference exists between the analog controller and the batch controller to be tested in an ideal state, that is, the current batch controller to be tested cannot meet the requirement of batch production. An alarm signal may then be generated based on the first, second, and third curves to notify a technician that a problem exists with the batch controller to be tested.
In practical engineering applications, the reliability and durability of the batch controller under long-term operation are also important indexes for measuring the performance of the batch controller. To determine the reliability and durability of a batch controller, in one example, the analog controller may be continuously tested.
Specifically, the same or different input signals may be repeatedly acquired and input to the analog controller for testing, and the second and third curves determined using the methods described above. After each determination of the second and third curves, an alarm signal may be generated and the number of times the alarm signal is generated may be recorded using the methods described above. When the number of times of generating the alarm signal exceeds the number threshold, the test can be stopped, and the total time consumed by the test is used as a test result to be displayed to technicians. Therefore, the working condition of continuous operation of the batch controller to be tested under the specific condition is simulated, so that whether the continuous operation can cause the fault of the batch controller to be tested is judged, and the purpose of testing the durability and the reliability of the batch controller to be tested is achieved.
The above embodiments of the test method for the batch controller are provided for the embodiments of the present application, and based on these embodiments, the present application also provides a corresponding apparatus. The above-mentioned device provided by the embodiments of the present application will be described in terms of functional modularity.
Referring to fig. 2, a schematic diagram of a test apparatus for a batch controller is shown, the apparatus 200 including:
an input determination module 210 is configured to determine an input signal that simulates a signal generated by a field device during operation.
The signal input module 220 is configured to input the input signal to an analog controller, so that the analog controller processes the input signal according to a control logic to obtain an output signal, where the control logic of the analog controller is consistent with the control logic of the batch controller to be tested.
And a result determining module 230, configured to obtain the output signal and determine a test result according to the output signal.
The embodiment of the application provides a testing device of a batch controller, when the batch controller is tested, the control logic of the batch controller to be tested can be firstly input into an analog controller, and then an input signal is determined, wherein the input signal is used for simulating a signal generated when a field device works; and inputting the input signal into an analog controller. Because the control logic of the analog controller is consistent with the processing logic of the batch controller to be tested, the analog controller can simulate the processing process of the batch controller on the input signals. Then, by inputting the input signal into the analog controller, the output signal of the batch controller to be tested can be determined in case the input is the input signal. After the output signal is acquired, the test result may be determined from the output signal. Thus, the simulation of the input and output of the batch controller under the actual working environment is equivalent to the simulation of the input and output of the batch controller by using software and a simulation controller. The test cost is greatly reduced on the basis of ensuring that the batch controllers can be tested.
Optionally, referring to fig. 3, on the basis of the apparatus shown in fig. 2, the input determining module 210 includes:
the condition obtaining module 211 is configured to obtain a simulated test condition, where the simulated test condition includes at least one parameter for simulating an operating state of the field device.
The signal simulation module 212 is configured to simulate a signal generated when the field device operates in the operating state according to the simulation test condition; and determining a signal obtained by the simulation as the input signal.
Therefore, signals generated by the field device under the simulation test condition are used as input signals, and the input signals under different working conditions can be obtained only by changing the simulation test condition, so that the batch of sensors to be tested are tested. In addition, because the input signal is simulated according to the simulation test condition, the simulation of extreme working conditions can be carried out only by adjusting the simulation test condition, and the risk of equipment can not be brought.
Optionally, referring to fig. 4, on the basis of the apparatus shown in fig. 2 or fig. 3, the result determining module 230 includes:
and a periodic acquisition module 231, configured to periodically acquire the output signal.
A time recording module 232, configured to record a time when the output signal is acquired.
The first determining module 233 is configured to obtain a first curve according to the input signal, where the first curve represents a change trend of the input signal over time.
And a second determining module 234, configured to obtain a second curve according to the output signal and the time for acquiring the output signal, where the second curve represents a trend of the output signal with time.
A third determining module 235 for determining a test result according to the first curve and the second curve.
Since the output signal is derived by the analog controller from the input signal, it is equivalent to the second curve being derived by the analog controller from the first curve. Then, the test result of the analog controller can be determined by comparing the corresponding relation between the first curve and the second curve, and whether the batch controller to be tested has a fault or not is further determined, so that the test of the batch controller is realized.
Optionally, in some possible implementations, the third determining module 235 is specifically configured to:
and determining a third curve according to the first curve, wherein the third curve represents the change trend of the output signal along with time under an ideal state.
And judging whether the difference between the third curve and the second curve exceeds a preset threshold value.
And when the difference between the third curve and the second curve exceeds a preset threshold value, generating an alarm signal according to the first curve, the second curve and the third curve.
Optionally, referring to fig. 5, on the basis of the apparatus shown in fig. 4, the apparatus 200 further includes:
a quantity judging module 240, configured to judge whether the quantity of the alarm signals generated cumulatively exceeds a quantity threshold.
And a test termination module 250, configured to stop the test and take the total time consumed by the test as a test result when the number of the alarm signals generated in the accumulating exceeds the number threshold.
Therefore, the working condition of continuous operation of the batch controller to be tested under the specific condition is simulated, so that whether the continuous operation can cause the fault of the batch controller to be tested is judged, and the purpose of testing the durability and the reliability of the batch controller to be tested is achieved.
In the names of "first curve" and "second curve", etc., the "first" and "second" mentioned in the embodiments of the present application are only used for name identification, and do not represent the first and second in sequence.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. A method for testing a batch controller, the method comprising:
determining an input signal, wherein the input signal is used for simulating a signal generated by a field device during operation;
inputting the input signal into an analog controller so that the analog controller processes the input signal according to a control logic to obtain an output signal, wherein the control logic of the analog controller is consistent with the control logic of the batch controller to be tested;
and acquiring the output signal, and determining a test result according to the output signal.
2. The method of claim 1, wherein the determining the input signal comprises:
acquiring a simulation test condition, wherein the simulation test condition comprises at least one parameter for simulating the working state of the field device;
simulating a signal generated when the field device works in the working state according to the simulation test condition;
and determining a signal obtained by simulation as the input signal.
3. The method of claim 1 or 2, wherein said obtaining the output signal comprises:
periodically collecting the output signal;
recording the time of acquiring the output signal;
the determining a test result from the output signal comprises:
obtaining a first curve according to the input signal, wherein the first curve represents the change trend of the input signal along with time;
obtaining a second curve according to the output signal and the time for acquiring the output signal, wherein the second curve represents the change trend of the output signal along with the time;
and determining a test result according to the first curve and the second curve.
4. The method of claim 3, wherein determining test results from the first curve and the second curve comprises:
determining a third curve according to the first curve, wherein the third curve represents the change trend of the output signal along with time under an ideal state;
judging whether the difference between the third curve and the second curve exceeds a preset threshold value or not;
and when the difference between the third curve and the second curve exceeds a preset threshold value, generating an alarm signal according to the first curve, the second curve and the third curve.
5. The method of claim 4, wherein after generating the alarm signal, the method further comprises:
judging whether the quantity of the alarm signals generated in an accumulated mode exceeds a quantity threshold value or not;
when the number of the alarm signals generated in an accumulating way exceeds a number threshold value, the test is stopped, and the total time consumed by the test is taken as a test result.
6. An apparatus for testing a batch controller, the apparatus comprising:
the input determining module is used for determining an input signal, and the input signal is used for simulating a signal generated when the field device works;
the signal input module is used for inputting the input signal into the analog controller so that the analog controller processes the input signal according to a control logic to obtain an output signal, and the control logic of the analog controller is consistent with the control logic of the batch controller to be tested;
and the result determining module is used for acquiring the output signal and determining a test result according to the output signal.
7. The apparatus of claim 6, wherein the input determination module comprises:
the system comprises a condition acquisition module, a test simulation module and a test simulation module, wherein the condition acquisition module is used for acquiring a simulation test condition which comprises at least one parameter for simulating the working state of the field device;
the signal simulation module is used for simulating a signal generated when the field device works in the working state according to the simulation test condition; and determining a signal obtained by the simulation as the input signal.
8. The apparatus of claim 6 or 7, wherein the result determination module comprises:
the periodic acquisition module is used for periodically acquiring the output signals;
the time recording module is used for recording the time for acquiring the output signal;
the first determining module is used for obtaining a first curve according to the input signal, and the first curve represents the change trend of the input signal along with time;
the second determining module is used for obtaining a second curve according to the output signal and the time for acquiring the output signal, wherein the second curve represents the change trend of the output signal along with the time;
and the third determining module is used for determining a test result according to the first curve and the second curve.
9. The apparatus of claim 8, wherein the third determining module is specifically configured to:
determining a third curve according to the first curve, wherein the third curve represents the change trend of the output signal along with time under an ideal state;
judging whether the difference between the third curve and the second curve exceeds a preset threshold value or not;
and when the difference between the third curve and the second curve exceeds a preset threshold value, generating an alarm signal according to the first curve, the second curve and the third curve.
10. The apparatus of claim 9, further comprising:
the quantity judging module is used for judging whether the quantity of the alarm signals generated by accumulation exceeds a quantity threshold value;
and the test termination module is used for stopping the test and taking the total time consumed by the test as a test result when the number of the alarm signals generated in the accumulating mode exceeds a number threshold value.
CN202010966505.9A 2020-09-15 2020-09-15 Test method and device for batch controllers Pending CN112051837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010966505.9A CN112051837A (en) 2020-09-15 2020-09-15 Test method and device for batch controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010966505.9A CN112051837A (en) 2020-09-15 2020-09-15 Test method and device for batch controllers

Publications (1)

Publication Number Publication Date
CN112051837A true CN112051837A (en) 2020-12-08

Family

ID=73602867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010966505.9A Pending CN112051837A (en) 2020-09-15 2020-09-15 Test method and device for batch controllers

Country Status (1)

Country Link
CN (1) CN112051837A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116300834A (en) * 2023-05-19 2023-06-23 合肥荣叙科技有限公司 Water pump motor controller test system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480962A (en) * 2009-01-22 2009-07-15 北京全路通信信号研究设计院 Speed controlling method for running of combined train
CN102929270A (en) * 2012-10-31 2013-02-13 三一重机有限公司 System and method for testing excavator control software
CN104699594A (en) * 2013-12-05 2015-06-10 北汽福田汽车股份有限公司 Test method and test equipment
CN104834591A (en) * 2014-05-22 2015-08-12 北汽福田汽车股份有限公司 Method and system for testing AUTOSAR software component
CN204666368U (en) * 2015-06-11 2015-09-23 滁州市西控电子有限公司 A kind of new work engine data acquisition monitoring system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480962A (en) * 2009-01-22 2009-07-15 北京全路通信信号研究设计院 Speed controlling method for running of combined train
CN102929270A (en) * 2012-10-31 2013-02-13 三一重机有限公司 System and method for testing excavator control software
CN104699594A (en) * 2013-12-05 2015-06-10 北汽福田汽车股份有限公司 Test method and test equipment
CN104834591A (en) * 2014-05-22 2015-08-12 北汽福田汽车股份有限公司 Method and system for testing AUTOSAR software component
CN204666368U (en) * 2015-06-11 2015-09-23 滁州市西控电子有限公司 A kind of new work engine data acquisition monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116300834A (en) * 2023-05-19 2023-06-23 合肥荣叙科技有限公司 Water pump motor controller test system
CN116300834B (en) * 2023-05-19 2023-08-08 合肥荣叙科技有限公司 Water pump motor controller test system

Similar Documents

Publication Publication Date Title
US20070043539A1 (en) Abnormality monitoring system and abnormality monitoring method
US10768188B2 (en) Diagnostic device and method for monitoring operation of a technical system
US20130253897A1 (en) Process control system
CN109000859B (en) Air tightness testing system and method
CN110907883B (en) Metering supervision method and system for automatic verification system of electric energy meter
CN110274669B (en) Online calibration method for large-diameter electronic water meter
CN101140294A (en) A method to evaluate a performance of a control valve and a system thereof
CN106462151B (en) Performance monitoring of pump-valve systems
CN106197558B (en) A kind of valve state on-line monitoring system and its working method
CN110673515A (en) Monitoring of industrial facilities
Osadchyy et al. Laboratory stand for investigation of liquid level microprocessor control systems
KR20150057408A (en) Equipment for testing water meters automatic method
CN112051837A (en) Test method and device for batch controllers
CN107907764B (en) Detection method and system suitable for intelligent characteristic verification of intelligent instrument
CN102095608B (en) Detection checking system and method used for automatic crude oil sampler
CN107643476B (en) Profibus bus insulation performance testing method based on virtual instrument technology
CN106338360B (en) Period checking method of differential pressure transmitter calibrating device
CN115598445B (en) Electrical fault detection method and device based on hardware-in-loop
JP2012032899A (en) Process model base automatic test system
CN106680707B (en) Method, device and system for checking heavy gas action setting value of double-float gas relay
RU2680852C1 (en) Method of metrological diagnostics of measuring channels of the liquid level
CN106371419B (en) The diagnostic device and diagnostic method of operation for monitoring control loop
CN114061691A (en) Method and system for measuring gas consumption of aerospace gas supply system
CN110516403B (en) Verification method and system for intelligent function of ship equipment
CN114253248A (en) System and method for automatically testing and verifying DCS (distributed control System) of nuclear power station

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: 20201208

RJ01 Rejection of invention patent application after publication