A control method and system for a circular scanning infrared detector
By judging the strong light source point in the image in the infrared detector and controlling the optical path rewind compensation of the fast mirror assembly, the burn problem of the infrared detector when receiving infrared radiation from the sun or high-temperature objects is solved, and the reliability of the equipment is improved and service life.
Patent Information
- Application Number
- CN202411664027.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-20
AI Technical Summary
Existing infrared detectors are prone to burns when receiving infrared radiation from the sun or high-temperature objects, resulting in equipment damage, and traditional shutter protection mechanisms affect imaging and shorten equipment life when frequently opened and closed.
By determining whether there is a strong light source point in the image acquired by the infrared detector, the fast mirror assembly is controlled to stop or continue to perform optical path rewind compensation for the incident light path of the infrared thermal imaging assembly within several subsequent weekly scanning cycles to avoid infrared of the strong light source Radiation continues to enter the detector.
It effectively protects the infrared detector from damage from strong light sources, improves the reliability and service life of the equipment, and ensures the normal operation of infrared detection in a strong light source environment.
Smart Images

Figure CN119164492B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of infrared detector control technology, and in particular to a control method and system for a circular scanning infrared detector. Background Art
[0002] Uncooled infrared detectors use the unique thermal effect of infrared radiation to convert infrared radiation into heat first, and then convert the heat into electrical signals through sensitive materials. The current mainstream thermal sensitive materials are mainly vanadium oxide and amorphous silicon. Its imaging working principle is that the infrared signal radiated by the target is transmitted through the atmosphere and the optical lens to converge on the thermal sensitive pixels of the detector, causing the temperature of the sensitive pixel to change, thereby causing a change in a certain physical quantity of the sensitive pixel voltage, and ultimately causing the electrical signal to change. The digital image signal is formed through the signal sampling circuit, and then the processor performs digital image processing such as non-uniformity correction, blind pixel filling, and image enhancement to form the final image that can be observed by the human eye.
[0003] Solar energy spectrum consists of three parts, of which ultraviolet light accounts for 3%, visible light accounts for 42% and infrared accounts for 55%. Uncooled infrared detectors work in the 8~14μm long-wave infrared band and can continuously receive infrared energy radiation from the sun. The light intensity response range of uncooled infrared detectors is generally 10 -4 ~10 -2 cd level, signal input higher than this energy will cause burns due to strong pyroelectric effect, thus damaging the detector. Burns can be divided into temporary burns and permanent burns according to the degree. When the detector receives too strong infrared energy at different pixel points, such as briefly passing through the sun, the detector itself will slowly recover; when the detector continues to receive too strong infrared energy at the same pixel point, such as facing the sun for a long time in a fixed position, the detector will suffer irreversible physical damage.
[0004] In the field of infrared detection, especially in the context of air detection, it is inevitable that the sun will be in the imaging field of view. Therefore, how to effectively solve the problem of sun burn detectors is an important research topic, which directly affects the life, reliability, maintainability and environmental adaptability of the equipment. Some of the infrared thermal imaging products or systems on the market do not have anti-burn designs, requiring users to avoid imaging high-temperature objects or the sun; some only have designs to prevent long-term permanent burns (such as shutter protection), but short-term burns are inevitable. The principle of shutter protection is: after the detector detects excessive infrared energy, it controls the shutter structure to close, blocking it in front of the detector, thereby preventing the continuous input of infrared energy.
[0005] The shutter protection mechanism is triggered only when the detector has been briefly burned. After being triggered, the thermal imager does not know whether there are still high-temperature objects such as the sun in the scene. Therefore, the shutter often needs to be opened again after being closed for a certain period of time to receive the infrared energy radiated by the target in the field of view. However, if the infrared thermal imager is always facing the sun or a high-temperature object, the shutter will continue to trigger the protection mechanism after opening and close the shutter again. This cycle repeats until there is no high-temperature object in the field of view. This results in the thermal imager being basically unable to normally image and observe the target image during the frequent opening and closing of the shutter, which is equivalent to sacrificing the effectiveness of the equipment. In addition, the shutter itself is a structure driven by a motor to drive mechanical movement, which has a life limit and a limited number of opening and closing times. Frequent triggering of the protection mechanism will quickly consume the life of the shutter in a short period of time, which is not conducive to the long-term use of the equipment. Summary of the invention
[0006] The purpose of the embodiment of the present invention is to provide a control method and system for a circular scanning infrared detector. By judging whether there is a strong light source point in the image acquired by the infrared detector, it is judged whether to control the fast reflection mirror component to perform retrace compensation on the infrared detector. If there is a strong light source, no retrace compensation is performed to avoid the infrared radiation of the strong light source from continuously entering the infrared detector, so as to achieve the purpose of protecting the equipment, greatly improve the reliability of the equipment use, and ensure the normal operation of infrared detection in a strong light source environment.
[0007] In order to solve the above technical problems, a first aspect of an embodiment of the present invention provides a control method for a circular scanning infrared detector, wherein the circular scanning infrared detector comprises: an infrared thermal imaging component, a fast reflection mirror component and a turntable, wherein the turntable rotates along its axial direction at a preset speed, the infrared thermal imaging component and the fast reflection mirror component are arranged on the turntable, the infrared thermal imaging component captures a plurality of frames of infrared images in each circular scanning cycle of the turntable, the fast reflection mirror component is arranged on the incident light path of the infrared thermal imaging component and performs light path retrace compensation on each frame of infrared image; the control method comprises the following steps:
[0008] Based on the infrared thermal imaging component receiving an infrared image in a current scanning cycle, converting the infrared image into a digital image;
[0009] Acquire the grayscale value of the digital image, and determine whether there is a strong light source point in the corresponding infrared image based on the grayscale value;
[0010] If yes, the fast reflection mirror assembly is controlled to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in a subsequent plurality of cycle scan cycles;
[0011] If not, the fast reflection mirror assembly is controlled to perform optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in the next cycle.
[0012] Further, judging whether there is a strong light source point in the corresponding infrared image based on the grayscale value includes:
[0013] Based on an image pixel detection algorithm, obtaining grayscale values of a plurality of preset areas in the digital image;
[0014] Determine whether the grayscale value of each of the preset areas is greater than a grayscale threshold;
[0015] If so, it is determined that there is a strong light source point in the infrared image.
[0016] Furthermore, after determining that there is a strong light source point in the infrared image, the method further includes:
[0017] Obtaining the frame number of the infrared image where the strong light source point exists;
[0018] Acquire a first preset number of frames of historical infrared images in the current scanning cycle;
[0019] Re-determining whether each of the historical infrared images contains the strong light source point;
[0020] If the number of the historical infrared images with strong light source points is equal to the first preset number, the corresponding frame of the next scanning cycle of the fast reflection mirror component is controlled to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component.
[0021] Furthermore, after re-determining whether each of the historical infrared images has the strong light source point, the method further includes:
[0022] When the ratio of the number of the historical infrared images with strong light source points to the first preset number is greater than or equal to the first preset ratio value, controlling the fast reflection mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next cycle;
[0023] When the ratio of the number of the historical infrared images containing strong light source points to the first preset number is less than the first preset ratio value, the fast reflection mirror assembly is controlled to perform optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in the corresponding frame of the next scanning cycle.
[0024] Furthermore, the controlling the fast mirror assembly to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in a subsequent plurality of cycle scan cycles comprises:
[0025] Acquire the rotation data of the turntable, the rotation data comprising: a rotation count value corresponding to each of the infrared images in the current scanning cycle;
[0026] At the beginning of a new scanning cycle, the fast mirror controller of the fast mirror assembly compares the current rotation count value with the frame numbers of all infrared images with strong light source points in the previous scanning cycle;
[0027] If the frame numbers are consistent, the quick-reflection mirror controller controls the quick-reflection mirror of the quick-reflection mirror assembly to stop the incident light path of the infrared thermal imaging assembly at the corresponding frame of the next scanning cycle to perform light path retrace compensation;
[0028] If the frame numbers are inconsistent, the incident light path of the infrared thermal imaging component is normally retrace compensated in the corresponding frame of the next scanning cycle.
[0029] Accordingly, a second aspect of an embodiment of the present invention provides a control system for a circular scanning infrared detector, wherein the circular scanning infrared detector comprises: an infrared thermal imaging component, a fast reflection mirror component and a turntable, wherein the turntable rotates along its axis at a preset speed, wherein the infrared thermal imaging component and the fast reflection mirror component are arranged on the turntable, wherein the infrared thermal imaging component captures a plurality of frames of infrared images in each circular scanning cycle of the turntable, wherein the fast reflection mirror component is arranged on the incident light path of the infrared thermal imaging component and performs light path retrace compensation on each frame of the infrared image; wherein the control system comprises:
[0030] An image processing module, which is used to convert the infrared image into a digital image based on the infrared image received by the infrared thermal imaging component in the current scanning cycle;
[0031] A strong light source detection module, which is used to obtain the grayscale value of the digital image and determine whether there is a strong light source point in the corresponding infrared image based on the grayscale value;
[0032] A fast mirror control module, which is used to control the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component within a subsequent plurality of cycle scans when a strong light source point exists in the infrared image;
[0033] The fast mirror control module is also used to control the fast mirror component to perform optical path retracement compensation on the incident light path of the infrared thermal imaging component in the next cycle when there is no strong light source point in the infrared image.
[0034] Furthermore, the strong light source detection module includes:
[0035] A gray value detection unit, which is used to obtain gray values of a plurality of preset areas in the digital image based on an image pixel detection algorithm;
[0036] A gray value comparison unit, used to determine whether the gray value of each of the preset areas is greater than a gray threshold;
[0037] A strong light source judgment unit is used to determine that there is a strong light source point in the infrared image when the gray value of the preset area is greater than the gray threshold.
[0038] Furthermore, the strong light source detection module also includes:
[0039] A current frame number acquisition unit, which is used to acquire the frame number of the infrared image where a strong light source point exists;
[0040] A historical frame number acquisition unit, which is used to acquire a first preset number of frames of historical infrared images in the current scanning cycle;
[0041] A historical image judgment unit, which is used to re-judge whether each of the historical infrared images contains the strong light source point;
[0042] A fast mirror control unit is used to control the corresponding frame of the next scanning cycle of the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component if the number of historical infrared images with strong light source points is equal to the first preset number.
[0043] Furthermore, the fast mirror control unit is further used to control the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in a corresponding frame of the next cycle when the ratio of the number of the historical infrared images with strong light source points to a first preset number is greater than or equal to the first preset ratio value;
[0044] The fast mirror control unit is also used to control the fast mirror component to perform optical path retracement compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next scanning cycle when the ratio of the number of historical infrared images with strong light source points to the first preset number is less than the first preset ratio value.
[0045] Furthermore, the fast mirror control module includes:
[0046] A rotation counting unit, which is used to obtain the rotation data of the turntable, wherein the rotation data includes: a rotation counting value corresponding to each of the infrared images in the current scanning cycle;
[0047] A numerical comparison unit, which is used to compare the current rotation count value with the frame numbers of all the infrared images with strong light source points in the previous one-scan cycle through the fast-reflection mirror controller of the fast-reflection mirror assembly at the beginning of a new one-scan cycle;
[0048] A retrace control unit, which is used to control the fast mirror of the fast mirror assembly through the fast mirror controller to stop the incident light path of the infrared thermal imaging assembly at a corresponding frame of the next scanning cycle to perform light path retrace compensation when the current rotation count value is consistent with the frame number;
[0049] The retrace control unit is also used to perform optical path retrace compensation on the incident light path of the infrared thermal imaging component in a corresponding frame of the next scanning cycle when the current rotation count value is inconsistent with the frame number.
[0050] Correspondingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the above-mentioned weekly scanning infrared detector control method.
[0051] Correspondingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which implement the above-mentioned method for controlling a circular scanning infrared detector when executed by a processor.
[0052] The above technical solution of the embodiment of the present invention has the following beneficial technical effects:
[0053] By judging whether there is a strong light source in the image obtained by the infrared detector, it is determined whether to control the fast reflection mirror component to perform retrace compensation on the infrared detector. If there is a strong light source, retrace compensation will not be performed to prevent the infrared radiation of the strong light source from continuously entering the infrared detector, so as to achieve the purpose of protecting the equipment, greatly improve the reliability of equipment use, and ensure the normal operation of infrared detection in a strong light source environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a flow chart of a method for controlling a circular scanning infrared detector provided by an embodiment of the present invention;
[0055] Figure 2 It is a block diagram of a control system module of a weekly scanning infrared detector provided by an embodiment of the present invention;
[0056] Figure 3 is a block diagram of a strong light source detection module provided by an embodiment of the present invention;
[0057] Figure 4 It is a block diagram of a fast reflection mirror control module provided by an embodiment of the present invention.
[0058] Reference numerals:
[0059] 1. Image processing module, 2. Strong light source detection module, 21. Gray value detection unit, 22. Gray value comparison unit, 23. Strong light source judgment unit, 24. Current frame number acquisition unit, 25. Historical frame number acquisition unit, 26. Historical image judgment unit, 27. Fast reflex mirror control unit, 3. Fast reflex mirror control module, 31. Rotation counting unit, 32. Numerical comparison unit, 33. Retrace control unit. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0061] The present application first proposes a circular scanning infrared detector, which includes: an infrared thermal imaging component, a fast reflection mirror component and a turntable. The turntable rotates along its axis at a preset speed. The infrared thermal imaging component and the fast reflection mirror component are arranged on the turntable. The fast reflection mirror component is arranged on the incident light path of the infrared thermal imaging component and performs optical path retracement compensation on the infrared thermal imaging component within a preset integration period.
[0062] In a specific embodiment, the turntable rotates horizontally 360° at a speed of 3 seconds per revolution. The fast reflection mirror assembly compensates for the optical path deviation of the infrared thermal imaging assembly during the rotation of the turntable to ensure that the infrared thermal imager achieves clear imaging within a preset period, and the infrared thermal imager receives infrared radiation energy from the surrounding scene in real time to complete imaging.
[0063] The above-mentioned circular scanning infrared detector is a circular scanning imaging, so in actual use, the probability of the sun appearing in the imaging range is very high, and the problem of sunburn prevention is particularly prominent in clear weather. If the traditional shutter protection anti-burn mechanism is adopted, the above-mentioned circular scanning infrared detector will be completely ineffective; because during a circular scanning process, a strong light source (such as the sun or other types of high-brightness light sources) will only appear in a certain frame of the image at most. When the detector detects the position of the sun and starts the shutter closing protection, the turntable has rotated at an angle and the sun is no longer in the field of view. At this time, during the shutter closing time, the imaging observation is affected and no actual protection is played.
[0064] To solve the above problems, please refer to Figure 1 The first aspect of the embodiment of the present invention specifically provides a method for controlling a circular scanning infrared detector, which controls the circular scanning infrared detector, including the following steps:
[0065] Step S100, based on the infrared thermal imaging component receiving an infrared image in the current scanning cycle, the infrared image is converted into a digital image.
[0066] The above-mentioned circular scanning infrared detector acquires the infrared image of the infrared radiation in the surrounding scene frame by frame during the rotation of the turntable, and converts the infrared image of the infrared radiation into a digital image. Before the above-mentioned infrared image is received by the circular scanning infrared detector, the optical path retracement compensation has been performed by the fast reflection mirror component on the optical path.
[0067] Step S200, obtaining the grayscale value of the digital image, and judging whether there is a strong light source point in the corresponding infrared image based on the grayscale value.
[0068] After obtaining the digital image, the digital image is detected to obtain the grayscale value of the digital image, and the grayscale value is used to determine whether there is a strong light source in the corresponding infrared image. The grayscale value detection and strong light source determination subject can be an infrared detector, or it can be completed by other hardware that can realize the above functions.
[0069] Step S300: if yes, then control the fast mirror assembly to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in a subsequent plurality of cycle scan periods.
[0070] If a strong light source is detected in a certain frame of the current cycle, the fast mirror assembly can be controlled to stop retrace compensation of the light path in one or more subsequent cycle.
[0071] Step S400: If not, control the fast mirror assembly to perform optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in the next cycle.
[0072] If no strong light source is detected on a certain frame of the infrared image in the current scanning cycle, it is only necessary to perform optical path retrace compensation normally for the corresponding frame in the next scanning cycle. For subsequent scanning cycles, it can be determined whether to control the fast mirror assembly to perform optical path retrace compensation based on the detection result of the next scanning cycle.
[0073] After the strong light source judgment process in step S200, if there is a strong light source in the infrared image of the infrared thermal imaging component within the current cycle scan period, the quick mirror component is controlled to stop performing retrace compensation on the incident light path of the infrared thermal imaging component to prevent the infrared radiation of the strong light source in the environment around the infrared thermal imaging component from continuously entering the infrared thermal imaging component, causing irreversible equipment damage to the infrared thermal imaging component. If there is no strong light source in the digital image, the quick mirror component is controlled to perform normal optical path retrace compensation on the incident light path within the current cycle scan period.
[0074] At the same time, through the control method of the above-mentioned fast mirror assembly, the normal operation of the infrared thermal imaging assembly can be achieved when there is no strong light source in the infrared image, and the light path is adjusted in time when a strong light source appears in the infrared image to protect the equipment safety of the infrared thermal imaging assembly. The above-mentioned control method greatly improves the control accuracy of the infrared thermal imaging assembly and avoids the problem of poor accuracy of the control mode adopted by the existing shutter switch method after the strong light source is detected.
[0075] Specifically, judging whether there is a strong light source point in the corresponding infrared image based on the gray value in step S200 further includes:
[0076] Step S210, based on the image pixel detection algorithm, obtaining the grayscale values of several preset areas in the digital image.
[0077] Step S220, determining whether the grayscale value of each preset area is greater than a grayscale threshold.
[0078] Step S230: If yes, determine that there is a strong light source point in the infrared image.
[0079] Specifically, after acquiring the digital image, an image speed limit detection algorithm can be used to obtain the corresponding grayscale values in several preset areas in the digital image, and the maximum value of the above multiple grayscale values can be extracted as the numerical value of the digital image grayscale value detection result, and the maximum value is compared with the grayscale threshold as a basis for whether to adjust the infrared thermal imaging component in the corresponding frame of the next scanning cycle.
[0080] Further, after determining in step S230 that there is a strong light source point in the infrared image, the method further includes:
[0081] Step S240, obtaining the frame number of the infrared image where the strong light source point exists.
[0082] Step S250, acquiring a first preset number of frames of historical infrared images in the current scanning cycle.
[0083] Step S270, re-determine whether there is a strong light source point in each historical infrared image.
[0084] Step S280: If the number of historical infrared images with strong light source points is equal to the first preset number, the corresponding frame of the next scanning cycle of the fast mirror assembly is controlled to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging assembly.
[0085] In order to further improve the control accuracy of the above control method, after step S230, the frame number of the first preset number of historical infrared images before the current weekly scanning cycle is obtained through the frame number of the current weekly scanning cycle, and the corresponding historical infrared image is obtained based on the frame number of the historical infrared image. By performing grayscale value detection and strong light source judgment on the historical infrared image again, it is determined whether there is a strong light source point in the above historical infrared image.
[0086] Based on the judgment result of whether there is a strong light source in the above-mentioned first preset number of historical infrared images, if the number of strong light sources in the historical infrared images is equal to the value of the first preset number, it means that there are strong light source points in the above-mentioned first preset number of historical infrared images, and the period of existence of the strong light source is long enough, it is necessary to immediately adjust the incident light path of the infrared thermal imaging component within the current scanning period to avoid the infrared thermal imaging component detecting the strong light source for too long and damaging the equipment.
[0087] Furthermore, after re-judging whether there is a strong light source point in each historical infrared image, the following steps are also included:
[0088] Step S281, when the ratio of the number of historical infrared images with strong light source points to the first preset number is greater than or equal to the first preset ratio value, control the fast reflection mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next scanning cycle.
[0089] Step S282, when the ratio of the number of historical infrared images with strong light source points to the first preset number is less than the first preset ratio value, control the fast reflection mirror component to perform optical path retrace compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next scanning cycle.
[0090] If the ratio of the number of strong light sources present in historical infrared images to the total number is greater than or equal to the first preset ratio, it indicates that the above situation requires adjustment of the incident light path of the infrared thermal imaging component as soon as possible; and when the ratio of the number of strong light sources present in historical infrared images to the total number is less than the first preset ratio, it indicates that the number of strong light sources appearing in several historical infrared images of the infrared thermal imaging component is not sufficient to endanger the equipment safety of the infrared thermal imaging component and can be used normally.
[0091] In addition, controlling the fast mirror assembly in step S300 to stop performing optical path retrace compensation on the incident light path within the current preset integration period includes:
[0092] Step S310, obtaining the rotation data of the turntable, the rotation data including: a rotation count value corresponding to each infrared image in the current scanning cycle.
[0093] Step S320, at the beginning of a new cycle scan period, the fast mirror controller of the fast mirror assembly compares the current rotation count value with the frame numbers of all infrared images with strong light source points in the previous cycle scan period.
[0094] Step S330: if the frame numbers are consistent, the quick mirror of the quick mirror assembly is controlled by the quick mirror controller to stop the incident light path of the infrared thermal imaging assembly in the corresponding frame of the next scanning cycle to perform light path retrace compensation.
[0095] Step S340: If the frame numbers are inconsistent, then in the corresponding frame of the next scanning cycle, the incident light path of the infrared thermal imaging component is normally retrace compensated.
[0096] The quick mirror assembly and the infrared thermal imaging assembly rotate synchronously with the turntable, and the turntable rotation count corresponds to the frame number sequence of the infrared image of the infrared thermal imaging assembly. Under normal circumstances, the turntable rotation count value and the frame number sequence are the same value.
[0097] If the two values are different, it means that during the rotation process, the synchronization process of the turntable rotating once and the infrared thermal imaging component taking a picture once has not been achieved. It is necessary to send a device synchronization failure message to prompt the operation and maintenance personnel to repair or replace the equipment.
[0098] Accordingly, please refer to Figure 2 The second aspect of the embodiment of the present invention provides a control system for a circular scanning infrared detector, wherein the circular scanning infrared detector comprises: an infrared thermal imaging component, a fast reflection mirror component and a turntable, wherein the turntable rotates along its axis at a preset speed, the infrared thermal imaging component and the fast reflection mirror component are arranged on the turntable, the infrared thermal imaging component takes a plurality of frames of infrared images in each circular scanning cycle of the turntable, the fast reflection mirror component is arranged on the incident light path of the infrared thermal imaging component and performs light path retrace compensation on each frame of infrared image; the control system comprises:
[0099] An image processing module 1 is used for receiving an infrared image in a current scanning cycle based on an infrared thermal imaging component, and converting the infrared image into a digital image;
[0100] A strong light source detection module 2 is used to obtain the gray value of the digital image and determine whether there is a strong light source point in the corresponding infrared image based on the gray value;
[0101] The fast mirror control module 3 is used to control the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component within a subsequent number of scanning cycles when there is a strong light source point in the infrared image;
[0102] The fast mirror control module 3 is also used to control the fast mirror component to perform optical path retracement compensation on the incident light path of the infrared thermal imaging component in the next cycle when there is no strong light source point in the infrared image.
[0103] For further information, please refer to Figure 3 , the strong light source detection module 2 includes:
[0104] The strong light source detection module 2 includes:
[0105] A gray value detection unit 21, which is used to obtain gray values of several preset areas in the digital image based on an image pixel detection algorithm;
[0106] A gray value comparison unit 22, which is used to determine whether the gray value of each preset area is greater than a gray threshold;
[0107] The strong light source judging unit 23 is used to determine that a strong light source point exists in the infrared image when the gray value of the preset area is greater than the gray threshold.
[0108] Furthermore, the strong light source detection module 2 also includes:
[0109] A current frame number acquisition unit 24, which is used to acquire the frame number of the infrared image where a strong light source point exists;
[0110] A historical frame number acquisition unit 25, which is used to acquire a first preset number of historical infrared images in the current scanning cycle;
[0111] A historical image determination unit 26, which is used to re-determine whether there is a strong light source point in each historical infrared image;
[0112] The fast mirror control unit 27 is used to control the corresponding frame of the next scanning cycle of the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component if the number of historical infrared images with strong light source points is equal to the first preset number.
[0113] Furthermore, the quick-reflection mirror control unit 27 is also used to control the quick-reflection mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next cycle when the ratio of the number of historical infrared images with strong light source points to the first preset number is greater than or equal to the first preset ratio value;
[0114] The quick-reflection mirror control unit 27 is also used to control the quick-reflection mirror component to perform optical path retracement compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next scanning cycle when the ratio of the number of historical infrared images with strong light source points to the first preset number is less than the first preset ratio value.
[0115] For further information, please refer to Figure 4 , the fast reflection mirror control module 3 includes:
[0116] A rotation counting unit 31, which is used to obtain the rotation data of the turntable, the rotation data including: a rotation count value corresponding to each infrared image in the current scanning cycle;
[0117] The value comparison unit 32 is used to compare the current rotation count value with the frame numbers of all infrared images with strong light source points in the previous scanning cycle through the fast mirror controller of the fast mirror assembly at the beginning of a new scanning cycle;
[0118] A retrace control unit 33, which is used to control the fast mirror of the fast mirror assembly to stop the incident light path of the infrared thermal imaging assembly at a corresponding frame of the next scanning cycle through the fast mirror controller to perform light path retrace compensation when the current rotation count value is consistent with the frame number;
[0119] The retrace control unit 33 is also used to perform optical path retrace compensation on the incident light path of the infrared thermal imaging component in a corresponding frame of the next scanning cycle when the current rotation count value is inconsistent with the frame number.
[0120] Accordingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the above-mentioned weekly scanning infrared detector control method.
[0121] Correspondingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which implement the above-mentioned method for controlling a circular scanning infrared detector when executed by a processor.
[0122] The embodiment of the present invention aims to protect a control method and system for a circular scanning infrared detector, wherein the circular scanning infrared detector comprises: an infrared thermal imaging component, a quick reflex mirror component and a turntable, wherein the turntable rotates along its axis at a preset speed, the infrared thermal imaging component and the quick reflex mirror component are arranged on the turntable, the infrared thermal imaging component takes a number of frames of infrared images in each circular scanning cycle of the turntable, the quick reflex mirror component is arranged on the incident light path of the infrared thermal imaging component and performs optical path retrace compensation on each frame of infrared image; the control method comprises the following steps: based on the infrared thermal imaging component receiving an infrared image in the current circular scanning cycle, the infrared image is converted into a digital image; the grayscale value of the digital image is obtained, and based on the grayscale value, it is determined whether there is a strong light source point in the corresponding infrared image; if so, the quick reflex mirror component is controlled to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in the subsequent number of circular scanning cycles; if not, the quick reflex mirror component is controlled to perform optical path retrace compensation on the incident light path of the infrared thermal imaging component in the next circular scanning cycle. The above technical scheme has the following effects:
[0123] By judging whether there is a strong light source in the image obtained by the infrared detector, it is determined whether to control the fast reflection mirror component to perform retrace compensation on the infrared detector. If there is a strong light source, retrace compensation will not be performed to prevent the infrared radiation of the strong light source from continuously entering the infrared detector, so as to achieve the purpose of protecting the equipment, greatly improve the reliability of equipment use, and ensure the normal operation of infrared detection in a strong light source environment.
[0124] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0125] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for controlling a circular scanning infrared detector, characterized in that: The cyclic scanning infrared detector comprises: an infrared thermal imaging component, a fast reflection mirror component and a turntable, wherein the turntable rotates along its axis at a preset speed, the infrared thermal imaging component and the fast reflection mirror component are arranged on the turntable, the infrared thermal imaging component takes a plurality of frames of infrared images in each cyclic scanning cycle of the turntable, the fast reflection mirror component is arranged on the incident light path of the infrared thermal imaging component and performs light path retrace compensation for each frame of infrared image; the control method comprises the following steps: Based on the infrared thermal imaging component receiving an infrared image in a current scanning cycle, converting the infrared image into a digital image; Acquire the grayscale value of the digital image, and determine whether there is a strong light source point in the corresponding infrared image based on the grayscale value; If yes, the fast reflection mirror assembly is controlled to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in a subsequent plurality of cycle scan cycles; If not, controlling the fast reflection mirror assembly to perform optical path retrace compensation on the incident optical path of the infrared thermal imaging assembly in the next cycle; The determining whether there is a strong light source point in the corresponding infrared image based on the grayscale value includes: Based on an image pixel detection algorithm, obtaining grayscale values of a plurality of preset areas in the digital image; Determine whether the grayscale value of each of the preset areas is greater than a grayscale threshold; If yes, it is determined that there is a strong light source point in the infrared image; After determining that there is a strong light source point in the infrared image, the method further includes: Obtaining the frame number of the infrared image where the strong light source point exists; Acquire a first preset number of frames of historical infrared images in the current scanning cycle; Re-determining whether each of the historical infrared images contains the strong light source point; If the number of the historical infrared images with strong light source points is equal to the first preset number, the corresponding frame of the next scanning cycle of the fast reflection mirror component is controlled to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component.
2. The method for controlling a circular scanning infrared detector according to claim 1, characterized in that: After re-judging whether each of the historical infrared images contains the strong light source point, the method further includes: When the ratio of the number of the historical infrared images with strong light source points to the first preset number is greater than or equal to the first preset ratio value, controlling the fast reflection mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next cycle; When the ratio of the number of the historical infrared images containing strong light source points to the first preset number is less than the first preset ratio value, the fast reflection mirror assembly is controlled to perform optical path retrace compensation on the incident light path of the infrared thermal imaging assembly in the corresponding frame of the next scanning cycle.
3. The control method of the circular scanning infrared detector according to claim 1 or 2, characterized in that: The controlling the fast reflection mirror assembly to stop performing optical path retrace compensation on the incident optical path of the infrared thermal imaging assembly in a subsequent plurality of cycle scan cycles comprises: Acquire the rotation data of the turntable, the rotation data comprising: a rotation count value corresponding to each of the infrared images in the current scanning cycle; At the beginning of a new scanning cycle, the fast mirror controller of the fast mirror assembly compares the current rotation count value with the frame numbers of all infrared images with strong light source points in the previous scanning cycle; If the frame numbers are consistent, the quick-reflection mirror controller controls the quick-reflection mirror of the quick-reflection mirror assembly to stop the incident light path of the infrared thermal imaging assembly at the corresponding frame of the next scanning cycle to perform light path retrace compensation; If the frame numbers are inconsistent, the incident light path of the infrared thermal imaging component is normally retrace compensated in the corresponding frame of the next scanning cycle.
4. A circular scanning infrared detector control system, characterized in that: The cyclic scanning infrared detector comprises: an infrared thermal imaging component, a fast reflection mirror component and a turntable, wherein the turntable rotates along its axis at a preset speed, the infrared thermal imaging component and the fast reflection mirror component are arranged on the turntable, the infrared thermal imaging component takes a plurality of frames of infrared images in each cyclic scanning cycle of the turntable, the fast reflection mirror component is arranged on the incident light path of the infrared thermal imaging component and performs light path retrace compensation for each frame of infrared image; the control system comprises: An image processing module, which is used to convert the infrared image into a digital image based on the infrared image received by the infrared thermal imaging component in the current scanning cycle; A strong light source detection module, which is used to obtain the grayscale value of the digital image and determine whether there is a strong light source point in the corresponding infrared image based on the grayscale value; A fast mirror control module, which is used to control the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component within a subsequent plurality of cycle scans when a strong light source point exists in the infrared image; The fast-reflection mirror control module is also used to control the fast-reflection mirror component to perform optical path retrace compensation on the incident light path of the infrared thermal imaging component in the next cycle when there is no strong light source point in the infrared image; The strong light source detection module comprises: A gray value detection unit, which is used to obtain gray values of a plurality of preset areas in the digital image based on an image pixel detection algorithm; A grayscale value comparison unit, used to determine whether the grayscale value of each of the preset areas is greater than a grayscale threshold; A strong light source judgment unit, used to determine that a strong light source point exists in the infrared image when the gray value of the preset area is greater than the gray threshold; The strong light source detection module also includes: A current frame number acquisition unit, which is used to acquire the frame number of the infrared image where a strong light source point exists; A historical frame number acquisition unit, which is used to acquire a first preset number of frames of historical infrared images in the current cycle; A historical image judgment unit, which is used to re-judge whether each of the historical infrared images contains the strong light source point; A fast mirror control unit is used to control the corresponding frame of the next scanning cycle of the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component if the number of historical infrared images with strong light source points is equal to the first preset number.
5. The circular scanning infrared detector control system according to claim 4, characterized in that: The fast mirror control unit is also used to control the fast mirror component to stop performing optical path retrace compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next cycle when the ratio of the number of the historical infrared images with strong light source points to the first preset number is greater than or equal to the first preset ratio value; The fast mirror control unit is also used to control the fast mirror component to perform optical path retracement compensation on the incident light path of the infrared thermal imaging component in the corresponding frame of the next scanning cycle when the ratio of the number of historical infrared images with strong light source points to the first preset number is less than the first preset ratio value.
6. The circular scanning infrared detector control system according to claim 4 or 5, characterized in that: The fast-reflection mirror control module comprises: A rotation counting unit, which is used to obtain the rotation data of the turntable, wherein the rotation data includes: a rotation counting value corresponding to each of the infrared images in the current scanning cycle; A numerical comparison unit, which is used to compare the current rotation count value with the frame numbers of all the infrared images with strong light source points in the previous one-scan cycle through the fast-reflection mirror controller of the fast-reflection mirror assembly at the beginning of a new one-scan cycle; A retrace control unit, which is used to control the fast mirror of the fast mirror assembly through the fast mirror controller to stop the incident light path of the infrared thermal imaging assembly at a corresponding frame of the next scanning cycle to perform light path retrace compensation when the current rotation count value is consistent with the frame number; The retrace control unit is also used to perform optical path retrace compensation on the incident light path of the infrared thermal imaging component in a corresponding frame of the next scanning cycle when the current rotation count value is inconsistent with the frame number.
Citation Information
Patent Citations
Anti-sunburn method for camera, camera and readable storage medium
CN108347560A
Peripheral scanning imaging device and staring compensation method thereof
CN117666116A