CN111679600A - Comparison method of control system, control terminal and computer readable storage medium - Google Patents

Comparison method of control system, control terminal and computer readable storage medium Download PDF

Info

Publication number
CN111679600A
CN111679600A CN202010468489.0A CN202010468489A CN111679600A CN 111679600 A CN111679600 A CN 111679600A CN 202010468489 A CN202010468489 A CN 202010468489A CN 111679600 A CN111679600 A CN 111679600A
Authority
CN
China
Prior art keywords
control system
data
comparison
control
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010468489.0A
Other languages
Chinese (zh)
Other versions
CN111679600B (en
Inventor
石健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yingweike Information Technology Co ltd
Shenzhen Envicool Technology Co Ltd
Original Assignee
Shenzhen Yingweike Information 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 Shenzhen Yingweike Information Technology Co ltd filed Critical Shenzhen Yingweike Information Technology Co ltd
Priority to CN202010468489.0A priority Critical patent/CN111679600B/en
Publication of CN111679600A publication Critical patent/CN111679600A/en
Application granted granted Critical
Publication of CN111679600B publication Critical patent/CN111679600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

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

Abstract

The invention discloses a comparison method of a control system, which comprises the following steps: sampling according to a preset sampling frequency, and respectively acquiring first sampling data and second sampling data of first equipment operating a first control system and second equipment operating a second control system; respectively calculating first error data and second error data of the first sampling data and the second sampling data and a preset standard parameter; calculating first comparison data and second comparison data according to the first error data and the second error data respectively; f checking the first comparison data and the second comparison data, and judging whether the difference of the control capacities of the first control system and the second control system is greater than a preset threshold value; and if so, comparing the first comparison data with the second comparison data, and generating a control capability comparison report according to the comparison result. The invention also provides a control terminal and a computer readable storage medium. The invention effectively improves the accuracy and reliability of the control capability comparison report.

Description

Comparison method of control system, control terminal and computer readable storage medium
Technical Field
The present invention relates to the field of parameter control technologies, and in particular, to a comparison method for a control system, a control terminal, and a computer-readable storage medium.
Background
After a lot of products are put into the market, the control system is often optimized according to some problems occurring in the using process, and in addition, along with the updating and updating of the products, the control system is also optimized. The evaluation of the two control systems usually depends on the intuitive feeling of a user, and the evaluation result is subjective and cannot be objectively evaluated.
The control system can be simulated by utilizing a mathematical model, and can simulate a plurality of external conditions in a short time to carry out sufficient comparison test on the control system before and after optimization. The results obtained by using the simulation mode are greatly limited by the accuracy of simulation software or mathematical models. The simulation software or mathematical model may not be completely consistent with the actual situation and will always have deviations. For a complex control system, the overall mathematical model is often a superposition of a great number of sub models, simulation errors are accumulated therewith, and the reliability of the final result is greatly reduced.
Disclosure of Invention
In view of the above, it is necessary to provide a comparison method of a control system, a control terminal, and a computer-readable storage medium to address the above problems.
A comparison method of a control system, comprising: sampling operation data of at least one first device operating a first control system and at least one second device operating a second control system according to a preset sampling frequency, and acquiring first sampling data of each first device and second sampling data of each second device, wherein the first device and the second device are devices with the same model; respectively calculating first error data of the first sampling data of each first device relative to a preset standard parameter and second error data of the second sampling data of each second device relative to the preset standard parameter; calculating first comparison data of each first device and second comparison data of each second device according to the first error data of each first device and the second error data of each second device respectively; performing F check on the first comparison data of the at least one first device and the second comparison data of the at least one second device, and judging whether the difference of the control capabilities of the first control system and the second control system is greater than a preset threshold value according to the result of the F check; and if the difference of the control capacities of the first control system and the second control system is larger than a preset threshold value, comparing the first comparison data with the second comparison data, and generating a control capacity comparison report of the first control system and the second control system according to the comparison result.
A control terminal, comprising: the sampling module is used for sampling operation data of at least one first device operating a first control system and at least one second device operating a second control system according to a preset sampling frequency to obtain first sampling data of each first device and second sampling data of each second device, wherein the first device and the second device are devices with the same model; an error module, configured to calculate first error data of the first sampled data of each first device with respect to a preset standard parameter and second error data of the second sampled data of each second device with respect to the preset standard parameter, respectively; a calculation module, configured to calculate first comparison data of each first device and second comparison data of each second device according to the first error data of each first device and the second error data of each second device, respectively; the judging module is used for performing F check on the first comparison data of the at least one first device and the second comparison data of the at least one second device, and judging whether the difference of the control capabilities of the first control system and the second control system is greater than a preset threshold value or not; and the result module is used for comparing the first comparison data with the second comparison data if the difference between the control capacities of the first control system and the second control system is larger than a preset threshold value, and generating a control capacity comparison report of the first control system and the second control system according to the comparison result.
A control terminal, comprising: a processor coupled to the memory and a memory having a computer program stored therein, the processor executing the computer program to implement the method as described above.
A computer-readable storage medium storing a computer program executable by a processor to implement a method as described above.
The operation of the embodiment of the invention at least has the following beneficial effects:
when the two control systems are compared, sampling data of the two control systems in operation are obtained according to a preset sampling frequency, whether the difference of the control capacities of the two control systems is larger than a preset threshold value or not is judged according to the sampling data, if so, the control capacities of the two control systems are compared according to the sampling data, and the accuracy and the reliability of a control capacity comparison report are effectively improved because the adopted sampling data are data in actual operation.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a schematic flow chart diagram of a first embodiment of a comparison method of a control system provided by the present invention;
FIG. 2 is a schematic flow chart diagram of a second embodiment of a comparison method of the control system provided by the present invention;
FIG. 3 is a schematic flow chart diagram of a first embodiment of a comparison method of the control system provided by the present invention;
FIG. 4 is a schematic flow chart diagram of a first embodiment of a comparison method of the control system provided by the present invention;
fig. 5 is a schematic structural diagram of a first embodiment of the control terminal provided by the present invention;
fig. 6 is a schematic structural diagram of a second embodiment of the control terminal provided by the present invention;
FIG. 7 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
After the product is put into the market, control system optimization is often performed according to some problems occurring in the using process, in addition, control system optimization is performed according to the requirements of a user during use, when a new control system is released, a main server or a main control end of the product needs to compare the new control system with an original control system, or compare control systems of several updated versions, so as to determine whether to update or update the control system of which version according to different requirements of the user.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a comparison method of a control system according to a first embodiment of the present invention. The comparison method of the control system provided by the invention comprises the following steps:
s101: the method comprises the steps of sampling operation data of at least one first device operating a first control system and at least one second device operating a second control system according to a preset sampling frequency, and obtaining first sampling data of each first device and second sampling data of each second device.
In a specific implementation scenario, at least one device is selected as a first device and at least one device is selected as a second device from the same type of devices capable of operating normally. A first control system is installed on at least one first device, and a second control system is installed on at least one second device. The method comprises the steps of starting at least one first device and at least one second device after installation is completed, sampling operation data of the at least one first device and the at least one second device according to a preset sampling frequency, obtaining first sampling data when each first device operates a first control system, and obtaining second sampling data when each second device operates a second control system according to the same preset sampling frequency.
In this implementation scenario, the first device and the second device are temperature control devices, and the first sampling data and the second sampling data are an ambient temperature controlled by each first device and an indoor temperature controlled by each second device, respectively. In order to improve the reliability of the comparison result, the operating conditions of the first device and the second device are substantially consistent, for example, the temperature control system of similar application scenarios in the same region. In order to avoid errors caused by differences in operating conditions, a plurality of first devices and second devices can be sampled for a long time, and the influence of the differences in conditions is reduced as the number of devices is larger and the operating data is longer.
S102: and respectively calculating first error data of the first sampled data of each first device relative to a preset standard parameter and second error data of the second sampled data of each second device relative to the preset standard parameter.
In this implementation scenario, a preset standard parameter set by a user, for example, a preset standard temperature, is obtained. And subtracting the preset standard parameter from the first sampling data of each first device and the second sampling data of each second device respectively to obtain a first error value of each first device and a second error value of each first device. For example, if the preset standard parameter, i.e., the preset standard temperature, is 30 degrees, the first device and the second device need to adjust the temperature in the room to 30 degrees and maintain the temperature at 30 degrees. The first sampling data and the second sampling data may be indoor temperature values measured at a preset sampling frequency.
After a period of sampling, the first sampling data comprise a plurality of first sampling values, the second sampling data comprise a plurality of second sampling values, the plurality of first sampling values and the plurality of second sampling values are subtracted from the preset standard parameters, corresponding first error data and second error data can be obtained, the first error data comprise differences between the plurality of first sampling values and the preset standard parameters, namely the plurality of first error values, and the second error data comprise differences between the plurality of second sampling values and the preset standard parameters, namely the plurality of second error values. For example, if the first sampled data obtained by sampling is 30.1 degrees or 30.5 degrees and the second sampled data is 32 degrees or 31 degrees, the first error data is 0.1 or 0.5 and the second error data is 2 or 1.
In the implementation scenario, the acquired first sampling data and the acquired second sampling data are uploaded to the cloud server in real time through the internet of things system, and preset standard parameters are further stored on the cloud server. When the first control system and the second control system are compared, the first sampling data, the second sampling data and the preset standard parameters are obtained from the cloud server, and then calculation is carried out.
S103: and calculating first comparison data of each first device and second comparison data of each second device according to the first error data of each first device and the second error data of each second device respectively.
In this implementation scenario, first comparison data of each first device is calculated according to the first error data of each first device, that is, first comparison data is calculated according to a plurality of first error values included in the first error data, and the first comparison data may be an average value, a variance, a standard deviation, and the like of the plurality of first error values. Calculating the average, variance, and standard deviation of the first error values is a common mathematical evaluation means, and is not described herein again.
The step of calculating the second comparison data of each second device according to the second error data of each second device is substantially the same as the step of calculating the first comparison data of each first device according to the first error data of each first device, and is not repeated here.
S104: and F checking the first comparison data of at least one first device and the second comparison data of at least one second device.
In the present implementation scenario, the F test (F-test), the most commonly used alias, is called joint hypothesis test (joint hypothesis test), and is also called variance ratio test, and variance homogeneity test. It is a test in which statistical values are subject to F-distribution under the null hypothesis (H0). It is typically used to analyze statistical models that use more than one parameter to determine whether all or a portion of the parameters in the model are suitable for estimating the mother.
The specific method of the F check is to compare squares of the labeling deviations of the two groups of sample data to obtain an F value, compare the F value with numerical values in a preset comparison table, if the F value is smaller than the corresponding numerical value in the comparison table, it indicates that the two groups of sample data have no significant difference, and if the F value is larger than or equal to the corresponding numerical value in the comparison table, it indicates that the two groups of sample data have significant difference.
In this implementation scenario, a first variance value of first comparison data of at least one first device is calculated, a second variance value of second comparison data of at least one second device is calculated, and the first variance value and the second variance value are compared to obtain an F value.
S105: and judging whether the difference of the control capacities of the first control system and the second control system is greater than a preset threshold value according to the F check result. If yes, step S106 is executed, and if no, step S107 is executed.
In this implementation scenario, the F value is compared with a value in a preset comparison table, and if the F value is smaller than the corresponding value in the comparison table, it indicates that the difference between the first comparison data of the at least one first device and the second comparison data of the at least one second device is smaller, that is, the difference between the first sampling data of the at least one first device and the second sampling data of the at least one second device is smaller, so that it can be inferred that the difference between the control capability of the first control system and the control capability of the second system is smaller than or equal to a preset threshold. If the F value is greater than or equal to the corresponding value in the comparison table, it indicates that the difference between the first comparison data of the at least one first device and the second comparison data of the at least one second device is large, that is, the difference between the first sampling data of the at least one first device and the second sampling data of the at least one second device is large, so that it can be inferred that the difference between the control capability of the first control system and the control capability of the second system is greater than the preset threshold.
S106: and comparing the first comparison data with the second comparison data, and generating a control capability comparison report of the first control system and the second control system according to the comparison result.
In this implementation scenario, if the difference between the control capability of the first control system and the control capability of the second control system is greater than the preset threshold, the first comparison data and the second comparison data are compared. If the first comparison data is an average value of the first error data and the second comparison data is an average value of the second error data, the smaller the average value is, the higher the control accuracy is. If the first comparison data is the variance of the first error data and the second comparison data is the variance of the second error data, the smaller the variance is, the higher the stability of the control is. If the first comparison data is the standard deviation of the first error data, the smaller the standard deviation, the higher the stability of the control.
And generating a control capability comparison report according to the comparison result, wherein the control stability of the first control system is better than that of the second control system, or the control precision of the first control system is better than that of the second control system, and the like.
S107: and judging that the control capabilities of the first control system and the second control system are the same without comparing the first comparison data with the second comparison data.
In this implementation scenario, the difference between the control capability of the first control system and the control capability of the second control system is smaller than or equal to the preset threshold, and the control capabilities of the first control system and the second control system are determined to be the same or similar without comparing the first comparison data with the second comparison data.
As can be seen from the above description, in this embodiment, when two control systems are compared, sampling data during operation of the two control systems is obtained according to a preset sampling frequency, whether a difference between control capabilities of the two control systems is greater than a preset threshold is determined according to the sampling data, and if the difference is greater than the preset threshold, the control capabilities of the two control systems are compared according to the sampling data.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a comparison method of a control system according to a second embodiment of the present invention. The comparison method of the control system provided by the invention comprises the following steps:
s201: and acquiring first sampling data of at least one first device operating a first control system and second sampling data of at least one second device operating a second control system according to a preset sampling frequency.
S202: and respectively calculating first error data of the first sampled data relative to the preset standard parameter and second error data of the second sampled data relative to the preset standard parameter.
In a specific implementation scenario, steps S201 to S202 are substantially the same as steps S101 to S102 in the first embodiment of the comparison method of the control system provided by the present invention, and are not described herein again.
Assume that the number of first devices is m, the devices are numbered 1, 2. The number of the second devices is n, and the number of the devices is 1, 2. The first control system is denoted as control system a, and the second control system is denoted as control system B. The first equipment and the second equipment are temperature control equipment, and the preset standard parameter is standard temperature TStandard of merit. After sampling is carried out according to a preset sampling frequency, the first sampling data comprise p first temperature values
Figure BDA0002513480850000081
The second sampling data comprises p second temperature values
Figure BDA0002513480850000082
Figure BDA0002513480850000083
P first temperature values are compared with a standard temperature TStandard of meritSubtracting to obtain a first temperature difference
Figure BDA0002513480850000084
I.e. the first error data, p second temperature values and the standard temperature TStandard of meritSubtracting the first temperature difference to obtain a second temperature difference,
Figure BDA0002513480850000085
this is referred to as second error data. Note that T isStandard of meritThe first and second error data are set by the user and can be changed at any time, and are invariable, so when the first and second error data are calculated, the first and second temperature values and the T of the time for collecting the first and second temperature values are neededStandard of meritAre subtracted.
S203: an average value of the first error data of each first device is calculated as first comparison data, and an average value of the second error data of each second device is calculated as second comparison data.
In this implementation scenario, the average of the first error data for each first device is calculated according to the following formula:
Figure BDA0002513480850000086
wherein, AeiThe average value of the first temperature errors of the ith first device, i.e. the average value of the first error data,
Figure BDA0002513480850000087
is the first temperature difference.
Calculating an average of the second error data for each second device according to the following formula:
Figure BDA0002513480850000088
wherein, BeiThe average value of the second temperature errors of the ith second device, i.e. the average value of the second error data,
Figure BDA0002513480850000089
is the second temperature difference.
S204: and F checking the first comparison data of at least one first device and the second comparison data of at least one second device.
In this implementation scenario, the F value is calculated according to the following formula:
Figure BDA0002513480850000091
wherein,
Figure BDA0002513480850000092
s205: and judging whether the difference of the control accuracy of the first control system and the second control system is greater than a preset threshold value according to the F check result. If yes, go to step S206, otherwise go to step S207.
In the present implementation scenario, the F distribution table values F α (m-1, n-1) are referred to, where α may be selected from 0.05, 0.025, 0.01, etc., F _ e is compared with F α, and if F _ e > F α (m-1, n-1), it indicates that the difference between the first control system and the second control system in terms of control accuracy is greater than the preset threshold. On the contrary, it means that the difference between the first control system and the second control system in terms of control accuracy is not large.
S206: and comparing the first comparison data with the second comparison data, and generating a control capability comparison report of the first control system and the second control system according to the comparison result.
In the present embodiment, the average of the first comparison data is calculated
Figure BDA0002513480850000093
And the average value of the second comparison data
Figure BDA0002513480850000094
And
Figure BDA0002513480850000095
the calculation method is referred to the above steps, and is not described herein again. Will be provided with
Figure BDA0002513480850000096
And
Figure BDA0002513480850000097
make a comparison if
Figure BDA0002513480850000098
The control accuracy of the second control system is better than that of the first control system, if
Figure BDA0002513480850000099
The control accuracy of the first control system is better than that of the second control system.
In other implementation scenarios, the sum of the first comparison data and the sum of the second comparison data may also be compared, or the variance, mean square error, etc. of the first comparison data may be compared.
S207: and judging that the control capabilities of the first control system and the second control system are the same without comparing the first comparison data with the second comparison data.
In a specific implementation scenario, step S207 is substantially the same as step S107 in the first embodiment of the comparison method of the control system provided by the present invention, and details are not repeated here.
As can be seen from the above description, in this embodiment, when the control accuracies of the two control systems are compared, the sampling data during the operation of the two control systems is obtained according to the preset sampling frequency, whether the difference between the control capabilities of the two control systems is greater than the preset threshold is judged according to the sampling data, if so, the control accuracies of the two control systems are compared according to the sampling data, and because the sampling data used is actually operating data, the accuracy and reliability of the comparison result of the control accuracies are effectively improved.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a comparison method of a control system according to a third embodiment of the present invention. The comparison method of the control system provided by the invention comprises the following steps:
s301: and acquiring first sampling data of at least one first device operating a first control system and second sampling data of at least one second device operating a second control system according to a preset sampling frequency.
S302: and respectively calculating first error data of the first sampled data relative to the preset standard parameter and second error data of the second sampled data relative to the preset standard parameter.
In a specific implementation scenario, steps S301 to S302 are substantially the same as steps S201 to S202 in the second embodiment of the comparison method of the control system provided by the present invention, and are not described herein again.
S303: the variance of the first error data of each first device is calculated as first comparison data, and the variance of the second error data of each second device is calculated as second comparison data.
In this implementation scenario, the variance of the first error data for each first device is calculated according to the following formula:
Figure BDA0002513480850000101
wherein, AdiThe first temperature error variance for the ith first device, i.e. the variance of the first error data,
Figure BDA0002513480850000102
is the first temperature difference, AeiThe calculating method in step S203 of the second embodiment of the comparison method of the control system provided by the present invention has been described, and is not repeated herein.
Calculating a variance of the second error data for each second device according to the following formula:
Figure BDA0002513480850000103
wherein BdiThe second temperature error variance for the ith second device, i.e. the variance of the second error data,
Figure BDA0002513480850000104
is the second temperature difference, BeiThe calculating method in step S203 of the second embodiment of the comparison method of the control system provided by the present invention has been described, and is not repeated herein.
S304: and F checking the first comparison data of at least one first device and the second comparison data of at least one second device.
In this implementation scenario, the F value is calculated according to the following formula:
Figure BDA0002513480850000111
wherein,
Figure BDA0002513480850000112
s305: and judging whether the difference of the control stability of the first control system and the second control system is greater than a preset threshold value according to the F check result. If yes, go to step S406, otherwise go to step S407.
In the present implementation scenario, the F distribution table values F α (m-1, n-1) are referred to, where α may be selected from 0.05, 0.025, 0.01, etc., F _ e is compared with F α, and if F _ e > F α (m-1, n-1), it indicates that the difference between the first control system and the second control system in terms of control stability is greater than the preset threshold. On the contrary, it means that the difference between the first control system and the second control system in terms of control stability is not large.
S306: and comparing the first comparison data with the second comparison data, and generating a control capability comparison report of the first control system and the second control system according to the comparison result.
In the present embodiment, the average of the first comparison data is calculated
Figure BDA0002513480850000113
And the average value of the second comparison data
Figure BDA0002513480850000114
And
Figure BDA0002513480850000115
the calculation method is referred to the above steps, and is not described herein again. Will be provided with
Figure BDA0002513480850000116
And
Figure BDA0002513480850000117
make a comparison if
Figure BDA0002513480850000118
The control stability of the second control system is better than that of the first control system if
Figure BDA0002513480850000119
Then the first controlThe control stability of the system is superior to that of the second control system.
In other implementation scenarios, the sum of the first comparison data and the sum of the second comparison data may also be compared, or the variance, mean square error, etc. of the first comparison data may be compared.
S307: and judging that the control capabilities of the first control system and the second control system are the same without comparing the first comparison data with the second comparison data.
In a specific implementation scenario, step S207 is substantially the same as step S107 in the first embodiment of the comparison method of the control system provided by the present invention, and details are not repeated here.
As can be seen from the above description, in this embodiment, when the control stabilities of the two control systems are compared, the sampling data of the two control systems in operation is obtained according to the preset sampling frequency, whether the difference of the control capabilities of the two control systems is greater than the preset threshold is judged according to the sampling data, if so, the control stabilities of the two control systems are compared according to the sampling data, and because the sampling data is actually operating data, the accuracy and reliability of the comparison result of the control stabilities are effectively improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a fourth embodiment of a comparison method of a control system according to the present invention. The comparison method of the control system provided by the invention comprises the following steps:
s401: and acquiring first sampling data of at least one first device operating a first control system and second sampling data of at least one second device operating a second control system according to a preset sampling frequency.
S402: and respectively calculating first error data of the first sampled data relative to the preset standard parameter and second error data of the second sampled data relative to the preset standard parameter.
S403: an average value of the first error data of each first device is calculated as first comparison data, and an average value of the second error data of each second device is calculated as second comparison data.
S404: and F checking the first comparison data of at least one first device and the second comparison data of at least one second device.
In a specific implementation scenario, steps S401 to S404 are substantially the same as steps S201 to S204 in the second embodiment of the comparison method of the control system provided by the present invention, and are not described herein again.
S405: the variance of the first error data of each first device is calculated as first comparison data, and the variance of the second error data of each second device is calculated as second comparison data.
S406: and F checking the first comparison data of at least one first device and the second comparison data of at least one second device.
In this implementation scenario, steps S405 to S406 are substantially the same as steps S303 to S304 in the third embodiment of the comparison method of the control system provided by the present invention, and are not described herein again.
S407: and judging whether the difference of the control capacities of the first control system and the second control system is greater than a preset threshold value according to the F check result. If yes, go to step S408, otherwise go to step S410.
S408: and comparing the first comparison data with the second comparison data, and generating a control capability comparison report of the first control system and the second control system according to the comparison result.
In this implementation scenario, steps S407 to S408 are substantially the same as steps S205 to S206 in the second embodiment of the comparison method of the control system provided by the present invention and steps S305 to S306 in the third embodiment of the comparison method of the control system provided by the present invention, and are not repeated here.
S409: and acquiring a selection rule, and selecting one of the first control system and the second control system as a target control system according to the control capability comparison report and the selection rule.
In this implementation scenario, the user may set the selection rule in advance, for example, if the user pays more attention to the control accuracy, the weight of the control accuracy is set to be larger, and the weight of the control stability is set to be smaller. And obtaining the scores of the first control system and the second control system in the control precision and the control stability according to the control capability comparison reports of the first control system and the second control system, multiplying the scores by the weight respectively to obtain the total score of the first control system and the second control system, and selecting the higher total score as the target control system.
In other implementation scenarios, the user may further set another selection rule, for example, only considering the control accuracy or the control stability, or perform selection according to a difference between the average value of the first comparison data and the average value of the second comparison data, for example, when the difference is within a preset range, it is considered that there is no difference between the control accuracy and the control stability of the first control system and the second control system, and one of the first control system and the second control system may be arbitrarily selected as the target control system, and when the difference exceeds the preset range, the target control system is selected as the one with the smaller average value of the first comparison data.
S410: either one of the first control system and the second control system is selected as a target control system.
In this implementation scenario, if the difference between the control capacities of the first control system and the second control system is less than or equal to the preset threshold, any one of the first control system and the second control system is selected as the target control system.
In the implementation scenario, the control capacities of the two control systems are compared, in other implementation scenarios, the control capacities of the plurality of control systems may need to be compared, the plurality of control systems may be compared pairwise first, a more preferable control system is selected, and the selected control system is compared pairwise again until one control system is selected as a target control system.
In the implementation scenario, after the target control system is selected, the master server or the master control end of the product can issue the target control system, so that the product on the world realizes automatic updating of the control system, and the updated control system is ensured to have better use experience.
As can be seen from the above description, in this embodiment, sampling data of two control systems during operation is obtained according to a preset sampling frequency, whether a difference between control capabilities of the two control systems is greater than a preset threshold is determined according to the sampling data, if so, the control capabilities of the two control systems are compared according to the sampling data, and one of the two control systems is selected as a target control system according to a selected result.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a control terminal according to a first embodiment of the present invention. The control terminal 10 includes: a sampling module 11, an error module 12, a calculation module 13, a judgment module 14 and a result module 15. The sampling module 11 is configured to sample operation data of at least one first device operating a first control system and at least one second device operating a second control system according to a preset sampling frequency, and acquire first sampling data of each first device and second sampling data of each second device, where the first device and the second device are devices of the same model. The error module 12 is configured to calculate first error data of the first sampled data of each first device with respect to the preset standard parameter and second error data of the second sampled data of each second device with respect to the preset standard parameter, respectively. The calculating module 13 is configured to calculate first comparison data of each first device and second comparison data of each second device according to the first error data of each first device and the second error data of each second device, respectively. The judging module 14 is configured to perform F-check on the first comparison data of the at least one first device and the second comparison data of the at least one second device, and judge whether a difference between control capabilities of the first control system and the second control system is greater than a preset threshold according to an F-check result. The result module 15 is configured to compare the first comparison data with the second comparison data if the difference between the control capabilities of the first control system and the second control system is greater than the preset threshold, and generate a control capability comparison report of the first control system and the second control system according to a comparison result.
The calculating module 13 is further configured to calculate an average value of the first error data of each first device as first comparison data, and calculate an average value of the second error data of each second device as second comparison data.
The result module 15 is further configured to determine whether the average value of the first comparison data is greater than or equal to the average value of the second comparison data, determine that the accuracy of the first control system is better than that of the second control system if the average value of the first comparison data is smaller than the average value of the second comparison data, and determine that the accuracy of the second control system is better than that of the first control system if the first comparison data is larger than the second comparison data.
The calculating module 13 is further configured to calculate a variance of the first error data of each first device as first comparison data, and calculate a variance of the second error data of each second device as second comparison data.
The result module 15 is further configured to determine whether the average value of the first comparison data is greater than or equal to the average value of the second comparison data, determine that the stability of the first control system is better than that of the second control system if the average value of the first comparison data is smaller than the average value of the second comparison data, and determine that the stability of the second control system is better than that of the first control system if the first comparison data is larger than the second comparison data.
The result module 15 is further configured to obtain a selection rule, and select one of the first control system and the second control system as a target control system according to the control capability comparison report and the selection rule.
The result module 15 is further configured to select any one of the first control system and the second control system as the target control system if the difference between the first control system and the second control system is less than or equal to a preset threshold.
As can be seen from the above description, in this embodiment, the control terminal obtains sampling data of the two control systems during operation according to the preset sampling frequency, and determines whether the difference between the control capabilities of the two control systems is greater than the preset threshold according to the sampling data, and if so, compares the control capabilities of the two control systems according to the sampling data.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a control terminal according to a second embodiment of the present invention. The device control apparatus 20 includes a processor 21 and a memory 22. The processor 21 is coupled to a memory 22. The memory 22 has stored therein a computer program which is executed by the processor 21 when in operation to implement the method as shown in fig. 1-4. The detailed methods can be referred to above and are not described herein.
As can be seen from the above description, in this embodiment, the control terminal obtains sampling data of the two control systems during operation according to the preset sampling frequency, and determines whether the difference between the control capabilities of the two control systems is greater than the preset threshold according to the sampling data, and if so, compares the control capabilities of the two control systems according to the sampling data.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of a computer-readable storage medium according to the present invention. The computer-readable storage medium 30 stores at least one computer program 31, and the computer program 31 is used for being executed by a processor to implement the method shown in fig. 1 to 4, and the detailed method can be referred to above and is not described herein again. In one embodiment, the computer readable storage medium 30 may be a memory chip in a terminal, a hard disk, or other readable and writable storage tool such as a removable hard disk, a flash disk, an optical disk, or the like, and may also be a server or the like.
As can be seen from the above description, in this embodiment, the computer program in the computer-readable storage medium may be configured to obtain sampling data of the two control systems during operation according to a preset sampling frequency, determine whether a difference between the control capabilities of the two control systems is greater than a preset threshold according to the sampling data, and compare the control capabilities of the two control systems according to the sampling data if the difference is greater than the preset threshold.
Compared with the prior art, the method has the advantages that the data used for evaluating the two control systems are actual operation data, so that the reliability is high, and the influence caused by laboratory conditions and simulation errors is effectively avoided.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A comparison method for a control system, comprising:
sampling operation data of at least one first device operating a first control system and at least one second device operating a second control system according to a preset sampling frequency, and acquiring first sampling data of each first device and second sampling data of each second device, wherein the first device and the second device are devices with the same model;
respectively calculating first error data of the first sampling data of each first device relative to a preset standard parameter and second error data of the second sampling data of each second device relative to the preset standard parameter;
calculating first comparison data of each first device and second comparison data of each second device according to the first error data of each first device and the second error data of each second device respectively;
performing F check on the first comparison data of the at least one first device and the second comparison data of the at least one second device, and judging whether the difference of the control capabilities of the first control system and the second control system is greater than a preset threshold value according to the result of the F check;
and if the difference of the control capacities of the first control system and the second control system is larger than a preset threshold value, comparing the first comparison data with the second comparison data, and generating a control capacity comparison report of the first control system and the second control system according to the comparison result.
2. The comparison method of the control system according to claim 1, wherein the step of calculating first comparison data of the first control system and second comparison data of the second control system from the first error data and the second error data, respectively, includes:
calculating an average of the first error data for each of the first devices as the first comparison data, and calculating an average of the second error data for each of the second devices as the second comparison data.
3. The comparison method of the control system according to claim 2, wherein the step of comparing the first comparison data with the second comparison data and generating a comparison report of the control capabilities of the first control system and the second control system based on the comparison result includes:
and judging whether the average value of the first comparison data is greater than or equal to the average value of the second comparison data, if so, judging that the precision of the first control system is superior to that of the second control system, and if so, judging that the precision of the second control system is superior to that of the first control system.
4. The comparison method of the control system according to claim 1, wherein the step of calculating first comparison data of the first control system and second comparison data of the second control system from the first sample data and the second sample data, respectively, comprises:
a variance of the first error data for each of the first devices is calculated as the first comparison data, and a variance of the second error data for each of the second devices is calculated as the second comparison data.
5. The comparison method of the control system according to claim 4, wherein the step of comparing the first comparison data with the second comparison data and generating a comparison result of the control system according to the comparison result includes:
and judging whether the average value of the first comparison data is greater than or equal to the average value of the second comparison data, if so, judging that the stability of the first control system is superior to that of the second control system, and if so, judging that the stability of the second control system is superior to that of the first control system.
6. The method of comparing control systems according to claim 1, wherein the step of generating a comparison report of the control capacities of the first control system and the second control system based on the result of the comparison is followed by:
and acquiring a selection rule, and selecting one from the first control system and the second control system as a target control system according to the control capability comparison report and the selection rule.
7. The control system comparison method according to claim 6, wherein the step of determining whether the difference in the control capabilities of the first control system and the second control system is greater than a preset threshold value is followed by:
and if the difference between the first control system and the second control system is smaller than or equal to a preset threshold value, selecting any one of the first control system and the second control system as the target control system.
8. A control terminal, comprising:
the sampling module is used for sampling operation data of at least one first device operating a first control system and at least one second device operating a second control system according to a preset sampling frequency to obtain first sampling data of each first device and second sampling data of each second device, wherein the first device and the second device are devices with the same model;
an error module, configured to calculate first error data of the first sampled data of each first device with respect to a preset standard parameter and second error data of the second sampled data of each second device with respect to the preset standard parameter, respectively;
a calculation module, configured to calculate first comparison data of each first device and second comparison data of each second device according to the first error data of each first device and the second error data of each second device, respectively;
the judging module is used for performing F check on the first comparison data of the at least one first device and the second comparison data of the at least one second device, and judging whether the difference of the control capabilities of the first control system and the second control system is greater than a preset threshold value or not;
and the result module is used for comparing the first comparison data with the second comparison data if the difference between the control capacities of the first control system and the second control system is larger than a preset threshold value, and generating a control capacity comparison report of the first control system and the second control system according to the comparison result.
9. A control terminal, comprising: a processor coupled to the memory and a memory having a computer program stored therein, the processor executing the computer program to implement the method of any of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being executable by a processor for implementing the method as claimed in any one of claims 1 to 7.
CN202010468489.0A 2020-05-28 2020-05-28 Comparison method of control system, control terminal and computer readable storage medium Active CN111679600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010468489.0A CN111679600B (en) 2020-05-28 2020-05-28 Comparison method of control system, control terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010468489.0A CN111679600B (en) 2020-05-28 2020-05-28 Comparison method of control system, control terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111679600A true CN111679600A (en) 2020-09-18
CN111679600B CN111679600B (en) 2021-12-28

Family

ID=72434763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010468489.0A Active CN111679600B (en) 2020-05-28 2020-05-28 Comparison method of control system, control terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111679600B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114087996A (en) * 2021-10-19 2022-02-25 广东芬蓝环境科技有限公司 Dynamic homogenizing method and device for sludge, electronic equipment and storage medium
CN114179403A (en) * 2022-02-15 2022-03-15 深圳市博盛新材料有限公司 Battery diaphragm manufacturing system of rechargeable battery and manufacturing method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395577A (en) * 2006-03-02 2009-03-25 Abb公司 Method for evaluating, an automation system, and a controller
CN101395576A (en) * 2006-03-02 2009-03-25 Abb公司 A method for comparing, an automation system and a controller
US20160011573A1 (en) * 2014-07-09 2016-01-14 Honeywell International Inc. Multisite version and upgrade management system
CN106774243A (en) * 2016-12-02 2017-05-31 浙江中控软件技术有限公司 PID performance estimating methods
CN106933618A (en) * 2017-01-25 2017-07-07 上海蔚来汽车有限公司 System upgrade appraisal procedure based on systematic parameter coefficient correlation
US20170300038A1 (en) * 2016-04-18 2017-10-19 Caterpillar Inc. 3d construction system and method
CN108959175A (en) * 2018-05-30 2018-12-07 南京航空航天大学 A kind of ferrimagnet yield strength successive Regression estimation method based on MBN
CN109491334A (en) * 2017-09-13 2019-03-19 费希尔-罗斯蒙特系统公司 System and method for assessing configuration file associated with Process Control System
CN111157938A (en) * 2019-12-30 2020-05-15 湖北省计量测试技术研究院 Method and system for evaluating metering process capacity of automatic verification system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395577A (en) * 2006-03-02 2009-03-25 Abb公司 Method for evaluating, an automation system, and a controller
CN101395576A (en) * 2006-03-02 2009-03-25 Abb公司 A method for comparing, an automation system and a controller
US20160011573A1 (en) * 2014-07-09 2016-01-14 Honeywell International Inc. Multisite version and upgrade management system
US20170300038A1 (en) * 2016-04-18 2017-10-19 Caterpillar Inc. 3d construction system and method
CN106774243A (en) * 2016-12-02 2017-05-31 浙江中控软件技术有限公司 PID performance estimating methods
CN106933618A (en) * 2017-01-25 2017-07-07 上海蔚来汽车有限公司 System upgrade appraisal procedure based on systematic parameter coefficient correlation
CN109491334A (en) * 2017-09-13 2019-03-19 费希尔-罗斯蒙特系统公司 System and method for assessing configuration file associated with Process Control System
CN108959175A (en) * 2018-05-30 2018-12-07 南京航空航天大学 A kind of ferrimagnet yield strength successive Regression estimation method based on MBN
CN111157938A (en) * 2019-12-30 2020-05-15 湖北省计量测试技术研究院 Method and system for evaluating metering process capacity of automatic verification system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁小磊 等: "F检验在食品安全风险监测质量控制比对方法评价中的应用", 《江苏卫生事业管理》 *
傅若玮 等: "控制系统性能评估的研究现状与展望", 《华中科技大学学报(自然科学版)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114087996A (en) * 2021-10-19 2022-02-25 广东芬蓝环境科技有限公司 Dynamic homogenizing method and device for sludge, electronic equipment and storage medium
CN114087996B (en) * 2021-10-19 2024-04-19 广东芬蓝环境科技有限公司 Dynamic sludge homogenizing method and device, electronic equipment and storage medium
CN114179403A (en) * 2022-02-15 2022-03-15 深圳市博盛新材料有限公司 Battery diaphragm manufacturing system of rechargeable battery and manufacturing method thereof
CN114179403B (en) * 2022-02-15 2022-05-20 深圳市博盛新材料有限公司 Battery diaphragm manufacturing system of rechargeable battery and manufacturing method thereof

Also Published As

Publication number Publication date
CN111679600B (en) 2021-12-28

Similar Documents

Publication Publication Date Title
US20220129288A1 (en) Method and apparatus for determining the capacity of an application cluster
CN108875013B (en) Method and device for processing map data
CN109542712B (en) Server pressure testing method and device, computer equipment and storage medium
CN111679600B (en) Comparison method of control system, control terminal and computer readable storage medium
CN108573355B (en) Method and device for replacing operation after model updating and business server
CN112819169B (en) Quantum control pulse generation method, device, equipment and storage medium
JP6845126B2 (en) Failure probability calculation device, failure probability calculation method and program
CN113254382B (en) Data processing system for constructing digital numerical value fusion device based on supercomputer
CN113672389B (en) Server compatible method, system, equipment and computer readable storage medium
CN109218136B (en) WIFI connection performance test method and device, computer equipment and storage medium
CN115689534B (en) Method, device, equipment and medium for managing service life of equipment based on big data
CN113158589A (en) Simulation model calibration method and device of battery management system
CN111127242A (en) Power system reliability dynamic real-time assessment method based on small sample data
CN112149213A (en) Method, device and equipment for transmitting finite element model grid data of nuclear island structure
JP2014110047A (en) Method and device for electronic circuit simulation
CN114970114A (en) Virtual simulation model dynamic optimization method and system based on augmented reality
US8589138B2 (en) On-the-fly improvement of certainty of statistical estimates in statistical design, with corresponding visual feedback
CN109446481B (en) Method for estimating life distribution parameters of log-normal unit
CN109857655B (en) Method and system for detecting dynamic performance of art resources
CN117114451B (en) Method and device for evaluating precipitation effect by artificial influence, electronic equipment and storage medium
CN112241343A (en) Slow disk detection method and device, electronic equipment and readable storage medium
CN109375007A (en) Failure evaluation method, device, equipment and storage medium of measurement and control protection device
CN118211430B (en) BIM-based steel box girder pushing monitoring method and system
CN118520841B (en) Integrated circuit performance prediction model, modeling method, device, equipment and medium
CN109933819B (en) Air conditioner flow distribution simulation method, system and computer medium

Legal Events

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