A detection device abnormality prediction method, electronic device and storage medium

By introducing paper feeding and negative pressure mechanisms into the aerosol detection equipment, combined with pressure sensors and counting encoders, feature vectors are extracted and compared to predict the abnormal status of the equipment, which solves the problems of low detection efficiency and difficult to predict equipment status in the existing technology. problem, achieving real-time detection and efficient prediction.

CN118296537BActive Publication Date: 2024-10-18CHENGDU TECH UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410505219.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-10-18
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

Existing aerosol detection equipment cannot perform real-time detection, and due to the need to ensure the accuracy of detection results, the detection paper tape must be required to move at a constant speed, resulting in low detection efficiency and difficulty in predicting abnormal conditions of the equipment.

Method used

By introducing the paper feeding mechanism, negative pressure mechanism and detection mechanism into the detection equipment, combined with the pressure sensor and counting encoder, feature vectors are extracted for comparison, and the abnormal status of the equipment in the future time period is predicted to improve detection efficiency.

Benefits of technology

It realizes real-time abnormal state prediction of detection equipment, improves detection efficiency, and ensures the accuracy of detection results and the normal operation of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118296537B_ABST
    Figure CN118296537B_ABST
Patent Text Reader

Abstract

The present invention provides a detection device abnormality prediction method, electronic device and storage medium, including: determining a first feature vector according to the verification status of the detection data of the target detection device in the first time period and the operating status of the paper feed mechanism in the first time period; obtaining a number of historical feature vectors corresponding to the target detection device; determining a target historical feature vector from the several historical feature vectors; obtaining the operating result of the paper feed mechanism corresponding to each target historical feature vector; if the ratio of the number of operating results characterized as abnormalities of the paper feed mechanism is greater than a proportion threshold, determining that the target detection device is abnormal in the second time period. The present invention predicts the operating status of the target detection device in the future time period by comparing the operating status of the target detection device in the first time period with the operating status of the historical time period, so as to improve the detection efficiency of the target detection device.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] When performing detection, current aerosol detection equipment usually needs to spray air onto the detection tape first, and then remove the detection tape after spraying to detect the aerosol content. It cannot perform real-time detection and has low detection efficiency. In addition, when the aerosol detection equipment performs jet detection, in order to ensure the accuracy of the test results, the detection tape must move at a uniform speed. Therefore, it is necessary to predict the abnormal state of the aerosol detection equipment in the future period. Summary of the invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] According to one aspect of the present application, a detection device abnormality prediction method is provided, which is applied to a device abnormality prediction system, wherein the device abnormality prediction system is connected to a target detection device; the target detection device includes a paper feeding mechanism, a negative pressure mechanism and a detection mechanism; the paper feeding mechanism is used to control the target paper tape to perform paper feeding after the target detection device sends a paper feeding signal; the negative pressure mechanism is used to spray gas onto the target paper tape on the paper feeding mechanism after the target detection device sends a detection signal; the detection mechanism is used to detect the aerosol content on the target paper tape after spraying;

[0005] The detection equipment abnormality prediction method comprises the following steps:

[0006] Step S100, determining a first feature vector according to the verification status of the detection data of the target detection device in the first time period and the operation status of the paper feeding mechanism in the first time period; the start time of the first time period is the time when the detection signal sent by the target detection device for the last time is received; the end time of the first time period is the current time;

[0007] Step S200, obtaining a number of historical feature vectors corresponding to the target detection device; the historical feature vectors are determined according to the verification status of the detection data of the target detection device in the historical time period and the operation status of the paper feeding mechanism; the length of the historical time period is equal to the length of the first time period;

[0008] Step S300: If the matching degree between the first feature vector and the historical feature vector is greater than a preset matching degree threshold, the historical feature vector is determined as a target historical feature vector;

[0009] Step S400, obtaining the operation result of the paper feeding mechanism corresponding to each target historical feature vector;

[0010] Step S500: If the ratio of the number of operation results characterized by an abnormality of the paper feeding mechanism to the total number of operation results is greater than a preset proportion threshold, it is determined that an abnormality occurs in the target detection device within a second time period; the start time of the second time period is the end time of the first time period.

[0011] In an exemplary embodiment of the present application, the paper feeding mechanism includes a first roller, a second roller, a first roller shaft, a second roller shaft, a tension wheel, and a counting wheel;

[0012] When the target detection device is working, one end of the target paper tape is wound on the first roller, and the other end of the target paper tape passes through the tensioning wheel, the first roller shaft, the second roller shaft, the counting wheel in sequence, and is wound on the second roller;

[0013] The first roller is driven to rotate by the first motor, and the second roller is driven to rotate by the second motor;

[0014] A first pressure sensor is arranged on the first roller, and the first pressure sensor is used to detect the pressure value exerted on the first roller;

[0015] A second pressure sensor is arranged on the second roller shaft, and the second pressure sensor is used to detect the pressure value exerted on the second roller shaft;

[0016] A target pressure sensor is provided on the tension wheel, and the target pressure sensor is used to detect the pressure value on the tension wheel;

[0017] A counting encoder is arranged on the counting wheel, and the counting encoder is used to detect the rotation angle of the counting wheel.

[0018] In an exemplary embodiment of the present application, step S100 includes:

[0019] Step S110, obtaining a verification status identifier c of the detection data of the target detection device within the first time period; if c is 1, it indicates that the detection data status of the target detection device is normal; if c is 0, it indicates that the detection data status of the target detection device is abnormal;

[0020] Step S120: Obtain a number of average pressure values ​​collected by the first pressure sensor in the first time period to obtain a first average pressure value list P = (P1, P2, ..., P i ,...,P n ); wherein i=1, 2, ..., n; n is the number of sub-time periods in the first time period, and the n sub-time periods are connected in sequence, and the length of each sub-time period is equal; P i is the average pressure value collected by the first pressure sensor in the i-th sub-time period of the first time period; the average pressure value is the average value of several corresponding pressure values ​​in the corresponding sub-time period;

[0021] Step S130: Obtain a number of average pressure values ​​collected by the second pressure sensor in the first time period to obtain a second average pressure value list L = (L1, L2, ..., L i ,...,L n), where L i is the average pressure value collected by the second pressure sensor in the i-th sub-time period of the first time period;

[0022] Step S140: Obtain a first eigenvector Z=(c, P1, P2, ..., P i ,...,P n ,L1,L2,...,L i ,...,L n ).

[0023] In an exemplary embodiment of the present application, the verification status flag is determined according to the following steps:

[0024] Step S111: Obtain a number of rotation angles collected by the counting encoder in each sub-time period of the first time period, and obtain a first rotation angle list A=(A1, A2, ..., A i ,...,A n ), where A i is the rotation angle collected by the counting encoder in the i-th sub-time period of the first time period;

[0025] Step S112: Obtain a number of pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period to obtain a first pressure value list set B = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ig ,...,B if ), where B i is a list of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the first time period; g = 1, 2, ..., f; f is the number of collection moments of the sub-time period of the first time period; B ig is the pressure value collected by the target pressure sensor at the g-th collection moment in the i-th sub-time period of the first time period;

[0026] Step S113: According to the first pressure value list set B, determine the pressure fluctuation value corresponding to the target pressure sensor in each sub-time period of the first time period, and obtain the first pressure fluctuation value list C = (C1, C2, ..., C i ,...,C n ), where C i is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the first time period; C i =(∑ fg=1 (Y i -B ig ) 2 ) / f;Y i =(∑ f g=1 B ig ) / f;

[0027] Step S114: Determine the target feature vector H corresponding to the target detection device in the first time period according to the first rotation angle list A and the first pressure fluctuation value list C. i ,...,H n ), where H i =(A i ,C i );H i is the i-th feature information in the target feature vector H;

[0028] Step S115, input the target characteristic vector H into the preset pressure fluctuation verification module to obtain the verification status identifier output by the pressure fluctuation verification module; the pressure fluctuation verification module is determined based on a number of rotation angles collected by the counting encoder in a historical time period and a number of pressure values ​​collected by the target pressure sensor in a historical time period.

[0029] In an exemplary embodiment of the present application, the pressure fluctuation verification module performs sample training through the following steps:

[0030] Step S1151: Obtain a number of rotation angles collected by the counting encoder when the target detection device performs detection in a number of historical time periods, and obtain a second rotation angle list set D = (D1, D2, ..., D e ,...,D r );D e =(D e1 ,D e2 ,...,D ei ,...,D en ), where e = 1, 2, ..., r; r is the number of historical time periods; the end time of each historical time period is earlier than the current time; D e D is the list of rotation angles collected by the counting encoder in the eth historical time period; ei is the rotation angle collected by the counting encoder in the i-th sub-time period of the e-th historical time period; the n sub-time periods of each historical time period are connected in sequence; the length of the sub-time period of each historical time period is equal to the length of the sub-time period of the first time period;

