CN113063461B - Detection method based on intelligent sensor - Google Patents
Detection method based on intelligent sensor Download PDFInfo
- Publication number
- CN113063461B CN113063461B CN202110286614.0A CN202110286614A CN113063461B CN 113063461 B CN113063461 B CN 113063461B CN 202110286614 A CN202110286614 A CN 202110286614A CN 113063461 B CN113063461 B CN 113063461B
- Authority
- CN
- China
- Prior art keywords
- target
- data
- intelligent sensor
- detection
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 323
- 230000005540 biological transmission Effects 0.000 claims abstract description 76
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000004806 packaging method and process Methods 0.000 claims abstract description 9
- 230000004044 response Effects 0.000 claims description 47
- 230000002159 abnormal effect Effects 0.000 claims description 21
- 238000000034 method Methods 0.000 claims description 18
- 238000011156 evaluation Methods 0.000 claims description 17
- 238000012216 screening Methods 0.000 claims description 15
- 238000001914 filtration Methods 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 10
- 230000003321 amplification Effects 0.000 claims description 9
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 9
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims description 7
- 239000007788 liquid Substances 0.000 claims description 7
- 230000007246 mechanism Effects 0.000 claims description 7
- 238000011157 data evaluation Methods 0.000 claims description 6
- 230000003111 delayed effect Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 6
- 230000006698 induction Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000004140 cleaning Methods 0.000 claims description 3
- 230000035945 sensitivity Effects 0.000 claims description 3
- 238000012856 packing Methods 0.000 claims 1
- 230000009286 beneficial effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a detection method based on an intelligent sensor, which comprises the following steps: determining a target detection object of an intelligent sensor, and determining a target power supply mode of the intelligent sensor based on the target detection object; driving the intelligent sensor to detect the target detection object based on the target power supply mode, and obtaining detection data; processing the detection data, and packaging the processed data to obtain a target data packet; and determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode. Through confirming different power supply modes according to the difference of detection object, realize carrying out accurate detection to detection object, be convenient for in time accurately know the state of detection object, improved intelligent sensor's work flexibility, work efficiency and the degree of accuracy.
Description
Technical Field
The invention relates to the technical field of data detection and processing, in particular to a detection method based on an intelligent sensor.
Background
The smart sensor is a sensor having an information processing function. The intelligent sensor is provided with a microprocessor, has the capability of collecting, processing and exchanging information, and is a product of the integration of the sensor and the microprocessor. Compared with a general sensor, the intelligent sensor has the following three advantages: the high-precision information acquisition can be realized through a software technology, and the cost is low; the method has certain programming automation capacity; the function is diversified.
Therefore, the invention provides a detection method based on an intelligent sensor, compared with the traditional sensor, different power supply modes can be selected according to different detection objects, the detection objects can be detected more accurately, detection data are processed and transmitted to a management terminal, the detection objects can be analyzed and controlled accurately, the states of the detection objects can be known timely and accurately, and the working efficiency and the accuracy of the intelligent sensor are improved.
Disclosure of Invention
The invention provides a detection method based on an intelligent sensor, which is used for determining different power supply modes according to different detection objects, realizing accurate detection of the detection objects, facilitating timely and accurate understanding of the states of the detection objects and improving the working flexibility, working efficiency and accuracy of the intelligent sensor.
The invention provides a detection method based on an intelligent sensor, which comprises the following steps:
step 1: determining a target detection object of an intelligent sensor, and determining a target power supply mode of the intelligent sensor based on the target detection object;
step 2: driving the intelligent sensor to detect the target detection object based on the target power supply mode, and obtaining detection data;
and step 3: processing the detection data, and packaging the processed data to obtain a target data packet;
and 4, step 4: and determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode.
Preferably, in step 1, a target detection object of the smart sensor is determined, and a target power supply manner of the smart sensor is determined based on the target detection object, and the method includes:
acquiring candidate detection objects of the intelligent sensor, wherein the candidate detection objects comprise combustible gas, temperature and humidity, liquid level and pressure vibration;
determining a target detection object of the intelligent sensor from the vibration of the combustible gas, the temperature and the humidity, the liquid level and the pressure;
constructing an attribute feature extraction model, and extracting attribute feature information of the target detection object based on the attribute feature extraction model;
matching a corresponding power supply mode from a preset power supply mode library of an intelligent sensor based on the attribute characteristic information of the target detection object to obtain a target power supply mode required by the intelligent sensor for detecting the target detection object;
the preset power supply mode library comprises induction power taking, battery power supply, solar power supply and power supply.
Preferably, in step 2, the method for detecting a target detection object by driving the smart sensor based on the target power supply manner, and obtaining detection data includes:
establishing an electrical connection relation between a power supply terminal and an intelligent sensor, and determining power supply power required by the target power supply mode to drive the intelligent sensor to work based on the electrical connection relation;
driving the intelligent sensor to be in a detectable state based on the power supply power, and adjusting available detection frequency inside the intelligent sensor;
the intelligent sensor calls a first detection frequency in available detection frequencies, transmits the first detection frequency to a target detection object, and judges whether the intelligent sensor receives a response signal fed back by the target object within a preset time period;
if the intelligent sensor receives the response signal, a signal amplification circuit is constructed, and the response signal is input into the signal amplification circuit;
the signal amplification circuit generates a pulse width modulation signal corresponding to the response signal according to the duty ratio of the response signal and a preset standard modulation signal;
modulating the response signal based on the pulse width modulation signal, and amplifying the response signal;
determining at least one parameter in the amplified response signal, wherein the parameter provides a reference basis for filtering energy which does not meet a preset condition in the response signal;
constructing a signal filtering model, and adjusting the cut-off frequency of the signal filtering model according to at least one acquired parameter in the response signal to obtain a target signal frequency attenuation range;
filtering the amplified response signal based on the target signal frequency attenuation range to obtain a target response signal;
wherein, the amplified response signal contains a reference frequency, and the adjusted cut-off frequency is less than or equal to the reference frequency;
converting the target response signal into a corresponding data form based on a preset signal conversion rule to obtain detection data of a target detection object;
otherwise, determining a target difference value between the first detection frequency and a standard detection frequency required by the detection of the target object, and adjusting the first detection frequency based on the target difference value to obtain a second detection frequency;
and detecting the target detection object again based on a second detection frequency until detection data corresponding to the target detection object are obtained.
Preferably, a detection method based on an intelligent sensor, where the intelligent sensor invokes a first detection frequency from available detection frequencies and transmits the first detection frequency to a target detection object, further includes:
acquiring real-time working data when the intelligent sensor sends a first detection frequency to the target detection object;
constructing a data evaluation model, and inputting the real-time working data into the data evaluation model to obtain a working performance evaluation value of the intelligent sensor;
judging whether the working performance evaluation value of the intelligent sensor is within a preset performance evaluation range value or not;
if the working performance evaluation value of the intelligent sensor is within a preset performance evaluation range value, judging that the working performance of the intelligent sensor is good;
otherwise, judging that the intelligent sensor is in an abnormal state.
Preferably, in step 3, the method for detecting based on an intelligent sensor processes the detection data and packages the processed data to obtain a target data packet, and includes:
acquiring detection data, extracting characteristic data in the detection data, and clustering the characteristic data;
obtaining isolated data in the detection data based on the clustering processing, and determining a data screening mechanism for cleaning the detection data based on the isolated data;
determining a screening value corresponding to the data screening mechanism, screening the detection data based on the screening value, and eliminating abnormal data in the detection data to obtain target detection data;
simultaneously, determining an optimizable data type and an non-optimizable data type of the target detection data;
determining a dependency relationship tree corresponding to the target detection data based on an optimizable type and an unoptimizable type, wherein the dependency relationship tree comprises a plurality of nodes which are a father node and a son node respectively;
and determining a corresponding data packaging mode to package the target detection data based on the dependency relationship between the father node and the child node of the target detection data and the byte size of the target detection data to obtain a target data packet.
Preferably, in step 4, the method for detecting based on an intelligent sensor, determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode includes:
acquiring a target data packet and determining attribute information of the target data packet;
wherein the attribute information includes type information and size information of the target data packet and transmission requirement information of a communication link;
matching a corresponding transmission mode from preset transmission modes of the intelligent sensor based on the attribute information to obtain a target transmission mode;
the preset transmission mode comprises one or more combinations of 485 communication protocol, wireless radio frequency transmission, lora transmission, nb-iot transmission and gprs transmission, and the target transmission mode comprises one or more combinations of 485 communication protocol, wireless radio frequency transmission, lora transmission, nb-iot transmission and gprs transmission;
and establishing a data transmission link between the intelligent sensor and the management terminal based on the target transmission mode, and transmitting a target data packet to the management terminal through the data transmission link.
Preferably, a detection method based on an intelligent sensor, which determines that the intelligent sensor is in an abnormal state, further includes:
acquiring a judgment result of the working state of the intelligent sensor, and giving an alarm when the intelligent sensor is judged to be in an abnormal state;
wherein, the alarm comprises sound alarm and light alarm;
meanwhile, analyzing real-time working data of the intelligent sensor in an abnormal state, and determining a fault reason of the intelligent sensor in the abnormal state;
and maintaining the intelligent sensor based on the fault reason.
Preferably, the detection method based on the intelligent sensor comprises the following steps of: based on the target power supply mode, driving the intelligent sensor to detect the target detection object and obtain detection data, the method further comprises the following steps:
the method comprises the following steps of obtaining real-time working data of the intelligent sensor when the intelligent sensor detects the target detection object, calculating a working performance coefficient of the intelligent sensor according to the real-time working data, and calculating the accuracy of detection data obtained by the intelligent sensor according to the working performance coefficient, wherein the method specifically comprises the following steps:
calculating the working performance coefficient of the intelligent sensor according to the following formula:
wherein α represents a coefficient of operating performance of the smart sensor; delta represents the working performance factor of the intelligent sensor, and the value range is (1.25, 1.85); i represents the current value which is obtained based on real-time working data and flows through the intelligent sensor when the intelligent sensor works; r represents a resistance value inside the intelligent sensor obtained based on real-time working data; v represents a rated voltage value of the intelligent sensor obtained based on real-time working data; v represents the actual voltage values at the two ends of the intelligent sensor during working, which are obtained based on real-time working data; mu represents the sensitivity coefficient of the intelligent sensor, and the value range is (0.85, 0.9); p represents a power value obtained based on real-time working data when the intelligent sensor works;
calculating the accuracy of the detection data acquired by the intelligent sensor according to the following formula:
wherein, beta represents the accuracy of the detection data acquired by the intelligent sensor, and the value range is (0, 1)](ii) a A represents the operating performance coefficient of the intelligent sensor; tau represents an accurate factor and the value range is (0.8, 0.95);indicating the data amount meeting the detection standard in the detection data; σ represents a total amount of the detection data; omega represents an error coefficient, and the value range is (0.15, 0.2); f represents the frequency delay value of the intelligent sensor for transmitting the detection signal, and the value is 0.8 when the frequency delay value is delayed, and the value is not 1 when the frequency delay value is not delayed; t represents a periodic value of the emission detection signal of the intelligent sensor;
comparing the calculated accuracy with a preset accuracy;
if the accuracy is greater than or equal to the preset accuracy, judging that the detection data of the target detection object by the intelligent sensor is qualified, processing the detection data, and transmitting the detection data to a management terminal;
otherwise, judging that the detection data of the intelligent sensor to the target detection object is unqualified, and discarding the current detection data;
and simultaneously, optimizing the intelligent sensor, and detecting the target detection object again until the accuracy is greater than or equal to the preset accuracy.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a detection method based on an intelligent sensor according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1:
the embodiment provides a detection method based on an intelligent sensor, as shown in fig. 1, including:
step 1: determining a target detection object of an intelligent sensor, and determining a target power supply mode of the intelligent sensor based on the target detection object;
step 2: driving the intelligent sensor to detect the target detection object based on the target power supply mode, and obtaining detection data;
and step 3: processing the detection data, and packaging the processed data to obtain a target data packet;
and 4, step 4: and determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode.
In this embodiment, the target detection object refers to one or more of combustible gas, temperature and humidity, liquid level, and pressure vibration.
In this embodiment, the target power supply mode refers to one or more of induction power taking, battery power supply, solar power supply, and power supply.
In this embodiment, the target data packet refers to compressing and packaging the processed detection data, so as to facilitate transmission of the detection data.
In this embodiment, the target transmission mode refers to one or more of 485 communication protocol, radio frequency transmission, lora transmission, nb-iot transmission, and gprs transmission.
The beneficial effects of the above technical scheme are: through confirming different power supply modes according to the difference of detection object, realize carrying out accurate detection to detection object, be convenient for in time accurately know the state of detection object, improved intelligent sensor's work flexibility, work efficiency and the degree of accuracy.
Example 2:
on the basis of the foregoing embodiment 1, this embodiment provides a detection method based on a smart sensor, where in step 1, determining a target detection object of the smart sensor, and determining a target power supply mode of the smart sensor based on the target detection object, includes:
acquiring candidate detection objects of the intelligent sensor, wherein the candidate detection objects comprise combustible gas, temperature and humidity, liquid level and pressure vibration;
determining a target detection object of the intelligent sensor from the vibration of the combustible gas, the temperature and the humidity, the liquid level and the pressure;
constructing an attribute feature extraction model, and extracting attribute feature information of the target detection object based on the attribute feature extraction model;
matching a corresponding power supply mode from a preset power supply mode library of an intelligent sensor based on the attribute characteristic information of the target detection object to obtain a target power supply mode required by the intelligent sensor for detecting the target detection object;
the preset power supply mode library comprises induction power taking, battery power supply, solar power supply and power supply.
In this embodiment, the attribute feature information refers to a category to which the target detection object belongs, a parameter required for detecting the target detection object, and the like.
In this embodiment, the target power supply mode may be one of them or may be a combination of a plurality of them.
The beneficial effects of the above technical scheme are: the target detection object of the intelligent sensor is determined, and then the attribute characteristic information of the target detection object is determined, so that the corresponding power supply mode is determined, the power supply modes corresponding to different matching of the intelligent sensor detection object are facilitated, and the intelligent sensor can accurately detect the detection object conveniently.
Example 3:
on the basis of embodiment 1, this embodiment provides a detection method based on an intelligent sensor, and in step 2, driving the intelligent sensor to detect the target detection object and obtain detection data based on the target power supply manner includes:
establishing an electrical connection relation between a power supply terminal and an intelligent sensor, and determining power supply power required by the target power supply mode to drive the intelligent sensor to work based on the electrical connection relation;
driving the intelligent sensor to be in a detectable state based on the power supply power, and adjusting available detection frequency inside the intelligent sensor;
the intelligent sensor calls a first detection frequency in available detection frequencies, transmits the first detection frequency to a target detection object, and judges whether the intelligent sensor receives a response signal fed back by the target object within a preset time period;
if the intelligent sensor receives the response signal, a signal amplification circuit is constructed, and the response signal is input into the signal amplification circuit;
the signal amplification circuit generates a pulse width modulation signal corresponding to the response signal according to the duty ratio of the response signal and a preset standard modulation signal;
modulating the response signal based on the pulse width modulation signal, and amplifying the response signal;
determining at least one parameter in the amplified response signal, wherein the parameter provides a reference basis for filtering energy which does not meet a preset condition in the response signal;
constructing a signal filtering model, and adjusting the cut-off frequency of the signal filtering model according to at least one acquired parameter in the response signal to obtain a target signal frequency attenuation range;
filtering the amplified response signal based on the target signal frequency attenuation range to obtain a target response signal;
wherein, the amplified response signal contains a reference frequency, and the adjusted cut-off frequency is less than or equal to the reference frequency;
converting the target response signal into a corresponding data form based on a preset signal conversion rule to obtain detection data of a target detection object;
otherwise, determining a target difference value between the first detection frequency and a standard detection frequency required by the detection of the target object, and adjusting the first detection frequency based on the target difference value to obtain a second detection frequency;
and detecting the target detection object again based on a second detection frequency until detection data corresponding to the target detection object are obtained.
In this embodiment, the detectable state refers to a state in which the smart sensor has all preparation steps prepared in an early stage and can enter into operation at any time.
In this embodiment, the available detection frequency means that the intelligent sensor has a signal detection frequency with inconsistent frequencies, and different frequencies are selected according to different target detection objects, that is, the frequencies that can be generated inside the intelligent sensor are all available detection frequencies.
In this embodiment, the first detection frequency refers to a first detection frequency emitted by the smart sensor according to the determined target detection object, and is used to detect whether the target detection object can be detected.
In this embodiment, the response signal is feedback from the target detection object when receiving the detection signal, and the smart sensor may analyze the current state of the target detection object according to the response signal.
In this embodiment, the reference frequency refers to the vibration frequency of the response signal itself, and the vibration frequency is stabilized at a certain frequency value, which is defined as the reference frequency.
In this embodiment, the target response signal refers to an effective corresponding signal obtained by processing the target detection signal and filtering out irrelevant signals therein.
In this embodiment, the standard detection frequency refers to a frequency at which the target object can be accurately detected when the target object is detected, and is obtained through multiple training.
In this embodiment, the second detection frequency is obtained by adjusting the first detection frequency according to the difference between the first detection frequency and the standard detection frequency, and is capable of detecting the target detection object.
The beneficial effects of the above technical scheme are: the intelligent sensor is driven to detect the target detection object by determining the power supply mode of the intelligent sensor, and the detection frequency required by the target detection object is determined, so that the obtained feedback signal is processed to obtain final detection data, the intelligent sensor is ensured to adopt the response detection frequency according to different detection objects, the accuracy of the obtained detection data is ensured, meanwhile, the detection flexibility and the working efficiency of the intelligent sensor are improved, and the management terminal is convenient to timely obtain the accurate detection data corresponding to the target detection object.
Example 4:
on the basis of embodiment 3 above, this embodiment provides a detection method based on an intelligent sensor, where the intelligent sensor invokes a first detection frequency from available detection frequencies and transmits the first detection frequency to a target detection object, and the detection method further includes:
acquiring real-time working data when the intelligent sensor sends a first detection frequency to the target detection object;
constructing a data evaluation model, and inputting the real-time working data into the data evaluation model to obtain a working performance evaluation value of the intelligent sensor;
judging whether the working performance evaluation value of the intelligent sensor is within a preset performance evaluation range value or not;
if the working performance evaluation value of the intelligent sensor is within a preset performance evaluation range value, judging that the working performance of the intelligent sensor is good;
otherwise, judging that the intelligent sensor is in an abnormal state.
In this embodiment, the first detection frequency refers to a first detection frequency emitted by the smart sensor, and is used to detect whether the target detection object can be detected.
In this embodiment, the real-time working data refers to the voltage, current, resistance, power, and the like of the working chamber of the smart sensor.
In this embodiment, the working performance evaluation value is used to measure the working performance of the intelligent sensor and determine whether the working performance of the intelligent sensor is good.
In the embodiment, the preset performance evaluation range value is obtained by training the real-time running data detected by the intelligent sensor for multiple times, and the range can judge that the working performance of the intelligent sensor is normal and is set in advance.
The beneficial effects of the above technical scheme are: by acquiring real-time working data of the intelligent sensor when the intelligent sensor detects the target detection object and analyzing the working performance of the intelligent sensor according to the real-time working data, the self state of the intelligent sensor is ensured to be normal enough when the intelligent sensor detects the target detection object, and the accuracy of the detection data is improved.
Example 5:
on the basis of the foregoing embodiment 1, this embodiment provides a detection method based on an intelligent sensor, and in step 3, processing the detection data, and packaging the processed data to obtain a target data packet, including:
acquiring detection data, extracting characteristic data in the detection data, and clustering the characteristic data;
obtaining isolated data in the detection data based on the clustering processing, and determining a data screening mechanism for cleaning the detection data based on the isolated data;
determining a screening value corresponding to the data screening mechanism, screening the detection data based on the screening value, and eliminating abnormal data in the detection data to obtain target detection data;
simultaneously, determining an optimizable data type and an non-optimizable data type of the target detection data;
determining a dependency relationship tree corresponding to the target detection data based on an optimizable type and an unoptimizable type, wherein the dependency relationship tree comprises a plurality of nodes which are a father node and a son node respectively;
and determining a corresponding data packaging mode to package the target detection data based on the dependency relationship between the father node and the child node of the target detection data and the byte size of the target detection data to obtain a target data packet.
In this embodiment, the feature data refers to a data type and a key field of data information in the detection data, which can represent the detection data.
In this embodiment, the clustering process refers to aggregating data with associated attributes in the feature data, so as to facilitate searching for irrelevant data or abnormal data in the detected data.
In this embodiment, the isolated data refers to data that is not related to other data in the detection data and does not affect the detection result.
In this embodiment, the data filtering mechanism is set in advance, and is used to filter the detected data and remove irrelevant data in the detected data.
In this embodiment, the target detection data is obtained based on different smart sensors, and in the process of determining the optimizable data type and the non-optimizable data type in the target detection data, it is determined whether the smart sensor has an obstacle that does not affect the data itself, and the resulting optimizable data type corresponds to the data, or has an obstacle that seriously affects the data itself, and the resulting non-optimizable data type corresponds to the data, so that once optimized, some column impacts are caused on the detection data.
In this embodiment, the abnormal data refers to a data missing segment in the detected data due to an external reason.
In this embodiment, a dependency relationship means that a child node depends on a parent node.
The beneficial effects of the above technical scheme are: the characteristic data in the detection data are determined, the detection data are screened according to the characteristic data, the final effective data are obtained, and the incidence relation between the data is determined, so that the data are packaged, the data processing efficiency is improved, the management terminal can conveniently control the current state of the target detection object accurately according to the detection data, and the working flexibility, the working efficiency and the accuracy of the intelligent sensor are improved.
Example 6:
on the basis of embodiment 1 above, this embodiment provides a detection method based on an intelligent sensor, and in step 4, determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode, including:
acquiring a target data packet and determining attribute information of the target data packet;
wherein the attribute information includes type information and size information of the target data packet and transmission requirement information of a communication link;
matching a corresponding transmission mode from preset transmission modes of the intelligent sensor based on the attribute information to obtain a target transmission mode;
the preset transmission mode comprises one or more combinations of 485 communication protocol, wireless radio frequency transmission, lora transmission, nb-iot transmission and gprs transmission, and the target transmission mode comprises one or more combinations of 485 communication protocol, wireless radio frequency transmission, lora transmission, nb-iot transmission and gprs transmission;
and establishing a data transmission link between the intelligent sensor and the management terminal based on the target transmission mode, and transmitting a target data packet to the management terminal through the data transmission link.
The beneficial effects of the above technical scheme are: by determining the attribute information of the target data packet and determining the corresponding data transmission mode according to the attribute information, the efficiency of data transmission is improved, the intelligent sensor can conveniently select the corresponding transmission mode according to different data types, and the flexibility of data transmission of the intelligent sensor and the efficiency of data transmission are improved.
Example 7:
on the basis of embodiment 4 above, this embodiment provides a detection method based on an intelligent sensor, which determines that the intelligent sensor is in an abnormal state, and further includes:
acquiring a judgment result of the working state of the intelligent sensor, and giving an alarm when the intelligent sensor is judged to be in an abnormal state;
wherein, the alarm comprises sound alarm and light alarm;
meanwhile, analyzing real-time working data of the intelligent sensor in an abnormal state, and determining a fault reason of the intelligent sensor in the abnormal state;
and maintaining the intelligent sensor based on the fault reason.
The beneficial effects of the above technical scheme are: by determining the working state of the intelligent sensor and giving an alarm under the condition of abnormal working state, the target detection object is ensured to be detected by the intelligent sensor under the condition of normal working, the fault reason can be timely searched, the fault solving efficiency of the intelligent sensor is improved, the accuracy of detection data is improved, and the state of the target detection object can be conveniently and timely known.
Example 8:
on the basis of the foregoing embodiment 1, this embodiment provides a detection method based on an intelligent sensor, and step 2: based on the target power supply mode, driving the intelligent sensor to detect the target detection object and obtain detection data, the method further comprises the following steps:
the method comprises the following steps of obtaining real-time working data of the intelligent sensor when the intelligent sensor detects the target detection object, calculating a working performance coefficient of the intelligent sensor according to the real-time working data, and calculating the accuracy of detection data obtained by the intelligent sensor according to the working performance coefficient, wherein the method specifically comprises the following steps:
calculating the working performance coefficient of the intelligent sensor according to the following formula:
wherein α represents a coefficient of operating performance of the smart sensor; delta represents the working performance factor of the intelligent sensor, and the value range is (1.25, 1.85); i represents the current value which is obtained based on real-time working data and flows through the intelligent sensor when the intelligent sensor works; r represents a resistance value inside the intelligent sensor obtained based on real-time working data; v represents a rated voltage value of the intelligent sensor obtained based on real-time working data; v represents the actual voltage values at the two ends of the intelligent sensor during working, which are obtained based on real-time working data; mu represents the sensitivity coefficient of the intelligent sensor, and the value range is (0.85, 0.9); p represents a power value obtained based on real-time working data when the intelligent sensor works;
calculating the accuracy of the detection data acquired by the intelligent sensor according to the following formula:
wherein, beta represents the accuracy of the detection data acquired by the intelligent sensor, and the value range is (0, 1)](ii) a A represents the operating performance coefficient of the intelligent sensor; tau represents an accurate factor and the value range is (0.8, 0.95);indicating the data amount meeting the detection standard in the detection data; σ represents a total amount of the detection data; omega represents an error coefficient, and the value range is (0.15, 0.2); f represents the frequency delay value of the intelligent sensor for transmitting the detection signal, and the value is 0.8 when the frequency delay value is delayed, and the value is not 1 when the frequency delay value is not delayed; t represents a periodic value of the emission detection signal of the intelligent sensor;
comparing the calculated accuracy with a preset accuracy;
if the accuracy is greater than or equal to the preset accuracy, judging that the detection data of the target detection object by the intelligent sensor is qualified, processing the detection data, and transmitting the detection data to a management terminal;
otherwise, judging that the detection data of the intelligent sensor to the target detection object is unqualified, and discarding the current detection data;
and simultaneously, optimizing the intelligent sensor, and detecting the target detection object again until the accuracy is greater than or equal to the preset accuracy.
In this embodiment, the real-time working data refers to a current value and a voltage value of the intelligent sensor during the detection process, and performance parameters of each device inside the intelligent sensor.
In this embodiment, the preset accuracy is set in advance, a parameter of the calculated accuracy is measured by force, and when the calculated accuracy is greater than or equal to the preset accuracy, it is proved that the detection of the target detection object is effective.
The beneficial effects of the above technical scheme are: the accuracy of the acquired detection data is calculated according to the working performance coefficient by calculating the working performance coefficient of the intelligent sensor. When the working performance coefficient is calculated, the voltage, the current, the resistance, the power and the like of the intelligent sensor are related, the influence parameters of the intelligent sensor during working are guaranteed to be considered, the accuracy of a calculation result is guaranteed, when the accuracy is calculated, the ratio of the data volume reaching the standard to the total data volume is related, meanwhile, the transmitting frequency and the transmitting period of the intelligent sensor are related, the intelligent sensor is guaranteed to be capable of transmitting accurate detection signals to detect a target detection object, the accuracy of calculation is improved, the scheme guarantees that the intelligent sensor accurately detects the target detection object, and the accuracy of detection of the intelligent sensor is improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (7)
1. A detection method based on an intelligent sensor is characterized by comprising the following steps:
step 1: determining a target detection object of an intelligent sensor, and determining a target power supply mode of the intelligent sensor based on the target detection object;
step 2: driving the intelligent sensor to detect the target detection object based on the target power supply mode, and obtaining detection data;
and step 3: processing the detection data, and packaging the processed data to obtain a target data packet;
and 4, step 4: determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode;
based on the target power supply mode, driving the intelligent sensor to detect the target detection object and obtain detection data, including:
establishing an electrical connection relation between a power supply terminal and an intelligent sensor, and determining power supply power required by the target power supply mode to drive the intelligent sensor to work based on the electrical connection relation;
driving the intelligent sensor to be in a detectable state based on the power supply power, and adjusting available detection frequency inside the intelligent sensor;
the intelligent sensor calls a first detection frequency in available detection frequencies, transmits the first detection frequency to a target detection object, and judges whether the intelligent sensor receives a response signal fed back by the target detection object within a preset time period;
if the intelligent sensor receives the response signal, a signal amplification circuit is constructed, and the response signal is input into the signal amplification circuit;
the signal amplification circuit generates a pulse width modulation signal corresponding to the response signal according to the duty ratio of the response signal and a preset standard modulation signal;
modulating the response signal based on the pulse width modulation signal, and amplifying the response signal;
determining at least one parameter in the amplified response signal, wherein the parameter provides a reference basis for filtering energy which does not meet a preset condition in the response signal;
constructing a signal filtering model, and adjusting the cut-off frequency of the signal filtering model according to at least one acquired parameter in the response signal to obtain a target signal frequency attenuation range;
filtering the amplified response signal based on the target signal frequency attenuation range to obtain a target response signal;
the amplified response signal contains a reference frequency, and the adjusted cut-off frequency is less than or equal to the reference frequency;
converting the target response signal into a corresponding data form based on a preset signal conversion rule to obtain detection data of a target detection object;
otherwise, determining a target difference value between the first detection frequency and a standard detection frequency required by the detection of the target detection object, and adjusting the first detection frequency based on the target difference value to obtain a second detection frequency;
and detecting the target detection object again based on a second detection frequency until detection data corresponding to the target detection object are obtained.
2. The intelligent sensor-based detection method according to claim 1, wherein in step 1, determining a target detection object of the intelligent sensor and determining a target power supply mode of the intelligent sensor based on the target detection object comprises:
acquiring candidate detection objects of the intelligent sensor, wherein the candidate detection objects comprise combustible gas, temperature and humidity, liquid level and pressure vibration;
determining a target detection object of the intelligent sensor from the vibration of the combustible gas, the temperature and the humidity, the liquid level and the pressure;
constructing an attribute feature extraction model, and extracting attribute feature information of the target detection object based on the attribute feature extraction model;
matching a corresponding power supply mode from a preset power supply mode library of an intelligent sensor based on the attribute characteristic information of the target detection object to obtain a target power supply mode required by the intelligent sensor for detecting the target detection object;
the preset power supply mode library comprises induction power taking, battery power supply, solar power supply and power supply.
3. The smart sensor-based detection method of claim 1, wherein the smart sensor invokes a first detection frequency of the available detection frequencies and transmits the first detection frequency to the target detection object, further comprising:
acquiring real-time working data when the intelligent sensor sends a first detection frequency to the target detection object;
constructing a data evaluation model, and inputting the real-time working data into the data evaluation model to obtain a working performance evaluation value of the intelligent sensor;
judging whether the working performance evaluation value of the intelligent sensor is within a preset performance evaluation range value or not;
if the working performance evaluation value of the intelligent sensor is within a preset performance evaluation range value, judging that the working performance of the intelligent sensor is good;
otherwise, judging that the intelligent sensor is in an abnormal state.
4. The intelligent sensor-based detection method according to claim 1, wherein in step 3, the step of processing the detection data and packing the processed data to obtain a target data packet comprises:
acquiring detection data, extracting characteristic data in the detection data, and clustering the characteristic data;
obtaining isolated data in the detection data based on the clustering processing, and determining a data screening mechanism for cleaning the detection data based on the isolated data;
determining a screening value corresponding to the data screening mechanism, screening the detection data based on the screening value, and eliminating abnormal data in the detection data to obtain target detection data;
simultaneously, determining an optimizable data type and an non-optimizable data type of the target detection data;
determining a dependency relationship tree corresponding to the target detection data based on an optimizable type and an unoptimizable type, wherein the dependency relationship tree comprises a plurality of nodes which are a father node and a son node respectively;
and determining a corresponding data packaging mode to package the target detection data based on the dependency relationship between the father node and the child node of the target detection data and the byte size of the target detection data to obtain a target data packet.
5. The intelligent sensor-based detection method according to claim 1, wherein in step 4, determining a target transmission mode corresponding to the target data packet based on the target data packet, and transmitting the target data packet to a management terminal based on the target transmission mode comprises:
acquiring a target data packet and determining attribute information of the target data packet;
wherein the attribute information includes type information and size information of the target data packet and transmission requirement information of a communication link;
matching a corresponding transmission mode from preset transmission modes of the intelligent sensor based on the attribute information to obtain a target transmission mode;
the preset transmission mode comprises one or more combinations of 485 communication protocol, wireless radio frequency transmission, lora transmission, nb-iot transmission and gprs transmission, and the target transmission mode comprises one or more combinations of 485 communication protocol, wireless radio frequency transmission, lora transmission, nb-iot transmission and gprs transmission;
and establishing a data transmission link between the intelligent sensor and the management terminal based on the target transmission mode, and transmitting a target data packet to the management terminal through the data transmission link.
6. The smart sensor-based detection method according to claim 3, wherein determining that the smart sensor is in an abnormal state further comprises:
acquiring a judgment result of the working state of the intelligent sensor, and giving an alarm when the intelligent sensor is judged to be in an abnormal state;
wherein, the alarm comprises sound alarm and light alarm;
meanwhile, analyzing real-time working data of the intelligent sensor in an abnormal state, and determining a fault reason of the intelligent sensor in the abnormal state;
and maintaining the intelligent sensor based on the fault reason.
7. The intelligent sensor based detection method according to claim 1, wherein the step 2: based on the target power supply mode, driving the intelligent sensor to detect the target detection object and obtain detection data, the method further comprises the following steps:
the method comprises the following steps of obtaining real-time working data of the intelligent sensor when the intelligent sensor detects the target detection object, calculating a working performance coefficient of the intelligent sensor according to the real-time working data, and calculating the accuracy of detection data obtained by the intelligent sensor according to the working performance coefficient, wherein the method specifically comprises the following steps:
calculating the working performance coefficient of the intelligent sensor according to the following formula:
wherein,representing the operating performance coefficient of the intelligent sensor;the working performance factor of the intelligent sensor is represented, and the value range is (1.25, 1.85);representing the current value flowing through the intelligent sensor during working, which is acquired based on real-time working data;representing a resistance value inside the smart sensor obtained based on real-time working data;representing a nominal voltage value of the smart sensor obtained based on real-time operating data;representing the actual voltage values of the two ends of the intelligent sensor during working, which are acquired based on real-time working data;the sensitivity coefficient of the intelligent sensor is represented, and the value range is (0.85, 0.9);representing a power value of the intelligent sensor during operation, which is obtained based on real-time operation data;
calculating the accuracy of the detection data acquired by the intelligent sensor according to the following formula:
wherein,the accuracy of the detection data acquired by the intelligent sensor is represented, and the value range is (0, 1)];Representing the operating performance coefficient of the intelligent sensor;the accurate factor is expressed, and the value range is (0.8, 0.95);indicating the data amount meeting the detection standard in the detection data;representing a total amount of the detected data;the error coefficient is represented, and the value range is (0.15, 0.2);the frequency delay value of the intelligent sensor for transmitting the detection signal is represented, and when the frequency delay value is delayed, the value is 0.8, and when the frequency delay value is not delayed, the value is 1;a period value representing the emission detection signal of the intelligent sensor;
comparing the calculated accuracy with a preset accuracy;
if the accuracy is greater than or equal to the preset accuracy, judging that the detection data of the target detection object by the intelligent sensor is qualified, processing the detection data, and transmitting the detection data to a management terminal;
otherwise, judging that the detection data of the intelligent sensor to the target detection object is unqualified, and discarding the current detection data;
and simultaneously, optimizing the intelligent sensor, and detecting the target detection object again until the accuracy is greater than or equal to the preset accuracy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110286614.0A CN113063461B (en) | 2021-03-17 | 2021-03-17 | Detection method based on intelligent sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110286614.0A CN113063461B (en) | 2021-03-17 | 2021-03-17 | Detection method based on intelligent sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113063461A CN113063461A (en) | 2021-07-02 |
CN113063461B true CN113063461B (en) | 2021-11-30 |
Family
ID=76561263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110286614.0A Active CN113063461B (en) | 2021-03-17 | 2021-03-17 | Detection method based on intelligent sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113063461B (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101769794A (en) * | 2010-01-09 | 2010-07-07 | 泰州职业技术学院 | Infrared temperature detecting wireless sensor node |
CN104462352B (en) * | 2014-12-04 | 2018-04-06 | 北京国双科技有限公司 | Data packing method and device |
CN109640282A (en) * | 2018-11-13 | 2019-04-16 | 广州日浩机电设备有限公司 | A kind of sensor signal wireless transmitting system and method |
CN109451460A (en) * | 2018-12-20 | 2019-03-08 | 广州航天海特***工程有限公司 | Electromechanical equipment operation/maintenance data acquisition method and system based on narrow-band technologies |
KR20200088063A (en) * | 2019-01-14 | 2020-07-22 | 엘지전자 주식회사 | Wireless power transfer appratus |
CN109949559A (en) * | 2019-01-21 | 2019-06-28 | 河南工程学院 | Micropower kilowatt meter reading-out system and equipment based on wireless sensor network |
CN110852374B (en) * | 2019-11-08 | 2023-05-02 | 腾讯云计算(北京)有限责任公司 | Data detection method, device, electronic equipment and storage medium |
CN111767039B (en) * | 2020-06-29 | 2023-11-24 | 重庆市勘测院 | Industrial acquisition gateway and data acquisition method based on script file |
-
2021
- 2021-03-17 CN CN202110286614.0A patent/CN113063461B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113063461A (en) | 2021-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100489699C (en) | Methods for detecting impending sensor failure | |
CN105474378B (en) | It is monitored using the pulsed plasma of optical sensor | |
JP2022137153A5 (en) | ||
EP2378834B1 (en) | Method and circuit for automatic calibration of the power of electromagnetic oven | |
CN116148527B (en) | Electronic electric energy meter transformation device capable of correcting errors | |
WO2001080306A3 (en) | Automated process monitoring and analysis system for semiconductor processing | |
CN1103946C (en) | Process for analysing a measurement and measurement analyser for implementing it | |
CN117002309B (en) | Intelligent fault early warning method and system for charging pile | |
CN108761281B (en) | Method and system for monitoring state and positioning partial discharge of gas insulated transmission line | |
CN113063461B (en) | Detection method based on intelligent sensor | |
CN111682925B (en) | Data acquisition and processing method for intelligent street lamp | |
CN117032004A (en) | Industrial production automatic control platform based on Internet of things | |
CN117075555A (en) | System-in-package equipment operation supervision system based on Internet of things | |
CN115792364A (en) | Power consumption calculation method based on standby state analysis | |
CN113778054B (en) | Double-stage detection method for industrial control system attack | |
CN117031381B (en) | Fault detection system and method of power supply detection equipment | |
EP2177884B1 (en) | Flow rate measuring apparatus and flow rate measuring method | |
CN106411483B (en) | A kind of method and system detecting the accuracy of instrument communication baud rate | |
CN115951123A (en) | Electric energy metering method and system based on wireless communication | |
CN110275156A (en) | The bias voltage scaling method and device of avalanche photodide in laser radar | |
CN107134859A (en) | A kind of wireless charging measuring system | |
CN112491486A (en) | Interference detection system of wireless communication equipment | |
CN112015108A (en) | Intelligent control chip based on sensing technology | |
CN112395278B (en) | Environment-friendly detection system based on environment-friendly Internet of things and working method thereof | |
CN117908522B (en) | Fault positioning method for initiating and controlling equipment based on simulation analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |