CN102298367B - Standardized general-type analog quantity optimization control method - Google Patents

Standardized general-type analog quantity optimization control method Download PDF

Info

Publication number
CN102298367B
CN102298367B CN2011101468284A CN201110146828A CN102298367B CN 102298367 B CN102298367 B CN 102298367B CN 2011101468284 A CN2011101468284 A CN 2011101468284A CN 201110146828 A CN201110146828 A CN 201110146828A CN 102298367 B CN102298367 B CN 102298367B
Authority
CN
China
Prior art keywords
value
detected value
data
analog quantity
detected
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.)
Expired - Fee Related
Application number
CN2011101468284A
Other languages
Chinese (zh)
Other versions
CN102298367A (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.)
Wuhan Iron and Steel Co Ltd
Original Assignee
Wuhan Iron and Steel Group Corp
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 Wuhan Iron and Steel Group Corp filed Critical Wuhan Iron and Steel Group Corp
Priority to CN2011101468284A priority Critical patent/CN102298367B/en
Publication of CN102298367A publication Critical patent/CN102298367A/en
Application granted granted Critical
Publication of CN102298367B publication Critical patent/CN102298367B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Programmable Controllers (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention relates to the analog quantity optimization field, and discloses a standardized general-type analog quantity optimization control method. The method comprises the following steps: optimizing the collected detection data by a programmable logic controller (PLC) control system; presetting a reference value in the PLC control system; comparing the current detection value with a detection value detected last time; if the two values are equal, judging the current detection value is a bad value, sending out a detection value freezing alarm signal, and replacing the current detection value with a good value detected last time or a preset good value; optimizing the collected detection data by adopting a removing extreme value method; optimizing the detected data by an amplitude limiting method; and regarding the current detection value as a good value on other conditions. According to the method provided by the invention, the analog quantity data is optimized by the PLC control system to shield noise and interference noise signals, so as to obtain available real data; the method provided by the invention can be applied to most of control systems, and has high readability and openness; the reliability of the data collected by the PLC is ensured, and the antijamming capability of the control system is improved.

Description

A kind of Standardized general-type analog quantity optimization control method
Technical field
The present invention relates to analog quantity optimisation technique field, be particularly useful for industrial control system various controlled device analog datas are optimized processing.
Background technology
Along with digitized development, measuring instrument seems in every profession and trade and becomes more and more important, in the real-time testing process of various instrument, because the existence of a variety of causes, some error informations appear in the capital, avoid some human factors except the accuracy requirement of instrument design with in testing process as far as possible, rely on theory of errors and the statistical method of science.Realize rejecting algorithm in program seems and is even more important.
Measuring error is defined as the difference between detected value and the actual value, the source of measuring error has a variety of, generally be divided into the errors of principles chamber Principle and method of measurements itself such as the errors of principles, directional error, environmental error use error and have defective and deviation, directional error is the error that surveying instrument, unit cause, and is mainly reflected in power-supply fluctuation, component ageing, drift, electrical noise etc. in various instrument.Environmental error is the measuring error that measurement environment, condition cause, such as air themperature, humidity, atmospheric pressure, vibration, the interference of electromagnetic field etc.Use error then is a lot of maloperations and the violation operation that occurs in the testing process at the scene.
In actual testing process, the errors of principles, method error, environmental error, use error can be revised by the method for theoretical analysis and verification experimental verification, and the very large abnormal data of error that in testing process, occurs accidentally, it is the data that mix with useful data, can cause in the automatic control system the out of control and misoperation of equipment, the exclusive disjunction mistake causes that reason generally is directional error, use error etc.
In modern industrial control system, carrying out exactly data acquisition is to realize the automatically key of control of some important electromechanical equipments.Programmable Logic Controller PLC as one of contemporary industry robotization pillar is showing more and more important effect aspect the data acquisition and controlling of switching signal, and along with PLC in industrial control field, use day by day deep, PLC is used for the occasion to the control of industrial system analog quantity too, it is that the various controlled devices (such as temperature, pressure, flow, liquid level etc.) of the industry spot sensor by correspondence is transformed to the analog electrical energy (voltage, electric current) of a standard with it that the PLC analog quantity is processed, and then changes through analog to digital converter.In order to eliminate the industry spot instantaneous disturbance to the impact of simulating signal, improve analog-to-digital precision, by the PLC control system analog quantity that gathers is implemented corresponding interference protection measure, it is necessary that the simulated data that detects is optimized processing.
Summary of the invention
Technical matters to be solved by this invention provides a kind of Standardized general-type analog quantity optimization control method, it has based on theory of errors, directly by the PLC control system analog data is adopted margining amplitude technique and goes extremum method suitably to process, thereby mask the Noise and Interference noise signal, obtain the characteristics of available True Data.
For solving the problems of the technologies described above, the invention provides a kind of Standardized general-type analog quantity optimization control method, it is characterized in that, by the PLC control system detection data that collect are optimized processing according to following step:
Step 1: the maximum allowable offset value of the higher limit of default detection data, lower limit, adjacent two sampled values, good value in the PLC control system;
Step 2: with this detected value and last time detected value compare, when the comparison of adjacent twice detected value through continuous several times, each result is that two values are when equal, judge that this detected value is bad value, send detected value and freeze alerting signal, abandon this detected value, and the good value that will detect last time or default alternative this detected value of good value;
Step 3: adopt and to go extremum method to the data-optimized processing of the detection that collects: the higher limit, the lower limit that set in the inspection data that PLC is collected and the step 1 compare,
When this detected value that collects during greater than higher limit, produce super higher limit alerting signal, abandon this detected value, and higher limit is substituted this detected value;
When this detected value that collects during less than lower limit, produce super lower limit alerting signal, abandon this detected value, and lower limit is substituted this detected value;
Step 4: adopt margining amplitude technique to detected data-optimized processing:
Absolute value when the difference of adjacent twice detected value that collects, maximum allowable offset value with adjacent two sampled values of presetting in the step 1, comparison through continuous several times, when the absolute value that each result relatively is the difference of adjacent twice detected value exceeds the maximum allowable offset value of adjacent two sampled values default in the step 1, judge that these data that detect have been subject to interference, should give and remove, the value of sending saltus step alerting signal, abandon this detected value, and with last time detected good value or default good value substitute this detected value;
Step 5: other situations are good value depending on this detected value.
Technique scheme is carried out preferably, and the maximum allowable offset value of described adjacent two sampled values was determined according to maximum rate of change and the PLC systematic sampling cycle of institute's detected value.
To technique scheme further preferably, in the described step 2, the number of times that compares continuously is 3 ~ 5 times.
To technique scheme further preferably, in the described step 4, the number of times that compares continuously is 3 ~ 5 times.
To technique scheme more further preferably, in the described step 2, the number of times that compares continuously is 3 times.
The technical scheme that is more preferably is that in the described step 4, the number of times that compares continuously is 3 times.
Beneficial effect of the present invention is:
1. provide a kind of control system of real-time data collection that can make that the detection data that collect are carried out anti-interference process, directly passed through the solution to analog data optimization of PLC control system.The present invention has adopted standardized designs, can Ying Yu in most of control system, it is easier to make system maintenance, adjust and operate.Guarantee the reliability of PLC image data, improved the antijamming capability of control system.
2. the present invention adopts logic and the control function that the PLC control system realizes that analog data is optimized, and has high readability and opening.Can be widely used in each control system in three steelmaking converter zones, realize the automatic control of closed loop adjustment, improve the degree of robotization control.
The present invention is based on theory of errors, provide a kind of and directly by the PLC control system analog data has been optimized processing, thereby mask the Noise and Interference noise signal, obtain the method for available True Data.Can Ying Yu in most of control system, have high readability and opening, it is easier to make system maintenance, adjust and operate, and improves the degree of robotization control, has guaranteed the reliability of PLC image data, has improved the antijamming capability of control system.The method is used reliable, successful, and be easy to apply.
Description of drawings
Fig. 1 is the processing flow chart of analog quantity optimal control method provided by the invention.
Fig. 2 is the processing flow chart that the embodiment of the invention adopts.
Fig. 3 is Data Source and output signal schematic diagram in the PLC control system.
Fig. 4 is for removing the extremum method schematic diagram.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, embodiment, structure, feature and the effect thereof of the Standardized general-type analog quantity optimization control method that foundation the present invention is proposed are elaborated.
Raising along with automaticity, the effect of equipment control depends on the collection of external analog amount, control algolithm, execution output etc. link, and at the scene in the industrial environment, electromagnetic interference (EMI), power supply disturb, sensor itself all can affect external signal even, cause the data distortion, the fluctuation that obtain, the present invention is to provide and in production practices, utilize the PLC control system to come reduce disturbance, the method for Optimized Simulated amount data.
Shown in Figure 1 is the processing flow chart of analog quantity optimal control method provided by the invention.As known in the figure, the present invention is optimized by following step the detection data that collect by the PLC control system:
At first, the maximum allowable offset value of the higher limit of default detection data, lower limit, adjacent two sampled values, good value in the PLC control system.
Then, this sub-value and upper sub-value are compared, continuously X time relatively two values all equate, think that this value is invalid, warning is freezed in generation, abandons this sub-value, optional with detecting last time good value or default good value replacement.Wherein, number of comparisons X can set according to the time-delay situation of measuring instrument.
Next, employing goes extremum method that analog data is processed: data and the pre-set bound value range of PLC continuous acquisition are compared, as shown in Figure 4, can think extreme value for the value that is higher than higher limit and be lower than lower limit, should remove, send simultaneously alerting signal.When this detected value is higher than higher limit, replace this sub-value with higher limit; When being lower than lower limit, replace this sub-value with lower limit, thereby remove maximum value or minimum value.
Further, by margining amplitude technique analog data is processed: establishing the maximum deflection difference value that double sampling allows is ROC, if this sub-value and upper sub-value poor<=ROC, and this sub-value relatively is not equal to upper sub-value through X time, and then this sub-value is effective; If this sub-value and continuous Y the judgement of the difference of upper sub-value, its result is〉ROC,, then this sub-value is invalid, abandons this sub-value, replaces this sub-value with the good value that detected last time or predefined good value.
Wherein, the setting purpose of number of times X, Y is for the unsettled impact of data that prevents that primary instrument from collecting, and produces false alarm so that data are untrue, plays a kind of effect of delayed alarm.The maximum deflection difference value ROC that double sampling allows can determine according to maximum rate of change and the PLC systematic sampling cycle of institute's detected value.
Default good value is the value that belongs within the scope that higher limit and lower limit stipulate.The good value that detected last time is not only the value within the scope that belongs to higher limit and lower limit regulation, but also will satisfy the condition of freezing to report to the police, do not belong to the maximum value minimal value and being judged as effective value by margining amplitude technique that do not produce.
Fig. 2 is the processing flow chart that the present embodiment adopts.V represents this detected value, V among the figure N-1Expression detected value last time, LGV represents the good value that detected last time, DV represents predefined good value.
Principle of work of the present invention is: adopt and go extremum method that data and the pre-set bound value range of PLC continuous acquisition are compared, when this measured value is higher than higher limit, replace this sub-value with higher limit; When being lower than lower limit, replace this sub-value with lower limit.And, also by margining amplitude technique data are processed: with this detected value and last time detected value compare, if two sub-values more all equate continuously or their difference exceeds allowed band, think that then this detected value has been subject to interference, should remove.△ V=∣ V-Vn-1 ∣ compares △ V and ROC to Y time, continuously if be △ V>ROC, think that then this detected value is bad value, replace this detected value output with the good value of surveying last time, or replace with default good value, send simultaneously detected value saltus step alerting signal; If △ is V≤ROC, this detected value has been value; If △ is V=0, and the value of continuous detecting is all unchanged, namely X time this sub-value and upper sub-value is compared continuously, and it is equal that the result is two values, thinks that also the value of current survey is the evil idea value, sends detected value and freeze alerting signal.ROC is the maximum allowable offset value of adjacent two sampled values, and its numerical value can be determined according to maximum rate of change and the PLC systematic sampling cycle of X value.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to example the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (8)

1. a Standardized general-type analog quantity optimization control method is characterized in that, by the PLC control system detection data that collect is optimized processing according to following step:
Step 1: in the PLC control system, be preset with the higher limit that detects data, lower limit, the maximum allowable offset value of adjacent two sampled values, good value;
Step 2: with this detected value and last time detected value compare, when the comparison of adjacent twice detected value through continuous several times, each result is that two values are when equal, judge that this detected value is bad value, send detected value and freeze alerting signal, abandon this detected value, and the good value that will detect last time or default alternative this detected value of good value;
Step 3: adopt and to go extremum method to the data-optimized processing of the detection that collects: the higher limit, the lower limit that set in the detection data that PLC is collected and the step 1 compare,
When this detected value that collects during greater than higher limit, produce super higher limit alerting signal, abandon this detected value, and higher limit is substituted this detected value;
When this detected value that collects during less than lower limit, produce super lower limit alerting signal, abandon this detected value, and lower limit is substituted this detected value;
Step 4: adopt margining amplitude technique to detected data-optimized processing:
Absolute value when the difference of adjacent twice detected value that collects, maximum allowable offset value with adjacent two sampled values of presetting in the step 1, comparison through continuous several times, when the absolute value that each result relatively is the difference of adjacent twice detected value exceeds the maximum allowable offset value of adjacent two sampled values default in the step 1, judge that these data that detect have been subject to interference, should give and remove, the value of sending saltus step alerting signal, abandon this detected value, and with last time detected good value or default good value substitute this detected value;
Step 5: other situations are good value depending on this detected value.
2. Standardized general-type analog quantity optimization control method as claimed in claim 1 is characterized in that, the maximum allowable offset value of described adjacent two sampled values was determined according to maximum rate of change and the PLC control system sampling period of institute's detected value.
3. Standardized general-type analog quantity optimization control method as claimed in claim 1 or 2 is characterized in that, in the described step 2, the number of times that compares continuously is 3 ~ 5 times.
4. Standardized general-type analog quantity optimization control method as claimed in claim 1 or 2 is characterized in that, in the described step 4, the number of times that compares continuously is 3 ~ 5 times.
5. Standardized general-type analog quantity optimization control method as claimed in claim 3 is characterized in that, in the described step 4, the number of times that compares continuously is 3 ~ 5 times.
6. Standardized general-type analog quantity optimization control method as claimed in claim 3 is characterized in that, in the described step 2, the number of times that compares continuously is 3 times.
7. Standardized general-type analog quantity optimization control method as claimed in claim 4 is characterized in that, in the described step 4, the number of times that compares continuously is 3 times.
8. Standardized general-type analog quantity optimization control method as claimed in claim 5 is characterized in that, in the described step 4, the number of times that compares continuously is 3 times.
CN2011101468284A 2011-06-02 2011-06-02 Standardized general-type analog quantity optimization control method Expired - Fee Related CN102298367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101468284A CN102298367B (en) 2011-06-02 2011-06-02 Standardized general-type analog quantity optimization control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101468284A CN102298367B (en) 2011-06-02 2011-06-02 Standardized general-type analog quantity optimization control method

Publications (2)

Publication Number Publication Date
CN102298367A CN102298367A (en) 2011-12-28
CN102298367B true CN102298367B (en) 2013-01-30

Family

ID=45358838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101468284A Expired - Fee Related CN102298367B (en) 2011-06-02 2011-06-02 Standardized general-type analog quantity optimization control method

Country Status (1)

Country Link
CN (1) CN102298367B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870414B (en) * 2012-12-13 2018-01-16 北京普源精电科技有限公司 The data acquisition device and method of asynchronous communication are carried out based on PLD
CN106168771A (en) * 2016-07-08 2016-11-30 江苏永钢集团有限公司 Analog signals identifing source system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3812746B2 (en) * 2004-03-15 2006-08-23 オムロン株式会社 Analog input slave and monitoring system
CN100359420C (en) * 2004-05-13 2008-01-02 安徽鑫龙电器股份有限公司 Analoyue input circuit for programmeable controller
CN101436049A (en) * 2008-12-09 2009-05-20 广东美的电器股份有限公司 Multiple-pass analog quantity acquiring device

Also Published As

Publication number Publication date
CN102298367A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
JP5548682B2 (en) System and method for predicting maintenance of intelligent electronic devices
JP5684231B2 (en) Method to detect and analyze line noise and reduce measurement error
CN203249846U (en) PM2.5 monitor with environmental factor correction function
CN109284933B (en) Electronic transformer state evaluation system and method based on mathematical statistics
CN109741927B (en) Intelligent prediction system for equipment faults and potential defective products of miniature transformer production line
CN116320832A (en) Monitoring equipment fault monitoring method and device
CN110530566B (en) System and detection method for monitoring pressure of opening and closing spring of circuit breaker
CN114819415A (en) Power equipment fault prediction system based on data analysis
CN113029305B (en) Hydropower station water level measurement self-adaptive fault diagnosis and correction system and method
CN102298367B (en) Standardized general-type analog quantity optimization control method
CN102507816B (en) Method for detecting effectiveness of oil chromatogram online monitoring data
CN109243652B (en) System and method for judging validity of compressed air flow data of nuclear power station system
CN201866789U (en) Intelligent flame monitoring device for boiler
CN105911118A (en) Intelligent detection system and method for smoke components
CN104460786A (en) Switch cabinet condensate monitoring and processing method
CN110836835A (en) Intelligent SF6 density on-line monitoring data analysis and information feedback system
CN101938116B (en) Relay protection method and device
CN103256825A (en) Method for monitoring cement production soot emission and waste heat power generation system soot emission
CN102261670A (en) Intelligent flame monitor for boiler
CN110657864A (en) Sensor response time measuring method
CN114166501B (en) Partial stroke testing device and method for intelligent valve positioner
CN112504389B (en) Electric contact water level gauge measuring system and measuring method and diagnosis method thereof
CN204101934U (en) A kind of absorption type temperature of oil in transformer monitoring alarm device
CN207650676U (en) Air quality monitoring website intelligent monitoring and diagnostic device
CN104794148A (en) Automatic cola type test data compliance monitored control system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170707

Address after: 430080 Qingshan District stock company of Hubei, Wuhan Province

Patentee after: Wuhan iron and Steel Company Limited

Address before: 430080 Friendship Avenue, Hubei, Wuhan, No. 999

Patentee before: Wuhan Iron & Steel (Group) Corp.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130130

Termination date: 20180602

CF01 Termination of patent right due to non-payment of annual fee