[0031] Step S1152: Obtain a number of pressure fluctuation values ​​corresponding to the target pressure sensor when the target detection device performs detection in each historical time period, and obtain a second pressure fluctuation value list set G = (G1, G2, ..., G e ,...,G r );G e =(G e1 ,G e2 ,...,G ei ,...,G en ), where G e is the pressure fluctuation value list corresponding to the target pressure sensor in the e-th historical time period; G ei G is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the e-th historical time period; ei Determined according to a number of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the e-th historical time period;

[0032] Step S1153: Obtain the state identifier of the detection data of the target detection device in each historical time period, and obtain a state identifier list Q=(Q1, Q2, ..., Q e ,...,Q r ), where Q e is the status identifier of the detection data of the target detection device in the e-th historical time period; if Q e If Q is 1, it means that the detection data of the target detection device in the e-th historical time period is normal; e If it is 0, it means that the state of the detection data of the target detection device in the e-th historical time period is abnormal;

[0033] Step S1154: Determine the second feature vector set F corresponding to the target detection device in each historical time period according to the second rotation angle list set D, the second pressure fluctuation value list set G and the state identification list Q. e ,...,F r ), where F e is the second feature vector corresponding to the target detection device in the e-th historical time period; F e =(F e1 ,F e2 ,...,F ei ,...,F en );F ei F e The i-th feature information in F ei =(D ei ,G ei ,Q e );

[0034] Step S1155: input the second feature vector set F into a preset initial verification module to obtain a pressure fluctuation verification module.

[0035] In an exemplary embodiment of the present application, the historical feature vector is determined according to the following steps:

[0036] Step S210, obtaining a status identifier of the detection data of the target detection device in each historical time period; if the status identifier is 1, the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is normal; if the status identifier is 0, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is abnormal;

[0037] Step S220, obtaining a plurality of first historical average pressure values ​​collected by the first pressure sensor in each historical time period;

[0038] Step S230, obtaining a plurality of second historical average pressure values ​​collected by the second pressure sensor in each historical time period;

[0039] Step S240: Encode the state identifier, the first historical average pressure values, and the second historical average pressure values ​​in each historical time period to obtain a historical feature vector corresponding to each historical time period.

[0040] In an exemplary embodiment of the present application, the operation result of the paper feeding mechanism represents the operation status of the first motor and / or the second motor.

[0041] In an exemplary embodiment of the present application, the negative pressure mechanism is disposed above the center position of the line connecting the first roller and the second roller, and is used to spray gas onto a target paper tape placed between the first roller and the second roller.

[0042] According to one aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned detection device abnormality prediction method.

[0043] According to one aspect of the present application, an electronic device is provided, including a processor and the aforementioned method for predicting abnormality of a detection device.

[0044] The present invention has at least the following beneficial effects:

[0045] The present invention determines a first feature vector based on the verification status of the detection data of the target detection device in the first time period and the operating status of the paper feed mechanism in the first time period, and compares the first feature vector with a number of historical feature vectors. If the matching degree between the first feature vector and the historical feature vector is greater than a preset matching degree threshold, the historical feature vector is determined as the target historical feature vector, and the operating result of the paper feed mechanism corresponding to each target historical feature vector is obtained. If the ratio of the number of operating results characterized as abnormalities of the paper feed mechanism to the total number of operating results is greater than a preset proportion threshold, it is determined that the target detection device is abnormal in the future time period. By comparing the operating status of the target detection device in the first time period with the operating status of the historical time period, the operating status of the target detection device in the future time period is predicted to improve the detection efficiency of the target detection device. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0047] Figure 1 A flow chart of a detection device abnormality prediction method provided by an embodiment of the present invention;

[0048] Figure 2 A connection diagram of a paper feeding mechanism provided by an embodiment of the present invention;

[0049] Figure 3 A schematic diagram of the composition of a second rolling plate provided in an embodiment of the present invention;

[0050] Figure 4 A schematic diagram of the composition of a counting wheel provided in an embodiment of the present invention;

[0051] In the figure: 1, first roller; 2, tensioning wheel; 3, first roller shaft; 4, second roller shaft; 5, counting wheel; 6, second roller. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0053] A detection equipment anomaly prediction method is applied to an equipment anomaly prediction system, wherein the equipment anomaly prediction system is connected to a target detection equipment.

[0054] The target detection device includes a paper feeding mechanism, a negative pressure mechanism and a detection mechanism.

