Calibration method and device of infrared proximity sensor, equipment and storage medium
By detecting and fixing the threshold of the infrared proximity sensor at different light intensities and dynamically adjusting to cope with light changes, the problem of infrared proximity sensor's low detection accuracy in variable environments is solved, and its stability and accuracy are significantly improved.
Patent Information
- Application Number
- CN202411618938.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-14
AI Technical Summary
The infrared proximity sensor has low detection accuracy under different ambient light conditions and is complex in calibration, which limits its application in long-distance sensing and variable environments.
By detecting the distal and proximal threshold reference data under different light intensities, and fixing these thresholds when maintained at the same light intensities, dynamically adjusting to cope with different light intensities.
It effectively improves the stability and accuracy of infrared proximity sensors in variable environments, ensures consistency of detection distances, and reduces the complexity of calibration.
Smart Images

Figure CN119620227A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile terminal manufacturing, and in particular to a calibration method, device, equipment and storage medium for an infrared proximity sensor. Background Art
[0002] Infrared proximity sensor is a non-contact sensor device that determines the distance of an object by emitting an infrared beam and detecting the light reflected by the object. Specifically, the infrared proximity sensor has a receiver and a transmitter. The transmitter emits an infrared beam, and when an object approaches, the infrared beam is reflected back to the sensor receiving end. The receiving end usually uses a photodiode to detect the reflected infrared light and converts the light signal into a digital electrical signal AD value for processing. The AD value refers to the value of converting the light intensity into a digital quantity. In infrared proximity sensors, the AD value is usually achieved through a built-in analog-to-digital converter (ADC). During the processing, the sensor measures the intensity of the received reflected light and determines the distance of the object through algorithms or data processing technology. This non-contact detection method makes infrared proximity sensors have broad application prospects in smart homes, automation control and other fields.
[0003] Due to the attenuation and scattering characteristics of infrared light beams, when an object is far away from the sensor, the intensity of the reflected infrared light will be significantly weakened, resulting in the sensor being unable to accurately determine the distance of the object. This limits the application of sensors in long-distance sensing. Changes in the intensity of ambient light will have a significant impact on the detection accuracy of the sensor. In a strong light environment, the filter circuit may not be able to completely eliminate the interference of ambient light, resulting in excessive sensitivity or false alarms of the sensor; while in a weak light environment, the sensor may become overly sluggish or fail to work properly. This reduces the reliability and stability of the sensor. Since the detection accuracy of the sensor is affected by many factors (such as ambient light, surface material of the object, etc.), a complex calibration process is required to ensure its accuracy. This increases the difficulty and cost of using the sensor. In summary, the infrared proximity sensor in the prior art still has shortcomings in terms of long-distance sensing, detection accuracy, calibration complexity, etc. Summary of the invention
[0004] The main purpose of this application is to provide a calibration method for an infrared proximity sensor, which aims to solve the problem of detection accuracy of the infrared proximity sensor under different ambient light conditions. The calibration scheme of the infrared proximity sensor can effectively cope with different ambient light conditions, ensure the consistency of the detection distance, and significantly improve the stability and accuracy of the infrared proximity sensor in a changing environment.
[0005] To achieve the above object, the present application provides a calibration method for an infrared proximity sensor, the method comprising the following steps:
[0006] The far-end threshold reference data under obstacle-free conditions detected by infrared proximity sensor under different light intensities;
[0007] The near-end threshold reference data under different light intensities is detected by infrared proximity sensor in the presence of obstacles;
[0008] When the reference data of the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity is added with a value close to the preset value and fixed as the far-end threshold of the current light intensity, and the reference data of the near-end threshold of the current light intensity is fixed as the near-end threshold of the current light intensity;
[0009] The far-end threshold and the near-end threshold are dynamically adjusted according to different light intensities received by the infrared proximity sensor.
[0010] In one embodiment, the step of detecting the far-end threshold reference data under obstacle-free conditions by using an infrared proximity sensor under different light intensities further includes:
[0011] Fixing the position of the infrared proximity sensor by using a test stand under conditions of different light intensities and without obstacles;
[0012] The reference data of the far-end threshold is generated and recorded by the infrared proximity sensor.
[0013] In one embodiment, the step of detecting the near-end threshold reference data in the presence of obstacles by using an infrared proximity sensor under different light intensities further includes:
[0014] placing the obstacle within a preset measurement range of the infrared proximity sensor under different light intensity conditions, and adjusting the position of the obstacle so that the infrared proximity sensor can capture the reflected signal;
[0015] The actual distance between the infrared proximity sensor and the obstacle is measured using a standard distance measurement tool, and reference data of the near-end threshold measured by the infrared proximity sensor is generated and recorded.
[0016] In one embodiment, when the reference data at the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity plus the reference data close to the preset value and the near-end threshold are respectively fixed as the far-end threshold and the near-end threshold of the current light intensity, and the step further includes:
[0017] Detecting and recording the reference data of the far-end threshold and the reference data of the near-end threshold of the same light intensity within a preset number of times;
[0018] Feedback the AD value converted from the light into a digital quantity according to the reference data detected by the infrared proximity sensor;
[0019] When it is determined that the detected reference data remain equal within a preset number of times, the reference data of the current far-end threshold plus the reference data close to the preset value and the current near-end threshold are fixed as the far-end threshold and the near-end threshold respectively.
[0020] In one embodiment, the step of dynamically adjusting the far-end threshold and the near-end threshold to correspond to different light intensities according to different light intensities received by the infrared proximity sensor further includes:
[0021] Setting initial parameters of a far-end threshold and a near-end threshold of the infrared proximity sensor;
[0022] Detecting the obstacle and extracting the AD value of the feedback;
[0023] The far-end threshold and the near-end threshold are adjusted according to the comparison between the AD value and the threshold.
[0024] In one embodiment, the step of adjusting the far-end threshold and the near-end threshold according to the comparison between the AD value and the threshold further includes:
[0025] The calibration function of the infrared proximity sensor is set to be manually turned on or manually turned off;
[0026] When the calibration function of the infrared proximity sensor is in an on state, the infrared proximity sensor is calibrated;
[0027] When the calibration function of the infrared proximity sensor is in a closed state, the infrared proximity sensor stops calibrating.
[0028] In one embodiment, before the step of fixing the infrared proximity sensor by using a test stand to generate reference data of the far-end threshold in the absence of obstacles, the step further includes:
[0029] Detecting the working state of the infrared proximity sensor;
[0030] When the infrared proximity sensor is in a working state without fault indication, the step of fixing the infrared proximity sensor by using a test stand to generate reference data of the far-end threshold in the absence of obstacles is performed.
[0031] In addition, to achieve the above-mentioned purpose, the present application also provides a control device for preventing a rear-end vehicle from rear-ending a vehicle during a lane change, the device comprising: a far-end threshold detection module, a near-end threshold detection module, a threshold determination module, and a threshold adjustment module;
[0032] The far-end threshold detection module detects the far-end threshold reference data under obstacle-free conditions through infrared proximity sensors under different light intensities;
[0033] The near-end threshold detection module detects the near-end threshold reference data under obstacle conditions through infrared proximity sensors under different light intensities;
[0034] A threshold determination module, when the reference data of the same light intensity maintains a stable state for a preset number of times, adds a close preset value to the reference data of the far-end threshold of the current light intensity and fixes it as the far-end threshold of the current light intensity, and fixes the reference data of the near-end threshold of the current light intensity as the near-end threshold of the current light intensity;
[0035] The threshold adjustment module dynamically adjusts the far-end threshold and the near-end threshold according to different light intensities received by the infrared proximity sensor.
[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a calibration device for an infrared proximity sensor, the calibration device for the infrared proximity sensor comprising: a memory, a processor, and a calibration processing program for the infrared proximity sensor stored in the memory and executable on the processor, the calibration processing program for the infrared proximity sensor implementing the steps of the above-mentioned infrared proximity sensor calibration method when executed by the processor.
[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a readable storage medium, on which a calibration program for an infrared proximity sensor is stored. When the calibration program for the infrared proximity sensor is executed by a processor, the steps of the above-mentioned infrared proximity sensor calibration method are implemented.
[0038] The above one or more technical solutions provided by this application may have the following advantages or at least achieve the following technical effects:
[0039] The present application discloses a calibration method, device and equipment for an infrared proximity sensor, which relates to the field of mobile terminal manufacturing. The technical method includes the following steps: under different light intensities, the infrared proximity sensor is used to detect the reference data of the far-end threshold under the condition of no obstacles; under different light intensities, the infrared proximity sensor is used to detect the reference data of the near-end threshold under the condition of obstacles; when the reference data of the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity is added to the preset value and fixed as the far-end threshold of the current light intensity, and the reference data of the near-end threshold of the current light intensity is fixed as the near-end threshold of the current light intensity; according to the different light intensities received by the infrared proximity sensor, the far-end threshold and the near-end threshold are dynamically adjusted. As a non-contact detection device, the core function of the infrared proximity sensor is to determine the existence and distance of an object by detecting the reflection or shielding of infrared light by the object. In order to achieve this function, it is necessary to set the threshold of the infrared proximity sensor accurately to ensure that it can accurately identify objects under different light conditions. By using a test stand to fix the infrared proximity sensor, reference data of the far-end threshold is generated in the absence of obstacles; an obstacle is placed at the target sensing position of the infrared proximity sensor to generate reference data of the near-end threshold; when the reference data of the far-end threshold and the reference data of the near-end threshold remain in a stable state for a preset number of times, the reference data of the far-end threshold plus the reference data of the near-end threshold close to the preset value and the near-end threshold are fixed as the far-end threshold and the near-end threshold respectively; according to the different light intensities received by the infrared proximity sensor, the far-end threshold and the near-end threshold are adjusted. This article describes the infrared proximity sensor threshold setting and adjustment process in detail, and explains the key steps of test stand preparation and sensor fixation, generation of far-end threshold reference data, generation of near-end threshold reference data, threshold fixation and stability verification, and threshold adjustment according to light intensity. These steps together constitute the complete process of infrared proximity sensor threshold setting and adjustment, which provides a strong guarantee for the accurate identification and reliable operation of infrared proximity sensors. The present application aims to solve the problem of detection accuracy of infrared proximity sensors under different ambient light conditions. The calibration scheme of the infrared proximity sensor can effectively cope with different ambient light conditions, ensure the consistency of detection distance, and significantly improve the stability and accuracy of the infrared proximity sensor in a changing environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0041] Figure 1 1 is a flow chart of a first embodiment of a calibration method for an infrared proximity sensor according to an embodiment of the present application;
[0042] Figure 2 A schematic flow chart of a second embodiment of a calibration method for an infrared proximity sensor according to an embodiment of the present application;
[0043] Figure 3 A schematic diagram of a flow chart of a third embodiment of a calibration method for an infrared proximity sensor proposed in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of a flow chart of a fourth embodiment of a calibration method for an infrared proximity sensor proposed in an embodiment of the present application;
[0045] Figure 5 This is a flow chart of Embodiment 5 of the infrared proximity sensor calibration method proposed in the embodiments of the present application.
[0046] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0049] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0050] As an important part of modern electronic technology, infrared proximity sensors play an important role in some fields because of their advantages such as non-contact, high sensitivity and fast response. They are widely used in material detection, robot navigation and obstacle avoidance on production lines. By accurately sensing the position and motion state of objects, infrared proximity sensors can realize the automation and intelligence of production processes, greatly improving production efficiency and quality. For example, on the assembly line, infrared sensors can detect the presence and position of products and control the grabbing and placement actions of robotic arms. Infrared proximity sensors have also been widely used in smart home devices, realizing functions such as smart lighting and smart temperature control by detecting infrared radiation and motion information of the human body. For example, in smart door locks, infrared proximity sensors can detect the approach of users, thereby automatically waking up the screen or unlocking the function; in smart lighting systems, infrared proximity sensors can automatically adjust the brightness and color of light according to human activities; when a person enters a room, the infrared sensor can automatically turn on equipment such as lights and air conditioners; when a person leaves the room, these devices are automatically turned off to save energy.
[0051] The test stand is the basic equipment for fixing the infrared proximity sensor and setting the threshold. Its design should meet the requirements of structural stability, being able to bear the weight of the sensor and keep it stable; adjustable height to meet the installation requirements of different sensors; easy to adjust the angle and position of the sensor to ensure the accuracy of the test results; equipped with necessary fixing devices, such as screws, clamps, etc., for fixing the sensor. When selecting a test stand, comprehensive consideration should be given to the sensor model, size and test requirements. When building the test stand, ensure that all components are tightly connected without shaking. Install the infrared proximity sensor accurately on the test stand according to the manufacturer's instructions or test requirements. During the fixing process, care should be taken to ensure that the sensor is installed in a stable position and will not move due to slight vibrations or external forces; adjust the detection angle and height of the sensor so that it can correctly point to the expected test area; connect the power cord and signal line of the sensor to ensure that it is correctly connected to the test equipment or data acquisition system.
[0052] Before generating the far-end threshold reference data, ensure that there are no obstacles in the test area that may interfere with the operation of the infrared proximity sensor; the light conditions of the test environment are stable without strong changes in the light source; and the test equipment is set up correctly, such as the parameter setting of the data acquisition system and the sensitivity adjustment of the sensor. Place the infrared proximity sensor on the test stand and adjust its detection angle and height. Start the test program without obstacles and let the sensor run for a period of time to collect enough far-end measurement data. These data will be used to determine the far-end threshold of the sensor. During the test, ensure that there are no obstructions within the detection range of the sensor; monitor the output signal of the sensor to ensure that it is stable and has no obvious fluctuations; record the environmental conditions during the test, such as temperature, humidity, etc., for subsequent analysis. The collected far-end measurement data should be properly processed and analyzed. This includes data cleaning, screening and statistics. Through data analysis, a reasonable far-end threshold range can be determined. The preliminarily determined far-end threshold should be able to accurately reflect the output characteristics of the sensor in the absence of obstacles.
[0053] When generating the proximal threshold reference data, an obstacle needs to be placed at the target sensing position of the infrared proximity sensor. The choice of the obstacle should be based on the test requirements, such as size, shape, and material. When placing the obstacle, ensure that it is kept at a certain distance from the sensor's detection range and that it can completely block the sensor's detection light. Start the test program and let the sensor run for a period of time with the obstacle in place to collect sufficient proximal measurement data. This data will be used to determine the sensor's proximal threshold. During the test, care should be taken to ensure that the obstacle is in a stable position and will not move due to external forces; monitor the sensor's output signal to ensure that it can accurately reflect the presence of the obstacle; and record the environmental conditions during the test for subsequent analysis. The collected proximal measurement data also needs to be properly processed and analyzed. Through data analysis, a reasonable proximal threshold range can be determined. The initially determined proximal threshold should be able to accurately reflect the output characteristics of the sensor in the presence of an obstacle. Light intensity is one of the important factors affecting the performance of infrared proximity sensors. Under different lighting conditions, the sensor's output signal may change, thereby affecting the accuracy of its threshold. Therefore, the threshold needs to be adjusted according to the change in light intensity. In order to monitor and record the light intensity, a dedicated light intensity sensor or data acquisition system can be used. These devices can measure and record the light intensity data in the test environment in real time, providing a basis for subsequent analysis and adjustment. In order to ensure the stability and reliability of the threshold, further stability verification is required. This includes repeated testing at different time periods and under different lighting conditions, and observing the changes in the threshold. If the threshold remains relatively stable over multiple tests, it means that it has high stability and reliability.
[0054] After the far-end threshold and the near-end threshold are initially determined, multiple repeated tests are required to verify their stability. In multiple tests, if the reference data of the far-end threshold and the near-end threshold remain stable for a preset number of times (such as the data fluctuations of 100 or 200 consecutive tests are within the allowable range), these reference data (the far-end threshold reference data plus the near-preset value and the near-end threshold reference data) can be fixed as the final far-end threshold and near-end threshold, respectively.
[0055] This application proposes a calibration method for an infrared proximity sensor of the first embodiment, please refer to Figure 1 , the method comprises steps S10 to S40:
[0056] Step S10, detecting far-end threshold reference data under obstacle-free conditions by using an infrared proximity sensor under different light intensities;
[0057] Step S20, detecting the near-end threshold reference data in the presence of obstacles by using an infrared proximity sensor under different light intensities;
[0058] Step S30, when the reference data of the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity is added to a close preset value and fixed as the far-end threshold of the current light intensity, and the reference data of the near-end threshold of the current light intensity is fixed as the near-end threshold of the current light intensity;
[0059] Step S40: dynamically adjusting the far-end threshold and the near-end threshold according to different light intensities received by the infrared proximity sensor.
[0060] It should be noted that, in this embodiment, the present application proposes a calibration method for the infrared proximity sensor of the first embodiment, which aims to collect reference data of the far-end threshold and the near-end threshold under different light intensities, and dynamically adjust the threshold of the sensor accordingly, so as to achieve the stability and accuracy of the sensor under different light conditions. The following is a detailed description of the above steps:
[0061] Step S10, in this step, it is necessary to detect the far-end threshold reference data under obstacle-free conditions by infrared proximity sensor under different light intensities. The far-end threshold refers to the far-end threshold reference data plus the value close to the preset value. The far-end threshold reference data is the signal strength threshold corresponding to the farthest distance that the sensor can detect when there are no obstacles. The value close to the preset value is a fixed value or a fixed value when it is turned on. The setting of this threshold is crucial for the detection performance of the sensor in an open environment. First, ensure that the sensor is in an obstacle-free state, that is, there is no object blocking it in front. At the same time, prepare a light source device to simulate different light intensity conditions. Adjust the light source device to a predetermined light intensity value and keep it stable for a period of time. This light intensity value can be one of multiple predefined values to ensure that various light conditions that the sensor may encounter are covered. Under stable light intensity, start the sensor and record the signal intensity detected by it. Through multiple measurements, calculate the far-end threshold reference data under obstacle-free conditions. This data can be the average, median or other statistic of the signal intensity to ensure the accuracy and reliability of the data. Repeat the above steps, but adjust the light source device to the next predetermined light intensity value. Continue to collect data until all predetermined light intensity conditions are covered. When collecting data, ensure that the sensor is in a stable working state and avoid interference from other external factors. Adjustments to light intensity should be made gradually to avoid sudden light changes from causing excessive impact on the sensor. Data collection should be sufficient to ensure the accuracy and reliability of subsequent analysis.
[0062] Step S20, in this step, it is necessary to detect the near-end threshold reference data under the condition of obstacles by infrared proximity sensor under different light intensities. The near-end threshold refers to the signal strength threshold corresponding to the shortest distance that the sensor can detect when there is an obstacle. The setting of this threshold is crucial to the performance of the sensor when detecting objects at close range. The obstacle is placed at a certain distance in front of the sensor, and this distance can be set according to the actual application requirements. At the same time, ensure that the light source device is under stable light intensity conditions. Under stable light intensity, start the sensor and record the signal intensity detected by it. Through multiple measurements, the near-end threshold reference data under the condition of obstacles is calculated. Similarly, this data can be the average, median or other statistics of the signal intensity. If it is necessary to further refine the measurement of the near-end threshold, the position of the obstacle can be adjusted and the above data collection steps can be repeated. This helps to more accurately determine the near-end threshold at different distances. Repeat the above steps, but adjust the light source device to the next predetermined light intensity value. Continue to collect data until all predetermined light intensity conditions are covered. The selection and placement of obstacles should meet the needs of actual application scenarios to ensure the practicality of the measurement results. When adjusting the position of obstacles, make sure that the position is stable enough after each adjustment to avoid interfering with the measurement results. Similarly, the adjustment of light intensity should be done gradually to avoid sudden light changes from causing too much impact on the sensor.
[0063] Step S30, in this step, it is necessary to determine whether the far-end threshold reference data and the near-end threshold reference data collected under the same light intensity are stable. If these data remain relatively stable within a certain number of times, then we can fix these data (far-end threshold reference data plus close to preset value and near-end threshold reference data) as the far-end threshold and near-end threshold under the current light intensity respectively. For each light intensity condition, check the variation range of the far-end threshold reference data and the near-end threshold reference data within a certain number of times. If the variation range of these data is less than the predetermined threshold (i.e., the data is sufficiently stable), proceed to the next step. The stable data (far-end threshold reference data plus close to preset value and near-end threshold reference data) are fixed as the far-end threshold and near-end threshold under the current light intensity respectively. These thresholds will be used for the subsequent dynamic adjustment process. The far-end threshold and near-end threshold under each light intensity are recorded and stored in the database for subsequent query and use. The standard for stability judgment should be set according to the actual application requirements to ensure the accuracy and reliability of the measurement results. When fixing the threshold, the accuracy and integrity of the data should be ensured to avoid calibration failure due to data errors or missing data. The recording and storage process should be detailed and clear enough to facilitate subsequent analysis and query.
[0064] Step S40, in this step, it is necessary to dynamically adjust the far-end threshold and the near-end threshold according to the different light intensities received by the infrared proximity sensor. This process will ensure that the sensor can maintain stable detection performance under different lighting conditions. The current light intensity is detected in real time by the sensor or an external light source detection device. According to the detected light intensity, the corresponding far-end threshold and near-end threshold are searched in the database. These thresholds are obtained by calibration in the previous steps. The far-end threshold and the near-end threshold of the sensor are adjusted to the corresponding values found. This process can be implemented by software programming to ensure the accuracy and timeliness of the adjustment. After adjusting the threshold, the performance of the sensor is monitored in real time. If the sensor still exhibits unstable or abnormal behavior, it may be necessary to recalibrate or adjust other parameters. The detection of light intensity should be accurate and timely enough to ensure the accuracy and effectiveness of the threshold adjustment. When searching for the threshold, it is necessary to ensure that the data in the database is complete and accurate to avoid adjustment failure due to data errors. The adjustment of the threshold should be implemented through reliable software programming to ensure the accuracy and timeliness of the adjustment. At the same time, the maintainability and scalability of the software should also be considered. Performance monitoring is an ongoing process that requires regular inspection and maintenance of the sensor to ensure its long-term stable operation.
[0065] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S10, the step of detecting the far-end threshold reference data under obstacle-free conditions by means of an infrared proximity sensor under different light intensities, further comprises:
[0066] Step S11, fixing the position of the infrared proximity sensor by using a test stand under conditions of different light intensities and without obstacles;
[0067] Step S12: Generate and record reference data of the far-end threshold through the infrared proximity sensor.
[0068] Specifically, in this embodiment, the infrared proximity sensor detects the far-end threshold reference data under obstacle-free conditions under different light intensities. The purpose of this step is to establish the performance benchmark of the sensor under different light conditions and provide a reliable basis for subsequent dynamic adjustments. The following is a detailed description of the above steps:
[0069] Step S11 involves fixing the position of the sensor using a test stand to ensure that the position of the sensor remains unchanged during the test. This step is critical to ensuring the accuracy and repeatability of the measurement results. The test stand should have sufficient stability and precision to ensure that the position of the sensor remains unchanged during the test. The design of the test stand should facilitate the installation and removal of the sensor for multiple tests. The sensor should be firmly mounted on the test stand to avoid movement or shaking during the test. The installation position of the sensor should be as close as possible to the position in the actual application scenario to ensure the practicality of the calibration results. During the test, if the position of the sensor needs to be adjusted, it should be done using precise tools and methods to ensure that the adjusted position remains accurate.
[0070] After each adjustment, the stability check should be repeated to ensure that the sensor is in the best working condition. The stability of the test stand is an important factor affecting the measurement results. Before the test, the test stand should be checked for stability, and its stability should be checked regularly during the test. The installation accuracy of the sensor directly affects the accuracy of the measurement results. Therefore, precise tools and methods should be used when installing the sensor, and the instructions should be strictly followed. During the test, if the position of the sensor needs to be adjusted frequently, it may increase the complexity and time cost of the test. Therefore, the test plan should be fully planned before the test to reduce the number of position adjustments.
[0071] Step S12 involves generating and recording reference data of the far-end threshold through the sensor. This step is the core of the calibration process, which directly determines the accuracy and reliability of the calibration results. Data generation should be based on the actual measurements of the sensor under different light intensities. These measurements should be properly processed and analyzed to obtain accurate far-end thresholds. The data generation process should use professional testing software or equipment to ensure the accuracy and reliability of the data. The recorded data should include key information such as light intensity, far-end threshold, and measurement time. This information is crucial for subsequent data analysis and calibration adjustments. Data should be recorded in standardized formats and units to facilitate cross-platform data sharing and analysis. During the data generation and recording process, strict quality control should be carried out to ensure the accuracy and reliability of the data.
[0072] If the data is found to be abnormal or not in line with expectations, it should be reviewed and adjusted immediately to ensure the accuracy of the data. The accuracy of data generation is affected by many factors, such as the accuracy of the sensor, the stability of the light intensity, etc. Therefore, high-precision sensors and stable light sources should be used during the test, and calibration and adjustment should be performed regularly. The integrity of data records is crucial for subsequent data analysis and calibration adjustments. Therefore, when recording data, ensure that all key information is fully recorded and avoid omissions or errors.
[0073] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the above-mentioned first and second embodiments can refer to the above introduction, and will not be repeated later. Figure 3 In this embodiment, step S20, the step of detecting the near-end threshold reference data in the presence of obstacles by using the infrared proximity sensor under different light intensities, further includes:
[0074] Step S21, placing the obstacle within a preset measurement range of the infrared proximity sensor under different light intensity conditions, and adjusting the position of the obstacle so that the infrared proximity sensor can capture the reflected signal;
[0075] Step S22: using a standard distance measurement tool to measure the actual distance between the infrared proximity sensor and the obstacle, and generating and recording reference data of the near-end threshold measured by the infrared proximity sensor.
[0076] It should be noted that in this embodiment, the performance parameters of the sensor are further refined and optimized by detecting the proximal threshold reference data under obstacles under different light intensities. This process not only helps to improve the detection accuracy of the sensor in complex environments, but also enhances its stability and reliability. The following is a detailed description of the above steps:
[0077] Step S21 involves the placement and position adjustment of obstacles. The purpose of this step is to ensure that the sensor can accurately capture the reflected signal of the obstacle during the test, so as to obtain valid near-end threshold data. The measurement range should be determined according to the characteristics and application scenarios of the sensor. It should cover the distance of obstacles in all actual working environments that the sensor may encounter. The measurement range should be clearly defined and remain unchanged during the test to ensure the comparability and accuracy of the data. The obstacles should be placed within the preset measurement range of the sensor and adjusted appropriately according to the characteristics of the sensor. The placement of obstacles should be as evenly distributed as possible to verify the detection performance of the sensor in different directions. Position adjustment should be performed using precise tools and methods to ensure that the adjusted position is still accurate. When adjusting the position, pay close attention to the response of the sensor and make fine adjustments as needed to ensure that the sensor can capture the reflected signal. The definition of the measurement range may be limited by the characteristics of the sensor and the application scenario. Therefore, the characteristics and application scenarios of the sensor should be fully understood before testing, and appropriate adjustments should be made as needed.
[0078] The placement accuracy of obstacles directly affects the accuracy of the measurement results. Therefore, precise tools and methods should be used when placing obstacles, and the instructions should be strictly followed. When adjusting the position, it is necessary to pay close attention to the response of the sensor. If the sensor cannot capture the reflected signal or the response is unstable, it should be reviewed and adjusted immediately to ensure the smooth progress of the test.
[0079] Step S22 involves the measurement of the actual distance and the generation and recording of the near-end threshold reference data. This step is the core of the calibration process, which directly determines the accuracy and reliability of the calibration results. The standard distance measurement tool should have high precision and stability to ensure the accuracy of the measurement results. The choice of the tool should be determined according to the measurement range and accuracy requirements. Common standard distance measurement tools include laser rangefinders, tape measures, etc. The actual distance should be measured after the sensor captures the reflected signal. The measurement process should be carried out using precise tools and methods to ensure the accuracy of the measurement results. Under each light intensity and obstacle condition, the actual distance should be measured multiple times, and statistics such as the average or median should be calculated to reduce the impact of measurement errors. The near-end threshold reference data should be generated based on the actual distance measured by the sensor and the preset threshold range. The data should record key information such as the actual distance measured by the sensor, the near-end threshold, and the measurement time. The data should be recorded in a standardized format and unit to facilitate cross-platform data sharing and analysis. The accuracy of the measuring tool is an important factor affecting the measurement results. Therefore, the accuracy and stability of the measuring tool should be fully understood before testing, and appropriate calibration and adjustment should be performed as needed. The actual distance measurement may be affected by many factors, such as the accuracy of the measuring tool, the interference of the measuring environment, etc. Therefore, accurate tools and methods should be used during the measurement process, and calibration and adjustment should be performed regularly to reduce the impact of measurement errors. The integrity of data records is crucial for subsequent data analysis and calibration adjustments. Therefore, when recording data, ensure that all key information is fully recorded and avoid omissions or errors.
[0080] Based on the first embodiment and / or the second embodiment and / or the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those of the above-mentioned first embodiment, second embodiment and third embodiment can refer to the above introduction and will not be repeated later. Figure 4 In this embodiment, step S30, when the reference data of the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity is added with a value close to a preset value and fixed as the far-end threshold of the current light intensity, and the reference data of the near-end threshold of the current light intensity is fixed as the near-end threshold of the current light intensity, further includes:
[0081] Step S31, detecting and recording the reference data of the far-end threshold and the reference data of the near-end threshold of the same light intensity within a preset number of times;
[0082] Step S32, feeding back the AD value converted from the light into a digital quantity according to the reference data detected by the infrared proximity sensor;
[0083] Step S33, when it is determined that the detected reference data remain equal within a preset number of times, the reference data of the current far-end threshold is added to the reference data close to the preset value and the reference data of the current near-end threshold to be fixed as the far-end threshold and the near-end threshold respectively.
[0084] Specifically, in this embodiment, under the same light intensity, the reference data of the far-end threshold and the near-end threshold are detected and recorded multiple times, and the AD value of the light converted into a digital quantity is fed back based on these data. After confirming that the reference data is consistent within a preset number of times, the final far-end threshold and the near-end threshold are further determined. The following is a detailed description of the above steps:
[0085] Step S31, the preset number of times should be determined according to the characteristics and application scenarios of the sensor. It should be large enough to ensure the stability and reliability of the data, while avoiding too large a number of times causing the calibration process to be too lengthy. During the detection process, the light intensity should be kept constant to avoid the influence of light changes on the detection results. This can be achieved by using a stable light source and regular light intensity monitoring. The detection of the far-end threshold and the near-end threshold should be carried out at different distances to simulate the working environment of the sensor in actual applications. During the detection process, professional test equipment or software should be used to record the output data of the sensor. After each detection, the reference data of the far-end threshold and the near-end threshold should be recorded and stored in a secure database. These data will be used for subsequent analysis and calibration adjustments. Slight changes in light intensity may affect the detection results. Therefore, high-precision light intensity monitoring equipment should be used during the detection process, and the stability of the light source should be checked regularly. The accuracy of the detection equipment directly affects the accuracy of the detection results. Therefore, the accuracy and stability of the test equipment should be ensured before detection, and calibration and adjustment should be performed as needed. Large amounts of data recording and storage may bring challenges to data management and analysis. Therefore, professional data management software or database systems should be used to store and manage this data and ensure the integrity and security of the data.
[0086] Step S32, AD value refers to the value of converting light intensity into a digital quantity. In infrared proximity sensors, AD value is usually realized by a built-in analog-to-digital converter (ADC). By reading the output value of ADC, we can get a digital representation of light intensity. During the detection process, we recorded reference data of the far-end threshold and the near-end threshold under different light intensities. These data can be associated with AD value to establish a complex relationship between light intensity, AD value and sensor output. In order to adjust the parameters of the sensor in real time, we need to establish a feedback mechanism. When the sensor detects a change in light intensity, it outputs the corresponding AD value through ADC. This AD value can be compared with a preset threshold to determine whether the parameters of the sensor need to be adjusted. The accuracy of the AD value is affected by many factors, such as the accuracy of ADC, the stability of light intensity, etc. Therefore, a high-precision ADC and a stable light source should be used during the detection process, and the parameters of the ADC should be calibrated and adjusted regularly.
[0087] Step S33, after multiple tests, we need to determine whether the reference data is stable. This can be achieved by comparing the reference data at different times. If the reference data remains consistent or changes very little (within the allowable error range) within a preset number of times, the reference data can be considered to be stable. When the reference data is stable, we can fix the reference data of the current far-end threshold and the reference data of the current near-end threshold as the final far-end threshold and near-end threshold, respectively. These fixed thresholds will be used in subsequent tests and calibration adjustments. After fixing the thresholds, we need to verify the calibration results. This can be achieved by testing under different light intensities and distances. If the output of the sensor is consistent with the expected threshold or the error is within the allowable range, the calibration result can be considered accurate.
[0088] The stability of the reference data may be affected by many factors, such as slight changes in light intensity, the accuracy of the detection equipment, etc. When judging stability, high-precision detection equipment and stable light sources should be used, and the error range and the allowable range of variation should be fully considered. The method of fixing the threshold may vary depending on the characteristics and application scenarios of the sensor. When fixing the threshold, the characteristics and application scenarios of the sensor should be fully considered, and the appropriate fixing method and parameters should be selected. Verification of the calibration results is an important step to ensure the accuracy of the calibration. During the verification process, professional test equipment and standard test scenarios should be used to simulate the actual application environment, and the test should be carried out in strict accordance with the test steps and requirements. The response speed of the feedback mechanism is crucial to the real-time performance of the sensor. When designing and implementing the feedback mechanism, the characteristics and application scenarios of the sensor should be fully considered, and the algorithm and hardware design should be optimized to improve the response speed. A large amount of real-time data needs to be processed and analyzed, and efficient data processing algorithms and hardware platforms should be used to support the needs of real-time data processing and analysis.
[0089] Further, in this embodiment, step S40, the step of dynamically adjusting the far-end threshold and the near-end threshold according to different light intensities received by the infrared proximity sensor, further includes:
[0090] Step S41, setting initial parameters of the far-end threshold and the near-end threshold of the infrared proximity sensor;
[0091] Step S42, detecting the obstacle and extracting the AD value of the feedback;
[0092] Step S43: adjusting the far-end threshold and the near-end threshold according to the comparison between the AD value and the threshold.
[0093] Specifically, in this embodiment, the far-end threshold and the near-end threshold are dynamically adjusted according to different received light intensities to correspond to different light intensities. The following is a detailed description of the above steps:
[0094] Step S41, before starting the infrared proximity sensor, it is first necessary to initialize it. This includes configuring the basic parameters of the sensor such as the working mode, communication protocol, sampling frequency, etc. At the same time, it is also necessary to set the initial parameters of the far-end threshold and the near-end threshold. These parameters are usually set according to the specific model and application scenario of the sensor to ensure that the sensor can work normally in the initial state. The far-end threshold and the near-end threshold refer to the two judgment criteria set by the sensor according to the intensity of the reflected infrared light when detecting obstacles. The far-end threshold is usually used to judge obstacles at a long distance, while the near-end threshold is used to judge obstacles at a short distance. By setting these two thresholds, the sensor can accurately detect obstacles at different distances. When setting the initial parameters, factors such as the sensitivity, detection range, and lighting conditions of the sensor need to be considered. Generally speaking, the higher the sensitivity of the sensor, the wider its detection range, but it is also more susceptible to the influence of lighting conditions. Therefore, when setting the initial parameters, it is necessary to weigh and adjust according to the actual application scenario.
[0095] Step S42, after the sensor is initialized and the initial parameters are set, the sensor starts to enter the working state, continuously emitting infrared light and receiving reflected infrared light. When the sensor detects that an obstacle has entered its detection range, it will reflect back a portion of the infrared light. By receiving this portion of reflected infrared light, the sensor can determine the existence and location of the obstacle. The intensity of the reflected infrared light received by the sensor will be converted by the internal analog-to-digital converter to obtain an analog digital value (AD value). This AD value reflects the intensity of the infrared light received by the sensor. By extracting this AD value, the sensor can further determine information such as the distance and size of the obstacle.
[0096] Step S43, after extracting the AD value, the sensor will compare it with the preset far-end threshold and near-end threshold. If the AD value is less than the far-end threshold, it is judged as a far-distance obstacle; if the AD value is greater than the near-end threshold, it is judged as a near-distance obstacle; if the AD value is between the two, it may be necessary to make further judgments according to the specific situation. According to the comparison results of the AD value and the threshold, the sensor will dynamically adjust its far-end threshold and near-end threshold to adapt to different lighting conditions. Specifically, when the light intensity changes, the intensity of the reflected infrared light received by the sensor will also change accordingly. In order to maintain stable detection performance, the sensor needs to adjust its threshold according to the change of light intensity. This is usually achieved through an internal algorithm or an external control circuit. When the light intensity increases, the intensity of the reflected infrared light received by the sensor will also increase. In order to avoid false alarms or missed alarms, the sensor needs to appropriately increase the far-end threshold and near-end threshold. This ensures that the sensor will only judge that an obstacle exists when the intensity of the reflected infrared light is large enough. When the light intensity decreases, the intensity of the reflected infrared light received by the sensor will also decrease. In order to maintain the stability of detection performance, the sensor needs to appropriately lower the far-end threshold and the near-end threshold. This ensures that the sensor can still accurately determine the presence of obstacles under weak reflected infrared light intensity. Threshold adjustment is usually implemented in two ways: software adjustment and hardware adjustment. Software adjustment is to dynamically adjust the threshold by writing a specific algorithm or program. Hardware adjustment is to adjust the threshold by changing the parameters of the circuit or components inside the sensor. In practical applications, you can choose the appropriate adjustment method according to specific needs and conditions.
[0097] In actual applications, lighting conditions may change due to many factors, such as weather changes, environmental changes, etc. Therefore, sensors need to have high adaptability and robustness to cope with different lighting conditions. In order to ensure the accuracy and stability of the sensor, it needs to be calibrated and maintained regularly. This includes checking whether the parameters such as sensor sensitivity and detection range meet the requirements, and cleaning the sensor surface. With the continuous development of technology, the performance and stability of the sensor can be improved by optimizing the algorithm or upgrading the hardware. For example, more advanced signal processing algorithms can be used to improve the sensor's anti-interference ability and recognition accuracy.
[0098] The process of infrared proximity sensors dynamically adjusting the far-end threshold and near-end threshold to correspond to different light intensities according to the different light intensities received involves multiple steps and factors. Through reasonable initial parameter setting, obstacle detection and AD value extraction, and threshold adjustment strategy, the sensor can achieve stable detection performance under different lighting conditions. At the same time, it is also necessary to pay attention to changes in lighting conditions, sensor calibration and maintenance, and algorithm optimization and upgrades to ensure the accuracy and stability of the sensor.
[0099] Further, in this embodiment, step S43, the step of adjusting the far-end threshold and the near-end threshold according to the comparison between the AD value and the threshold, further includes:
[0100] The calibration function of the infrared proximity sensor is set to be manually turned on or manually turned off;
[0101] When the calibration function of the infrared proximity sensor is in an on state, the infrared proximity sensor is calibrated;
[0102] When the calibration function of the infrared proximity sensor is in a closed state, the infrared proximity sensor stops calibrating.
[0103] Specifically, in this embodiment, the calibration function of the infrared proximity sensor refers to adjusting the internal parameters of the sensor through a series of operations so that it can accurately and stably detect the target object under different environmental conditions such as light and temperature. The calibration function usually includes steps such as zero point calibration and full scale calibration to ensure that the output signal of the sensor is consistent with the actual detected target object information. The following is a detailed description of the above steps:
[0104] First, the user needs to enter the calibration setting interface through the operation interface provided by the sensor (such as buttons, touch screen or remote controller). In the setting interface, the user needs to select the desired calibration mode, such as zero calibration, full scale calibration, etc. Different calibration modes correspond to different calibration steps and parameter adjustments. After selecting the calibration mode, the user needs to confirm to turn on the calibration function. This is usually done by clicking the "Confirm" button or entering a specific command. Once the calibration function is turned on, the sensor will automatically enter the calibration state and wait for the user to proceed to the next step.
[0105] Similar to turning on the calibration function, the user first needs to enter the sensor's settings interface. In the settings interface, the user needs to find and select the option to turn off the calibration function. This is usually located in the relevant menu of the calibration function settings. After selecting the off option, the user needs to confirm turning off the calibration function. This is also done by clicking the "Confirm" button or entering a specific command. Once the calibration function is turned off, the sensor will exit the calibration state and return to normal operating mode. The sensor will automatically calibrate and adjust internal parameters to eliminate offsets. The user needs to wait for the calibration process to complete. After the calibration is completed, the user needs to check whether the output signal of the sensor is zero or close to zero to confirm that the zero-point calibration was successful. After the calibration is completed, the user needs to check whether the output signal of the sensor is consistent or close to the output signal of the standard light source to confirm that the full-scale calibration was successful. When the calibration function is turned off, the sensor will stop performing any calibration operations and return to normal operating mode. At this time, the user does not need to perform any additional steps. However, in order to ensure the accuracy and stability of the sensor, it is recommended that the user turn on the calibration function and perform calibration operations regularly. Before performing the calibration operation, make sure that the sensor has been working stably for a period of time to avoid calibration errors caused by changes in the internal temperature of the sensor. When performing zero-point calibration and full-scale calibration, please ensure the standardization and accuracy of the calibration tools to avoid calibration errors caused by problems with the calibration tools. When performing calibration operations, please follow the sensor's operating instructions and precautions to avoid sensor damage or calibration failure due to improper operation.
[0106] In order to improve the accuracy and efficiency of calibration, it is possible to consider introducing an automated calibration system or intelligent calibration algorithm to achieve automatic calibration and real-time monitoring of the sensor. In order to facilitate the user to perform calibration operations, it is possible to consider adding a quick entry and prompt information for the calibration function on the sensor's operating interface to simplify the calibration process and improve the user experience. In order to ensure the long-term stability and accuracy of the sensor, it is recommended to regularly maintain and service the sensor, including cleaning the sensor surface and checking the sensor connection line. The calibration function of the infrared proximity sensor is an important guarantee for its accuracy and stability. By manually turning the calibration function on and off, the user can flexibly control the calibration operation of the sensor. When the calibration function is turned on, the user can perform operations such as zero calibration and full-scale calibration according to the operating guide to ensure the accuracy and stability of the sensor.
[0107] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A calibration method for an infrared proximity sensor, characterized in that: The method comprises the following steps: The far-end threshold reference data under obstacle-free conditions detected by infrared proximity sensor under different light intensities; The near-end threshold reference data under different light intensities is detected by infrared proximity sensor in the presence of obstacles; When the reference data of the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity is added with a value close to the preset value and fixed as the far-end threshold of the current light intensity, and the reference data of the near-end threshold of the current light intensity is fixed as the near-end threshold of the current light intensity; The far-end threshold and the near-end threshold are dynamically adjusted according to different light intensities received by the infrared proximity sensor.
2. The method according to claim 1, characterized in that The step of detecting the far-end threshold reference data under obstacle-free conditions by means of an infrared proximity sensor under different light intensities also includes: Fixing the position of the infrared proximity sensor by using a test stand under conditions of different light intensities and without obstacles; The reference data of the far-end threshold is generated and recorded by the infrared proximity sensor.
3. The method according to claim 2, characterized in that The step of detecting the near-end threshold reference data in the presence of obstacles by using an infrared proximity sensor under different light intensities also includes: placing the obstacle within a preset measurement range of the infrared proximity sensor under different light intensity conditions, and adjusting the position of the obstacle so that the infrared proximity sensor can capture the reflected signal; The actual distance between the infrared proximity sensor and the obstacle is measured using a standard distance measurement tool, and reference data of the near-end threshold measured by the infrared proximity sensor is generated and recorded.
4. The method according to claim 3, characterized in that When the reference data at the same light intensity maintains a stable state for a preset number of times, the reference data of the far-end threshold of the current light intensity is added with a value close to a preset value and fixed as the far-end threshold of the current light intensity, and the reference data of the near-end threshold of the current light intensity is fixed as the near-end threshold of the current light intensity, and the step further includes: Detecting and recording the reference data of the far-end threshold and the reference data of the near-end threshold of the same light intensity within a preset number of times; Feedback the AD value converted from the light into a digital quantity according to the reference data detected by the infrared proximity sensor; When it is determined that the detected reference data remain equal within a preset number of times, the reference data of the current far-end threshold plus the reference data close to the preset value and the current near-end threshold are fixed as the far-end threshold and the near-end threshold respectively.
5. The method according to claim 4, characterized in that The step of dynamically adjusting the far-end threshold and the near-end threshold according to different light intensities received by the infrared proximity sensor further includes: Setting initial parameters of a far-end threshold and a near-end threshold of the infrared proximity sensor; Detecting the obstacle and extracting the AD value of the feedback; The far-end threshold and the near-end threshold are adjusted according to the comparison between the AD value and the threshold.
6. The method according to claim 5, characterized in that The step of adjusting the far-end threshold and the near-end threshold according to the comparison between the AD value and the threshold value further includes: The calibration function of the infrared proximity sensor is set to be manually turned on or manually turned off; When the calibration function of the infrared proximity sensor is in an on state, the infrared proximity sensor is calibrated; When the calibration function of the infrared proximity sensor is in a closed state, the infrared proximity sensor stops calibrating.
7. The method according to claim 2, characterized in that Before the step of fixing the infrared proximity sensor by using a test stand to generate reference data of the far-end threshold in the absence of obstacles, the method further includes: Detecting the working state of the infrared proximity sensor; When the infrared proximity sensor is in a working state without fault indication, the step of fixing the infrared proximity sensor by using a test stand to generate reference data of the far-end threshold in the absence of obstacles is performed.
8. A calibration device for an infrared proximity sensor, characterized in that: The device comprises: a far-end threshold detection module, a near-end threshold detection module, a threshold determination module and a threshold adjustment module; The far-end threshold detection module detects the far-end threshold reference data under obstacle-free conditions through infrared proximity sensors under different light intensities; The near-end threshold detection module detects the near-end threshold reference data under obstacle conditions through infrared proximity sensors under different light intensities; A threshold determination module, when the reference data of the same light intensity maintains a stable state for a preset number of times, adds a close preset value to the reference data of the far-end threshold of the current light intensity and fixes it as the far-end threshold of the current light intensity, and fixes the reference data of the near-end threshold of the current light intensity as the near-end threshold of the current light intensity; The threshold adjustment module dynamically adjusts the far-end threshold and the near-end threshold according to different light intensities received by the infrared proximity sensor.
9. A calibration device for an infrared proximity sensor, characterized in that: The infrared proximity sensor calibration device comprises: a memory, a processor, and a calibration processing program of the infrared proximity sensor stored in the memory and executable on the processor. When the infrared proximity sensor calibration processing program is executed by the processor, the steps of the infrared proximity sensor calibration method as claimed in any one of claims 1 to 7 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a calibration program for an infrared proximity sensor, and when the calibration program for the infrared proximity sensor is executed by a processor, the steps of the calibration method for the infrared proximity sensor according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Self-adaptive induction threshold adjusting system and method for proximity sensor
CN104570144A
Control method of infrared proximity sensor, device and mobile terminal
CN105939427A
Control method and device for infrared proximity sensor and mobile terminal
CN105959492A
Sensing threshold calibration method and device of distance sensor
CN106791053A
Display screen state control method and device
CN106940633A
Cited By
AI modular sensing robot service system based on precision sensing
CN121245922A
AI modular perception robot service system based on precision sensing
CN121245922B
