CN107907468B - Sensor calibration method, sensor and air treatment equipment - Google Patents
Sensor calibration method, sensor and air treatment equipment Download PDFInfo
- Publication number
- CN107907468B CN107907468B CN201711273785.XA CN201711273785A CN107907468B CN 107907468 B CN107907468 B CN 107907468B CN 201711273785 A CN201711273785 A CN 201711273785A CN 107907468 B CN107907468 B CN 107907468B
- Authority
- CN
- China
- Prior art keywords
- light intensity
- light
- received
- preset
- sensor
- 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
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000001514 detection method Methods 0.000 claims abstract description 74
- 230000008859 change Effects 0.000 claims description 55
- 230000003749 cleanliness Effects 0.000 claims description 15
- 238000009434 installation Methods 0.000 claims description 8
- 230000009467 reduction Effects 0.000 claims description 4
- 230000001186 cumulative effect Effects 0.000 claims description 2
- 230000003321 amplification Effects 0.000 description 13
- 238000003199 nucleic acid amplification method Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 10
- 230000007423 decrease Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 6
- 230000035772 mutation Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 244000052616 bacterial pathogen Species 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N15/00—Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
- G01N15/08—Investigating permeability, pore-volume, or surface area of porous materials
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N15/00—Investigating characteristics of particles; Investigating permeability, pore-volume or surface-area of porous materials
- G01N15/08—Investigating permeability, pore-volume, or surface area of porous materials
- G01N2015/084—Testing filters
Landscapes
- Chemical & Material Sciences (AREA)
- Dispersion Chemistry (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Geophysics And Detection Of Objects (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses a sensor calibration method, a sensor and air treatment equipment, wherein the sensor calibration method comprises the following steps: acquiring a calibration instruction; adjusting the emission light intensity of the detection light, and obtaining the receiving light intensity of the light received by the light receiving component; and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity. The technical scheme of the invention improves the consistency of the sensor.
Description
Technical Field
The invention relates to the technical field of sensing, in particular to a sensor calibration method, a sensor and air treatment equipment.
Background
In the air treatment equipment, a filter screen is usually arranged, so that on one hand, impurities in indoor air can be prevented from entering the air treatment equipment to cause equipment failure, and on the other hand, the quality of the indoor air can be improved. As the use time increases, dust, germs, etc. adhere to the filter, and it is necessary to check the cleanliness of the filter. The sensor for detecting the cleanliness of the filter screen comprises a light emitting component and a light receiving component, the light emitting component and the light receiving component are respectively and correspondingly installed on two sides of the filter screen, and when dust, germs and the like are attached to the filter screen, the light intensity received by the light receiving component changes to realize the detection of the cleanliness of the filter screen. However, due to process limitations and environmental influences, there is a large difference in emission and reception performance between different light emitting modules and light receiving modules, resulting in poor consistency between different sensors.
Disclosure of Invention
The invention mainly aims to provide a sensor calibration method, aiming at solving the technical problem of poor consistency among sensors.
In order to achieve the above object, the present invention provides a calibration method for a sensor, where the sensor is used for detecting cleanliness of a filter screen of an air processing device, the sensor includes a light emitting component and a light receiving component, the light emitting component and the light receiving component are correspondingly disposed on two sides of the filter screen, and detection light emitted by the light emitting component is transmitted through the filter screen and received by the light receiving component;
the sensor calibration method comprises the following steps:
acquiring a calibration instruction;
adjusting the emission light intensity of the detection light, and obtaining the receiving light intensity of the light received by the light receiving component;
and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity.
Optionally, before the step of acquiring the calibration instruction, the sensor calibration method further includes the steps of:
accumulating the cumulative operating time of the air treatment equipment;
and generating a calibration instruction when the accumulated running time reaches a first preset time.
Optionally, before the step of acquiring the calibration instruction, the sensor calibration method further includes the steps of:
acquiring an installation signal of the filter screen;
and generating a calibration instruction when the installation signal of the filter screen is acquired.
Optionally, before the step of acquiring the calibration instruction, the sensor calibration method further includes the steps of:
acquiring the receiving light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
and when the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is greater than or equal to a second preset difference, generating a calibration instruction.
Optionally, the step of adjusting the emission intensity of the detection light and obtaining the received light intensity of the light received by the light receiving assembly includes:
adjusting the emitted light intensity of the detection light to monotonically change from a second preset light intensity to a third preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
when the absolute value of the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is larger than or equal to a third preset difference, rejecting the current acquired value of the received light intensity;
wherein the first predetermined light intensity is between the second predetermined light intensity and the third predetermined light intensity.
Optionally, before the step of updating the standard emitted light intensity to the current emitted light intensity and updating the detected reference light intensity to the current received light intensity when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, the sensor calibration method further comprises the steps of:
adjusting the emitted light intensity of the detection light to monotonically change from a fourth preset light intensity to a fifth preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
calculating a rate of change of the received light intensity with respect to the emitted light intensity;
when the fourth preset light intensity is smaller than the fifth preset light intensity, and the reduction amount of the change rate of the received light intensity relative to the emitted light intensity is larger than or equal to a fourth preset difference value, or the fourth preset light intensity is larger than the fifth preset light intensity, and the increase amount of the change rate of the received light intensity relative to the emitted light intensity is larger than or equal to a fourth preset difference value, updating the first preset light intensity to the current received light intensity;
wherein the first predetermined light intensity is between the fourth predetermined light intensity and the fifth predetermined light intensity.
Optionally, after the step of adjusting the emission intensity of the detection light and obtaining the received light intensity of the light received by the light receiving assembly, the sensor calibration method further includes the steps of:
calculating a rate of change of the received light intensity with respect to the emitted light intensity;
and when the difference between the first preset light intensity and the received light intensity of the detection light is less than zero and the change rate of the received light intensity relative to the transmitted light intensity is less than or equal to the preset change rate, generating a saturation prompt signal.
The invention also provides a sensor for detecting the cleanliness of the filter screen of the air treatment equipment, which comprises a light emitting component, a light receiving component, a memory, a processor and a sensor calibration program stored in the memory and capable of running on the processor, wherein the light emitting component is used for emitting detection light; the light receiving assembly and the light emitting assembly are correspondingly arranged on two sides of the filter screen, and detection light emitted by the light emitting assembly is transmitted through the filter screen and received by the light receiving assembly; the sensor calibration program when executed by the processor implements the steps of a sensor calibration method comprising the steps of: acquiring a calibration instruction; adjusting the emission light intensity of the detection light, and obtaining the receiving light intensity of the light received by the light receiving component; and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity.
The invention also provides air treatment equipment, which comprises a filter screen, a sensor, a memory, a processor and a sensor calibration program, wherein the sensor calibration program is stored in the memory and can run on the processor; the sensor calibration program when executed by the processor implements the steps of a sensor calibration method comprising the steps of: acquiring a calibration instruction; adjusting the emission light intensity of the detection light, and obtaining the receiving light intensity of the light received by the light receiving component; and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity.
Optionally, the air treatment device comprises an air conditioner or an air purifier.
In the technical scheme of the invention, the sensor is used for detecting the cleanliness of a filter screen of air treatment equipment, the sensor comprises a light emitting component and a light receiving component, the light emitting component and the light receiving component are correspondingly arranged on two sides of the filter screen, detection light emitted by the light emitting component is transmitted through the filter screen and received by the light receiving component, and the sensor calibration method comprises the following steps: acquiring a calibration instruction; adjusting the emission light intensity of the detection light and obtaining the receiving light intensity of the light received by the light receiving component; and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity. During the operation of the sensor, there is a difference in performance between different sensors due to process limitations and environmental influences, and as the sensor operation time increases, its performance will gradually decrease. Through the calibration sensor, it is concrete, after obtaining the calibration instruction, adjust the transmitted light intensity of sensor, and record the transmitted light intensity when receiving the light intensity and being close first predetermined light intensity as standard transmitted light intensity, and the received light intensity is as detecting reference light intensity, through the standard transmitted light intensity of the different sensors of calibration, make the detection reference light intensity of each sensor unanimous, thereby effectively overcome the difference in performance between the different sensors, and the problem of the performance skew that leads to because the performance descends in the sensor course of the work, the uniformity of sensor has been improved, the detection effect has been improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of an embodiment of a sensor according to the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a sensor verification method of the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the sensor verification method of the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of a sensor verification method of the present invention;
FIG. 5 is a schematic flow chart of a fourth embodiment of the sensor verification method of the present invention;
FIG. 6 is a detailed flowchart of step S200 in a fifth embodiment of the sensor inspection method of the present invention;
FIG. 7 is a schematic flow chart of a sixth embodiment of a sensor verification method of the present invention;
FIG. 8 is a schematic flow chart of a seventh embodiment of a sensor verification method of the present invention;
FIG. 9 is a schematic circuit diagram of an embodiment of a sensor of the present invention;
FIG. 10 is a schematic structural diagram of an embodiment of an air treatment apparatus according to the present invention.
The dotted arrows in fig. 1 and 10 represent the transmission direction of the detection light.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a sensor calibration method. As shown in fig. 1, in the first embodiment of the present invention, a sensor 10 is used for detecting the cleanliness of a filter screen 20 of an air treatment device, the sensor 10 includes a light emitting component 11 and a light receiving component 12, the light emitting component 11 and the light receiving component 12 are correspondingly disposed on two sides of the filter screen 20, and a detection light emitted by the light emitting component 11 is transmitted through the filter screen 20 and received by the light receiving component 12.
Specifically, the light emitting module 11 may be a light emitting diode or a light emitting triode, which generates a light wave signal with a certain frequency in a continuous or pulse manner, and is received by the light receiving module 12. In order to avoid interference of ambient light with the cleanliness detection of the screen 20, a light emitting assembly 11 capable of generating an infrared signal may be selected. The light receiving element 12 may be a photo transistor, and has three operating states: when the light intensity is weak, the light receiving element 12 works in a cut-off region, in the cut-off region, the light receiving element 12 is not completely opened, and the light intensity of the signal generated by the light receiving element 12 is slightly increased but is basically zero along with the increase of the light intensity; when the light intensity is moderate, the light receiving component 12 works in an amplification area, and in the amplification area, the signal light intensity generated by the light receiving component 12 basically has a linear relation with the change of the light intensity, so that the light intensity change can be reflected more intuitively, and the interference of nonlinear distortion to the detection process is reduced; when the light intensity is strong, the light receiving element 12 operates in a saturation region where the intensity of the signal generated by the light receiving element 12 is substantially constant, approaching a saturated signal, due to saturation even if the light intensity is further increased. In summary, by calibrating the sensors, the standard emission light intensities of different sensors are changed, so that each sensor 10 can normally work in the amplification area, thereby achieving better consistency and detection effect. In sensor 10's course of work, under the unchangeable condition of the detection light emission intensity of light emission subassembly 11 transmission, if filter screen 20 is comparatively clean, then, can transmit the detection light that passes through filter screen 20 more, it is corresponding, the received light intensity of light receiving component 12 receipt is stronger, otherwise, if filter screen 20 appears filthy stifled, then, the detection light that can transmit through filter screen 20 is less, it is corresponding, the received light intensity of light receiving component 12 receipt is relatively weak, thereby realize the detection to filter screen 20 cleanliness factor.
As shown in fig. 2, the sensor calibration method includes the steps of:
s100, acquiring a calibration instruction;
s200, adjusting the emission light intensity of the detection light, and acquiring the receiving light intensity of the light received by the light receiving component;
step S300, when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, the standard emitted light intensity is updated to the current emitted light intensity, and the detected reference light intensity is updated to the current received light intensity.
According to the working principle of the sensor 10, when the filter screen 20 is in a clean state, the light intensity of the light received by the light receiving assembly 12 of the sensor 10 is the maximum, and the light intensity of the light received by the light receiving assembly 12 decreases as the filter screen 20 gets dirty and blocked. Meanwhile, when the light receiving component 12 works in the amplification area, the received light intensity and the electrical signal generated by the light receiving component 12 are basically in a linear relationship, so that the interference of nonlinear distortion to detection can be effectively avoided. Therefore, when calibrating the sensors 10, the objective is to find the standard emission intensity of each sensor 10 by adjusting the emission intensity of the light emitting module 11, so that the light emitting module 11 emits the detection light with the standard emission intensity, and in the state that the filter is clean, the received light intensity of the light received by the light receiving module 12 is close to the boundary point between the amplification region and the saturation region, and the current received light intensity is used as the detection reference light intensity. In the subsequent measurement process, the light emitting component 11 emits detection light with standard emission light intensity, the received light intensity received by the light receiving component 12 is gradually reduced along with the gradual filth blockage of the filter screen, and the cleanliness of the filter screen is obtained by comparing the received light intensity with the detection reference light intensity. After calibration, the detection reference light intensity is the maximum receiving light intensity which can be received by the light receiving component 12 in the filter screen state change process, and is close to the boundary point between the amplification area and the saturation area, so that the amplification area can be fully utilized to cover a wider detection range, and the detection performance of the sensor 10 is improved.
The start of the calibration procedure is controlled by obtaining calibration instructions, wherein the generation of the calibration instructions is related to the state of the filter screen. When the filter screen is in a clean state, the calibration condition is met, i.e., a calibration command can be automatically or manually generated, which will be described in detail later. The first preset light intensity corresponds to a received light intensity at a boundary point between the amplification region and the saturation region. In order to further improve the consistency between the sensors, the first predetermined light intensity may be set to a uniform value near the intersection point between the amplification region and the saturation region of each sensor, and the first predetermined light intensity is determined by the performance of the light receiving element 12, and may be obtained by querying a pre-stored performance parameter of the light receiving element 12 or by measurement.
In this embodiment, the sensor 10 is used for detecting the cleanliness of a filter screen 20 of an air treatment device, the sensor 10 includes a light emitting component 11 and a light receiving component 12, the light emitting component 11 and the light receiving component 12 are respectively disposed at two sides of the filter screen 20, the detection light emitted by the light emitting component 11 is transmitted through the filter screen 20 and received by the light receiving component 12, and the sensor calibration method includes the following steps: acquiring a calibration instruction; adjusting the emission light intensity of the detection light and obtaining the receiving light intensity of the light received by the light receiving component 12; and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity. During operation of the sensor 10, there is a difference in performance between different sensors 10 due to process limitations and environmental influences, and as the operating time of the sensor 10 increases, its performance will gradually decrease. Through calibration sensor 10, it is concrete, after obtaining the calibration instruction, adjust the transmitted light intensity of sensor 10, and record the transmitted light intensity as standard transmitted light intensity when receiving the light intensity and being close first predetermined light intensity, and the received light intensity is as the detection reference light intensity, through the standard transmitted light intensity of the different sensors of calibration, make the detection reference light intensity of each sensor 10 unanimous, thereby effectively overcome the performance difference between the different sensors 10, and the problem of the performance skew that leads to because the performance descends in the sensor 10 course of operation, the uniformity of sensor 10 has been improved, the detection effect has been improved.
In the second embodiment of the present invention, as shown in fig. 3, before step S100, the sensor calibration method further includes the steps of:
step S410, accumulating the accumulated running time of the air treatment equipment;
and step S420, when the accumulated running time reaches a first preset time, generating a calibration instruction.
The first preset time is the sum of the running time in the debugging process before the air treatment equipment leaves the factory and the running time in the installation process before the air treatment equipment is used by a user, namely, the first preset time corresponds to the running time of the air treatment equipment from the time when the air treatment equipment can run to the time when the air treatment equipment is formally used by the user, when the accumulated running time reaches the first preset time, the time when the air treatment equipment is used by the user is corresponding to the time when the user starts to use the air treatment equipment, at the moment, the filter screen is still in a clean state, and a calibration instruction is generated in the state to calibrate the sensor.
In a third embodiment of the present invention, as shown in fig. 4, before step S100, the sensor calibration method further includes the steps of:
s430, acquiring a mounting signal of the filter screen;
and step S440, generating a calibration instruction when the installation signal of the filter screen is acquired.
After the air treatment device is operated for a period of time, the user generally cleans the filter screen and reinstalls the filter screen into the air treatment device to improve the operation of the air treatment device. Therefore, by obtaining the installation signal of the filter screen, the filter screen can be presumed to be in a clean state just after being cleaned, and at the moment, a calibration instruction is generated to calibrate the standard emission light intensity and the detection reference light intensity.
In a fourth embodiment of the present invention, as shown in fig. 5, before step S100, the sensor calibration method further includes the steps of:
step S450, acquiring the receiving light intensity of the light received by the light receiving component;
step S460, comparing the current acquired value and the previous acquired value of the received light intensity;
step S470 is to generate a calibration command when the difference between the current obtained value of the received light intensity and the previous obtained value of the received light intensity is greater than or equal to a second preset difference.
In this embodiment, under the prerequisite that the light emission subassembly kept standard emitted light intensity emission to detect the light, when obtaining received light intensity and increase suddenly, through clean corresponding to the filter screen, the transmissivity increases, and the filter screen is in clean state promptly, generates the calibration instruction this moment, calibrates the sensor.
In the fifth embodiment of the present invention, as shown in fig. 6, step S200 includes:
step S210, adjusting the emitted light intensity of the detection light to monotonically change from a second preset light intensity to a third preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
step S220, comparing the current acquired value and the previous acquired value of the received light intensity;
step S230, when the absolute value of the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is larger than or equal to a third preset difference, rejecting the current acquired value of the received light intensity;
wherein the first preset light intensity is between the second preset light intensity and the third preset light intensity.
In this embodiment, considering the influence of the sudden change of the ambient light intensity and the detection jump, the received light intensity received by the light receiving element may be suddenly changed, and the received light intensity may not correctly reflect the state of the light receiving element, and the sudden change data needs to be removed. Specifically, for convenience of judgment, the emitted light intensity of the detection light is controlled to change monotonically, and the change range covers the first preset light intensity. When the second preset light intensity is smaller than the third preset light intensity, the emission light intensity of the detection light is monotonically increased; when the second preset light is larger than the third preset light, namely the emitting light intensity of the detection light is monotonously reduced, when the absolute value of the difference value of the current acquired value of the received light intensity and the previous acquired value of the received light intensity is larger than or equal to a third preset difference value, wherein the third preset difference value corresponds to the minimum variation of the received light intensity during mutation, namely the received light intensity generates mutation, the current acquired value of the received light intensity is rejected, namely the mutation point is rejected, so that the interference of the mutation on the calibration process is eliminated, and the calibration accuracy is improved.
In a sixth embodiment of the present invention, as shown in fig. 7, before step S300, the sensor calibration method further includes the steps of:
step S510, adjusting the emitted light intensity of the detection light to monotonically change from a fourth preset light intensity to a fifth preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
step S520, calculating the change rate of the received light intensity relative to the transmitted light intensity;
step S530, when the fourth preset light intensity is smaller than the fifth preset light intensity and the decrease of the change rate of the received light intensity relative to the transmitted light intensity is larger than or equal to a fourth preset difference value, or the fourth preset light intensity is larger than the fifth preset light intensity and the increase of the change rate of the received light intensity relative to the transmitted light intensity is larger than or equal to the fourth preset difference value, updating the first preset light intensity to the current received light intensity;
wherein the first preset light intensity is between the fourth preset light intensity and the fifth preset light intensity.
In this embodiment, the intersection point of the amplification region and the saturation region of the light receiving element 12 is used as the first preset light intensity, and the first preset light intensity is obtained by measurement. Specifically, the emitted light intensity of the light emitting element 11 is adjusted, the received light intensity received by the light receiving element 12 is obtained, and the rate of change of the received light intensity with respect to the emitted light intensity is calculated. In the process of gradually increasing the emitted light intensity from zero, the rate of change of the received light intensity with respect to the emitted light intensity is initially substantially zero, i.e., corresponding to the cut-off region of the light receiving element 12, rapidly increases to a constant greater than zero as the emitted light intensity increases, i.e., corresponding to the amplification region of the light receiving element 12, and rapidly decreases to substantially zero as the emitted light intensity further increases, i.e., corresponding to the saturation region of the light receiving element 12. In the above process, when the fourth preset light intensity is smaller than the fifth preset light intensity and the decrease of the change rate of the received light intensity with respect to the emitted light intensity is greater than or equal to the fourth preset difference, that is, the change rate is suddenly changed from a constant greater than zero to a point substantially zero, corresponding to the intersection point of the amplification region and the saturation region, the corresponding received light intensity is the first preset light intensity. Similarly, when the fourth preset light intensity is greater than the fifth preset light intensity and the increase of the change rate of the received light intensity with respect to the emitted light intensity is greater than or equal to the fourth preset difference, that is, the change rate is suddenly changed from substantially zero to a constant greater than zero, corresponding to the intersection point of the amplification region and the saturation region, and the corresponding received light intensity is the first preset light intensity.
In the seventh embodiment of the present invention, as shown in fig. 8, after step S200, the sensor calibration method further includes the steps of:
step S600, calculating the change rate of the received light intensity relative to the transmitted light intensity;
step S700, when the difference of the received light intensity of the first preset light intensity subtraction light is smaller than zero and the change rate of the received light intensity relative to the transmitted light intensity is smaller than or equal to the preset change rate, generating a saturation prompt signal.
In this embodiment, it is difficult to calibrate the sensor correctly and effectively considering that if the ambient light intensity is too high, the light receiving component may be always in a saturated state. Specifically, when the difference between the received light intensity of the first preset light intensity subtraction detection light is smaller than zero and the change rate of the received light intensity with respect to the transmitted light intensity is smaller than or equal to the preset change rate, it indicates that the light receiving assembly is in the saturation region in the current state, and the user is prompted to adjust the ambient light intensity by generating a saturation prompt signal, so as to ensure the normal operation of calibration.
The present invention also provides a sensor, as shown in fig. 1 and 9, a sensor 10 for detecting the cleanliness of a filter screen of an air treatment device, the sensor 10 comprising a light emitting assembly 11, a light receiving assembly 12, a memory 13, a processor 14, and a sensor inspection program stored on the memory 13 and operable on the processor 14, wherein the light emitting assembly 11 is used for emitting detection light; the light receiving component 12 and the light emitting component 11 are correspondingly arranged on two sides of the filter screen, and the detection light emitted by the light emitting component 11 is transmitted through the filter screen 20 and received by the light receiving component 12; the processor 14 is electrically connected to both the light emitting assembly 11 and the light receiving assembly 12.
The processor 14 invokes the sensor verification program stored in the memory 13 and performs the following operations:
acquiring a calibration instruction;
adjusting the emission light intensity of the detection light and obtaining the receiving light intensity of the light received by the light receiving component;
and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity.
The processor 14 calls the sensor verification program stored in the memory 13, and before the operation of acquiring the calibration instructions, further performs the following operations:
accumulating the accumulated running time of the air treatment equipment;
and generating a calibration instruction when the accumulated running time reaches a first preset time.
The processor 14 calls the sensor verification program stored in the memory 13, and before the operation of acquiring the calibration instructions, further performs the following operations:
acquiring a mounting signal of a filter screen;
and when the installation signal of the filter screen is acquired, generating a calibration instruction.
The processor 14 calls the sensor verification program stored in the memory 13, and before the operation of acquiring the calibration instructions, further performs the following operations:
acquiring the receiving light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
and when the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is greater than or equal to a second preset difference, generating a calibration instruction.
The operations of the processor 14 calling the sensor inspection program stored in the memory 13, adjusting the emission light intensity of the detection light, and acquiring the reception light intensity of the light received by the light receiving element include:
adjusting the emitted light intensity of the detection light to monotonically change from the second preset light intensity to a third preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
when the absolute value of the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is larger than or equal to a third preset difference, the current acquired value of the received light intensity is rejected;
wherein the first preset light intensity is between the second preset light intensity and the third preset light intensity.
The processor 14 calls the sensor checking program stored in the memory 13, and further performs the following operations before the operation of updating the standard emitted light intensity to the current emitted light intensity and updating the detected reference light intensity to the current received light intensity when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference:
adjusting the emitted light intensity of the detection light to monotonically change from a fourth preset light intensity to a fifth preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
calculating the change rate of the received light intensity relative to the transmitted light intensity;
when the fourth preset light intensity is smaller than the fifth preset light intensity and the reduction of the change rate of the received light intensity relative to the transmitted light intensity is larger than or equal to a fourth preset difference value, or the fourth preset light intensity is larger than the fifth preset light intensity and the increase of the change rate of the received light intensity relative to the transmitted light intensity is larger than or equal to the fourth preset difference value, updating the first preset light intensity into the current received light intensity;
wherein the first preset light intensity is between the fourth preset light intensity and the fifth preset light intensity.
The processor 14 calls the sensor inspection program stored in the memory 13, and after the operations of adjusting the emission light intensity of the detection light and acquiring the received light intensity of the light received by the light receiving element, further performs the following operations:
calculating the change rate of the received light intensity relative to the transmitted light intensity;
when the difference of the received light intensity of the first preset light intensity subtraction detection light is smaller than zero and the change rate of the received light intensity relative to the transmitted light intensity is smaller than or equal to the preset change rate, a saturation prompt signal is generated.
The present invention also proposes an air treatment apparatus, as shown in fig. 10, which includes a filter screen 20, a sensor 10, a memory 30, a processor 40, and a sensor verification program stored on the memory 30 and executable on the processor 40, wherein,
the sensor 10 is used for detecting the cleanliness of a filter screen of the air treatment equipment, the sensor 10 comprises a light emitting component 11 and a light receiving component 12, the light emitting component 11 and the light receiving component 12 are correspondingly arranged on two sides of the filter screen, and detection light emitted by the light emitting component 11 is transmitted through the filter screen 20 and received by the light receiving component 12. The processor 40 is electrically connected to the sensor 10 and the memory 30. Specifically, the air treatment device includes an air conditioner or an air purifier.
The processor 40 invokes the sensor verification program stored in the memory 30 and performs the following operations:
acquiring a calibration instruction;
adjusting the emission light intensity of the detection light and obtaining the receiving light intensity of the light received by the light receiving component;
and when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, updating the standard emitted light intensity to the current emitted light intensity, and updating the detected reference light intensity to the current received light intensity.
The processor 40 invokes the sensor verification program stored in the memory 30, and prior to the operation of retrieving the calibration instructions, performs the following operations:
accumulating the accumulated running time of the air treatment equipment;
and generating a calibration instruction when the accumulated running time reaches a first preset time.
The processor 40 invokes the sensor verification program stored in the memory 30, and prior to the operation of retrieving the calibration instructions, performs the following operations:
acquiring a mounting signal of a filter screen;
and when the installation signal of the filter screen is acquired, generating a calibration instruction.
The processor 40 invokes the sensor verification program stored in the memory 30, and prior to the operation of retrieving the calibration instructions, performs the following operations:
acquiring the receiving light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
and when the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is greater than or equal to a second preset difference, generating a calibration instruction.
The operations of the processor 40 calling the sensor verification program stored in the memory 30, adjusting the emission light intensity of the detection light, and acquiring the reception light intensity of the light received by the light receiving element include:
adjusting the emitted light intensity of the detection light to monotonically change from the second preset light intensity to a third preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
when the absolute value of the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is larger than or equal to a third preset difference, the current acquired value of the received light intensity is rejected;
wherein the first preset light intensity is between the second preset light intensity and the third preset light intensity.
The processor 40 calls the sensor checking program stored in the memory 30, and further performs the following operations before the operation of updating the standard emitted light intensity to the current emitted light intensity and updating the detected reference light intensity to the current received light intensity when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference:
adjusting the emitted light intensity of the detection light to monotonically change from a fourth preset light intensity to a fifth preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
calculating the change rate of the received light intensity relative to the transmitted light intensity;
when the fourth preset light intensity is smaller than the fifth preset light intensity and the reduction of the change rate of the received light intensity relative to the transmitted light intensity is larger than or equal to a fourth preset difference value, or the fourth preset light intensity is larger than the fifth preset light intensity and the increase of the change rate of the received light intensity relative to the transmitted light intensity is larger than or equal to the fourth preset difference value, updating the first preset light intensity into the current received light intensity;
wherein the first preset light intensity is between the fourth preset light intensity and the fifth preset light intensity.
The processor 40 calls the sensor verification program stored in the memory 30, and after the operations of adjusting the emission light intensity of the detection light and acquiring the reception light intensity of the light received by the light receiving element, further performs the following operations:
calculating the change rate of the received light intensity relative to the transmitted light intensity;
when the difference of the received light intensity of the first preset light intensity subtraction detection light is smaller than zero and the change rate of the received light intensity relative to the transmitted light intensity is smaller than or equal to the preset change rate, a saturation prompt signal is generated.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A sensor calibration method is characterized in that the sensor comprises a light emitting component and a light receiving component, wherein the light emitting component and the light receiving component are correspondingly arranged on two sides of a filter screen, and detection light emitted by the light emitting component is transmitted through the filter screen and received by the light receiving component;
the sensor calibration method comprises the following steps:
acquiring a calibration instruction;
adjusting the emission light intensity of the detection light, and obtaining the receiving light intensity of the light received by the light receiving component;
when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, the standard emitted light intensity is updated to the current emitted light intensity, and the detection reference light intensity is updated to the current received light intensity;
before the steps of updating the standard emitted light intensity to the current emitted light intensity and updating the detected reference light intensity to the current received light intensity when the difference between the first preset light intensity and the received light intensity is greater than or equal to zero and less than or equal to the first preset difference, the sensor calibration method further comprises the steps of:
adjusting the emitted light intensity of the detection light to monotonically change from a fourth preset light intensity to a fifth preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
calculating a rate of change of the received light intensity with respect to the emitted light intensity;
when the fourth preset light intensity is smaller than the fifth preset light intensity, and the reduction amount of the change rate of the received light intensity relative to the emitted light intensity is larger than or equal to a fourth preset difference value, or the fourth preset light intensity is larger than the fifth preset light intensity, and the increase amount of the change rate of the received light intensity relative to the emitted light intensity is larger than or equal to a fourth preset difference value, updating the first preset light intensity to the current received light intensity;
wherein the first predetermined light intensity is between the fourth predetermined light intensity and the fifth predetermined light intensity.
2. The sensor calibration method of claim 1, wherein prior to the step of obtaining calibration instructions, the sensor calibration method further comprises the steps of:
accumulating the cumulative operating time of the air treatment equipment;
and generating a calibration instruction when the accumulated running time reaches a first preset time.
3. The sensor calibration method of claim 1, wherein prior to the step of obtaining calibration instructions, the sensor calibration method further comprises the steps of:
acquiring an installation signal of the filter screen;
and generating a calibration instruction when the installation signal of the filter screen is acquired.
4. The sensor calibration method of claim 1, wherein prior to the step of obtaining calibration instructions, the sensor calibration method further comprises the steps of:
acquiring the receiving light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
and when the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is greater than or equal to a second preset difference, generating a calibration instruction.
5. The sensor calibration method according to claim 1, wherein the step of adjusting the emission intensity of the detection light and obtaining the reception intensity of the light received by the light receiving element comprises:
adjusting the emitted light intensity of the detection light to monotonically change from a second preset light intensity to a third preset light intensity, and acquiring the received light intensity of the light received by the light receiving component;
comparing the current acquired value with the previous acquired value of the received light intensity;
when the absolute value of the difference between the current acquired value of the received light intensity and the previous acquired value of the received light intensity is larger than or equal to a third preset difference, rejecting the current acquired value of the received light intensity;
wherein the first predetermined light intensity is between the second predetermined light intensity and the third predetermined light intensity.
6. The sensor calibration method according to claim 1, wherein after the steps of adjusting the emission intensity of the detection light and obtaining the reception intensity of the light received by the light receiving element, the sensor calibration method further comprises the steps of:
calculating a rate of change of the received light intensity with respect to the emitted light intensity;
and when the difference between the first preset light intensity and the received light intensity of the detection light is less than zero and the change rate of the received light intensity relative to the transmitted light intensity is less than or equal to the preset change rate, generating a saturation prompt signal.
7. A sensor for detecting filter screen cleanliness of an air treatment device, the sensor comprising a light emitting assembly, a light receiving assembly, a memory, a processor, and a sensor calibration program stored on the memory and executable on the processor, wherein,
the light emitting component is used for emitting detection light;
the light receiving assembly and the light emitting assembly are correspondingly arranged on two sides of the filter screen, and detection light emitted by the light emitting assembly is transmitted through the filter screen and received by the light receiving assembly;
the sensor calibration program when executed by the processor implements the steps of the sensor calibration method of any one of claims 1 to 6.
8. An air treatment device comprising a screen, a sensor, a memory, a processor, and a sensor calibration program stored on the memory and executable on the processor, wherein,
the sensor is used for detecting the cleanliness of a filter screen of the air treatment equipment and comprises a light emitting component and a light receiving component, wherein the light emitting component and the light receiving component are correspondingly arranged on two sides of the filter screen, and detection light emitted by the light emitting component is transmitted through the filter screen and received by the light receiving component;
the sensor calibration program when executed by the processor implements the steps of the sensor calibration method of any one of claims 1 to 6.
9. The air treatment device of claim 8, wherein the air treatment device comprises an air conditioner or an air purifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711273785.XA CN107907468B (en) | 2017-12-04 | 2017-12-04 | Sensor calibration method, sensor and air treatment equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711273785.XA CN107907468B (en) | 2017-12-04 | 2017-12-04 | Sensor calibration method, sensor and air treatment equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107907468A CN107907468A (en) | 2018-04-13 |
CN107907468B true CN107907468B (en) | 2020-11-06 |
Family
ID=61854458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711273785.XA Active CN107907468B (en) | 2017-12-04 | 2017-12-04 | Sensor calibration method, sensor and air treatment equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107907468B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109059795B (en) * | 2018-06-29 | 2020-11-03 | 歌尔光学科技有限公司 | Depth measuring method, depth measuring device and shooting equipment |
CN109100306A (en) * | 2018-07-31 | 2018-12-28 | 广东美的制冷设备有限公司 | Cleanliness detection method, device and computer readable storage medium |
CN109059181B (en) * | 2018-07-31 | 2021-07-16 | 广东美的制冷设备有限公司 | Photoelectric sensor calibration method and device, air conditioner and readable storage medium |
CN109028517B (en) * | 2018-07-31 | 2020-10-20 | 广东美的制冷设备有限公司 | Method for detecting cleanliness of filter screen, air conditioner and computer readable storage medium |
CN110243741A (en) * | 2019-07-22 | 2019-09-17 | 珠海格力电器股份有限公司 | Automatic calibration method and system of PM2.5 sensor and air purifier |
CN112665627B (en) * | 2020-12-24 | 2023-10-10 | 佛山市顺德区美的电子科技有限公司 | Method, device and storage medium for calibrating infrared performance of air conditioner |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773256A (en) * | 2005-11-10 | 2006-05-17 | 厦门大学 | Absorption analytical instrument optical detection measurement range expanding circuit |
CN1988838B (en) * | 2004-07-23 | 2010-11-17 | Bsh博世和西门子家用器具有限公司 | Method for calibrating sensors |
CN103852490A (en) * | 2012-12-05 | 2014-06-11 | 佛山市顺德区美的洗涤电器制造有限公司 | Calibration module of turbidity sensor and scouring water turbidity detection system and method |
CN104485923A (en) * | 2014-11-03 | 2015-04-01 | 佛山市顺德区美的洗涤电器制造有限公司 | Dish washer, turbidity sensor calibration control method and device |
CN204555030U (en) * | 2015-03-09 | 2015-08-12 | Tcl空调器(中山)有限公司 | Hanging air conditioner |
CN105699336A (en) * | 2016-03-24 | 2016-06-22 | 深圳怡化电脑股份有限公司 | Method, system and device for detecting luminousness of medium pervious to light |
-
2017
- 2017-12-04 CN CN201711273785.XA patent/CN107907468B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988838B (en) * | 2004-07-23 | 2010-11-17 | Bsh博世和西门子家用器具有限公司 | Method for calibrating sensors |
CN1773256A (en) * | 2005-11-10 | 2006-05-17 | 厦门大学 | Absorption analytical instrument optical detection measurement range expanding circuit |
CN103852490A (en) * | 2012-12-05 | 2014-06-11 | 佛山市顺德区美的洗涤电器制造有限公司 | Calibration module of turbidity sensor and scouring water turbidity detection system and method |
CN104485923A (en) * | 2014-11-03 | 2015-04-01 | 佛山市顺德区美的洗涤电器制造有限公司 | Dish washer, turbidity sensor calibration control method and device |
CN204555030U (en) * | 2015-03-09 | 2015-08-12 | Tcl空调器(中山)有限公司 | Hanging air conditioner |
CN105699336A (en) * | 2016-03-24 | 2016-06-22 | 深圳怡化电脑股份有限公司 | Method, system and device for detecting luminousness of medium pervious to light |
Also Published As
Publication number | Publication date |
---|---|
CN107907468A (en) | 2018-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107907468B (en) | Sensor calibration method, sensor and air treatment equipment | |
CN108088800B (en) | Sensor inspection method, sensor and air treatment equipment | |
CN108333149B (en) | Filter screen cleanliness detection method, filter screen cleanliness sensor and air treatment equipment | |
TW201539010A (en) | Calibration method of proximity sensor and calibration system thereof | |
US10371805B2 (en) | Ultrasonic object detection apparatus | |
US10432194B2 (en) | Adaptive signal threshold for triggering kick detection | |
WO2016045095A1 (en) | Method, apparatus and device for correcting detection distance | |
WO2014196188A1 (en) | Physical quantity sensor adjustment method, and physical quantity sensor | |
RU2016105528A (en) | Car reflex optical sensor | |
KR20190029186A (en) | Fault diagnosis of timer for engine off time monitoring | |
US20100280391A1 (en) | Device and method for remote monitoring | |
US20170097264A1 (en) | Information processing apparatus, human presence determining method, and recording medium storing determining program | |
CN108169094B (en) | Filter screen cleanliness detection method, sensor and air treatment equipment | |
CN109059181B (en) | Photoelectric sensor calibration method and device, air conditioner and readable storage medium | |
FR3095063B1 (en) | Electronic device and method of piloting an autonomous motor vehicle with user gestures, autonomous motor vehicle and associated computer program | |
SE544639C2 (en) | Method and system for determining the presence of a person to wake up a device | |
CN114993516A (en) | Method and device for detecting temperature sensor | |
CN112612028B (en) | Infrared proximity sensing method and device, air conditioner and storage medium | |
CN112867908B (en) | Method, system, computer program for offset calibration of a rotational speed sensor signal of a rotational speed sensor | |
WO2018006998A1 (en) | Control device for sensor and method thereof | |
CN107064436B (en) | Gas detection method for micro-electromechanical system sensor, sensor and storage medium | |
JP2009198373A (en) | Gas detection device | |
CN114689790B (en) | Sensor data calibration method, sensor data calibration device and range hood | |
US20230314609A1 (en) | Proximity sensing | |
CN107526088B (en) | Proximity sensor based error cancellation method and related product |
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 |