[0055] The paper feeding mechanism is used to control the target paper tape to feed after the target detection device sends a paper feeding signal.

[0056] Among them, Figure 2 As shown, the paper feeding mechanism includes a first roller 1, a second roller 6, a first roller shaft 3, a second roller shaft 4, a tensioning wheel 2, and a counting wheel 5; the first roller 1 is driven to rotate by a first motor, and the second roller 6 is driven to rotate by a second motor; a first pressure sensor is arranged on the first roller shaft 3, and the first pressure sensor is used to detect the pressure value applied to the first roller shaft 3; a second pressure sensor is arranged on the second roller shaft 4, and the second pressure sensor is used to detect the pressure value applied to the second roller shaft 4; a target pressure sensor is arranged on the tensioning wheel 2, and the target pressure sensor is used to detect the pressure value applied to the tensioning wheel 2; a counting encoder is arranged on the counting wheel 5, and the counting encoder is used to detect the rotation angle of the counting wheel 5.

[0057] like Figure 3 As shown, the first roller 1 and the second roller 6 have the same structure, and are mainly composed of a locking handle, an upper baffle, a filter paper disc, a lower baffle, a core shaft, a bearing seat, etc. The first roller 1 and the second roller 6 are both installed on the side panel of the target detection device through bearings. The upper baffle is made of acrylic material, which can facilitate the observation of the use of the filter paper (target paper tape). The filter paper is wound on the filter paper disc, and the filter paper can be easily replaced by turning the locking handle.

[0058] like Figure 4 As shown, the counting wheel 5 is mainly composed of an anti-skid wheel, a coupling and a photoelectric encoder, and can count the paper feeding length of the filter paper. The anti-skid wheel surface is knurled to increase friction and prevent slipping, and is installed on the side plate of the target detection device through the flange of the encoder.

[0059] The negative pressure mechanism is arranged above the center position of the line connecting the first roller 3 and the second roller 4 , and is used for spraying gas onto the target paper tape placed between the first roller 3 and the second roller 4 .

[0060] The detection mechanism is used to detect the aerosol content on the target paper tape after spraying.

[0061] When the target detection device is working, one end of the target paper tape is wound around the first roller 1, and the other end of the target paper tape passes through the tensioning wheel 2, the first roller 3, the second roller 4, the counting wheel 5 in sequence, and is wound around the second roller 6.

[0062] like Figure 1 As shown, the detection equipment abnormality prediction method described in this application includes the following steps:

[0063] Step S100, determining a first feature vector according to a verification state of detection data of a target detection device in a first time period and an operation state of a paper feed mechanism in the first time period;

[0064] The start time of the first time period is the time when the detection signal sent by the target detection device is received most recently; the end time of the first time period is the current time.

[0065] Further, step S100 includes steps S110 to S140:

[0066] Step S110, obtaining a verification status identifier c of the detection data of the target detection device within a first time period;

[0067] If c is 1, it indicates that the detection data state of the target detection device is normal; if c is 0, it indicates that the detection data state of the target detection device is abnormal.

[0068] The detection data status of the target detection device refers to the correctness of the detection result of the target detection device on the detection data. If the detection data status of the target detection device is normal, it means that the detection result of the target detection device is correct. Conversely, if the detection data status of the target detection device is abnormal, it means that the detection result of the target detection device is wrong.

[0069] Step S120: Obtain a number of average pressure values ​​collected by the first pressure sensor in the first time period to obtain a first average pressure value list P = (P1, P2, ..., P i ,...,P n ); wherein i=1, 2, ..., n; n is the number of sub-time periods in the first time period, and the n sub-time periods are connected in sequence, and the length of each sub-time period is equal; P i is the average pressure value collected by the first pressure sensor in the i-th sub-time period of the first time period; the average pressure value is the average value of several corresponding pressure values ​​in the corresponding sub-time period;

[0070] The first time period is evenly divided into several sub-time periods of equal length, and the average pressure value in each sub-time period is determined by obtaining several pressure values ​​collected by the first pressure sensor in each sub-time period for subsequent verification steps.

[0071] Step S130: Obtain a number of average pressure values ​​collected by the second pressure sensor in the first time period to obtain a second average pressure value list L = (L1, L2, ..., L i ,...,L n ), where L i is the average pressure value collected by the second pressure sensor in the i-th sub-time period of the first time period;

