CN109001712B - Infrared distance sensor calibration method and intelligent household appliance - Google Patents
Infrared distance sensor calibration method and intelligent household appliance Download PDFInfo
- Publication number
- CN109001712B CN109001712B CN201810732134.0A CN201810732134A CN109001712B CN 109001712 B CN109001712 B CN 109001712B CN 201810732134 A CN201810732134 A CN 201810732134A CN 109001712 B CN109001712 B CN 109001712B
- Authority
- CN
- China
- Prior art keywords
- calibration
- infrared
- distance sensor
- detection result
- marker
- 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
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/48—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
- G01S7/497—Means for monitoring or calibrating
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses an infrared distance sensor calibration method and an intelligent household appliance, which are characterized by comprising the following steps: setting an infrared distance sensor and a calibration marker at a preset distance; setting the infrared distance sensor to enter a calibration mode, detecting the calibration marker, and acquiring a detection result; and comparing the detection result with the preset distance to obtain a comparison result, judging that the comparison result meets a threshold value, exiting the calibration mode and completing calibration. According to the method, the infrared distance sensor and the standard marker are arranged at the preset distance, so that the reliability of data detected by the infrared distance sensor is effectively improved, and the problem of large deviation when the infrared distance sensor is assembled in other equipment is solved.
Description
Technical Field
The invention relates to the field of distance sensors of electronic equipment, in particular to a calibration method of an infrared distance sensor.
Background
Many existing intelligent household appliances, such as refrigerators, are equipped with screens, so that an infrared distance sensor becomes an important choice for conveniently and quickly waking up a system through a non-contact way. However, the infrared distance sensor of the intelligent household appliance product is covered with glass at the outside, and the assembly tolerance and the difference of the infrared distance sensor lead to larger tolerance and poorer consistency of the infrared distance sensor. In order to solve the problem, the 3D camera is expensive and cannot be popularized in common intelligent household appliances, so that the problem of large tolerance and poor consistency of the infrared distance sensor cannot be effectively solved by the scheme.
Disclosure of Invention
In view of the above technical problems in the prior art, embodiments of the present invention provide a calibration method for an infrared distance sensor and an intelligent home appliance, which can greatly reduce an error of the infrared distance sensor and improve reliability of a detection result of the infrared distance sensor.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
a method of infrared distance sensor calibration, the method comprising:
setting an infrared distance sensor and a calibration marker at a preset distance;
setting the infrared distance sensor to enter a calibration mode, detecting the calibration marker, and acquiring a detection result;
and comparing the detection result with the preset distance to obtain a comparison result, judging that the comparison result meets a threshold value, exiting the calibration mode and completing calibration.
Preferably, the calibration marker is a shutter capable of reflecting infrared rays emitted from the infrared distance sensor.
Preferably, the calibration marker is detected to obtain a detection result, specifically:
the infrared distance sensor emits infrared rays and records emission time;
receiving the infrared rays reflected by the calibration marker and recording the receiving time;
based on the emission time and the reception time, a detection distance of the calibration marker is acquired.
Preferably, the calibration marker is detected to obtain a detection result, specifically:
the infrared distance sensor emits infrared rays and records position information of an emission point;
receiving the infrared rays reflected by the calibration marker, and recording the position information of a receiving point;
and acquiring the detection distance of the calibration marker based on the position information of the transmitting point and the receiving point.
Preferably, the method further comprises:
if the comparison result meets the threshold value, exiting the calibration mode and completing calibration;
and if the comparison result does not meet the threshold value, calibrating the infrared distance sensor, and detecting the calibration marker again to obtain a detection result.
Preferably, the infrared distance sensor is calibrated, specifically:
acquiring calibration parameters based on the detection distance of the calibration marker and the preset distance;
and carrying out zero setting calibration on the infrared distance sensor based on the calibration parameters.
Preferably, the calibration parameter is a difference between a detection distance of the calibration marker and the preset distance.
The embodiment of the application also provides an intelligent household appliance, which comprises
The infrared module is used for transmitting and receiving infrared signals;
the detection module is used for detecting the distance of the calibration marker and acquiring the detection result of the calibration marker according to the emission and receiving signals of the infrared ray;
the judging module is used for judging whether the detection result meets the threshold value;
and the ending module is used for exiting the calibration mode and finishing calibration when the detection result meets the threshold value.
Preferably, the judging module includes:
the comparison unit is used for comparing the detection result with the preset distance to obtain a comparison result and judging that the comparison result meets a threshold value;
and the circulating unit is used for detecting the standard marker again to obtain a detection result when the detection result does not meet the threshold value.
Preferably, the intelligent home appliance further includes:
and the calibration module is used for acquiring the calibration parameters based on the detection result and the preset distance and calibrating the infrared module when the detection data does not meet the threshold value.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: according to the embodiment of the invention, by the method of arranging the infrared distance sensor and the standard marker at the preset distance, the reliability of the data detected by the infrared distance sensor is effectively improved, and the problem of large deviation when the infrared distance sensor is assembled on other equipment is solved.
Drawings
FIG. 1 is a flow chart of a method for calibrating an infrared distance sensor according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an intelligent home appliance according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention is provided in connection with the accompanying drawings and is not to be taken in a limiting sense.
The invention provides a method for calibrating an infrared distance sensor, which comprises the following steps as shown in figure 1:
s1: setting an infrared distance sensor and a calibration marker at a preset distance;
a calibration marker is arranged at a preset distance from the infrared distance sensor, and the standard marker is a baffle and the like and can reflect infrared real objects emitted from the infrared distance sensor.
S2: setting the infrared distance sensor to enter a calibration mode, detecting the calibration marker, and acquiring a detection result, wherein the detection result is the detection distance of the calibration marker detected by the infrared distance sensor;
further, in this embodiment, the infrared distance sensor obtains the detection result, which can be specifically implemented in the following two ways:
the first mode is as follows: the infrared distance sensor emits infrared rays, the calibration marker reflects infrared ray signals to the infrared distance sensor, at the moment, emitting and receiving time points are recorded, and the detection distance is calculated according to the difference between the two time points and the infrared ray propagation speed.
The second mode is as follows: the infrared distance sensor emits infrared rays, the calibration marker reflects infrared ray signals to the infrared distance sensor, at the moment, position information of the emitting point and position information of the receiving point are recorded, and the detection distance is calculated according to the preset distance and the ratio between the preset distance and the position information of the emitting point and the receiving point.
S3: comparing the detection result with a preset distance to obtain a comparison result, and judging that the comparison result meets a threshold value; if not, entering S4; if yes, entering S5;
and after the detection result is obtained, comparing the detection result with a preset distance, obtaining a detection error, and comparing the detection error with a threshold value to determine whether the threshold value is met. The setting of the threshold value should be performed by a person skilled in the art according to experimental results or practical situations, and is not limited herein.
S4: calibrating the infrared distance sensor and returning to S2;
at this time, the difference between the detection result and the preset distance is obtained, and the difference between the quantity data is used as a calibration parameter for the zero setting calibration of the infrared distance sensor.
S5: the calibration mode is exited and calibration is completed.
The application also discloses intelligent household electrical appliances, as shown in fig. 2, intelligent household electrical appliances include:
an infrared module 100 for emitting and receiving infrared signals;
the detection module 200 is used for detecting the distance of the calibration marker and acquiring the detection result of the calibration marker according to the emission and receiving signals of the infrared ray;
the judging module 300 compares the detection result with a preset distance to obtain a comparison result, and judges whether the comparison result is full of a threshold value;
and the ending module 400 exits the calibration mode and completes the calibration when the detection result meets the threshold.
Based on the foregoing embodiment, preferably, the determining module further includes:
the comparison unit is used for comparing the detection result with the preset distance to obtain a comparison result and judging that the comparison result meets a threshold value;
and the circulating unit is used for detecting the standard marker again to obtain a detection result when the detection result does not meet the threshold value.
Based on the above embodiment, preferably, the intelligent home appliance further includes:
and the calibration module 500 is used for acquiring the calibration parameters based on the detection result and the preset distance and calibrating the infrared module when the detection data does not meet the threshold value.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.
Claims (5)
1. A method of infrared distance sensor calibration, the method comprising:
setting an infrared distance sensor and a calibration marker at a preset distance;
setting the infrared distance sensor to enter a calibration mode, detecting the calibration marker, and acquiring a detection result;
comparing the detection result with the preset distance to obtain a comparison result, and judging that the comparison result meets a threshold value;
if the comparison result meets the threshold value, exiting the calibration mode and completing calibration;
if the comparison result does not meet the threshold value, calibrating the infrared distance sensor, detecting the calibration marker again, and obtaining a detection result;
calibrating the infrared distance sensor, specifically:
acquiring calibration parameters based on the detection distance of the calibration marker and the preset distance;
based on the calibration parameters, carrying out zero setting calibration on the infrared distance sensor;
the calibration parameter is the difference between the detection distance of the calibration marker and the preset distance.
2. The method of claim 1, wherein the calibration marker is a baffle capable of reflecting infrared light emitted from the infrared distance sensor.
3. The method according to claim 1, wherein the calibration marker is detected and the detection result is obtained, in particular:
the infrared distance sensor emits infrared rays and records emission time;
receiving infrared rays reflected by the calibration marker while recording the time of reception;
based on the emission time and the reception time, a detection distance of the calibration marker is acquired.
4. The method according to claim 1, wherein the calibration marker is detected and the detection result is obtained, in particular:
the infrared distance sensor emits infrared rays and records position information of an emission point;
receiving the infrared rays reflected by the calibration marker, and recording the position information of a receiving point;
and acquiring the detection distance of the calibration marker based on the position information of the transmitting point and the receiving point.
5. An intelligent appliance, comprising:
the infrared module is used for transmitting and receiving infrared signals;
the detection module is used for detecting the distance of the calibration marker and acquiring the detection result of the calibration marker according to the emission and receiving signals of the infrared ray;
the judging module is used for judging whether the detection result meets a threshold value;
the end module is used for exiting the calibration mode and completing calibration when the detection result meets the threshold value;
the judging module comprises:
the comparison unit is used for comparing the detection result with a preset distance to obtain a comparison result and judging that the comparison result meets a threshold value;
the circulating unit is used for detecting the calibration marker again to obtain a detection result when the detection result does not meet the threshold value;
the intelligent household appliance further comprises:
the calibration module is used for acquiring calibration parameters based on the detection result and the preset distance and calibrating the infrared module when the detection result does not meet the threshold value; the calibration module acquires calibration parameters based on the detection distance of the calibration marker and the preset distance; based on the calibration parameters, carrying out zero setting calibration on the infrared distance sensor; the calibration parameter is the difference between the detection distance of the calibration marker and the preset distance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810732134.0A CN109001712B (en) | 2018-07-05 | 2018-07-05 | Infrared distance sensor calibration method and intelligent household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810732134.0A CN109001712B (en) | 2018-07-05 | 2018-07-05 | Infrared distance sensor calibration method and intelligent household appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109001712A CN109001712A (en) | 2018-12-14 |
CN109001712B true CN109001712B (en) | 2023-03-17 |
Family
ID=64599123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810732134.0A Active CN109001712B (en) | 2018-07-05 | 2018-07-05 | Infrared distance sensor calibration method and intelligent household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109001712B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113589264B (en) * | 2021-09-30 | 2021-12-28 | 莱克电气绿能科技(苏州)有限公司 | Intelligent calibration device and method for intelligent sweeping robot |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150109083A (en) * | 2014-03-19 | 2015-10-01 | 국방과학연구소 | Method of Distance Adaptive Detection Threshold Value for Infrared Target Detection System |
CN106019260A (en) * | 2016-04-29 | 2016-10-12 | 乐视控股(北京)有限公司 | Distance sensor anti-fouling method and system on mobile terminal |
CN106210227A (en) * | 2016-07-06 | 2016-12-07 | 广东欧珀移动通信有限公司 | The calibration steps of a kind of infrared proximity transducer, device and mobile terminal |
CN106323353A (en) * | 2016-08-12 | 2017-01-11 | 广东欧珀移动通信有限公司 | Calibration method and device for proximity sensor, and terminal |
CN106791053A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | The sensing threshold calibration method and device of range sensor |
CN106791209A (en) * | 2017-03-10 | 2017-05-31 | 上海传英信息技术有限公司 | The self-checking device and method of distance of mobile terminal sensor |
-
2018
- 2018-07-05 CN CN201810732134.0A patent/CN109001712B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150109083A (en) * | 2014-03-19 | 2015-10-01 | 국방과학연구소 | Method of Distance Adaptive Detection Threshold Value for Infrared Target Detection System |
CN106019260A (en) * | 2016-04-29 | 2016-10-12 | 乐视控股(北京)有限公司 | Distance sensor anti-fouling method and system on mobile terminal |
CN106210227A (en) * | 2016-07-06 | 2016-12-07 | 广东欧珀移动通信有限公司 | The calibration steps of a kind of infrared proximity transducer, device and mobile terminal |
CN106323353A (en) * | 2016-08-12 | 2017-01-11 | 广东欧珀移动通信有限公司 | Calibration method and device for proximity sensor, and terminal |
CN106791053A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | The sensing threshold calibration method and device of range sensor |
CN106791209A (en) * | 2017-03-10 | 2017-05-31 | 上海传英信息技术有限公司 | The self-checking device and method of distance of mobile terminal sensor |
Also Published As
Publication number | Publication date |
---|---|
CN109001712A (en) | 2018-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111652197B (en) | Method and device for detecting entering and leaving states | |
US20110304842A1 (en) | Time of flight system capable of increasing measurement accuracy, saving power and/or increasing motion detection rate and method thereof | |
US7756415B2 (en) | Method and system for automatically estimating the spatial positions of cameras in a camera network | |
CN102298149B (en) | The time-difference distance measuring system of raising degree of accuracy, moveable detection efficiency, power saving and method | |
CN107358175B (en) | Iris collection method and electronic device | |
CN106484959B (en) | House type graph drawing method and drawing equipment | |
CN104508424B (en) | Optical distance measuring apparatus and electronic equipment | |
US11444708B2 (en) | System and methods of detecting human presence in the vicinity of a radio frequency receiver system | |
JPH08304535A (en) | Device and method for measuring distance between vehicles | |
CN108845332B (en) | Depth information measuring method and device based on TOF module | |
CN111308463A (en) | Human body detection method and device, terminal equipment, storage medium and electronic equipment | |
CN109001712B (en) | Infrared distance sensor calibration method and intelligent household appliance | |
CN109059991A (en) | Intelligently from mobile device and its method of sensor calibration, computer storage medium | |
CN110412884A (en) | Household appliance control method, device, electronic equipment and storage medium | |
US11216983B2 (en) | Device and method for monitoring a predtermined environment using captured depth image data | |
EP3971606A1 (en) | Radar elevation angle validation | |
CN102401901B (en) | Distance measurement system and distance measurement method | |
CN114252852A (en) | Radar pitch angle measurement | |
CN111383435B (en) | Induction method, equipment and device based on infrared signals | |
CN108931202B (en) | Detection method and apparatus, electronic apparatus, computer device, and readable storage medium | |
KR101614941B1 (en) | Method for pairing a first terminal with at lesat one terminal selected among second terminals by using rssi information, terminal and computer-readable recording media using the same | |
CN109060313B (en) | Detection method and detection system of laser projector | |
CN113687444A (en) | Auxiliary detection equipment and method and device for acquiring auxiliary detection signal | |
CN202486309U (en) | Signal transducer combining ranging and positioning | |
CN207259998U (en) | A kind of novel parking spot lock for sensing vehicle |
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 |