Disclosure of Invention
The invention aims to overcome the defect that the failure cause of a clamping piece is only related to the performance of the clamping piece, which is determined in the prior art, and provides a clamping piece online failure diagnosis method, device, equipment and medium of a meter control system.
The invention solves the technical problems by the following technical scheme:
In a first aspect, a method for diagnosing a card on-line fault of a control system is provided, where the method includes:
Acquiring real-time environment parameters of the instrument control system and performance parameters of the clamping piece corresponding to the real-time environment parameters;
Inputting the real-time environment parameters and the performance parameters into a clamping piece evaluation model to obtain an evaluation result of the clamping piece; the card evaluation model is obtained through training of historical environment data and historical performance data;
And carrying out fault diagnosis on the clamping piece based on the evaluation result.
Optionally, the acquiring the real-time environmental parameter of the instrument control system and the performance parameter of the clamping piece corresponding to the real-time environmental parameter includes:
Transmitting the real-time environment parameters and the performance parameters based on a preset data packing rule; and the data packing rule is formulated according to the parameter type of the real-time environment parameter.
Optionally, the acquiring the real-time environmental parameter of the instrument control system and the performance parameter of the clamping piece corresponding to the real-time environmental parameter includes:
Carrying out quantization calculation on the state data of the clamping piece through a quantization algorithm, and taking the obtained calculation result as the performance parameter; the state data comprise at least one of power supply voltage, power supply current, memory usage, network load rate, CPU temperature, CPU load rate and card readable data.
Optionally, after the step of inputting the real-time environmental parameter and the performance parameter into a card evaluation model to obtain the evaluation result of the card, the method includes:
updating the historical environment data and/or the historical performance data based on the real-time environment parameters and/or the performance parameters when the change rate of the real-time environment parameters and/or the performance parameters is greater than or equal to the corresponding change rate threshold; the change rate threshold is set according to the real-time environment parameter and/or the parameter type of the performance parameter.
Optionally, the performing fault diagnosis on the card based on the evaluation result includes:
s1: calculating the clamping piece performance of the clamping piece according to the evaluation result; if the performance of the clamping piece is normal, S2 is carried out; if the performance of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S2: calculating the service life of the clamping piece; if the service life of the clamping piece is normal, S3 is carried out; if the service life of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S3: calculating subsystem life of a subsystem of the instrument control system; if the service life of the subsystem is normal, S4 is carried out; if the service life of the subsystem is abnormal, carrying out fault diagnosis and fault verification on the subsystem; the subsystem comprises a plurality of clamping pieces and is used for representing the degree of dependence of the instrument control system on the clamping pieces;
s4: calculating the system life of the instrument control system; if the service life of the system is normal, the instrument control system operates normally; and if the service life of the system is abnormal, performing fault diagnosis and fault verification on the instrument control system.
Optionally, the performing fault diagnosis on the card based on the evaluation result includes:
When the evaluation result is an abnormal condition, screening a matched abnormal set from the historical environment data and/or the historical performance data according to the abnormal condition;
extracting fault characteristics of the abnormal set;
comparing the fault characteristics with a standard fault library to obtain suspected faults;
And respectively verifying the real-time environment parameters and the performance parameters of the suspected faults to obtain the fault reasons of the clamping pieces.
Optionally, the method for diagnosing the fault of the clamping piece on line further comprises the following steps:
And updating the historical environment data and/or the historical performance data by the evaluation result and the fault diagnosis result so as to train the card evaluation model.
In a second aspect, there is provided a card failure diagnosis apparatus of an instrument control system, the card failure diagnosis apparatus including:
The acquisition module is used for acquiring real-time environment parameters of the instrument control system and performance parameters of the clamping piece corresponding to the real-time environment parameters;
The evaluation module is used for inputting the real-time environment parameters and the performance parameters into a card evaluation model to obtain an evaluation result of the card; the card evaluation model is obtained through training of historical environment data and historical performance data;
And the diagnosis module is used for carrying out fault diagnosis on the clamping piece based on the evaluation result.
Optionally, the acquiring module includes:
The packaging module is used for sending the real-time environment parameters and the performance parameters based on a preset data packaging rule; and the data packing rule is formulated according to the parameter type of the real-time environment parameter.
Optionally, the acquiring module further includes:
The quantization module is used for carrying out quantization calculation on the state data of the clamping piece through a quantization algorithm, and obtaining a calculation result as the performance parameter; the state data comprise at least one of power supply voltage, power supply current, memory usage, network load rate, CPU temperature, CPU load rate and card readable data.
Optionally, the card fault diagnosis device further includes:
The updating module is used for updating the historical environment data and/or the historical performance data based on the real-time environment parameters and/or the performance parameters when the change rate of the real-time environment parameters and/or the performance parameters is greater than or equal to the corresponding change rate threshold; the change rate threshold is set according to the real-time environment parameter and/or the parameter type of the performance parameter.
Optionally, the diagnostic module is further configured to perform:
s1: calculating the clamping piece performance of the clamping piece according to the evaluation result; if the performance of the clamping piece is normal, S2 is carried out; if the performance of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S2: calculating the service life of the clamping piece; if the service life of the clamping piece is normal, S3 is carried out; if the service life of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S3: calculating subsystem life of a subsystem of the instrument control system; if the service life of the subsystem is normal, S4 is carried out; if the service life of the subsystem is abnormal, carrying out fault diagnosis and fault verification on the subsystem; the subsystem comprises a plurality of clamping pieces and is used for representing the degree of dependence of the instrument control system on the clamping pieces;
S4: calculating the system life of the instrument control system; if the service life of the system is normal, the instrument control system operates normally; and if the service life of the system is abnormal, performing fault diagnosis and fault verification on the system.
Optionally, the diagnostic module includes:
The screening module is used for screening a matched abnormal set from the historical environment data and/or the historical performance data according to the abnormal condition when the evaluation result is the abnormal condition;
the extraction module is used for extracting fault characteristics of the abnormal set;
the comparison module is used for comparing the fault characteristics with a standard fault library to obtain suspected faults;
And the verification module is used for respectively verifying the real-time environment parameters and the performance parameters of the suspected faults to obtain the fault reasons of the clamping pieces.
Optionally, the card fault diagnosis device further includes:
And the training module is used for updating the historical environment data and/or the historical performance data with the evaluation result and the fault diagnosis result so as to train the card evaluation model.
In a third aspect, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for diagnosing a card on-line fault of the instrument control system according to any one of the above when executing the computer program.
In a fourth aspect, a computer readable storage medium is provided, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for diagnosing a card on-line fault of the instrument control system according to any one of the above.
The invention has the positive progress effects that: the clamping piece is evaluated according to two dimensions of the real-time environment parameter and the performance parameter of the clamping piece, and then the fault diagnosis is carried out on the clamping piece according to the evaluation result, so that the fault reason of the clamping piece can be more comprehensively diagnosed. Furthermore, when a problem occurs in a particular environment in the clip, the root cause of the problem can be more easily located. This helps to improve the efficiency of fastener troubleshooting.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Example 1
In order to more comprehensively analyze the failure cause of the clamping piece of the instrument control system, the embodiment provides an on-line fault diagnosis method for the clamping piece of the instrument control system, and fig. 1 is a flowchart of an on-line fault diagnosis method for the clamping piece of the instrument control system according to an exemplary embodiment 1 of the present invention, where the on-line fault diagnosis method for the clamping piece includes:
and 101, acquiring real-time environment parameters of the instrument control system and performance parameters of the clamping piece corresponding to the real-time environment parameters.
Selecting a plurality of temperature sensors and humidity sensors which are arranged outside the cabinet body of the instrument control system to measure the environment in which the instrument control system is positioned;
A plurality of temperature sensors, humidity sensors, dust sensors, vibration sensors and noise sensors are selected and installed inside the cabinet body of the instrument control system so as to measure the environment where the clamping piece is located. Further, the sensor can convert the measured analog quantity into a digital quantity when the measurement is completed.
102, Inputting real-time environment parameters and performance parameters into a card evaluation model to obtain an evaluation result of a card; the card evaluation model is obtained through training of historical environment data and historical performance data.
By inputting real-time environment parameters and performance parameters, the card evaluation model can evaluate the card more accurately.
And 103, performing fault diagnosis on the clamping piece based on the evaluation result.
In this embodiment, the card is evaluated according to two dimensions of the real-time environmental parameter and the performance parameter of the card, and then the fault diagnosis is performed on the card according to the evaluation result, so that the fault cause of the card can be more comprehensively diagnosed. Furthermore, when a problem occurs in a particular environment in the clip, the root cause of the problem can be more easily located. This helps to improve the efficiency of fastener troubleshooting.
In one embodiment, acquiring the real-time environmental parameter of the instrument control system and the performance parameter of the clamping piece corresponding to the real-time environmental parameter includes: transmitting real-time environment parameters and performance parameters based on preset data packing rules; the data packing rule is formulated according to the parameter type of the real-time environment parameter.
For example: and receiving the data acquired by the sensor by using an edge computing box, and packaging the data acquired by the sensor according to the parameter type of the real-time environment parameter. Preferably: the packaging mode for the temperature sensor, the humidity sensor, the noise sensor and the dust sensor is as follows: data acquisition time, sensor number and data acquired by the sensor. Aiming at the vibration sensor, data acquisition is carried out according to a preset sampling frequency, and the data packaging mode is as follows: data acquisition start time, sensor number and data acquired by the sensor. The data acquired by each sensor are packed into a data packet, and all the data packets are sent to the calculation server at preset frequency each time; the preset frequency and the preset sampling frequency can be set according to actual conditions.
In this embodiment, the real-time environmental parameters and the performance parameters are sent based on the preset data packaging rule, which is helpful to make the data more orderly in the transmission process, and further makes the card evaluation model more clearly evaluate the card according to the real-time environmental parameters and the performance parameters.
In one embodiment, acquiring the real-time environmental parameter of the instrument control system and the performance parameter of the clamping piece corresponding to the real-time environmental parameter includes: carrying out quantization calculation on the state data of the clamping piece through a quantization algorithm, and taking the obtained calculation result as a performance parameter; the state data comprises at least one of power supply voltage, power supply current, memory usage rate, network load rate, CPU temperature, CPU load rate and card readable data. The CPU is a central processing unit and is a core processing unit of the instrument control cabinet body.
In this embodiment, the performance parameters of the part of the instrument control system without embedded cards or the performance parameters of the embedded cards are less than the required performance parameters of the cards, and then quantitative calculation is required according to the state data of the cards, and the obtained calculation result is used as the performance parameters, so that the collected performance parameters of the cards are more comprehensive, and the evaluation of the cards is more accurate. Preferably, if the performance parameters of the embedded card in the partial instrument control system can be directly read through the data reading interface.
In one embodiment, after the step of inputting the real-time environmental parameter and the performance parameter into the card evaluation model to obtain the evaluation result of the card, the method includes: when the change rate of the real-time environment parameter and/or the performance parameter is greater than or equal to the corresponding change rate threshold value, updating historical environment data and/or historical performance data based on the real-time environment parameter and/or the performance parameter; the rate of change threshold is set according to the type of parameter of the real-time environmental parameter and/or the performance parameter.
For example: after the real-time environment parameters and the performance parameters are input into the card evaluation model to obtain an evaluation result, historical environment data and/or historical performance data are written according to the received frequencies of the real-time environment parameters and the performance parameters.
Respectively establishing databases aiming at temperature, humidity, dust, vibration and noise data, and writing each database into historical environment data; each database takes the number of the sensor as a table name, and information in the table contains data acquisition time and data acquired by the sensor.
Temperature, humidity, dust data storage process: reading data acquired by a sensor, comparing the data acquired by the sensor with the latest record in a database matched with the data acquired by the sensor, and inserting a record in the database when the data change rate is more than 0.1%; or storing the evaluation result of the card evaluation model in the storage density.
Vibration data storage process: reading data acquired by a sensor, performing Fourier transform on waveform data of the data, taking frequency multiplication, and inserting a record into the database when the frequency multiplication characteristics change, or the amplitude change under certain frequency multiplication is more than 1%, or the amplitude under certain frequency multiplication exceeds a preset value, and the phase change is more than 5 degrees; the preset value is set automatically according to actual conditions. Or storing the evaluation result of the card evaluation model in the storage density.
Noise data storage process: reading data acquired by a sensor, performing energy spectrum calculation on waveform data, and inserting a record into the database when the energy spectrum change rate is more than 1%; or storing the evaluation result of the card evaluation model in the storage density.
When the performance parameters of the card are stored, a database is independently built, the database is written into historical performance data, the performance parameters of the card are changed into table names, the table contains the performance parameter reading time and the performance parameter data, and when the performance parameter change in the table is more than 1%, a record is inserted into the database; or storing the evaluation result of the card evaluation model in the storage density.
When the effectiveness of the card evaluation model in evaluating the card is lower than a first preset threshold, the historical performance data of the subsystem where the card is positioned is inserted into the performance parameters at the database refresh frequency of the performance parameters. The first preset threshold can be set according to actual conditions, and the subsystem is a subsystem of the instrument control system and comprises a plurality of clamping pieces used for representing the degree of dependence of the instrument control system on the clamping pieces.
When the effectiveness of the card evaluation model in evaluating the subsystem or the instrument control system where the card is located is lower than a second preset threshold value, the historical performance data of the instrument control system where the card is located is inserted into the performance parameters at the database refreshing frequency of the performance parameters.
In the present embodiment, the historical environmental data and the historical performance data can be updated by the change rate threshold value in a targeted manner. The correction and convergence of the card evaluation model according to the historical environment data and the historical performance data are facilitated, so that the accuracy of the card evaluation model on card evaluation is improved.
In one embodiment, performing fault diagnosis on the card based on the evaluation result includes:
S1: calculating the clamping piece performance of the clamping piece according to the evaluation result; s2, if the performance of the clamping piece is normal, performing the step S; if the performance of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
s2: calculating the service life of the clamping piece; if the service life of the clamping piece is normal, S3 is carried out; if the service life of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S3: calculating subsystem life of a subsystem of the instrument control system; if the service life of the subsystem is normal, S4 is carried out; if the service life of the subsystem is abnormal, carrying out fault diagnosis and fault verification on the subsystem; the subsystem comprises a plurality of clamping pieces and is used for representing the degree of dependence of the instrument control system on the clamping pieces;
s4: calculating the system life of the instrument control system; if the service life of the system is normal, the instrument control system operates normally; if the service life of the system is abnormal, fault diagnosis and fault verification are carried out on the instrument control system.
In this embodiment, in the above steps S1 to S4, from calculating the performance of the card to calculating the life of the subsystem where the card is located until calculating the life of the instrument control system where the card is located, the calculation from point to face can more comprehensively determine whether the instrument control system is operating normally. In addition, fault diagnosis and fault verification are carried out from point to face, so that the evaluation result is more accurate, and the abnormal reasons can be analyzed more rapidly when the clamping piece state or the subsystem or the instrument control system where the clamping piece is located is abnormal.
In one embodiment, performing fault diagnosis on the card based on the evaluation result includes:
When the evaluation result is an abnormal condition, screening a matched abnormal set from historical environment data and/or historical performance data according to the abnormal condition; extracting fault characteristics of the abnormal set; comparing the fault characteristics with a standard fault library to obtain suspected faults; and respectively verifying the real-time environment parameters and the performance parameters of the suspected faults to obtain the fault reasons of the clamping pieces.
In this embodiment, by screening the matched abnormal set and extracting the fault feature, not only can fault diagnosis be performed more quickly. And the suspected faults can be identified more accurately, so that the possibility of misdiagnosis is effectively reduced, and the accuracy of fault diagnosis is ensured.
In one embodiment, the on-line fault diagnosis method for the clamping piece further comprises: and updating the historical environment data and/or the historical performance data by the evaluation result and the fault diagnosis result so as to train the card evaluation model.
In this embodiment, the card evaluation model may be continuously improved by updating the historical environmental data and/or the historical performance data by the latest evaluation result and the fault diagnosis result. This helps the fastener evaluation model to better accommodate the changes in the fastener to improve its accuracy in the fastener evaluation.
In one embodiment, the system further comprises a client in the same local area network as the system, and the method for diagnosing the card on-line fault is further used for reading at least one of real-time status display, map and curve, fault early warning and diagnosis, health assessment and service status of the client in the local area network.
In one embodiment, the instrument control system further comprises an application server of the same local area network and/or the same wide area network as the instrument control system, the card on-line fault diagnosis method adopts an open source fort machine to combine with an interface program to complete real-time authentication and the like of the application server between the application servers in the local area network and the wide area network, data are read from the local area network to the application server in the local area network, and after the data are received, the data are pushed to the application server in the wide area network; the application server in the wide area network can complete the development and deployment of the access service of the application server in the wide area network by means of public cloud and the service thereof so as to support the subscription and query service of the application server in the wide area network to the information in the instrument control system. The application server comprises at least one of a notebook computer, a tablet computer and a mobile phone; the service includes at least one of a client service, a data interface service, a real-time authentication service, a data management service, and a service fault diagnosis service. The client service is used for displaying inquiry and other services for an application server in the local area network; the data interface service is used for providing data reading service for an application server in the local area network; the real-time authentication service is used for carrying out interactive real-time authentication for an application server in the wide area network, and the real-time authentication comprises, but is not limited to, providing a data reading interface for the real-time authentication in the local area network by adopting an open source fort system and combining part of interface programs so as to ensure the information safety in the local area network; the data management service is used for carrying out model-related parameter automatic parameter adjustment, database management and the like for application servers in the local area network and the wide area network; service fault diagnosis services are used for fault diagnosis and services related to application servers in local area networks and wide area networks.
In one embodiment, fig. 2 is a system design diagram of an online fault diagnosis method for a card of a control system according to an exemplary embodiment 1 of the present invention, and in combination with fig. 2, the online fault diagnosis method for a card of a control system is further described:
s1: and acquiring real-time environmental parameters such as temperature, humidity, dust, vibration, noise and the like through each sensor.
S2: the acquired real-time environment parameters are processed through an edge computing box and sent to a computing server/application server, and the processing mode comprises at least one of signal conversion and processing, acquisition scheme integration and packaging into a specific transmission protocol.
In the embodiment, the signal conversion and processing characterization edge computing box converts the acquired real-time environment parameters from analog to digital; the acquisition scheme integrated characterization is used for carrying out batch integrated processing on the acquired real-time environment parameters; packaging into specific transmission protocol characterization different transmission protocols are formulated according to the parameter types of the real-time environment parameters.
S3: the readable data related to the card of the control system, namely the performance parameters, are read by using a data reading interface and/or a quantization algorithm and sent to a calculation server/application server.
In this embodiment, the readable data related to the card of the reader control system includes at least one of power supply voltage, power supply current, memory usage, network load rate, CPU temperature, CPU load rate, and readable data of the card.
S4: the method comprises the steps that a computing server/application server evaluates the state of a card according to real-time environment parameters and performance parameters, stores the real-time environment parameters, the performance parameters and evaluation results into historical environment data/historical performance data, and trains a card evaluation model according to the historical environment data/historical performance data; in addition, fault diagnosis and health assessment can be carried out on the clamping piece according to the assessment result; application services, instrument control system operation and maintenance and real-time authentication for servers in the local area network can be performed through the computing server/application server.
S4: for clients within the local area network, the data in the local area network may be read to include at least one of real-time status display, maps and curves, fault early warning and diagnosis, health assessment, and service status.
S5: for the clients of the wide area network, the clients of the wide area network can be authenticated and information can be distributed in real time through the set application server, so that the clients of the wide area network can subscribe and inquire the information.
In one embodiment, the card online fault diagnosis method is deployed on a computing/application server, and fig. 3 is a workflow diagram of a computing/application server according to an exemplary embodiment 1 of the present invention; the workflow of the compute/apply server is further described in conjunction with fig. 3.
S1: receiving real-time environment parameters transmitted by an edge computing box and performance parameters obtained by an evaluation algorithm;
S2: storing the received real-time environmental parameters and real-time performance parameters into historical environmental data and historical performance data respectively;
s3: inputting the real-time environmental parameters and the performance parameters into a clamping piece evaluation model to obtain an evaluation result of the clamping piece; and storing the evaluation result of the card into the historical environment data and the historical performance data. And continuing training the card evaluation model according to the historical environment data and the historical performance data so as to adapt the card evaluation model to the current state of the instrument control system.
In this embodiment, the evaluation result includes an evaluation result of a card health state and/or an evaluation result of a system health state; the card evaluation model is established by combining expert knowledge with a machine learning algorithm; the machine learning algorithm comprises at least one of a convolutional neural network, a support vector machine, and a random forest. The clamping part evaluation model comprises at least one of a clamping part performance sub-model, a clamping part service life sub-model and a clamping part temperature sub-model; through a machine learning algorithm, each sub-model is trained pertinently according to historical environment data and historical performance data. For example, training a card performance sub-model with historical environmental data; training a clamping piece service life sub-model and/or a clamping piece temperature sub-model through historical performance data; constructing a data set for verifying the card evaluation model based on expert knowledge, and verifying the validity of the card evaluation model before evaluation; and when the effectiveness of the card evaluation model is lower than a preset threshold, retraining the card evaluation model to adapt to the current state of the system.
S4: performing fault diagnosis on the clamping piece according to the evaluation result;
In this embodiment, the fault diagnosis includes a fault diagnosis algorithm for performing fault diagnosis on the card and a fault verification algorithm for verifying the fault diagnosis.
S5: and performing application service and system operation and maintenance according to the historical environment data and the historical performance data.
In one embodiment, the dependency relationship between the control system, the control system subsystem, and the card is further described in connection with FIG. 4;
Dividing the clamping piece of the instrument control system into subsystems, wherein each subsystem description comprises a plurality of clamping piece numbers and the degree of dependence between the system and the subsystem; taking a power plant as an example, a controller system of the power plant segments the clamping piece model in the following three modes, and the interconnection between the power plant system and a power plant subsystem is established.
1) Dividing the installation position of the control cabinet, the cabinet body and the clamping piece in the cabinet body step by step;
2) Dividing a boiler module, a steam turbine module and a public module in a process system;
3) The function analog quantity input, the digital quantity input, the analog quantity output and the digital quantity output of the clamping piece are used for dividing.
The description of the dependence degree of the instrument control system of the power plant and the instrument control subsystem of the power plant is 0-100 level, namely, under the abnormality of the instrument control subsystem of the power plant, the instrument control system of the power plant can continuously work for 0 is infinity, namely, the abnormality of the instrument control subsystem of the power plant does not cause any influence on the instrument control system of the power plant, 100 is a plurality of hours, the abnormality of the instrument control subsystem of the power plant can cause the instrument control system of the power plant to stop within a plurality of hours, and the different subsystems are different in a plurality of hours.
The dependency relationship of the instrument control subsystem of the power plant in the instrument control system of the power plant can be divided into independent subsystems, the instrument control subsystem of the power plant is unidirectionally related to the instrument control subsystem of the power plant, and the instrument control system of the power plant is bidirectionally related to the instrument control subsystem of the power plant. The dependency relationship of the instrument control subsystem of the power plant in the instrument control system of the power plant is described by using the association coefficient and the association direction.
In one embodiment, the evaluation process of the control system is further described in connection with FIG. 5;
S1: analyzing the state of the clamping piece according to the evaluation result; if the clamping piece is in a normal state, S2 is carried out; if the clamping piece is abnormal in state, carrying out fault diagnosis and fault verification on the clamping piece;
S2: calculating the clamping piece performance of the clamping piece; if the performance of the clamping piece is normal, S3 is carried out; if the performance of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S3: calculating the service life of the clamping piece; if the service life of the clamping piece is normal, S4 is carried out; if the service life of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S4: calculating subsystem life of a subsystem of the instrument control system; if the service life of the subsystem is normal, S5 is carried out; if the service life of the subsystem is abnormal, carrying out fault diagnosis and fault verification on the subsystem;
S5: calculating the system life of the instrument control system; if the service life of the system is normal, the instrument control system operates normally; and if the service life of the system is abnormal, performing fault diagnosis and fault verification on the system.
S6: and (3) comprehensively evaluating the instrument control system according to all the normal and results in the steps S1 to S5.
In one embodiment, the process of fault diagnosis is further described in conjunction with the description of FIG. 6;
When the evaluation process is abnormal, an abnormal set is obtained from a historical database according to the abnormal condition, fault feature extraction is carried out on the corresponding abnormal set, the suspected faults are obtained after the fault feature extraction is compared with a standard library, the suspected faults are respectively verified according to external factor characteristics or internal factor characteristics of the suspected faults, and then the possible or potential fault conditions of the instrument control system are finally obtained through verification of a fault time tracing model. And adds the fault condition to the standard library.
Example 2
Corresponding to the foregoing embodiment of the method for diagnosing a card on-line fault of a control system, this embodiment further provides an embodiment of a device for diagnosing a card fault of a control system, and fig. 7 is a schematic block diagram of the device for diagnosing a card fault of a control system, where the device for diagnosing a card fault includes:
An obtaining module 71, configured to obtain a real-time environmental parameter of the instrument control system and a performance parameter of the card corresponding to the real-time environmental parameter;
the evaluation module 72 is configured to input the real-time environmental parameter and the performance parameter into the card evaluation model to obtain an evaluation result of the card; the card evaluation model is obtained through training of historical environment data and historical performance data;
and the diagnosis module is used for carrying out fault diagnosis on the clamping piece based on the evaluation result.
Optionally, the acquisition module 71 includes:
The packaging module is used for sending real-time environment parameters and performance parameters based on preset data packaging rules; the data packing rule is formulated according to the parameter type of the real-time environment parameter.
Optionally, the acquisition module 71 further includes:
The quantization module is used for carrying out quantization calculation on the state data of the clamping piece through a quantization algorithm, and obtaining a calculation result as a performance parameter; the state data comprises at least one of power supply voltage, power supply current, memory usage, network load rate, CPU temperature, CPU load rate and card readable data.
Optionally, the card fault diagnosis device further includes:
The updating module is used for updating the historical environment data and/or the historical performance data based on the real-time environment parameters and/or the performance parameters when the change rate of the real-time environment parameters and/or the performance parameters is greater than or equal to the corresponding change rate threshold; the rate of change threshold is set according to the type of parameter of the real-time environmental parameter and/or the performance parameter.
Optionally, the diagnostic module 73 is further configured to perform:
S1: calculating the clamping piece performance of the clamping piece according to the evaluation result; s2, if the performance of the clamping piece is normal, performing the step S; if the performance of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
s2: calculating the service life of the clamping piece; if the service life of the clamping piece is normal, S3 is carried out; if the service life of the clamping piece is abnormal, carrying out fault diagnosis and fault verification on the clamping piece;
S3: calculating subsystem life of a subsystem of the instrument control system; if the service life of the subsystem is normal, S4 is carried out; if the service life of the subsystem is abnormal, carrying out fault diagnosis and fault verification on the subsystem; the subsystem comprises a plurality of clamping pieces and is used for representing the degree of dependence of the instrument control system on the clamping pieces;
S4: calculating the system life of the instrument control system; if the service life of the system is normal, the instrument control system operates normally; if the service life of the system is abnormal, carrying out fault diagnosis and fault verification on the system.
Optionally, the diagnostic module 73 includes:
the screening module is used for screening a matched abnormal set from the historical environment data and/or the historical performance data according to the abnormal situation when the evaluation result is the abnormal situation;
the extraction module is used for extracting fault characteristics of the abnormal set;
the comparison module is used for comparing the fault characteristics with a standard fault library to obtain suspected faults;
and the verification module is used for respectively verifying the real-time environment parameters and the performance parameters of the suspected faults to obtain the fault reasons of the clamping pieces.
Optionally, the card fault diagnosis device further includes:
and the training module is used for updating the historical environment data and/or the historical performance data with the evaluation result and the fault diagnosis result so as to train the card evaluation model.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Example 3
Fig. 8 is a schematic diagram of an electronic device, showing an exemplary electronic device 80 suitable for use in implementing embodiments of the present invention. The electronic device 80 shown in fig. 8 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 8, the electronic device 80 may be in the form of a general purpose computing device, which may be a server device, for example. Components of the electronic device 80 may include, but are not limited to: the at least one processor 81, the at least one memory 82, a bus 83 connecting the various system components, including the memory 82 and the processor 81.
The bus 83 includes a data bus, an address bus, and a control bus.
The memory 82 may include volatile memory such as Random Access Memory (RAM) 821 and/or cache memory 822, and may further include Read Only Memory (ROM) 823.
The memory 82 may also include a program tool 828 (or utility) having a set (at least one) of program modules 828, such program modules 825 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 81 executes various functional applications and data processing, such as the methods provided in any of the embodiments described above, by running a computer program stored in the memory 82.
The electronic device 80 may also communicate with one or more external devices 85 (e.g., keyboard, pointing device, etc.). Such communication may occur through an input/output (I/O) interface 85. Also, model-generated electronic device 80 may also communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet, through network adapter 86. As shown, the network adapter 86 communicates with other modules of the model-generated electronic device 80 via the bus 83. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with model-generating electronic device 80, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
Example 4
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the method provided by any of the above embodiments.
More specifically, among others, readable storage media may be employed including, but not limited to: portable disk, hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the embodiment of the invention may also be implemented in the form of a program product, which comprises a program code for causing a terminal device to carry out the method of implementing any of the embodiments described above, when the program product is run on the terminal device.
Wherein the program code for carrying out the invention may be written in any combination of one or more programming languages, the program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device, partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.