[0072] The method for obtaining the average pressure value of the second pressure sensor is the same as the method for obtaining the average pressure value of the first pressure sensor, and will not be repeated here.

[0073] Step S140: Obtain a first eigenvector Z=(c, P1, P2, ..., P i ,...,P n ,L1,L2,...,L i ,...,L n ).

[0074] The first eigenvector represents a number of average pressure values ​​collected by the first pressure sensor and the second pressure sensor in each sub-time period of the first time period and whether the detection result of the target detection device in the first time period is correct or not.

[0075] The verification status flag is determined according to steps S111 to S115:

[0076] Step S111: Obtain a number of rotation angles collected by the counting encoder in each sub-time period of the first time period, and obtain a first rotation angle list A=(A1, A2, ..., A i ,...,A n ), where A i is the rotation angle collected by the counting encoder in the i-th sub-time period of the first time period;

[0077] The number of rotations of the counting wheel 5 and the paper feeding distance of the paper tape are determined by the rotation angle collected by the counting encoder.

[0078] Step S112: Obtain a number of pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period to obtain a first pressure value list set B = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ig ,...,B if ), where B i is a list of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the first time period; g = 1, 2, ..., f; f is the number of collection moments of the sub-time period of the first time period; B ig is the pressure value collected by the target pressure sensor at the g-th collection moment in the i-th sub-time period of the first time period;

[0079] The pressure value collected by the target pressure sensor is the pressure value exerted on the tensioning wheel 2 .

[0080] Step S113: According to the first pressure value list set B, determine the pressure fluctuation value corresponding to the target pressure sensor in each sub-time period of the first time period, and obtain the first pressure fluctuation value list C = (C1, C2, ..., C i ,...,C n ), where C i is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the first time period; C i =(∑ f g=1 (Y i -B ig ) 2 ) / f;Y i =(∑ f g=1 B ig ) / f;

[0081] The pressure fluctuation value indicates the fluctuation of the pressure value to which the tension wheel 2 is subjected in the first time period. That is, a pressure value curve can be drawn according to the time sequence of the several pressure values ​​to which the tension wheel 2 is subjected in the first time period. The smaller the curvature, the smaller the pressure fluctuation value. Conversely, the larger the curvature, the larger the pressure fluctuation value.

[0082] The operating state of the tension wheel 2 in the first time period can be determined by the pressure fluctuation value. If the tension wheel 2 shakes or is affected by other external forces, the pressure of the tension wheel 2 will change, affecting the size of the pressure fluctuation value.

[0083] Step S114: Determine the target feature vector H corresponding to the target detection device in the first time period according to the first rotation angle list A and the first pressure fluctuation value list C. i ,...,H n ), where H i =(A i ,C i );H i is the i-th feature information in the target feature vector H;

[0084] Step S115, input the target characteristic vector H into the preset pressure fluctuation verification module to obtain the verification status identifier output by the pressure fluctuation verification module; the pressure fluctuation verification module is determined based on a number of rotation angles collected by the counting encoder in a historical time period and a number of pressure values ​​collected by the target pressure sensor in a historical time period.

[0085] The pressure fluctuation verification module performs sample training through steps S1151 to S1155:

[0086] Step S1151: Obtain a number of rotation angles collected by the counting encoder when the target detection device performs detection in a number of historical time periods, and obtain a second rotation angle list set D = (D1, D2, ..., D e ,...,D r );D e =(D e1 ,D e2 ,...,D ei ,...,D en ), where e = 1, 2, ..., r; r is the number of historical time periods; the end time of each historical time period is earlier than the current time; D e D is the list of rotation angles collected by the counting encoder in the eth historical time period; ei is the rotation angle collected by the counting encoder in the i-th sub-time period of the e-th historical time period; the n sub-time periods of each historical time period are connected in sequence; the length of the sub-time period of each historical time period is equal to the length of the sub-time period of the first time period;

[0087] Step S1152: Obtain a number of pressure fluctuation values ​​corresponding to the target pressure sensor when the target detection device performs detection in each historical time period, and obtain a second pressure fluctuation value list set G = (G1, G2, ..., G e ,...,G r );G e =(G e1 ,G e2 ,...,G ei ,...,G en ), where G e is the pressure fluctuation value list corresponding to the target pressure sensor in the e-th historical time period; G ei is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the e-th historical time period; G ei Determined according to a number of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the e-th historical time period;

[0088] Step S1153: Obtain the state identifier of the detection data of the target detection device in each historical time period, and obtain a state identifier list Q=(Q1, Q2, ..., Q e ,...,Q r ), where Q e is the status identifier of the detection data of the target detection device in the e-th historical time period;

