Method and apparatus for adjusting sensitivity of a flame detector
By collecting the reflectance, halo light value, and temperature data of the flame detector, the sensitivity can be adaptively adjusted, solving the reliability problem of the flame detector under environmental interference and improving the accuracy and stability of detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BENGBU EI FIRE ELECTRONICS CO LTD
- Filing Date
- 2025-09-05
- Publication Date
- 2026-07-24
AI Technical Summary
The reliability of existing flame detectors is susceptible to environmental interference, which increases the risk of false alarms or missed alarms under complex or variable environmental conditions.
By periodically collecting the reflectance and ambient light values of the near-infrared emitting diode and the ambient temperature, calculating the difference between the reference values and combining them with a preset threshold, the sensitivity can be adaptively adjusted. This includes increasing sensitivity when the detector glass is blocked, decreasing sensitivity when there is direct sunlight or changes in ambient light, and adaptively correcting the reference value based on temperature changes.
It improves the detection accuracy and reliability of flame detectors in complex environments, reduces false alarms and missed alarms, and ensures stable and reliable detection of flame signals under different environmental conditions.
Smart Images

Figure CN121089901B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of safety protection technology, and in particular to a method and apparatus for adjusting the sensitivity of a flame detector. Background Technology
[0002] The reliability of existing flame detectors is easily affected by environmental interference. Flame detectors typically detect flame radiation signals using infrared receivers and determine the presence of a fire source based on a fixed threshold. However, in real-world applications, flame detectors can be affected by various environmental factors, which can cause instability in the detection signal, increasing the risk of false alarms or missed alarms. This makes it difficult to maintain reliable and accurate detection performance under complex or variable environmental conditions. Therefore, there is an urgent need for a technical solution that can improve the stability and reliability of flame detectors under different environmental conditions. Summary of the Invention
[0003] This application provides a method and apparatus for adjusting the sensitivity of a flame detector, which solves the technical problem that the reliability of flame detectors is easily affected by environmental interference in the prior art.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] In a first aspect, a method for adjusting the sensitivity of a flame detector is provided, comprising: periodically collecting multiple sets of reflectance value GF data of the receiving tube when the near-infrared emitting tube is turned on, aura value GH data of the receiving tube when it is turned off, and ambient temperature; calculating a first variance of each set of reflectance value GF data, and when the first variance is less than a first preset value, determining the mean of the current set of reflectance value GF as a reference value of reflectance value GF; calculating a second variance of each set of aura value GH data, and when the second variance is less than a second preset value, determining the mean of the current set of aura value GH as a reference value of aura value GH. The real-time reflective detection value GF is compared with the reference value of reflective value GF. When the number of times the difference exceeds the first preset value exceeds the first preset number, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased. The real-time ambient light detection value GH is compared with the reference value of ambient light value GH. When the number of times the difference exceeds the second preset value exceeds the second preset number, it is determined that the detector is under direct sunlight or in a state of ambient light change, and the sensitivity is decreased. Based on the ambient temperature, when the temperature difference exceeds the third preset value, the reference values of reflective value GF and ambient light value GH are adaptively adjusted.
[0006] In conjunction with the first aspect mentioned above, in one possible implementation, multiple sets of reflectance value GF data of the receiver tube when the near-infrared emitting tube is turned on and ring light value GH data of the receiver tube when it is turned off are periodically collected, including: when the near-infrared emitting tube is turned on, a set of reflectance value GF is acquired every X1 seconds, each set containing Y1 samples, and the interval between adjacent samples is Z1 seconds; when the near-infrared emitting tube is turned off, a set of ring light value GH is acquired every X2 seconds, each set containing Y2 samples, and the interval between adjacent samples is Z2 seconds.
[0007] In conjunction with the first aspect mentioned above, in one possible implementation, determining that there is an obstruction in front of the detector glass includes: calculating the difference between the real-time reflective detection value GF and the reflective value GF reference value; if the difference is greater than a first preset value, the obstruction count is incremented by 1, otherwise it is not counted; after all Y1 detection values have been compared, if the obstruction count is less than or equal to the first preset number, the obstruction count is cleared and the next set of detections is entered; if the obstruction count is greater than the first preset number, it is determined that there is an obstruction in front of the detector glass.
[0008] In conjunction with the first aspect above, in one possible implementation, improving sensitivity includes: when it is determined that there is an obstruction in front of the detector glass, increasing the sensitivity by the ratio of the difference between the real-time reflectance value and the reflectance reference value to a first preset threshold.
[0009] In conjunction with the first aspect above, in one possible implementation, reducing sensitivity includes: when it is determined that the detector is under direct sunlight or in a state of changing ambient light, reducing sensitivity by a ratio of the difference between the real-time ring light value and the ring light reference value to a second preset threshold.
[0010] In conjunction with the first aspect mentioned above, in one possible implementation, the improved sensitivity... Satisfy the following formula:
[0011]
[0012] in, To adjust the sensitivity before, For preset adjustment coefficients, The difference between the real-time reflectance value and the reflectance reference value. This is the first preset threshold.
[0013] In conjunction with the first aspect mentioned above, in one possible implementation, determining whether the detector is under direct sunlight or in a state of changing ambient light includes: calculating the difference between the real-time ring light detection value GH and the reference value of the ring light value GH; if the difference is greater than a second preset value, the ring light change event count is incremented by 1; otherwise, it is not counted; after comparing the Y2 detection values, if the ring light change event count is less than or equal to the second preset number, the ring light change event count is reset to zero, and the next set of detections is started; if the occlusion count is greater than the second preset number, the detector is determined to be under direct sunlight or in a state of changing ambient light.
[0014] In conjunction with the first aspect mentioned above, in one possible implementation, when the difference between the real-time reflective detection value and the reflective reference value exceeds a first preset value but does not exceed a first risk threshold, it is determined to be a slight occlusion, and the detector sensitivity is increased according to a preset ratio; when it exceeds the first risk threshold, it is determined to be a severe occlusion, a maintenance prompt message is output, and automatic increase in sensitivity is prohibited.
[0015] In conjunction with the first aspect mentioned above, in one possible implementation, based on the ambient temperature, when the temperature difference exceeds a third preset value, the reflectance value GF and the halo light value GH are adaptively adjusted, including: when the ambient temperature changes by more than the third preset value, the reflectance value GF and the halo light value GH are adjusted by a preset step size; when the temperature rises, the reflectance value GF and the halo light value GH are decreased by a preset step size; when the temperature falls, the reflectance value GF and the halo light value GH are increased by a preset step size.
[0016] In conjunction with the first aspect mentioned above, in one possible implementation, the operating range of the ambient temperature includes a minimum temperature and a maximum temperature. When the ambient temperature exceeds this operating range, a fault prompt message is output.
[0017] Secondly, a sensitivity adjustment device for a flame detector is provided, comprising: a communication unit and a processing unit; the communication unit is used to periodically collect multiple sets of reflectance value GF data of the receiving tube when the near-infrared emitting tube is turned on, aura value GH data of the receiving tube when it is turned off, and ambient temperature; the processing unit is used to calculate a first variance of each set of reflectance value GF data, and when the first variance is less than a first preset value, to determine the mean value of the current set of reflectance value GF as a reference value of reflectance value GF; and to calculate a second variance of each set of aura value GH data, and when the second variance is less than a second preset value, to set the mean value of the current set of aura value GH as a reference value of reflectance value GF; The ambient light value GH is determined as the baseline value. The real-time reflective detection value GF is compared with the baseline value GF. When the difference exceeds the first preset value more than a certain number of times, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased. The real-time ambient light detection value GH is compared with the baseline value GH. When the difference exceeds the second preset value more than a certain number of times, it is determined that the detector is under direct sunlight or in a state of changing ambient light, and the sensitivity is decreased. Based on the ambient temperature, when the temperature difference exceeds the third preset value, the baseline values of the reflective value GF and the ambient light value GH are adaptively adjusted.
[0018] Thirdly, this application provides an electronic device, including: a processor and a storage medium; the storage medium includes instructions, and the processor is configured to execute the instructions to implement the methods described in the first aspect and any possible implementation thereof. This electronic device may be an electronic device or a chip within an electronic device.
[0019] Fourthly, this application provides a sensitivity adjustment system for a flame detector, including: a sensor and an electronic device; wherein, the sensor is used to periodically collect multiple sets of reflectance value GF data of the receiver tube when the near-infrared emitting tube is turned on, aura value GH data of the receiver tube when it is turned off, and ambient temperature; the electronic device is used to calculate a first variance of each set of reflectance value GF data, and when the first variance is less than a first preset value, to determine the mean value of the current set of reflectance value GF as the reference value of reflectance value GF; and to calculate a second variance of each set of aura value GH data, and when the second variance is less than a second preset value, to adjust the sensitivity of the current set of aura value GH. The average value is determined as the reference value of the ring light value GH; the real-time reflection detection value GF is compared with the reference value of the reflection value GF. When the number of times the difference is greater than the first preset value exceeds the first preset number, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased; the real-time ring light detection value GH is compared with the reference value of the ring light value GH. When the number of times the difference is greater than the second preset value exceeds the second preset number, it is determined that the detector is in direct sunlight or in a state of ambient light change, and the sensitivity is decreased; based on the ambient temperature, when the temperature difference exceeds the third preset value, the reference values of the reflection value GF and the reference values of the ring light value GH are adaptively adjusted.
[0020] Fifthly, this application provides a computer-readable storage medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the methods described in the first aspect and any possible implementation thereof.
[0021] In a sixth aspect, this application provides a computer program product containing instructions that, when run on an electronic device, cause the electronic device to perform the methods described in the first aspect and any possible implementation thereof.
[0022] To address the technical problem that the reliability of flame detectors in existing technologies is easily affected by environmental interference, this application provides a method and apparatus for adjusting the sensitivity of a flame detector. By periodically collecting the reflectance value GF, ring light value GH, and ambient temperature of the flame detector, and combining this with a reference value difference and a threshold judgment, dynamic sensitivity adjustment is achieved. This technical solution can automatically increase sensitivity based on the obstruction in front of the detector, effectively compensating for the influence of dust, stains, or slight obstruction on the signal and reducing missed detections. Simultaneously, it automatically decreases sensitivity based on direct sunlight or changes in ambient light, reducing false alarms and improving the stability of the detector under complex lighting conditions. Furthermore, adaptive adjustment based on ambient temperature can offset signal drift caused by temperature changes, ensuring the detector accurately determines the flame state under different temperature environments. This technical solution requires no manual intervention, enabling automated and intelligent adjustment of sensitivity and reference values, improving the reliability and response speed of fire monitoring, comprehensively enhancing the detection accuracy and equipment safety of flame detectors in complex environments, and solving the technical problem of the reliability of flame detectors being easily affected by environmental interference in existing technologies.
[0023] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description
[0024] Figure 1 A system architecture diagram of a sensitivity adjustment system for a flame detector provided in this application embodiment;
[0025] Figure 2 A schematic flowchart illustrating a method for adjusting the sensitivity of a flame detector provided in an embodiment of this application;
[0026] Figure 3 A schematic flowchart illustrating another method for adjusting the sensitivity of a flame detector provided in an embodiment of this application;
[0027] Figure 4 A schematic flowchart illustrating another method for adjusting the sensitivity of a flame detector provided in an embodiment of this application;
[0028] Figure 5 A schematic flowchart illustrating another method for adjusting the sensitivity of a flame detector provided in an embodiment of this application;
[0029] Figure 6 A schematic flowchart illustrating another method for adjusting the sensitivity of a flame detector provided in an embodiment of this application;
[0030] Figure 7 A schematic flowchart illustrating another method for adjusting the sensitivity of a flame detector provided in an embodiment of this application;
[0031] Figure 8 A schematic diagram of the structure of a sensitivity adjustment device for a flame detector provided in an embodiment of this application;
[0032] Figure 9 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0033] In the description of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "multiple" means two or more. The terms "first," "second," etc., do not limit the quantity or order of execution, and "first," "second," etc., do not necessarily imply differences.
[0034] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0035] The sensitivity adjustment method for a flame detector provided in this application embodiment can be applied to, for example, Figure 1 In the sensitivity adjustment system 100 of the flame detector shown, such as Figure 1 As shown, the communication system includes a sensor 101 and an electronic device 102.
[0036] Among them, sensor 101 is used to periodically collect multiple sets of data on the reflectance value GF of the receiver tube when the near-infrared emitting tube is turned on, the aura value GH of the receiver tube when it is turned off, and the ambient temperature.
[0037] Electronic device 102 is used to calculate the first variance of each group of reflectance value GF data. When the first variance is less than a first preset value, the mean value of the current group of reflectance value GF is determined as the reference value of reflectance value GF. It also calculates the second variance of each group of ring light value GH data. When the second variance is less than a second preset value, the mean value of the current group of ring light value GH is determined as the reference value of ring light value GH. The real-time reflectance detection value GF is compared with the reference value of reflectance value GF. When the number of times the difference is greater than the first preset value exceeds the first preset number, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased. The real-time ring light detection value GH is compared with the reference value of ring light value GH. When the number of times the difference is greater than the second preset value exceeds the second preset number, it is determined that the detector is under direct sunlight or in a state of changing ambient light, and the sensitivity is decreased. Based on the ambient temperature, when the temperature difference exceeds a third preset value, the reference values of reflectance value GF and ring light value GH are adaptively adjusted.
[0038] To address the technical problem that the reliability of flame detectors in the prior art is easily affected by environmental interference, this application provides a method for adjusting the sensitivity of a flame detector. Figure 2 This is a flowchart illustrating a method for adjusting the sensitivity of a flame detector according to an embodiment of this application. Figure 2 As shown, the method includes:
[0039] S201. Periodically collect multiple sets of near-infrared emitting tube reflectance value GF data when the receiving tube is turned on, receiving tube aura value GH data when the receiving tube is turned off, and ambient temperature.
[0040] In one possible implementation, during system operation, a data acquisition task is initiated according to a preset sampling period. When the transmitter is on, a set of reflected light signal values GF are acquired through the infrared receiver, representing the intensity of infrared light reflected back after passing through the target surface or the glass in front. When the transmitter is off, a set of ambient light signal values GH are simultaneously acquired, representing the influence of ambient light or background light on the receiver. At the same time, ambient temperature data is acquired in real time using a temperature sensor.
[0041] In another possible implementation, when the near-infrared emitting diode is turned on, a set of reflectance values GF is acquired every X1 seconds, each set containing Y1 samples, and the interval between adjacent samples is Z1 seconds; when the near-infrared emitting diode is turned off, a set of halo values GH is acquired every X2 seconds, each set containing Y2 samples, and the interval between adjacent samples is Z2 seconds.
[0042] As an example, in this embodiment, a near-infrared emitting diode with a center wavelength of approximately 800 μm is selected, and a photosensitive receiving diode is mounted close to the glass mirror surface of the flame detector. The near-infrared emitting diode operates intermittently to emit near-infrared light signals to the glass mirror surface; the photosensitive receiving diode collects the light signals when the emitting diode is in the operating state and when it is not in the operating state, and converts the light signals into electrical signals for output.
[0043] S202. Calculate the first variance of each group of reflectance value GF data. When the first variance is less than the first preset value, determine the mean of the current group of reflectance value GF as the reflectance value GF benchmark value.
[0044] In one possible implementation, the first variance of multiple reflectance values GF within each sampling period is calculated. When the variance is less than a first preset value, it indicates that the data set is stable and without significant fluctuations. At this point, the arithmetic mean of the data set is calculated and determined as the base value (GF_base) of the current reflectance value GF.
[0045] It should be noted that the first variance is used to measure the dispersion of a set of reflectance GF data. When the variance of this set is less than the threshold, it indicates that the signal is stable and can be used as an effective benchmark.
[0046] S203. Calculate the second variance of each group of ring light value GH data. When the second variance is less than the second preset value, determine the mean value of the current group of ring light value GH as the reference value of ring light value GH.
[0047] In one possible implementation, the second variance of each set of ring light value GH data is calculated. When the variance is less than a second preset value, the data set is determined to be stable, and its mean is taken as the base value (GH_base) of the ring light value GH.
[0048] It should be noted that the value of the second preset threshold can be adjusted according to the application scenario of the detector to ensure that a reasonable reference value can be established under different background light conditions.
[0049] As an example, in indoor scenarios, the second preset threshold can be set to a lower level; while in outdoor sunlight environments, it can be set to a higher level to tolerate larger light fluctuations.
[0050] In another possible implementation, the reference values for both the reflectivity GF and the halo GH can be determined by... Figure 3 The steps yielded, such as Figure 3 As shown, taking the baseline value of reflectance GF as an example, a set of reflectance GF detection values is obtained, and the variance of the set of reflectance GF detection values is calculated. If the variance is less than the preset value (the specific value in the figure), the mean of the set is calculated as the baseline value of reflectance GF (the power-on baseline value in the figure). If the variance is not less than the preset value, the next set is calculated.
[0051] S204. Compare the real-time reflective detection value GF with the reference value of the reflective value GF. When the number of times the difference is greater than the first preset value exceeds the first preset number, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased.
[0052] In one possible implementation, the real-time acquired reflectance detection value GF is compared with a reference reflectance value GF. When the difference exceeds a first preset value for more than a first preset number of consecutive times, it is determined that there is an obstruction in front of the flame detector glass, such as dust, smoke, or foreign objects. At this time, the sensitivity is increased according to the ratio of the difference between the real-time reflectance value and the reference reflectance value to a first preset threshold to ensure that flame characteristics can still be reliably captured under signal weakening conditions.
[0053] It should be noted that this judgment process is based on cumulative counts, rather than single fluctuations, thereby avoiding misjudgments caused by accidental interference. As an example, the first preset count can be set to 3, meaning that the system will only trigger the sensitivity enhancement mechanism after three consecutive detection results exceed the tolerance. The first preset count can be set and calibrated according to actual conditions, and this embodiment does not limit this.
[0054] As an example, in an embodiment of this application, the improved sensitivity Satisfy the following formula:
[0055]
[0056] in, To adjust the sensitivity before, For preset adjustment coefficients, The difference between the real-time reflectance value and the reflectance reference value. This is the first preset threshold.
[0057] In another possible implementation, when the difference between the real-time reflective detection value and the reflective reference value exceeds a first preset value but does not exceed a first risk threshold, it is determined to be a slight occlusion, and the detector sensitivity is increased by a preset ratio; when it exceeds the first risk threshold, it is determined to be a severe occlusion, a maintenance prompt message is output, and automatic increase of sensitivity is prohibited.
[0058] S205. Compare the real-time ambient light detection value GH with the ambient light value GH reference value. When the number of times the difference is greater than the second preset value exceeds the second preset number, determine that the detector is in direct sunlight or ambient light change state, and reduce the sensitivity.
[0059] In one possible implementation, the real-time acquired ring light detection value GH is compared with a reference ring light value GH. When the difference exceeds a second preset value more than a second preset number of times, it is determined that the detector is currently under direct sunlight or in a state of strong ambient light change. At this time, the sensitivity is reduced according to the ratio of the difference between the real-time ring light value and the reference ring light value to the second preset threshold to prevent false alarms caused by ambient light interference.
[0060] As an example, in this embodiment, the method can effectively distinguish between flame signals and ambient light interference, and is particularly suitable for outdoor or lighting scenarios with significant variations. The second preset number of times can be set to 5, meaning that the system will only reduce its sensitivity after five consecutive abnormal fluctuations are detected, thus avoiding overly frequent sensitivity switching. The second preset number of times can also be set and calibrated according to actual conditions; this embodiment does not limit this setting.
[0061] As an example, in an embodiment of this application, the reduced sensitivity Satisfy the following formula:
[0062]
[0063] in, To adjust the sensitivity before, For preset adjustment coefficients, This is the difference between the real-time ring light value and the ring light reference value. This is the second preset threshold.
[0064] S206. Based on the ambient temperature, when the temperature difference exceeds a third preset value, adaptively adjust the reflectivity GF reference value and the halo light GH reference value.
[0065] In one possible implementation, by combining ambient temperature information collected by the detector, when the temperature difference exceeds a third preset value, the reflectivity GF reference value and the halo light GH reference value are automatically and adaptively corrected. Specifically, the original reference values can be weighted and adjusted based on a temperature drift coefficient to compensate for the device characteristic shift caused by temperature changes.
[0066] As an example, in this embodiment of the application, when the ambient temperature changes by more than a third preset value, the reference values of reflectivity GF and GH are adjusted by a preset step size; when the temperature rises, the reference values of reflectivity GF and GH are decreased by a preset step size; when the temperature falls, the reference values of reflectivity GF and GH are increased by a preset step size.
[0067] The sensitivity adjustment method for the flame detector provided in this application enables adaptive sensitivity adjustment of the flame detector under different environmental conditions. By periodically collecting reflectance, ambient light, and temperature data, a multi-dimensional stable benchmark is established to effectively distinguish flame signals from the environmental background. Sensitivity is automatically increased when the detector glass is obstructed to ensure accurate detection. Sensitivity is reduced in environments with strong light interference to minimize false alarms. Furthermore, adaptive benchmark correction is performed in conjunction with temperature changes to avoid detection inaccuracies caused by device drift, maintaining the reliability of the flame detector in complex and changing environments.
[0068] In one possible implementation of the embodiments of this application, combined with Figure 2 ,like Figure 4 As shown, the above S204 can be implemented through the following S401, S402 and S403, which are explained in detail below:
[0069] S401. Calculate the difference between the real-time reflectivity detection value GF and the reference value of reflectivity GF. If the difference is greater than the first preset value, the occlusion count is incremented by 1; otherwise, no count is made.
[0070] In one possible implementation, dynamic monitoring of the front-end glass surface condition can be achieved by calculating the successive differences between the real-time reflective detection value and the reference value. When the difference exceeds a preset threshold, the situation is recorded as a potential occlusion event, and the number of such events is accumulated through an occlusion count.
[0071] The reflectance detection value GF refers to the electrical signal value collected by the photosensitive receiver tube after reflection from the front glass mirror of the flame detector when the near-infrared emitting tube is turned on. The reflectance reference value GF is a reference value calculated from multiple sets of stable acquisition results in the aforementioned steps, used to reflect the stable reflection level under normal conditions. The first preset value is a threshold set by the system to determine whether the difference between the actual detection signal and the reference signal is sufficient to indicate an anomaly.
[0072] It should be noted that the first preset value can be flexibly adjusted according to the specific application environment, such as indoor, outdoor, and lighting conditions, in order to avoid false alarms or missed alarms caused by overly strict or lenient threshold settings.
[0073] As an example, in this embodiment of the application, the first preset value is set to 10ADC level. When the difference between the detected value and the reference value is greater than this value, the occlusion count is automatically incremented by 1.
[0074] S402. After all Y1 detection values have been compared, if the occlusion count is less than or equal to the first preset number of times, the occlusion count is cleared and the next set of detections is started.
[0075] In one possible implementation, after a detection cycle ends, the system compares the occlusion count with the first preset number of times. If the count does not exceed the set threshold, it means that the abnormal changes that occurred during the detection process are insufficient to indicate that there is an occlusion in front of the glass. At this time, the system will clear the occlusion count to ensure that the subsequent judgment process starts again and avoids the cumulative interference of historical data on subsequent judgments.
[0076] Here, Y1 detections represent the total number of samples collected and compared within a detection cycle, used to improve the reliability of the judgment results. The first preset number of detections is the tolerance threshold set by the system for occlusion judgment, used to avoid misjudgment due to occasional interference.
[0077] It should be noted that Y1 and the first preset number of times can be flexibly set according to the detection frequency and application environment. For example, Y1 can be set to 10 to 50 times, and the first preset number of times can be set to 10% to 30% of Y1 to achieve a balance between sensitivity and stability.
[0078] As an example, when Y1 is 20 and the first preset number of times is 5, if the occlusion count is 4 within this period, it is insufficient to determine that there is occlusion, and the system will reset the count and continue to the next set of detections.
[0079] S403. If the obstruction count is greater than the first preset number, it is determined that there is an obstruction in front of the detector glass.
[0080] In one possible implementation, by setting a condition that the occlusion count exceeds a preset number, occasional interference factors can be effectively filtered out. This ensures that the system only determines occlusion when significant differences occur consecutively, thereby improving the accuracy and stability of the determination.
[0081] Among them, obstruction usually refers to the abnormal reflection of near-infrared light on the front glass surface of the flame detector due to dust, stains, foreign objects, or human obstruction, which affects the detection sensitivity and reliability.
[0082] It should be noted that this judgment result can not only serve as a trigger condition for sensitivity adjustment, but can also be further linked to alarm systems, maintenance reminder modules, etc., to achieve self-diagnosis and alarm of the detector status.
[0083] As an example, when the obstruction count reaches 6 times (exceeding the first preset number of 5 times), the system will determine that there is an obstruction in front of the detector glass and trigger a sensitivity increase or maintenance prompt accordingly.
[0084] As an example, in an embodiment of this application, such as Figure 5 As shown, the system first acquires real-time detection signals from the sensor, filters the acquired detection values, compares the filtered values with a baseline value, and calculates the difference to determine abnormal conditions. If the difference exceeds a set threshold, an occlusion event is considered possible, and the occlusion count is incremented by 1; if the difference does not exceed the threshold, no action is taken. After one detection cycle (e.g., 10 samples), it is checked whether the occlusion count exceeds a preset number: if it exceeds the preset number, occlusion is determined, and an alarm or sensitivity adjustment is triggered; if it does not exceed the preset number, the occlusion count is reset to zero, and the next detection cycle begins. If the cumulative occlusion event count exceeds a threshold (e.g., 5 times), the sensitivity is adjusted; if it does not exceed the threshold, no action is taken, and the event count is reset to zero to prepare for the next detection cycle. The entire process is continuously looped to continuously monitor the detector's status and ensure timely response to occlusion and abnormal changes.
[0085] This application provides a dynamic and continuous monitoring system for the obstruction of the front-end glass of a flame detector. Specifically, by calculating the difference between the real-time reflective detection value and a reference value and accumulating the obstruction count, the system can distinguish between occasional interference and genuine obstruction. The count judgment and zeroing process after each detection effectively filters out the risk of misjudgment caused by short-term fluctuations. When the obstruction count exceeds a preset threshold, the system accurately determines that obstruction exists, providing a reliable basis for subsequent automatic sensitivity adjustment, alarm prompts, or maintenance operations. Overall, this solution significantly improves the detection accuracy, anti-interference capability, and long-term stability of flame detectors under conditions of dust, smoke, foreign object obstruction, and complex environments.
[0086] In one possible implementation of the embodiments of this application, combined with Figure 2 ,like Figure 6 As shown, the above S205 can be implemented through the following S601, S602 and S603, which are explained in detail below:
[0087] S601. Calculate the difference between the real-time ring light detection value GH and the reference value of the ring light value GH. If the difference is greater than the second preset value, the ring light change event count is incremented by 1; otherwise, it is not counted.
[0088] In one possible implementation, by successively calculating the difference between the real-time ring light detection value and the reference value, when the difference exceeds a threshold, the system records the event as a ring light change event, and accumulates abnormal situations through "ring light change event count" in order to judge ambient light interference.
[0089] Here, the ring light detection value GH refers to the electrical signal corresponding to the ambient light intensity collected by the photosensitive receiver when the near-infrared emitting diode is off; the ring light reference value GH is a reference value calculated from multiple sets of data collected stably in the aforementioned steps, used to reflect the background light intensity under normal ambient light conditions. The second preset value is a threshold set by the system, used to determine whether the difference between the actual ring light signal and the reference signal has reached a significant change.
[0090] It should be noted that the second preset value can be flexibly set according to different ambient light conditions to balance detection accuracy and system stability.
[0091] S602. After the Y2 detection values are compared, if the ring light change event count is less than or equal to the second preset number, the ring light change event count is cleared and the next set of detections is started.
[0092] In this embodiment of the application, when a detection cycle ends, the system compares the ring light change event count with the second preset number of times. If the count does not exceed the preset threshold, it means that the illumination change during the detection process is insufficient to determine the interference event. The system will clear the ring light change event count to zero and start the next set of detections to ensure the independence of the judgment.
[0093] Here, Y2 detections represent the total number of ambient light samples collected and compared within one detection cycle, used to improve the reliability of ambient light change judgment. The second preset number of detections is a tolerance threshold set by the system to avoid misjudgments caused by occasional changes in light emission.
[0094] As an example, in this embodiment, Y2 and the second preset number of times can be flexibly set according to the detection frequency and illumination change characteristics to balance system sensitivity and stability. When Y2 is 20 and the second preset number of times is 5, if the ring light change event count is 4 within this cycle, the system will not determine an anomaly and will reset the count to zero to enter the next set of detections.
[0095] S603. If the occlusion count is greater than the second preset number, the detector is determined to be in direct sunlight or in a state of ambient light change.
[0096] In one possible implementation, by accumulating multiple ring light anomaly events and comparing them with a second preset number, when the count exceeds a threshold, the system determines that the current detector is in a strong light interference environment and can trigger operations such as automatic sensitivity reduction or alarm prompts to reduce the risk of false alarms.
[0097] Direct sunlight or changing ambient light conditions refer to situations where the external light intensity significantly increases or fluctuates rapidly, causing the ambient light value GH to deviate continuously from the reference value. This judgment logic can effectively distinguish between intermittent light fluctuations and continuous interference, thereby improving the reliability of flame detectors under complex lighting conditions.
[0098] As an example, when the ring light change event count reaches 6, the system determines that the detector is in direct sunlight or in a state of ambient light change, and triggers the corresponding sensitivity reduction mechanism.
[0099] This application distinguishes between intermittent light fluctuations and continuous interference through differential calculation and cumulative event counting. The count is reset to zero at the end of the detection cycle to ensure data independence and judgment stability. When the accumulated ambient light anomalies exceed a threshold, ambient light interference is accurately determined, providing a reliable basis for automatic sensitivity adjustment and alarm prompts. Overall, it achieves continuous and dynamic monitoring of changes in ambient light around the flame detector, improving the flame detector's anti-interference capability and detection accuracy in environments with strong light or rapidly changing illumination.
[0100] In one possible implementation of the embodiments of this application, combined with Figure 2 ,like Figure 7 As shown, the above S206 can be implemented through the following S701, S702 and S703, which are explained in detail below:
[0101] S701. When the ambient temperature changes by more than the third preset value, the reflectivity GF reference value and the halo light GH reference value are adjusted according to the preset step size.
[0102] In one possible implementation, when the ambient temperature is detected to have changed by more than a third preset value compared to the last recorded value, the system will adaptively adjust the reference values of reflectance value GF and halo value GH to compensate for the impact of temperature changes on the sensor response characteristics, thereby ensuring the accuracy and stability of the signal reference.
[0103] The third preset value is a temperature change threshold set by the system, used to determine whether the change in ambient temperature is significant enough to trigger a baseline value adjustment. The preset step size is the increment or decrement of the baseline value for each adjustment, which can be a fixed value or proportional to the temperature change.
[0104] It should be noted that the third preset value and step size can be flexibly set according to the actual application environment and detector sensitivity requirements, so as to balance the adjustment accuracy and response speed.
[0105] As an example, in this embodiment of the application, the third preset value can be set to 5°C, and the step size of each adjustment of the reference value is 1 ADC unit.
[0106] S702. When the temperature rises, the reflectance value GF and the halo value GH are reduced by a preset step size.
[0107] In this embodiment of the application, when the ambient temperature is detected to rise above a third preset value, the current reflectivity GF reference value and the ambient light GH reference value will be decreased by a preset step size, so that the reference values are automatically adjusted as the temperature rises, ensuring the accuracy of subsequent occlusion determination and sensitivity adjustment.
[0108] Increased temperature may cause the photosensitive receiver to output a signal that is too high. Therefore, it is necessary to compensate by appropriately lowering the reference value to avoid misjudgment. This adjustment is continuously executable and can be corrected multiple times as the temperature continues to change.
[0109] As an example, when the temperature increases by 5°C, both the GF reference value and the GH reference value are reduced by 1 ADC unit to ensure that the detector does not produce false alarms in high-temperature environments.
[0110] S703. When the temperature decreases, the reflectivity GF reference value and the halo value GH reference value are increased by a preset step size.
[0111] In one possible implementation, when the ambient temperature drops below a third preset value, the system increments the reflective value GF and the ambient light value GH by a preset step size, so that the reference values are automatically adjusted as the temperature decreases, thereby ensuring that the detector can still accurately respond to flame signals in low-temperature environments.
[0112] A decrease in temperature may cause the output signal of the photosensitive receiver to be too low. Therefore, it is necessary to compensate by appropriately increasing the reference value to maintain the stability of signal judgment. This incremental adjustment can be executed symmetrically with the adjustment logic for temperature increase to achieve bidirectional adaptive adjustment of the reference value.
[0113] As an example, when the temperature drops by 5°C, the GF reference value and the GH reference value each increase by 1 ADC unit to compensate for the effect of low temperature on the optical signal.
[0114] It should be noted that the operating range of ambient temperature includes both the minimum and maximum temperatures. When the ambient temperature exceeds this operating range, a fault message will be output.
[0115] This application monitors ambient temperature changes and determines whether they exceed a third preset value, dynamically triggering a reference value adjustment. This allows the flame detector's reflectance value (GF) and ring light value (GH) to adaptively correct with temperature changes, thereby reducing the impact of temperature drift on detection accuracy. When the temperature rises, the reference values of reflectance value (GF) and ring light value (GH) are decreased by a preset step size, effectively compensating for the signal increase deviation caused by high temperature in the photosensitive receiver, avoiding false alarms, and improving the detector's reliability in high-temperature environments. When the temperature decreases, the reference values of reflectance value (GF) and ring light value (GH) are increased by a preset step size, compensating for the low signal caused by low temperature, ensuring the detector can still accurately judge flame signals in low-temperature environments, and improving overall detection stability.
[0116] The foregoing mainly describes the solutions of the embodiments of this application from the perspective of device implementation. It is understood that each device, such as the sensitivity adjustment device of a flame detector, includes at least one of the hardware structure and software module corresponding to each function in order to achieve the above-mentioned functions. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0117] This application embodiment can divide the sensitivity adjustment device of the flame detector into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or software. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0118] When using integrated units, Figure 8 A possible structural schematic diagram of the sensitivity adjustment device for the flame detector (denoted as the sensitivity adjustment device 80 for the flame detector) involved in the above embodiments is shown. The sensitivity adjustment device 80 for the flame detector includes a processing unit 801 and a communication unit 802, and may also include a storage unit 803. Figure 8 The schematic diagram shown can be used to illustrate the structure of the sensitivity adjustment device for the flame detector involved in the above embodiments.
[0119] when Figure 8 The schematic diagram shown illustrates the structure of the sensitivity adjustment device for the flame detector involved in the above embodiments. The processing unit 801 is used to control and manage the operation of the sensitivity adjustment device for the flame detector, the communication unit 802 is used for the sensitivity adjustment device for the flame detector to communicate with other devices, and the storage unit 803 is used to store the program code and data of the sensitivity adjustment device for the flame detector.
[0120] For example, the communication unit 802 is used to periodically collect multiple sets of data on the reflectance value GF of the receiver tube when the near-infrared emitting tube is turned on, the ring light value GH of the receiver tube when it is turned off, and the ambient temperature.
[0121] The processing unit 801 is used to calculate the first variance of each group of reflectance value GF data. When the first variance is less than a first preset value, the mean value of the current group of reflectance value GF is determined as the reference value of reflectance value GF. It also calculates the second variance of each group of ring light value GH data. When the second variance is less than a second preset value, the mean value of the current group of ring light value GH is determined as the reference value of ring light value GH. Furthermore, it compares the real-time reflectance detection value GF with the reference value of reflectance value GF. When the number of times the difference exceeds the first preset value exceeds the first preset number, it determines that there is an obstruction in front of the detector glass and increases the sensitivity. Finally, it compares the real-time ring light detection value GH with the reference value of ring light value GH. When the number of times the difference exceeds the second preset value exceeds the second preset number, it determines that the detector is under direct sunlight or in a state of changing ambient light and decreases the sensitivity. Based on the ambient temperature, when the temperature difference exceeds a third preset value, it adaptively adjusts the reference values of reflectance value GF and ring light value GH.
[0122] In one possible implementation, the processing unit 801 is further configured to periodically acquire multiple sets of reflectance value GF data of the receiver tube when the near-infrared emitting tube is turned on and ring light value GH data of the receiver tube when it is turned off, including: when the near-infrared emitting tube is turned on, acquiring a set of reflectance value GF every X1 seconds, each set containing Y1 samples, and the interval between adjacent samples is Z1 seconds; when the near-infrared emitting tube is turned off, acquiring a set of ring light value GH every X2 seconds, each set containing Y2 samples, and the interval between adjacent samples is Z2 seconds.
[0123] In one possible implementation, the processing unit 801 is further configured to determine that there is an obstruction in front of the detector glass, including: calculating the difference between the real-time reflective detection value GF and the reflective value GF reference value; if the difference is greater than a first preset value, the obstruction count is incremented by 1, otherwise no count is made; after all Y1 detection values have been compared, if the obstruction count is less than or equal to the first preset number of times, the obstruction count is cleared and the next set of detections is entered; if the obstruction count is greater than the first preset number of times, it is determined that there is an obstruction in front of the detector glass.
[0124] In one possible implementation, the processing unit 801 is further configured to improve sensitivity by: when it is determined that there is an obstruction in front of the detector glass, increasing the sensitivity by the ratio of the difference between the real-time reflectance value and the reflectance reference value to a first preset threshold.
[0125] In one possible implementation, the processing unit 801 is further configured to reduce sensitivity by: when it is determined that the detector is under direct sunlight or in a state of ambient light change, reducing the sensitivity by a ratio of the difference between the real-time ambient light value and the ambient light reference value to a second preset threshold.
[0126] In one possible implementation, the improved sensitivity Satisfy the following formula:
[0127]
[0128] in, To adjust the sensitivity before, For preset adjustment coefficients, The difference between the real-time reflectance value and the reflectance reference value. This is the first preset threshold.
[0129] In one possible implementation, the processing unit 801 is further configured to determine whether the detector is under direct sunlight or in a state of changing ambient light, including: calculating the difference between the real-time ring light detection value GH and the reference value of the ring light value GH; if the difference is greater than a second preset value, the ring light change event count is incremented by 1, otherwise it is not counted; after the Y2 detection values are compared, if the ring light change event count is less than or equal to the second preset number, the ring light change event count is cleared and the next set of detections is entered; if the occlusion count is greater than the second preset number, the detector is determined to be under direct sunlight or in a state of changing ambient light.
[0130] In one possible implementation, the processing unit 801 is further configured to determine a slight obstruction when the difference between the real-time reflective detection value and the reflective reference value exceeds a first preset value but does not exceed a first risk threshold, and increase the detector sensitivity by a preset ratio; when the difference exceeds the first risk threshold, it is determined to be a severe obstruction, outputs a maintenance prompt message, and prohibits automatic increase of sensitivity.
[0131] In one possible implementation, the processing unit 801 is further configured to adaptively adjust the reflectance value GF and the halo light value GH reference value based on the ambient temperature when the temperature difference exceeds a third preset value. This includes: adjusting the reflectance value GF and the halo light value GH reference value by a preset step size whenever the ambient temperature changes by more than the third preset value; decreasing the reflectance value GF and the halo light value GH reference value by a preset step size when the temperature rises; and increasing the reflectance value GF and the halo light value GH reference value by a preset step size when the temperature falls.
[0132] In one possible implementation, the processing unit 801 is also configured to operate within an ambient temperature range that includes a minimum temperature and a maximum temperature, and to output a fault warning message when the ambient temperature exceeds this operating range.
[0133] The processing unit 801 can be a processor or a controller, and the communication unit 802 can be a communication interface, transceiver, transceiver circuit, transceiver device, etc. The term "communication interface" is a general term and may include one or more interfaces. The storage unit 803 can be a memory. When the sensitivity adjustment device 80 of the flame detector is a chip, the processing unit 801 can be a processor or a controller, and the communication unit 802 can be an input interface and / or an output interface, pins, or circuits, etc. The storage unit 803 can be a storage unit within the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip (e.g., read-only memory (ROM), random access memory (RAM, etc.)).
[0134] The communication unit can also be called a transceiver unit. The antenna and control circuit with transceiver functions in the sensitivity adjustment device 80 of the flame detector can be considered as the communication unit 802 of the sensitivity adjustment device 80 of the flame detector, and the processor with processing functions can be considered as the processing unit 801 of the sensitivity adjustment device 80 of the flame detector. Optionally, the device in the communication unit 802 used to implement the receiving function can be considered as the communication unit. The communication unit is used to execute the receiving steps in the embodiments of this application, and the communication unit can be a receiver, a receiver circuit, etc. The device in the communication unit 802 used to implement the transmitting function can be considered as the transmitting unit. The transmitting unit is used to execute the transmitting steps in the embodiments of this application, and the transmitting unit can be a transmitter, a transmitter, a transmitting circuit, etc.
[0135] Figure 8 If the integrated units in the process are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. Storage media for storing computer software products include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0136] Figure 8 The units in the process can also be called modules; for example, a processing unit can be called a processing module.
[0137] This application also provides a hardware structure diagram of an electronic device (denoted as electronic device 90), see [link to diagram]. Figure 9 The electronic device 90 includes a processor 901, and optionally, a memory 902 connected to the processor 901.
[0138] In the first possible implementation, see Figure 9 The electronic device 90 also includes a transceiver 903. The processor 901, memory 902, and transceiver 903 are connected via a bus. The transceiver 903 is used to communicate with other devices or communication networks. Optionally, the transceiver 903 may include a transmitter and a receiver. The device in the transceiver 903 that implements the receiving function can be considered as a receiver, which is used to perform the receiving steps in the embodiments of this application. The device in the transceiver 903 that implements the transmitting function can be considered as a transmitter, which is used to perform the transmitting steps in the embodiments of this application.
[0139] Based on the first possible implementation method Figure 9 The structural diagram shown can be used to illustrate the structure of the electronic device involved in the above embodiments.
[0140] in, Figure 9 This can also be illustrated by a system chip in an electronic device. In this case, the actions performed by the aforementioned electronic device can be implemented by this system chip; the specific actions performed can be found above and will not be repeated here.
[0141] In implementation, each step of the method provided in this embodiment can be completed by integrated logic circuits in the processor or by instructions in software form. The steps of the method disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0142] The processor in this application may include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor, etc., which are various computing devices that run software. Each computing device may include one or more cores for executing software instructions to perform calculations or processing. The processor may be a separate semiconductor chip or integrated with other circuits into a single semiconductor chip. For example, it may be integrated with other circuits (such as encoding / decoding circuits, hardware acceleration circuits, or various bus and interface circuits) to form a SoC (System-on-a-Chip), or it may be integrated as a built-in processor within an ASIC. The ASIC with the integrated processor may be packaged separately or together with other circuits. In addition to the cores for executing software instructions to perform calculations or processing, the processor may further include necessary hardware accelerators, such as field-programmable gate arrays (FPGAs), PLDs (programmable logic devices), or logic circuits that implement dedicated logic operations.
[0143] The memory in the embodiments of this application may include at least one of the following types: read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions; random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions; or electrically erasable programmable-only memory (EEPROM). In some scenarios, the memory may also be a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto.
[0144] This application also provides a computer-readable storage medium including instructions that, when run on a computer, cause the computer to perform any of the methods described above.
[0145] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the methods described above.
[0146] This application also provides a chip including a processor and an interface circuit. The interface circuit is coupled to the processor. The processor is used to run computer programs or instructions to implement the above-described method. The interface circuit is used to communicate with other modules outside the chip.
[0147] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).
[0148] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
[0149] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.
Claims
1. A method for adjusting the sensitivity of a flame detector, characterized in that, include: Periodically collect multiple sets of data on the reflectance value (GF) of the receiver tube when the near-infrared emitting diode is on, the ring light value (GH) of the receiver tube when it is off, and the ambient temperature; wherein, the periodic collection of multiple sets of data on the reflectance value (GF) of the receiver tube when the near-infrared emitting diode is on and the ring light value (GH) of the receiver tube when it is off includes: When the near-infrared emitting diode is turned on, a set of reflectance values GF is acquired every X1 seconds. Each set contains Y1 samples, and the interval between adjacent samples is Z1 seconds. When the near-infrared emitting diode is off, a set of ring light values GH is acquired every X2 seconds. Each set contains Y2 samples, and the interval between adjacent samples is Z2 seconds. Calculate the first variance of each group of reflectance value GF data. When the first variance is less than the first preset value, the mean of the current group of reflectance value GF is determined as the reflectance value GF benchmark value. Calculate the second variance of each group of ring light value GH data. When the second variance is less than the second preset value, determine the mean value of the current group of ring light value GH as the reference value of ring light value GH. The real-time reflectivity detection value GF is compared with the reference value of reflectivity GF. When the number of times the difference is greater than a first preset value exceeds the first preset number, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased; wherein, determining that there is an obstruction in front of the detector glass includes: Calculate the difference between the real-time reflectivity detection value GF and the reference value of reflectivity GF. If the difference is greater than the first preset value, the occlusion count is incremented by 1; otherwise, no count is made. After all Y1 detection values have been compared, if the occlusion count is less than or equal to the first preset number of times, the occlusion count is cleared and the next set of detections begins. If the obstruction count is greater than the first preset number, it is determined that there is an obstruction in front of the detector glass; The real-time ambient light detection value GH is compared with the ambient light value GH reference value. When the number of times the difference is greater than the second preset value exceeds the second preset number, it is determined that the detector is in direct sunlight or in a state of ambient light change, and the sensitivity is reduced. Based on the ambient temperature, when the temperature difference exceeds a third preset value, the reference values of the reflectivity GF and the halo light GH are adaptively adjusted.
2. The method according to claim 1, characterized in that, The improvement in sensitivity includes: When it is determined that there is an obstruction in front of the detector glass, the sensitivity is increased according to the ratio of the difference between the real-time reflective value and the reflective reference value to the first preset threshold. The reduction in sensitivity includes: When the detector is determined to be under direct sunlight or in a state of changing ambient light, the sensitivity is reduced by the ratio of the difference between the real-time ambient light value and the ambient light reference value to a second preset threshold.
3. The method according to claim 2, characterized in that, Improved sensitivity Satisfy the following formula: in, To adjust the sensitivity before, For preset adjustment coefficients, The difference between the real-time reflectance value and the reflectance reference value. This is the first preset threshold.
4. The method according to claim 1, characterized in that, Determining whether the detector is under direct sunlight or in a state of changing ambient light includes: Calculate the difference between the real-time ring light detection value GH and the reference value of the ring light value GH. If the difference is greater than the second preset value, the ring light change event count is incremented by 1; otherwise, it is not counted. After the Y2 detection values are compared, if the ring light change event count is less than or equal to the second preset number, the ring light change event count is cleared and the next set of detections is started. If the occlusion count is greater than the second preset number, the detector is determined to be in direct sunlight or under changing ambient light.
5. The method according to claim 2, characterized in that, When the difference between the real-time reflective detection value and the reflective reference value exceeds the first preset value but does not exceed the first risk threshold, it is determined to be a slight occlusion, and the detector sensitivity is increased according to a preset ratio; when it exceeds the first risk threshold, it is determined to be a severe occlusion, a maintenance prompt message is output, and automatic increase of sensitivity is prohibited.
6. The method according to claim 1, characterized in that, Based on the ambient temperature, when the temperature difference exceeds a third preset value, the reflectivity GF reference value and the halo light GH reference value are adaptively adjusted, including: When the ambient temperature changes by more than the third preset value, the reflectivity GF reference value and the halo light GH reference value are adjusted according to the preset step size; When the temperature rises, the reflectance value GF reference value and the halo value GH reference value are reduced by a preset step size; When the temperature decreases, the reflectivity GF reference value and the halo value GH reference value are increased by a preset step size.
7. The method according to claim 6, characterized in that, The operating range of the ambient temperature includes the minimum and maximum temperatures. When the ambient temperature exceeds this operating range, a fault prompt message will be output.
8. A sensitivity adjustment device for a flame detector, characterized in that, The device includes: a communication unit and a processing unit; The communication unit is used to periodically collect multiple sets of reflectance value GF data of the receiver tube when the near-infrared emitting tube is on, aura value GH data of the receiver tube when it is off, and ambient temperature; wherein, the periodic collection of multiple sets of reflectance value GF data of the receiver tube when the near-infrared emitting tube is on and aura value GH data of the receiver tube when it is off includes: when the near-infrared emitting tube is on, acquiring a set of reflectance value GF every X1 seconds, each set containing Y1 samples, and the interval between adjacent samples is Z1 seconds; when the near-infrared emitting tube is off, acquiring a set of aura value GH every X2 seconds, each set containing Y2 samples, and the interval between adjacent samples is Z2 seconds; The processing unit is configured to calculate the first variance of each group of reflectance value GF data; when the first variance is less than a first preset value, the mean of the current group of reflectance value GF is determined as the reflectance value GF reference value; calculate the second variance of each group of ring light value GH data; when the second variance is less than a second preset value, the mean of the current group of ring light value GH is determined as the ring light value GH reference value; compare the real-time reflectance detection value GF with the reflectance value GF reference value; when the number of times the difference is greater than the first preset value exceeds the first preset number, it is determined that there is an obstruction in front of the detector glass, and the sensitivity is increased; wherein, determining that there is an obstruction in front of the detector glass includes: calculating the real-time reflectance detection value GF and the reflectance value GF reference value. The difference between the values is incremented by 1 if the difference is greater than a first preset value, otherwise no count is made. After all Y1 detection values are compared, if the occlusion count is less than or equal to the first preset number, the occlusion count is reset to zero and the next set of detections begins. If the occlusion count is greater than the first preset number, it is determined that there is an obstruction in front of the detector glass. The real-time ring light detection value GH is compared with the ring light value GH reference value. When the number of times the difference is greater than the second preset value exceeds the second preset number, it is determined that the detector is under direct sunlight or in a state of ambient light change, and the sensitivity is reduced. Based on the ambient temperature, when the temperature difference change exceeds a third preset value, the reference values of the reflectance value GF and the ring light value GH are adaptively adjusted.