[0089] If Q e If Q is 1, it means that the detection data of the target detection device in the e-th historical time period is normal;e If it is 0, it means that the status of the detection data of the target detection device in the e-th historical time period is abnormal.

[0090] Step S1154: Determine the second feature vector set F corresponding to the target detection device in each historical time period according to the second rotation angle list set D, the second pressure fluctuation value list set G and the state identification list Q. e ,...,F r ), where F e is the second feature vector corresponding to the target detection device in the e-th historical time period; F e =(F e1 ,F e2 ,...,F ei ,...,F en );F ei F e The i-th feature information in F ei =(D ei ,G ei ,Q e );

[0091] Step S1155: input the second feature vector set F into a preset initial verification module to obtain a pressure fluctuation verification module.

[0092] Step S200, obtaining a number of historical feature vectors corresponding to the target detection device;

[0093] The historical feature vector is determined according to the verification status of the detection data of the target detection device and the operation status of the paper feeding mechanism in the historical time period; the length of the historical time period is equal to the length of the first time period to ensure that the obtained vector is a vector of equal length.

[0094] The historical feature vector is determined according to step S210 to step S240:

[0095] Step S210, obtaining a status identifier of the detection data of the target detection device in each historical time period;

[0096] If the status identifier is 1, the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is normal; if the status identifier is 0, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is abnormal.

[0097] Step S220, obtaining a plurality of first historical average pressure values ​​collected by the first pressure sensor in each historical time period;

[0098] Step S230, obtaining a plurality of second historical average pressure values ​​collected by the second pressure sensor in each historical time period;

[0099] The method for acquiring the historical average pressure values ​​corresponding to the first pressure sensor and the second pressure sensor is the same as the method for acquiring the average pressure values ​​collected by the first pressure sensor and the second pressure sensor in the first time period, and will not be repeated here.

[0100] Step S240: Encode the state identifier, the first historical average pressure values, and the second historical average pressure values ​​in each historical time period to obtain a historical feature vector corresponding to each historical time period.

[0101] The encoding method of the historical feature vector is the same as that of the first feature vector, and the features at the same position of the historical feature vector and the first feature vector have the same meaning, so as to ensure that the matching degree between the two feature vectors is more accurate in the subsequent vector matching process.

[0102] Step S300: If the matching degree between the first feature vector and the historical feature vector is greater than a preset matching degree threshold, the historical feature vector is determined as a target historical feature vector;

[0103] Step S400, obtaining the operation result of the paper feeding mechanism corresponding to each target historical feature vector;

[0104] The operation result of the paper feeding mechanism represents the operation state of the first motor and / or the second motor;

[0105] Step S500: If the ratio of the number of operation results characterized by an abnormality of the paper feeding mechanism to the total number of operation results is greater than a preset proportion threshold, it is determined that an abnormality occurs in the target detection device within a second time period; the start time of the second time period is the end time of the first time period.

[0106] The present invention determines a first feature vector based on the verification status of the detection data of the target detection device in the first time period and the operating status of the paper feed mechanism in the first time period, and compares the first feature vector with a number of historical feature vectors. If the matching degree between the first feature vector and the historical feature vector is greater than a preset matching degree threshold, the historical feature vector is determined as the target historical feature vector, and the operating result of the paper feed mechanism corresponding to each target historical feature vector is obtained. If the ratio of the number of operating results characterized as abnormalities of the paper feed mechanism to the total number of operating results is greater than a preset proportion threshold, it is determined that the target detection device is abnormal in the future time period. By comparing the operating status of the target detection device in the first time period with the operating status of the historical time period, the operating status of the target detection device in the future time period is predicted to improve the detection efficiency of the target detection device.

[0107] An embodiment of the present invention further provides a computer program product, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0108] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0109] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0110] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0111] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0112] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0113] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).

[0114] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0115] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0116] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0117] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0118] The electronic device can also communicate with one or more external devices (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable users to interact with the electronic device, and / or communicate with any device (such as routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. This communication can be carried out through an input / output (I / O) interface. In addition, the electronic device can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter. As shown in the figure, the network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0119] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0120] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0121] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0122] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0123] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0124] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0125] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0126] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0127] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for predicting abnormality of a detection device, characterized in that: Applied to a device abnormality prediction system, the device abnormality prediction system is connected to a target detection device; the target detection device comprises a paper feeding mechanism, a negative pressure mechanism and a detection mechanism; the paper feeding mechanism is used to control the target paper tape to perform paper feeding after the target detection device sends a paper feeding signal; the negative pressure mechanism is used to spray gas onto the target paper tape on the paper feeding mechanism after the target detection device sends a detection signal; the detection mechanism is used to detect the aerosol content on the target paper tape after spraying; The paper feeding mechanism comprises a first roller (1), a second roller (6), a first roller shaft (3), a second roller shaft (4), a tension wheel (2), and a counting wheel (5); When the target detection device is working, one end of the target paper tape is wound around the first roller (1), and the other end of the target paper tape passes through the tensioning wheel (2), the first roller (3), the second roller (4), the counting wheel (5) in sequence, and is wound around the second roller (6); The first roller (1) is driven to rotate by a first motor, and the second roller (6) is driven to rotate by a second motor; A first pressure sensor is arranged on the first roller (3), and the first pressure sensor is used to detect the pressure value exerted on the first roller (3); A second pressure sensor is provided on the second roller (4), and the second pressure sensor is used to detect the pressure value exerted on the second roller (4); The tension wheel (2) is provided with a target pressure sensor, and the target pressure sensor is used to detect the pressure value exerted on the tension wheel (2); The counting wheel (5) is provided with a counting encoder, and the counting encoder is used to detect the rotation angle of the counting wheel (5); The method comprises the following steps: Step S100, determining a first feature vector according to the verification status of the detection data of the target detection device in the first time period and the operation status of the paper feeding mechanism in the first time period; the start time of the first time period is the time when the detection signal sent by the target detection device for the most recent time is received; the end time of the first time period is the current time; Step S200, obtaining a plurality of historical feature vectors corresponding to the target detection device; the historical feature vectors are determined according to the verification status of the detection data of the target detection device in a historical time period and the operation status of the paper feeding mechanism; the length of the historical time period is equal to the length of the first time period; Step S300: If the matching degree between the first feature vector and the historical feature vector is greater than a preset matching degree threshold, the historical feature vector is determined as a target historical feature vector; Step S400, obtaining the operation result of the paper feeding mechanism corresponding to each of the target historical feature vectors; Step S500: If the ratio of the number of operation results characterized as abnormality of the paper feeding mechanism to the total number of the operation results is greater than a preset proportion threshold, it is determined that the target detection device is abnormal within a second time period; the start time of the second time period is the end time of the first time period; Wherein, the step S100 includes steps S110 to S140: Step S110, obtaining a verification status identifier c of the detection data of the target detection device within a first time period; if c is 1, it indicates that the detection data status of the target detection device is normal; if c is 0, it indicates that the detection data status of the target detection device is abnormal; Step S120: Obtain a number of average pressure values ​​collected by the first pressure sensor in the first time period to obtain a first average pressure value list P=(P1, P2, ..., P i ,...,P n ); wherein i=1,2,...,n; n is the number of sub-time periods in the first time period, and the n sub-time periods are connected in sequence, and the length of each sub-time period is equal; P i is the average pressure value collected by the first pressure sensor in the i-th sub-time period of the first time period; the average pressure value is the average value of a plurality of corresponding pressure values ​​in the corresponding sub-time period; Step S130: Obtain a number of average pressure values ​​collected by the second pressure sensor in the first time period to obtain a second average pressure value list L=(L1, L2, ..., L i ,...,L n ), where L i is the average pressure value collected by the second pressure sensor in the i-th sub-time period of the first time period; Step S140: Obtain a first eigenvector Z=(c, P1, P2, ..., P i ,...,P n ,L1,L2,...,L i ,...,L n ); The verification status flag is determined according to steps S111 to S115: Step S111: Obtain a number of rotation angles collected by the counting encoder in each sub-time period of the first time period, and obtain a first rotation angle list A=(A1, A2, ..., A i ,...,A n ), where A i is the rotation angle collected by the counting encoder in the i-th sub-time period of the first time period; Step S112: Obtain a number of pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period to obtain a first pressure value list set B = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ig ,...,B if ), where B i is a list of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the first time period; g=1,2,...,f; f is the number of collection moments of the sub-time period of the first time period; B ig is the pressure value collected by the target pressure sensor at the g-th collection moment in the i-th sub-time period of the first time period; Step S113: According to the first pressure value list set B, determine the pressure fluctuation value corresponding to the target pressure sensor in each sub-time period of the first time period, and obtain the first pressure fluctuation value list C=(C1, C2, ..., C i ,...,C n ), where C i is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the first time period; C i =(∑ f g=1 (Y i -B ig ) 2 ) / f;Y i =(∑ f g=1 B ig ) / f; Step S114: Determine the target feature vector H=(H1, H2, ..., H) corresponding to the target detection device in the first time period according to the first rotation angle list A and the first pressure fluctuation value list C. i ,...,H n ), where H i =(A i ,C i );H i is the i-th feature information in the target feature vector H; Step S115, input the target characteristic vector H into a preset pressure fluctuation verification module to obtain a verification status identifier output by the pressure fluctuation verification module; the pressure fluctuation verification module is determined based on a number of rotation angles collected by the counting encoder in a historical time period and a number of pressure values ​​collected by the target pressure sensor in a historical time period.

2. The method according to claim 1, characterized in that The pressure fluctuation verification module performs sample training through the following steps: Step S1151: Obtain a number of rotation angles collected by the counting encoder when the target detection device performs detection in a number of historical time periods, and obtain a second rotation angle list set D=(D1, D2, ..., D e ,...,D r );D e =(D e1 ,D e2 ,...,D ei ,...,D en ); where e=1,2,...,r; r is the number of the historical time periods; the end time of each of the historical time periods is earlier than the current time; D e is a list of rotation angles collected by the counting encoder in the eth historical time period; D ei is the rotation angle collected by the counting encoder in the i-th sub-time period of the e-th historical time period; the n sub-time periods of each of the historical time periods are connected in sequence; the length of each sub-time period of the historical time period is equal to the length of the sub-time period of the first time period; Step S1152: Obtain a plurality of pressure fluctuation values ​​corresponding to the target pressure sensor when the target detection device performs detection in each of the historical time periods, and obtain a second pressure fluctuation value list set G=(G1, G2, ..., G e ,...,G r );G e =(G e1 ,G e2 ,...,G ei ,...,G en ), where G e is a list of pressure fluctuation values ​​corresponding to the target pressure sensor in the e-th historical time period; G ei is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the e-th historical time period; G ei Determined according to a number of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the e-th historical time period; Step S1153: Obtain the state identifier of the detection data of the target detection device in each of the historical time periods, and obtain a state identifier list Q=(Q1, Q2, ..., Q e ,...,Q r ), where Q e is the state identifier of the detection data of the target detection device in the e-th historical time period; if Q e is 1, it means that the state of the detection data of the target detection device in the e-th historical time period is normal; if Q e If it is 0, it means that the state of the detection data of the target detection device in the e-th historical time period is abnormal; Step S1154: Determine the second feature vector set F=(F1, F2, ..., F) corresponding to the target detection device in each of the historical time periods according to the second rotation angle list set D, the second pressure fluctuation value list set G and the state identification list Q. e ,...,F r ), where F e is the second feature vector corresponding to the target detection device in the e-th historical time period; e =(F e1 ,F e2 ,...,F ei ,...,F en );F ei F e The i-th feature information in F ei =(D ei ,G ei ,Q e ); Step S1155: input the second feature vector set F into a preset initial verification module to obtain the pressure fluctuation verification module.

3. The method according to claim 2, characterized in that The historical feature vector is determined according to the following steps: Step S210, obtaining a status identifier of the detection data of the target detection device in each historical time period; if the status identifier is 1, the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is normal; If the status identifier is 0, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is abnormal; Step S220, obtaining a plurality of first historical average pressure values ​​collected by the first pressure sensor in each historical time period; Step S230, obtaining a plurality of second historical average pressure values ​​collected by the second pressure sensor in each historical time period; Step S240: Encode the state identifier, the first historical average pressure values, and the second historical average pressure values ​​in each historical time period to obtain a historical feature vector corresponding to each historical time period.

4. The method according to claim 3, characterized in that The operation result of the paper feeding mechanism represents the operation status of the first motor and / or the second motor.

5. The method according to claim 1, characterized in that The negative pressure mechanism is arranged above the center position of the line connecting the first roller (3) and the second roller (4), and is used for spraying gas onto a target paper tape placed between the first roller (3) and the second roller (4).

6. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the method according to any one of claims 1 to 5.

7. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 6.

Citation Information

Patent Citations

  • Early warning method for detecting and identifying nuclear-biological-chemical aerosol particles in air

    CN102890140A

  • Model-based equipment state prediction method, electronic equipment and storage medium

    CN117688342A