WO2018205235A1 - Method for improving night vision distance and reducing power consumption, apparatus and system - Google Patents

Method for improving night vision distance and reducing power consumption, apparatus and system Download PDF

Info

Publication number
WO2018205235A1
WO2018205235A1 PCT/CN2017/084036 CN2017084036W WO2018205235A1 WO 2018205235 A1 WO2018205235 A1 WO 2018205235A1 CN 2017084036 W CN2017084036 W CN 2017084036W WO 2018205235 A1 WO2018205235 A1 WO 2018205235A1
Authority
WO
WIPO (PCT)
Prior art keywords
pwm
shutter
infrared
image
exposure
Prior art date
Application number
PCT/CN2017/084036
Other languages
French (fr)
Chinese (zh)
Inventor
任红军
陈继健
Original Assignee
天彩电子(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 天彩电子(深圳)有限公司 filed Critical 天彩电子(深圳)有限公司
Priority to PCT/CN2017/084036 priority Critical patent/WO2018205235A1/en
Publication of WO2018205235A1 publication Critical patent/WO2018205235A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof

Definitions

  • the present invention relates to the field of image processing technology, and more particularly to a method and apparatus and system for improving night vision distance and reducing power consumption.
  • infrared fill light is generally used as a supplementary light source at night and in dim light conditions.
  • a photometric device is usually mounted on the photographing device to measure the current visible light illumination, and provide a reference for the infrared fill light to be turned on and off.
  • the currently available infrared fill light technology on the market includes three methods.
  • the first method is to use a photoresistor to detect the brightness and darkness of the ambient light to trigger the switching of the infrared LED fill light.
  • the detection sensitivity of the mode is not high;
  • the second method using the image Sensor metering technology, trigger control switch infrared LED fill light, although it can be done to switch between day and night scenes, so that the image quality can achieve good results in day and night scenes, but in the dark and dark scenes, due to infrared
  • the LED is always on, which will increase the power consumption of the camera. This is a big challenge for some battery-powered night vision camera equipment and video surveillance equipment.
  • PWM Pulse Width Modulation
  • the technology of wave modulation infrared LED driver has achieved the purpose of dimming and reducing power consumption, but the adjustment of PWM parameters (duty cycle, frequency) is based on the brightness of the external ambient light, which cannot be accurately based on the image sensor. 1 The exposure needs to be adjusted.
  • Chinese Patent No. 201110089768.7 discloses an infrared product video analysis dimming VAAL implementation method, the circuit used in the method comprises a microprocessor, the microprocessor is connected to the camera through an on-chip video A/D circuit interface, and the microprocessor is connected by an on-chip PWM.
  • Infrared lamp circuit the microprocessor is connected to the photosensor; and the following steps are included: intelligently analyzing the captured video image through the DSP, and controlling the output power and the on mode of the infrared lamp, thereby achieving the purpose of improving the video effect and saving energy, Infrared product video analysis dimming VAAL can reduce the infrared power when there is no moving target, and increase the infrared power when the moving target appears, which can reduce the power consumption of the whole machine, effectively extend the service life of infrared, and can also be used when moving targets , to achieve a good night vision effect.
  • a method for improving night vision distance and reducing power consumption comprising:
  • step S1 power on and turn on the night vision function to determine whether there is a shutter synchronization function. If there is a shutter synchronization function, perform step S2, or if there is no shutter synchronization function, proceed to step S3;
  • step S21 Determine whether the infrared lamp driver is in the off period. If the infrared lamp driver is in the off period, proceed to step S22, or if the infrared lamp driver is not in the off period, proceed to step S23;
  • a further technical solution is: the step of synchronously turning on/off IR transmission, comprising the following specific steps:
  • step S231 determining whether the shutter is in the closed state, if the shutter is in the closed state, proceeding to step S232, or if the shutter is not in the closed state, proceeding to step S233;
  • PWM IR is a low pulse width, and the infrared light is turned off;
  • PWM IR is a high pulse width, and the infrared light is turned on.
  • the further technical solution is: analyzing the acquired image in real time through the DSP, and adjusting the PWM according to the exposure of the image.
  • the duty cycle of the duty modulation value and the infrared dimming step according to the PWM duty of the output including the following specific steps:
  • step S31 Determine whether the exposure of each frame of the image meets the set requirement. If the exposure of each frame of the image meets the set requirement, proceed to step S32, or if the exposure of each frame of the image is not If the requirements of the setting are met, proceed to step S33;
  • a further technical solution is: adjusting the duty ratio of the PWM modulation value according to the exposure distribution of the image during the period in which the infrared driver is turned on, and performing the infrared dimming step, including the following specific steps:
  • the present invention also provides an apparatus for improving night vision distance and reducing power consumption, including an image sensor, a digital signal processor, and an infrared lamp driver; the image sensor and the infrared lamp driver are respectively connected to a digital signal processor;
  • the image sensor has a shutter synchronization function
  • the image sensor synchronizes the PWM of the digital signal processor through the shutter signal IR output, according to the PWM output of the digital signal processor
  • the IR driving infrared lamp driver performs infrared dimming
  • the image sensor does not have the shutter synchronization function
  • the image sensor sends the image to the digital signal processor, and the acquired image is analyzed in real time through the digital signal processor, according to the exposure of the image Adjust the PWM of the digital signal processor
  • the duty cycle of the duty modulation value, and according to the PWM duty of the output, the infrared lamp driver is driven to perform infrared dimming.
  • the present invention also provides a system for improving night vision distance and reducing power consumption, including a shutter synchronization determination unit, a shutter processing unit, and a non-shutter processing unit;
  • the shutter synchronization determining unit is configured to determine whether a shutter synchronization function exists
  • the shutter processing unit is configured to synchronously PWM IR output through a shutter signal, and perform infrared dimming according to the output PWM IR;
  • the non-shutter processing unit is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image.
  • the duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image.
  • the shutter processing unit includes a driver judging module, an original state maintaining module, and a synchronous transmitting module;
  • the driver determining module is configured to determine whether the infrared light driver is in a closing period
  • the original state maintaining module is configured to maintain an original output state of the PWM IR if the infrared lamp driver is in a off period;
  • the synchronous transmitting module is configured to synchronously turn on/off IR transmission if the infrared light driver is not in the off period.
  • the synchronous transmitting module includes a shutter state determining submodule and a processing submodule;
  • the shutter state determining submodule is configured to determine whether the shutter is in a closed state
  • the processing submodule is configured to if the shutter is in a closed state, PWM IR is a low pulse width, the IR light is off, or, if the shutter is not off, PWM IR is a high pulse width and the IR light is on.
  • non-shutter processing unit includes an exposure degree judging module and a duty ratio processing module
  • the exposure degree determining module is configured to determine whether an exposure of each frame of the image meets a set requirement
  • the duty ratio processing module is configured to maintain PWM if an exposure of each frame of the image meets a set requirement
  • the duty ratio of the duty modulation value is infrared dimming, or if the exposure of each frame of the image does not meet the set requirement, the exposure distribution of the image is adjusted during the period in which the infrared driver is turned on. PWM The duty ratio of the duty modulation value is used for infrared dimming.
  • the invention has the beneficial effects compared with the prior art: the method for improving the night vision distance and reducing the power consumption of the invention, adopting PWM and DSP combined manner, dimming the infrared LED by using PWM, and combining with the DSP pair
  • the image is analyzed, and the PWM is adjusted in real time according to the analysis result, thereby further reducing the power consumption, and at the same time ensuring the required light filling requirement of the image sensor exposure, so that the imaging effect reaches a high quality, and the time for reducing the infrared fill light is realized, thereby Reduces the heat generated by the illuminating, reduces power consumption, and improves the clear imaging effect of night view painting.
  • FIG. 1 is a flowchart of a method for increasing night vision distance and reducing power consumption according to an embodiment of the present invention
  • FIG. 2 is a specific flowchart of synchronous PWM output by a shutter signal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of signal waveforms of a synchronous PWM output through a shutter signal according to an embodiment of the present invention
  • FIG. 5 is a specific flowchart of adjusting a captured image by a DSP in real time according to an embodiment of the present invention and adjusting a duty ratio of a PWM modulation value according to an exposure of the image;
  • FIG. 6 is a schematic diagram of a signal waveform of a DSP that analyzes a captured image in real time according to an embodiment of the present invention and adjusts a duty ratio of a PWM modulation value according to an exposure of the image;
  • FIG. 7 is a specific flowchart of adjusting a duty ratio of a PWM modulation value according to an embodiment of the present invention.
  • FIG. 8 is a signal flow diagram of an apparatus for improving night vision distance and reducing power consumption according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of an apparatus for improving night vision distance and reducing power consumption according to an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a system for improving night vision distance and reducing power consumption according to an embodiment of the present invention.
  • FIG. 11 is a structural block diagram of a shutter processing unit according to an embodiment of the present invention.
  • FIG. 12 is a structural block diagram of a synchronous transmitting module according to an embodiment of the present invention.
  • FIG. 13 is a structural block diagram of a non-shutter processing unit according to an embodiment of the present invention.
  • the method for improving the night vision distance and reducing the power consumption provided by the embodiment can be applied to the video monitoring device to reduce the time for the infrared fill light to be energized, thereby reducing the illumination.
  • the heat generated reduces power consumption and enhances the clear imaging of night view painting.
  • This embodiment provides a method for increasing night vision distance and reducing power consumption, the method comprising:
  • step S1 power on and turn on the night vision function, determine whether there is a shutter synchronization function, if there is a shutter synchronization function, proceed to step S2, or if there is no shutter synchronization function, proceed to step S3;
  • the above S1 step is judged to adopt different infrared dimming modes for different image sensors 1.
  • step S2 the PWM IR output is synchronized by the shutter signal, according to the output PWM IR performs infrared dimming steps, including the following specific steps:
  • step S21 determining whether the infrared lamp driver 3 is in the off period, if the infrared lamp driver 3 is in the off period, proceeding to step S22, or if the infrared lamp driver 3 is not in the off period, proceeding to step S23;
  • the infrared dimming is performed only during the period when the infrared lamp driver 3 is turned on. If the infrared lamp driver 3 is not turned on, the infrared dimming cannot be performed, and only the original output state of the PWM can be maintained.
  • the step of synchronously turning on/off the IR transmission includes the following specific steps:
  • step S231 determining whether the shutter is in the closed state, if the shutter is in the closed state, proceeding to step S232, or if the shutter is not in the closed state, proceeding to step S233;
  • PWM IR is a low pulse width, and the infrared light is turned off;
  • PWM IR is a high pulse width, and the infrared light is turned on.
  • the digital processor outputs a high pulse trigger signal to the image sensor 1TRIGGER pin.
  • the image sensor 1 detects that the TRIGGER pin has been turned on, the shutter exposure time starts, and then the image sensor 1 starts reading the first frame of image data until End.
  • the digital signal processor 2 synchronously outputs the PWM pulse width signal to control the infrared LED driver to be turned on and off.
  • the shutter trigger signal is synchronized, the IR emission is turned on/off, that is, when the shutter is closed, the PWM is turned off by the Low infrared light, and when the shutter is opened, the PWM is turned on by the High infrared light.
  • the purpose of the IR output pulse width modulation signal is to reduce the overall average power consumption. As shown in Figure 2, the duty ratio is set to 50%, and the power consumption can be effectively reduced by 50%.
  • the modulation of the PWM is to synchronize the shutter open time of the frame; specifically, during the PWM on period, when the shutter is required to be turned on, the PWM is High, and when the shutter is closed, the PWM is Low, so that the image quality can be changed without changing the image quality.
  • the power consumption is further reduced, so that the power consumption of the transmission can be actually reflected back to the image sensor 1 and detected.
  • the shutter signal is used to synchronize the control method of the PWM output of the main control chip, and the image sensor 1 shutter signal and the synchronous PWM pulse width modulation signal are used to control the infrared LED switch state, thereby further reducing power consumption and improving imaging effect;
  • this technology can reduce the time of infrared fill light energization, thereby reducing the heat generated by long-time illumination, and can effectively reduce power consumption and ensure the shooting effect of the camera, and prolong the operating life of the device. .
  • step S3 the acquired image is analyzed in real time by the DSP, and the PWM is adjusted according to the exposure of the image.
  • step S31 Determine whether the exposure of each frame of the image meets the set requirement. If the exposure of each frame of the image meets the set requirement, proceed to step S32, or if the exposure of each frame of the image is not If the requirements of the setting are met, proceed to step S33;
  • step S31 the step of determining whether the exposure of each frame of the image meets the set requirement is to select an image in which the same frame image is exposed to light and dark unevenness, and infrared dimming is performed on such image.
  • the duty ratio of the PWM modulation value is adjusted according to the exposure distribution of the image during the period in which the infrared driver is turned on, and infrared dimming is performed.
  • step S33 during the period in which the infrared driver is turned on, the duty ratio of the PWM modulation value is adjusted according to the exposure distribution of the image, and infrared dimming is performed, including the following specific steps:
  • step S331 the leading edge of the duty ratio of the PWM modulation value is pushed forward until the dark area is reduced to an acceptable brightness or a dark area.
  • step S332 the trailing edge of the duty ratio of the PWM modulation value is pushed backward, as long as a dark area does not appear below, ensuring that the front and rear edges can obtain an image whose exposure meets the set requirement, thereby improving the night vision effect.
  • the PWM method can reduce the time of infrared fill light energization, thereby reducing the heat generated by the illumination, reducing the power consumption, and prolonging the operating life of the device;
  • the above method for improving night vision distance and reducing power consumption adopts PWM and DSP combination method to dim the infrared LED by PWM, and combines the DSP to analyze the image, and adjusts the PWM in real time according to the analysis result. Further reducing the power consumption, while ensuring the required light filling requirement of the image sensor 1 to achieve high quality of the imaging effect, reducing the time for the infrared fill light to be energized, thereby reducing the heat generated by the light, reducing the power consumption, and improving the night. The clear image of the view is drawn.
  • the present embodiment provides an apparatus for improving night vision distance and reducing power consumption, including an image sensor 1, a digital signal processor 2, and an infrared lamp driver 3; an image sensor 1 and the infrared
  • the lamp driver 3 is respectively connected to the digital signal processor 2; when the image sensor 1 has a shutter synchronization function, the image sensor 1 synchronizes the PWM of the digital signal processor 2 by the shutter signal IR output, according to the PWM output of digital signal processor 2
  • the IR driving infrared lamp driver 3 performs infrared dimming; when the image sensor 1 does not have a shutter synchronization function, the image sensor 1 transmits an image to the digital signal processor 2, and the acquired image is analyzed in real time by the digital signal processor 2, according to the Image exposure adjustment PWM of digital signal processor 2
  • the duty ratio of the duty modulation value, and according to the PWM duty of the output drives the infrared lamp driver 3 to perform infrared dimming.
  • the above device for improving night vision distance and reducing power consumption adopts PWM by means of whether the image sensor 1 has a shutter synchronization function, and combined with the PWM outputted by the digital signal processor 2 and the DSP combined by the digital signal processor 2
  • the infrared LED is dimmed, and the image is analyzed by combining with the DSP, and the PWM is adjusted in real time according to the analysis result, thereby further reducing the power consumption, and ensuring the required light filling requirement of the image sensor 1 to achieve high imaging effect.
  • the quality can reduce the time of infrared fill light energization, thereby reducing the heat generated by the illumination, reducing the power consumption, and improving the clear imaging effect of the night view painting.
  • a system for increasing night vision distance and reducing power consumption includes a shutter synchronization determination unit 10, a shutter processing unit 20, and a non-shutter processing unit 30.
  • the shutter synchronization determining unit 10 is configured to determine whether there is a shutter synchronization function.
  • the shutter processing unit 20 is configured to synchronize the PWM IR output through the shutter signal, and perform infrared dimming according to the output PWM IR.
  • the non-shutter processing unit 30 is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image.
  • the duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image.
  • the shutter processing unit 20 described above includes a driver judging module 21, an original state holding module 22, and a sync transmitting module 23.
  • the driver judging module 21 is configured to judge whether the infrared lamp driver 3 is in an off period.
  • the original state maintaining module 22 is configured to maintain the original output state of the PWM IR if the infrared lamp driver 3 is in the off period.
  • the synchronous transmitting module 23 is configured to synchronously turn on/off the IR transmission if the infrared light driver 3 is not in the off period.
  • the driver judging module 21 is arranged to perform infrared dimming only when the infrared lamp driver 3 is turned on. If the infrared lamp driver 3 is not turned on, infrared dimming cannot be performed, and only the original output state of the PWM can be maintained.
  • the synchronous transmission module 23 includes a shutter state determination sub-module 231 and a processing sub-module 232.
  • the shutter state determining sub-module 231 is configured to determine whether the shutter is in a closed state.
  • the processing sub-module 232 is configured to: if the shutter is in a closed state, the PWM IR is a low pulse width, the IR light is off, or, if the shutter is not off, PWM IR is a high pulse width and the IR light is on.
  • the digital processor outputs a high pulse trigger signal to the image sensor 1TRIGGER pin.
  • the image sensor 1 detects that the TRIGGER pin has been turned on, the shutter exposure time starts, and then the image sensor 1 starts reading the first frame of image data until End.
  • the digital signal processor 2 synchronously outputs the PWM pulse width signal to control the infrared LED driver to be turned on and off.
  • the processing sub-module 232 has a shutter trigger signal
  • the IR emission is synchronously turned on/off, that is, when the shutter is closed, the PWM is turned off by the Low infrared light, and when the shutter is opened, the PWM is turned on by the High infrared light.
  • PWM output pulse width modulation signal The purpose of using PWM output pulse width modulation signal is to reduce the average power consumption. As shown in Figure 2, the duty ratio is set to 50%, and the power consumption can be effectively reduced by 50%.
  • the modulation of the PWM is to synchronize the shutter open time of the frame; specifically, during the PWM on period, when the shutter is required to be turned on, the PWM is High, and when the shutter is closed, the PWM is Low, so that the image quality can be changed without changing the image quality.
  • the power consumption is further reduced, so that the power consumption of the transmission can be actually reflected back to the image sensor 1 and detected.
  • the shutter processing unit 20 de-synchronizes the master chip end PWM through the shutter signal IR output control method by using image sensor 1 shutter signal and synchronous PWM IR pulse width modulation signal to control the status of infrared LED switch, further reduce power consumption and improve imaging effect; for night vision camera with built-in battery, this technology can reduce the time of infrared fill light, thus reducing the long time The heat generated by the illumination can effectively reduce the power consumption and ensure the shooting effect of the camera, and prolong the operating life of the device.
  • the non-shutter processing unit 30 includes an exposure degree determination module 31 and a duty ratio processing module 32.
  • the exposure level determining module 31 is configured to determine whether the exposure of each frame of the image meets the set requirement.
  • the duty ratio processing module 32 is configured to maintain the PWM if the exposure of each frame of the image meets the set requirement
  • the duty ratio of the duty modulation value is infrared dimming, or if the exposure of each frame of the image does not meet the set requirement, the exposure distribution of the image is adjusted during the period in which the infrared driver is turned on. PWM The duty ratio of the duty modulation value is used for infrared dimming.
  • the image sensor 1 does not have a shutter synchronization function
  • the PWM when the PWM is in a period of low pulse width, if the image of the image sensor 1 is not transmitted, the image at this time will definitely be bright on one side.
  • the acquired image needs to be analyzed by the non-shutter processing unit 30 described above through the DSP in real time, the duty ratio of the PWM modulation value is adjusted according to the exposure of the image, and infrared dimming is performed according to the output PWM.
  • the exposure degree judging module 31 described above is for selecting an image in which the same frame image is exposed to light and dark unevenness, and infrared dimming is performed on such an image.
  • the duty ratio processing module 32 maintains the duty ratio of the PWM modulation value to perform infrared dimming.
  • the duty ratio processing module 32 adjusts the duty ratio of the PWM modulation value according to the exposure distribution of the image during the period in which the infrared driver is turned on. Infrared dimming.
  • the duty cycle processing module 32 described above pushes the leading edge of the duty cycle of the PWM modulation value forward during the period in which the infrared driver is turned on until the dark area is reduced to an acceptable brightness or a dark area.
  • the trailing edge of the duty cycle of the PWM modulation value is pushed back, as long as the dark area does not appear below, ensuring that the front and rear edges can obtain an image with the exposure meeting the set requirements, thereby improving the night vision effect.
  • the PWM method can reduce the time of infrared fill light energization, thereby reducing the heat generated by the illumination, reducing the power consumption, and prolonging the operating life of the device;
  • the above system for improving night vision distance and reducing power consumption adopts PWM and DSP combination method to dim the infrared LED by PWM, and combines the DSP to analyze the image, and adjusts the PWM in real time according to the analysis result. Further reducing the power consumption, while ensuring the required light filling requirement of the image sensor 1 to achieve high quality of the imaging effect, reducing the time for the infrared fill light to be energized, thereby reducing the heat generated by the light, reducing the power consumption, and improving the night. The clear image of the view is drawn.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

A method for improving night vision distance and reducing power consumption, and an apparatus and a system. The method comprises: powering on and switching on a night vision function, and determining whether there is a shutter synchronisation function (S1); if so, then synchronising PWM signal output by means of a shutter signal and implementing infrared dimming on the basis of the outputted PWM signal (S2); if not, then analysing collected images in real-time by means of DSP and, on the basis of the exposure of the images, adjusting the duty cycle of the PWM signal and performing infrared dimming on the basis of the outputted PWM (S3). The present method uses PWM to dim an infrared LED and incorporates DSP to analyse images, performing real-time adjustment of the PWM on the basis of the analysis results, and ensuring the light compensation for the exposure requirements of the image sensor, such that the imaging effects achieve a high quality and the power-on time of the infrared light compensation is reduced, reducing power consumption.

Description

用于提高夜视距离和降低功耗的方法及装置和系统  Method, device and system for increasing night vision distance and reducing power consumption
技术领域Technical field
本发明涉及图像处理技术领域,更具体地说是指用于提高夜视距离和降低功耗的方法及装置和系统。The present invention relates to the field of image processing technology, and more particularly to a method and apparatus and system for improving night vision distance and reducing power consumption.
背景技术Background technique
随着人们生活水平日益提高及安全防范意识加强,视频监控设备、可视门铃、安防摄像机等带有摄像及拍照功能的拍摄设备越来越多地被人们广泛使用。在这类拍摄装置上,为了使得拍摄装置能在日夜不同的环境亮度条件下拍摄到较好的视频画面,一般都会使用红外补光灯作为夜晚及光线较暗条件下补充光源。同时,为了让红外补光灯能在夜晚及光线较暗条件下开启,通常拍摄装置上均安装有测光装置,用以测量当前的可见光照度,为红外补光灯的开启关闭提供参考。With the improvement of people's living standards and the awareness of safety precautions, video surveillance equipment, video doorbells, security cameras and other shooting equipment with camera and camera functions are increasingly used by people. In this type of shooting device, in order to enable the shooting device to capture a better video picture under different ambient brightness conditions, infrared fill light is generally used as a supplementary light source at night and in dim light conditions. At the same time, in order to enable the infrared fill light to be turned on at night and in dim light conditions, a photometric device is usually mounted on the photographing device to measure the current visible light illumination, and provide a reference for the infrared fill light to be turned on and off.
当前市面上已公开的红外补光技术包括三种方式,方式一:利用光敏电阻来检测环境光的亮暗,以触发开关红外LED补光,该方式的检测灵敏度不高;方式二:利用图像传感器测光的技术,触发控制开关红外LED补光,虽然已经可以做到日夜场景的切换,使日夜场景下图像质量都能达到好的效果,但是在黑夜及光线较暗的场景下,由于红外LED是一直打开的,会增加拍摄装置整机功耗,这对于一些用电池供电的夜视摄像装备及视频监控设备,是一个很大的挑战;方式三:采用PWM(Pulse Width Modulation)波调制红外LED驱动器的技术,已达到调光和降低功耗的目的,但是其调整PWM参数(占空比,频率)的判别依据是外部环境光的亮暗,不能精准地根据图像传感器1曝光的需要进行调整。The currently available infrared fill light technology on the market includes three methods. The first method is to use a photoresistor to detect the brightness and darkness of the ambient light to trigger the switching of the infrared LED fill light. The detection sensitivity of the mode is not high; the second method: using the image Sensor metering technology, trigger control switch infrared LED fill light, although it can be done to switch between day and night scenes, so that the image quality can achieve good results in day and night scenes, but in the dark and dark scenes, due to infrared The LED is always on, which will increase the power consumption of the camera. This is a big challenge for some battery-powered night vision camera equipment and video surveillance equipment. Mode 3: PWM (Pulse) Width Modulation) The technology of wave modulation infrared LED driver has achieved the purpose of dimming and reducing power consumption, but the adjustment of PWM parameters (duty cycle, frequency) is based on the brightness of the external ambient light, which cannot be accurately based on the image sensor. 1 The exposure needs to be adjusted.
中国专利201110089768.7公开了一种红外产品视频分析调光VAAL实现方法,该方法采用的电路包括微处理器,微处理器通过片内视频A/D电路接口连接摄像机,微处理器通过片内PWM连接红外灯电路;微处理器连接光敏传感器;还包括如下步骤:通过DSP对采集到的视频图像进行智能分析,对红外灯的输出功率和开启模式进行控制,从而实现提升视频效果和节能的目的,红外产品视频分析调光VAAL可以在没有移动目标时降低红外功率,在移动目标出现时,提高红外功率,这样既可以降低整机功耗,有效延长红外等使用寿命,又可以在出现移动目标时,达到很好的夜视效果。Chinese Patent No. 201110089768.7 discloses an infrared product video analysis dimming VAAL implementation method, the circuit used in the method comprises a microprocessor, the microprocessor is connected to the camera through an on-chip video A/D circuit interface, and the microprocessor is connected by an on-chip PWM. Infrared lamp circuit; the microprocessor is connected to the photosensor; and the following steps are included: intelligently analyzing the captured video image through the DSP, and controlling the output power and the on mode of the infrared lamp, thereby achieving the purpose of improving the video effect and saving energy, Infrared product video analysis dimming VAAL can reduce the infrared power when there is no moving target, and increase the infrared power when the moving target appears, which can reduce the power consumption of the whole machine, effectively extend the service life of infrared, and can also be used when moving targets , to achieve a good night vision effect.
但是,上述的专利,全部的视频或者图像都必须经过DSP分析,根据对曝光率的分析才可以进行补光,效率比较低。However, in the above patents, all video or images must be analyzed by DSP, and the light can be complemented according to the analysis of the exposure rate, and the efficiency is relatively low.
因此,有必要设计一种用于提高夜视距离和降低功耗的方法,实现降低红外补光通电的时间,从而降低发光产生的热量,减低功耗,并且提升了夜视图画的清晰成像效果。Therefore, it is necessary to design a method for increasing the night vision distance and reducing the power consumption, thereby reducing the time for the infrared fill light to be energized, thereby reducing the heat generated by the illumination, reducing the power consumption, and improving the clear imaging effect of the night view painting. .
发明内容Summary of the invention
本发明的目的在于克服现有技术的缺陷,提供用于提高夜视距离和降低功耗的方法及其装置。It is an object of the present invention to overcome the deficiencies of the prior art and to provide a method and apparatus for increasing night vision distance and reducing power consumption.
为实现上述目的,本发明采用以下技术方案:用于提高夜视距离和降低功耗的方法,所述方法包括:To achieve the above object, the present invention adopts the following technical solutions: a method for improving night vision distance and reducing power consumption, the method comprising:
S1、开机并开启夜视功能,判断是否存在快门同步功能,若存在快门同步功能,则进行S2步骤,或者,若不存在快门同步功能,则进行S3步骤;S1, power on and turn on the night vision function to determine whether there is a shutter synchronization function. If there is a shutter synchronization function, perform step S2, or if there is no shutter synchronization function, proceed to step S3;
S2、通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光;S2, synchronizing the PWM IR output through the shutter signal, and performing infrared dimming according to the output PWM IR;
S3、通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光。S3, real-time analysis of the acquired image by DSP, adjusting PWM according to the exposure of the image The duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output.
其进一步技术方案为:通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光的步骤,包括以下具体步骤:The further technical solution is: synchronous PWM IR output through the shutter signal, according to the output PWM IR performs infrared dimming steps, including the following specific steps:
S21、判断红外灯驱动器是否处于关闭时段,若红外灯驱动器处于关闭时段,则进行S22步骤,或者,若红外灯驱动器不处于关闭时段,则进行S23步骤;S21. Determine whether the infrared lamp driver is in the off period. If the infrared lamp driver is in the off period, proceed to step S22, or if the infrared lamp driver is not in the off period, proceed to step S23;
S22、保持PWM IR的原有输出状态;S22. Maintain the original output state of the PWM IR.
S23、同步开/关IR发射。S23. Synchronous on/off IR transmission.
其进一步技术方案为:所述同步开/关IR发射的步骤,包括以下具体步骤:A further technical solution is: the step of synchronously turning on/off IR transmission, comprising the following specific steps:
S231、判断快门是否处于关闭状态,若快门处于关闭状态,则进行S232步骤,或者,若快门不处于关闭状态,则进行S233步骤;S231, determining whether the shutter is in the closed state, if the shutter is in the closed state, proceeding to step S232, or if the shutter is not in the closed state, proceeding to step S233;
S232、PWM IR为低脉冲宽度,红外灯关闭;S232, PWM IR is a low pulse width, and the infrared light is turned off;
S233、PWM IR为高脉冲宽度,红外灯打开。S233, PWM IR is a high pulse width, and the infrared light is turned on.
其进一步技术方案为:通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光的步骤,包括以下具体步骤:The further technical solution is: analyzing the acquired image in real time through the DSP, and adjusting the PWM according to the exposure of the image. The duty cycle of the duty modulation value and the infrared dimming step according to the PWM duty of the output, including the following specific steps:
S31、判断所述图像的每帧的曝光是否符合设定的要求,若所述图像的每帧的曝光符合设定的要求,则进行S32步骤,或者,若所述图像的每帧的曝光不符合设定的要求,则进行S33步骤;S31. Determine whether the exposure of each frame of the image meets the set requirement. If the exposure of each frame of the image meets the set requirement, proceed to step S32, or if the exposure of each frame of the image is not If the requirements of the setting are met, proceed to step S33;
S32、保持PWM IR调变值的脉冲数量,进行红外调光;S32, maintaining the number of pulses of the PWM IR modulation value, performing infrared dimming;
S33、在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM duty调变值的占空比,进行红外调光。S33. Adjusting the PWM according to the exposure distribution of the image during a period in which the infrared driver is turned on. The duty ratio of the duty modulation value is used for infrared dimming.
其进一步技术方案为:在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM调变值的占空比,进行红外调光的步骤,包括以下具体步骤:A further technical solution is: adjusting the duty ratio of the PWM modulation value according to the exposure distribution of the image during the period in which the infrared driver is turned on, and performing the infrared dimming step, including the following specific steps:
S331、将在PWM IR调变值前面增加的脉冲数量的前沿往前推;S331, pushing forward the leading edge of the number of pulses added before the PWM IR modulation value;
S332、将在PWM IR调变值后面增加的脉冲数量的后沿往后推。S332. Push back the trailing edge of the number of pulses added after the PWM IR modulation value.
本发明还提供了用于提高夜视距离和降低功耗的装置,包括图像传感器、数字信号处理器以及红外灯驱动器;所述图像传感器以及所述红外灯驱动器分别与数字信号处理器连接;当图像传感器存在快门同步功能时,所述图像传感器通过快门信号同步数字信号处理器的PWM IR输出,根据所述数字信号处理器输出的PWM IR驱动红外灯驱动器进行红外调光;当图像传感器不存在快门同步功能时,所述图像传感器将图像发送至数字信号处理器,通过数字信号处理器实时分析采集的图像,根据所述图像的曝光调整数字信号处理器的PWM duty调变值的占空比,并根据输出的PWM duty,驱动所述红外灯驱动器进行红外调光。The present invention also provides an apparatus for improving night vision distance and reducing power consumption, including an image sensor, a digital signal processor, and an infrared lamp driver; the image sensor and the infrared lamp driver are respectively connected to a digital signal processor; When the image sensor has a shutter synchronization function, the image sensor synchronizes the PWM of the digital signal processor through the shutter signal IR output, according to the PWM output of the digital signal processor The IR driving infrared lamp driver performs infrared dimming; when the image sensor does not have the shutter synchronization function, the image sensor sends the image to the digital signal processor, and the acquired image is analyzed in real time through the digital signal processor, according to the exposure of the image Adjust the PWM of the digital signal processor The duty cycle of the duty modulation value, and according to the PWM duty of the output, the infrared lamp driver is driven to perform infrared dimming.
本发明还提供了用于提高夜视距离和降低功耗的系统,包括快门同步判断单元、快门处理单元以及非快门处理单元;The present invention also provides a system for improving night vision distance and reducing power consumption, including a shutter synchronization determination unit, a shutter processing unit, and a non-shutter processing unit;
所述快门同步判断单元,用于判断是否存在快门同步功能;The shutter synchronization determining unit is configured to determine whether a shutter synchronization function exists;
所述快门处理单元,用于通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光;The shutter processing unit is configured to synchronously PWM IR output through a shutter signal, and perform infrared dimming according to the output PWM IR;
所述非快门处理单元,用于通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光。The non-shutter processing unit is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image. The duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output.
其进一步技术方案为:所述快门处理单元包括驱动器判断模块、原状态保持模块以及同步发射模块;A further technical solution is that the shutter processing unit includes a driver judging module, an original state maintaining module, and a synchronous transmitting module;
所述驱动器判断模块,用于判断红外灯驱动器是否处于关闭时段;The driver determining module is configured to determine whether the infrared light driver is in a closing period;
所述原状态保持模块,用于若红外灯驱动器处于关闭时段,保持PWM IR的原有输出状态;The original state maintaining module is configured to maintain an original output state of the PWM IR if the infrared lamp driver is in a off period;
所述同步发射模块,用于若红外灯驱动器不处于关闭时段,同步开/关IR发射。The synchronous transmitting module is configured to synchronously turn on/off IR transmission if the infrared light driver is not in the off period.
其进一步技术方案为:所述同步发射模块包括快门状态判断子模块以及处理子模块;A further technical solution is that the synchronous transmitting module includes a shutter state determining submodule and a processing submodule;
所述快门状态判断子模块,用于判断快门是否处于关闭状态;The shutter state determining submodule is configured to determine whether the shutter is in a closed state;
所述处理子模块,用于若快门处于关闭状态,PWM IR为低脉冲宽度,红外灯关闭,或者,若快门不处于关闭状态,PWM IR为高脉冲宽度,红外灯打开。The processing submodule is configured to if the shutter is in a closed state, PWM IR is a low pulse width, the IR light is off, or, if the shutter is not off, PWM IR is a high pulse width and the IR light is on.
其进一步技术方案为:所述非快门处理单元包括曝光程度判断模块以及占空比处理模块;A further technical solution is that the non-shutter processing unit includes an exposure degree judging module and a duty ratio processing module;
所述曝光程度判断模块,用于判断所述图像的每帧的曝光是否符合设定的要求;The exposure degree determining module is configured to determine whether an exposure of each frame of the image meets a set requirement;
所述占空比处理模块,用于若所述图像的每帧的曝光符合设定的要求,保持PWM duty调变值的占空比,进行红外调光,或者,若所述图像的每帧的曝光不符合设定的要求,在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM duty调变值的占空比,进行红外调光。The duty ratio processing module is configured to maintain PWM if an exposure of each frame of the image meets a set requirement The duty ratio of the duty modulation value is infrared dimming, or if the exposure of each frame of the image does not meet the set requirement, the exposure distribution of the image is adjusted during the period in which the infrared driver is turned on. PWM The duty ratio of the duty modulation value is used for infrared dimming.
本发明与现有技术相比的有益效果是:本发明的用于提高夜视距离和降低功耗的方法,通过PWM以及DSP结合的方式,采用PWM对红外LED进行调光,并结合DSP对图像进行分析,根据分析结果对PWM进行实时的调整,进一步降低功耗,同时保证了图像传感器曝光所需的补光需求,使成像效果达到高的质量,实现降低红外补光通电的时间,从而降低发光产生的热量,减低功耗,提升了夜视图画的清晰成像效果。The invention has the beneficial effects compared with the prior art: the method for improving the night vision distance and reducing the power consumption of the invention, adopting PWM and DSP combined manner, dimming the infrared LED by using PWM, and combining with the DSP pair The image is analyzed, and the PWM is adjusted in real time according to the analysis result, thereby further reducing the power consumption, and at the same time ensuring the required light filling requirement of the image sensor exposure, so that the imaging effect reaches a high quality, and the time for reducing the infrared fill light is realized, thereby Reduces the heat generated by the illuminating, reduces power consumption, and improves the clear imaging effect of night view painting.
下面结合附图和具体实施例对本发明作进一步描述。The invention is further described below in conjunction with the drawings and specific embodiments.
附图说明DRAWINGS
图1为本发明具体实施例提供的用于提高夜视距离和降低功耗的方法的流程图;1 is a flowchart of a method for increasing night vision distance and reducing power consumption according to an embodiment of the present invention;
图2为本发明具体实施例提供的通过快门信号同步PWM输出的具体流程图;2 is a specific flowchart of synchronous PWM output by a shutter signal according to an embodiment of the present invention;
图3为本发明具体实施例提供的通过快门信号同步PWM输出的信号波形示意图;3 is a schematic diagram of signal waveforms of a synchronous PWM output through a shutter signal according to an embodiment of the present invention;
图4为本发明具体实施例提供的同步开/关IR发射的具体流程图;4 is a specific flowchart of synchronous on/off IR transmission according to an embodiment of the present invention;
图5为本发明具体实施例提供的DSP实时分析采集的图像并根据图像的曝光调整PWM调变值的占空比的具体流程图;FIG. 5 is a specific flowchart of adjusting a captured image by a DSP in real time according to an embodiment of the present invention and adjusting a duty ratio of a PWM modulation value according to an exposure of the image;
图6为本发明具体实施例提供的DSP实时分析采集的图像并根据图像的曝光调整PWM调变值的占空比的信号波形示意图;6 is a schematic diagram of a signal waveform of a DSP that analyzes a captured image in real time according to an embodiment of the present invention and adjusts a duty ratio of a PWM modulation value according to an exposure of the image;
图7为本发明具体实施例提供的调整PWM调变值的占空比的具体流程图; FIG. 7 is a specific flowchart of adjusting a duty ratio of a PWM modulation value according to an embodiment of the present invention;
图8为本发明具体实施例提供的用于提高夜视距离和降低功耗的装置的信号流框图;FIG. 8 is a signal flow diagram of an apparatus for improving night vision distance and reducing power consumption according to an embodiment of the present invention; FIG.
图9为本发明具体实施例提供的用于提高夜视距离和降低功耗的装置的结构框图;FIG. 9 is a structural block diagram of an apparatus for improving night vision distance and reducing power consumption according to an embodiment of the present invention;
图10为本发明具体实施例提供的用于提高夜视距离和降低功耗的系统的结构框图;FIG. 10 is a structural block diagram of a system for improving night vision distance and reducing power consumption according to an embodiment of the present invention; FIG.
图11为本发明具体实施例提供的快门处理单元的结构框图;11 is a structural block diagram of a shutter processing unit according to an embodiment of the present invention;
图12为本发明具体实施例提供的同步发射模块的结构框图;FIG. 12 is a structural block diagram of a synchronous transmitting module according to an embodiment of the present invention;
图13为本发明具体实施例提供的非快门处理单元的结构框图。FIG. 13 is a structural block diagram of a non-shutter processing unit according to an embodiment of the present invention.
具体实施方式detailed description
为了更充分理解本发明的技术内容,下面结合具体实施例对本发明的技术方案进一步介绍和说明,但不局限于此。In order to more fully understand the technical content of the present invention, the technical solutions of the present invention are further described and illustrated in conjunction with the specific embodiments, but are not limited thereto.
如图1~13所示的具体实施例,本实施例提供的用于提高夜视距离和降低功耗的方法,可以运用在视频监控设备中,实现降低红外补光通电的时间,从而降低发光产生的热量,减低功耗,并且提升了夜视图画的清晰成像效果。As shown in the specific embodiments shown in FIG. 1 to FIG. 13 , the method for improving the night vision distance and reducing the power consumption provided by the embodiment can be applied to the video monitoring device to reduce the time for the infrared fill light to be energized, thereby reducing the illumination. The heat generated reduces power consumption and enhances the clear imaging of night view painting.
本实施例提供了用于提高夜视距离和降低功耗的方法,该方法包括:This embodiment provides a method for increasing night vision distance and reducing power consumption, the method comprising:
S1、开机并开启夜视功能,判断是否存在快门同步功能,若存在快门同步功能,则进行S2步骤,或者,若不存在快门同步功能,则进行S3步骤;S1, power on and turn on the night vision function, determine whether there is a shutter synchronization function, if there is a shutter synchronization function, proceed to step S2, or if there is no shutter synchronization function, proceed to step S3;
S2、通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光;S2, synchronizing the PWM IR output through the shutter signal, and performing infrared dimming according to the output PWM IR;
S3、通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光。S3, real-time analysis of the acquired image by DSP, adjusting PWM according to the exposure of the image The duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output.
上述的S1步骤,判断是为了对不同的图像传感器1采用不同的红外调光方式。The above S1 step is judged to adopt different infrared dimming modes for different image sensors 1.
更进一步的,上述S2步骤,通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光的步骤,包括以下具体步骤:Further, in the above step S2, the PWM IR output is synchronized by the shutter signal, according to the output PWM IR performs infrared dimming steps, including the following specific steps:
S21、判断红外灯驱动器3是否处于关闭时段,若红外灯驱动器3处于关闭时段,则进行S22步骤,或者,若红外灯驱动器3不处于关闭时段,则进行S23步骤;S21, determining whether the infrared lamp driver 3 is in the off period, if the infrared lamp driver 3 is in the off period, proceeding to step S22, or if the infrared lamp driver 3 is not in the off period, proceeding to step S23;
S22、保持PWM IR的原有输出状态;S22. Maintain the original output state of the PWM IR.
S23、同步开/关IR发射。S23. Synchronous on/off IR transmission.
对于上述S21步骤,只有在红外灯驱动器3开启的时段,才会进行红外调光,若红外灯驱动器3未开启,则无法进行红外调光,只能保持PWM的原有输出状态。For the above step S21, the infrared dimming is performed only during the period when the infrared lamp driver 3 is turned on. If the infrared lamp driver 3 is not turned on, the infrared dimming cannot be performed, and only the original output state of the PWM can be maintained.
另外,对于S23步骤,同步开/关IR发射的步骤,包括以下具体步骤:In addition, for the step S23, the step of synchronously turning on/off the IR transmission includes the following specific steps:
S231、判断快门是否处于关闭状态,若快门处于关闭状态,则进行S232步骤,或者,若快门不处于关闭状态,则进行S233步骤;S231, determining whether the shutter is in the closed state, if the shutter is in the closed state, proceeding to step S232, or if the shutter is not in the closed state, proceeding to step S233;
S232、PWM IR为低脉冲宽度,红外灯关闭;S232, PWM IR is a low pulse width, and the infrared light is turned off;
S233、PWM IR为高脉冲宽度,红外灯打开。S233, PWM IR is a high pulse width, and the infrared light is turned on.
数字处理器输出一个高脉冲触发信号给图像传感器1TRIGGER引脚,当图像传感器1检测到TRIGGER引脚已经打开后,这时快门曝光时间开始,之后图像传感器1开始读出第一帧图像数据至到结束。The digital processor outputs a high pulse trigger signal to the image sensor 1TRIGGER pin. When the image sensor 1 detects that the TRIGGER pin has been turned on, the shutter exposure time starts, and then the image sensor 1 starts reading the first frame of image data until End.
在快门信号给出后,数字信号处理器2会同步输出PWM脉宽信号去控制红外LED驱动开启及关闭。在有快门触发信号下同步开/关IR发射,即快门关闭时,这时PWM为Low红外灯关闭,快门打开时,这时PWM为High红外灯打开After the shutter signal is given, the digital signal processor 2 synchronously outputs the PWM pulse width signal to control the infrared LED driver to be turned on and off. When the shutter trigger signal is synchronized, the IR emission is turned on/off, that is, when the shutter is closed, the PWM is turned off by the Low infrared light, and when the shutter is opened, the PWM is turned on by the High infrared light.
采用PWM IR输出脉宽调制信号目的是为了要让整个平均功耗降低,如图2所示,占空比设为50%,其功耗可以有效降低50%;Using PWM The purpose of the IR output pulse width modulation signal is to reduce the overall average power consumption. As shown in Figure 2, the duty ratio is set to 50%, and the power consumption can be effectively reduced by 50%.
PWM的调变是要同步帧的快门开启时间;具体地,在PWM开启期间,需要快门开启时,PWM为High,快门关闭时,PWM为Low,这样在保证图像质量不变的情况下可以更进一步降低功耗,让发射的功耗能实际反射回图像传感器1并侦测。The modulation of the PWM is to synchronize the shutter open time of the frame; specifically, during the PWM on period, when the shutter is required to be turned on, the PWM is High, and when the shutter is closed, the PWM is Low, so that the image quality can be changed without changing the image quality. The power consumption is further reduced, so that the power consumption of the transmission can be actually reflected back to the image sensor 1 and detected.
通过快门信号去同步主控芯片端PWM输出的控制方法,通过采用图像传感器1快门信号及同步PWM脉宽调制信号来实现控制红外LED开关状态,进一步的降低功耗及提升成像效果;对于使用内置电池的夜视拍摄装置来说,此技术可以降低红外补光通电的时间,从而降低长时间发光所产生的热量,并可以有效降低功耗及保障拍摄装置的拍摄效果,同时延长了装置运行寿命。The shutter signal is used to synchronize the control method of the PWM output of the main control chip, and the image sensor 1 shutter signal and the synchronous PWM pulse width modulation signal are used to control the infrared LED switch state, thereby further reducing power consumption and improving imaging effect; For the night vision camera of the battery, this technology can reduce the time of infrared fill light energization, thereby reducing the heat generated by long-time illumination, and can effectively reduce power consumption and ensure the shooting effect of the camera, and prolong the operating life of the device. .
对于S3步骤,对于图像传感器1没有快门同步功能的,在这种条件下,当PWM是低脉冲宽度的期间时,如果图像传感器1传1帧图像没有传完,这时的图像肯定会存在一边暗一边亮的情况,需要通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM调变值的占空比,并根据输出的PWM进行红外调光。For the S3 step, there is no shutter synchronization function for the image sensor 1. Under this condition, when the PWM is a period of low pulse width, if the image of the image sensor 1 is not transmitted, the image will definitely exist on one side. In the case of dark side, it is necessary to analyze the acquired image in real time through the DSP, adjust the duty ratio of the PWM modulation value according to the exposure of the image, and perform infrared dimming according to the output PWM.
该S3步骤,通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光,包括以下具体步骤:In the step S3, the acquired image is analyzed in real time by the DSP, and the PWM is adjusted according to the exposure of the image. The duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output, including the following specific steps:
S31、判断所述图像的每帧的曝光是否符合设定的要求,若所述图像的每帧的曝光符合设定的要求,则进行S32步骤,或者,若所述图像的每帧的曝光不符合设定的要求,则进行S33步骤;S31. Determine whether the exposure of each frame of the image meets the set requirement. If the exposure of each frame of the image meets the set requirement, proceed to step S32, or if the exposure of each frame of the image is not If the requirements of the setting are met, proceed to step S33;
S32、保持PWM IR调变值的脉冲数量,进行红外调光;S32, maintaining the number of pulses of the PWM IR modulation value, performing infrared dimming;
S33、在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM duty调变值的占空比,进行红外调光。S33. Adjusting the PWM according to the exposure distribution of the image during a period in which the infrared driver is turned on. The duty ratio of the duty modulation value is used for infrared dimming.
上述的S31步骤,判断所述图像的每帧的曝光是否符合设定的要求的步骤,是为了挑选出同一帧图像曝光上下亮暗不均的图像,对这类图像进行红外调光。In the above step S31, the step of determining whether the exposure of each frame of the image meets the set requirement is to select an image in which the same frame image is exposed to light and dark unevenness, and infrared dimming is performed on such image.
当没有出现同一帧图像曝光上下亮暗不均的图像,则保持PWM调变值的占空比,进行红外调光。When there is no image in which the same frame image is exposed to light and dark unevenness, the duty ratio of the PWM modulation value is maintained, and infrared dimming is performed.
当出现同一帧图像曝光上下亮暗不均的图像,则在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM调变值的占空比,进行红外调光。When an image in which the same frame image is exposed to light and dark unevenness occurs, the duty ratio of the PWM modulation value is adjusted according to the exposure distribution of the image during the period in which the infrared driver is turned on, and infrared dimming is performed.
对于S33步骤,在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM调变值的占空比,进行红外调光,包括以下具体步骤:For the step S33, during the period in which the infrared driver is turned on, the duty ratio of the PWM modulation value is adjusted according to the exposure distribution of the image, and infrared dimming is performed, including the following specific steps:
S331、将在PWM IR调变值前面增加的脉冲数量的前沿往前推;S331, pushing forward the leading edge of the number of pulses added before the PWM IR modulation value;
S332、将在PWM IR调变值后面增加的脉冲数量的后沿往后推。S332. Push back the trailing edge of the number of pulses added after the PWM IR modulation value.
上述的S331步骤,PWM调变值的占空比的前沿往前推,直到暗的区域减少到可接受的亮度或者是没有暗的区域。In the above step S331, the leading edge of the duty ratio of the PWM modulation value is pushed forward until the dark area is reduced to an acceptable brightness or a dark area.
对于上述S332步骤,PWM调变值的占空比的后沿往后推,只要不会在下方出现暗的区域,确保前后沿可以得到曝光符合设定要求的图像,从而提高夜视画面效果。In the above step S332, the trailing edge of the duty ratio of the PWM modulation value is pushed backward, as long as a dark area does not appear below, ensuring that the front and rear edges can obtain an image whose exposure meets the set requirement, thereby improving the night vision effect.
使用PWM方式可以降低红外补光通电的时间,从而降低发光产生的热量,也降低了功耗,并延长了装置运行寿命;The PWM method can reduce the time of infrared fill light energization, thereby reducing the heat generated by the illumination, reducing the power consumption, and prolonging the operating life of the device;
使用DSP实时分析图像,提升了黑暗环境下获得图像成像清淅效果。The use of DSP to analyze images in real time improves the image clarity of images obtained in dark environments.
上述的用于提高夜视距离和降低功耗的方法,通过PWM以及DSP结合的方式,采用PWM对红外LED进行调光,并结合DSP对图像进行分析,根据分析结果对PWM进行实时的调整,进一步降低功耗,同时保证了图像传感器1曝光所需的补光需求,使成像效果达到高的质量,实现降低红外补光通电的时间,从而降低发光产生的热量,减低功耗,提升了夜视图画的清晰成像效果。The above method for improving night vision distance and reducing power consumption adopts PWM and DSP combination method to dim the infrared LED by PWM, and combines the DSP to analyze the image, and adjusts the PWM in real time according to the analysis result. Further reducing the power consumption, while ensuring the required light filling requirement of the image sensor 1 to achieve high quality of the imaging effect, reducing the time for the infrared fill light to be energized, thereby reducing the heat generated by the light, reducing the power consumption, and improving the night. The clear image of the view is drawn.
如图8至图9所示,本实施例提供了用于提高夜视距离和降低功耗的装置,包括图像传感器1、数字信号处理器2以及红外灯驱动器3;图像传感器1以及所述红外灯驱动器3分别与数字信号处理器2连接;当图像传感器1存在快门同步功能时,图像传感器1通过快门信号同步数字信号处理器2的PWM IR输出,根据数字信号处理器2输出的PWM IR驱动红外灯驱动器3进行红外调光;当图像传感器1不存在快门同步功能时,图像传感器1将图像发送至数字信号处理器2,通过数字信号处理器2实时分析采集的图像,根据所述图像的曝光调整数字信号处理器2的PWM duty调变值的占空比,并根据输出的PWM duty,驱动红外灯驱动器3进行红外调光。As shown in FIG. 8 to FIG. 9, the present embodiment provides an apparatus for improving night vision distance and reducing power consumption, including an image sensor 1, a digital signal processor 2, and an infrared lamp driver 3; an image sensor 1 and the infrared The lamp driver 3 is respectively connected to the digital signal processor 2; when the image sensor 1 has a shutter synchronization function, the image sensor 1 synchronizes the PWM of the digital signal processor 2 by the shutter signal IR output, according to the PWM output of digital signal processor 2 The IR driving infrared lamp driver 3 performs infrared dimming; when the image sensor 1 does not have a shutter synchronization function, the image sensor 1 transmits an image to the digital signal processor 2, and the acquired image is analyzed in real time by the digital signal processor 2, according to the Image exposure adjustment PWM of digital signal processor 2 The duty ratio of the duty modulation value, and according to the PWM duty of the output, drives the infrared lamp driver 3 to perform infrared dimming.
上述的用于提高夜视距离和降低功耗的装置,通过图像传感器1是否存在快门同步功能,并结合数字信号处理器2输出的PWM以及数字信号处理器2进行的DSP结合的方式,采用PWM对红外LED进行调光,并结合DSP对图像进行分析,根据分析结果对PWM进行实时的调整,进一步降低功耗,同时保证了图像传感器1曝光所需的补光需求,使成像效果达到高的质量,实现降低红外补光通电的时间,从而降低发光产生的热量,减低功耗,提升了夜视图画的清晰成像效果。The above device for improving night vision distance and reducing power consumption adopts PWM by means of whether the image sensor 1 has a shutter synchronization function, and combined with the PWM outputted by the digital signal processor 2 and the DSP combined by the digital signal processor 2 The infrared LED is dimmed, and the image is analyzed by combining with the DSP, and the PWM is adjusted in real time according to the analysis result, thereby further reducing the power consumption, and ensuring the required light filling requirement of the image sensor 1 to achieve high imaging effect. The quality can reduce the time of infrared fill light energization, thereby reducing the heat generated by the illumination, reducing the power consumption, and improving the clear imaging effect of the night view painting.
如图10所示,用于提高夜视距离和降低功耗的系统,包括快门同步判断单元10、快门处理单元20以及非快门处理单元30。As shown in FIG. 10, a system for increasing night vision distance and reducing power consumption includes a shutter synchronization determination unit 10, a shutter processing unit 20, and a non-shutter processing unit 30.
快门同步判断单元10,用于判断是否存在快门同步功能。The shutter synchronization determining unit 10 is configured to determine whether there is a shutter synchronization function.
快门处理单元20,用于通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光。The shutter processing unit 20 is configured to synchronize the PWM IR output through the shutter signal, and perform infrared dimming according to the output PWM IR.
非快门处理单元30,用于通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光。The non-shutter processing unit 30 is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image. The duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output.
对于上述的快门处理单元20包括驱动器判断模块21、原状态保持模块22以及同步发射模块23。The shutter processing unit 20 described above includes a driver judging module 21, an original state holding module 22, and a sync transmitting module 23.
驱动器判断模块21,用于判断红外灯驱动器3是否处于关闭时段。The driver judging module 21 is configured to judge whether the infrared lamp driver 3 is in an off period.
原状态保持模块22,用于若红外灯驱动器3处于关闭时段,保持PWM IR的原有输出状态。The original state maintaining module 22 is configured to maintain the original output state of the PWM IR if the infrared lamp driver 3 is in the off period.
同步发射模块23,用于若红外灯驱动器3不处于关闭时段,同步开/关IR发射。The synchronous transmitting module 23 is configured to synchronously turn on/off the IR transmission if the infrared light driver 3 is not in the off period.
设置驱动器判断模块21,是为了只有在红外灯驱动器3开启的时段,才会进行红外调光,若红外灯驱动器3未开启,则无法进行红外调光,只能保持PWM的原有输出状态。The driver judging module 21 is arranged to perform infrared dimming only when the infrared lamp driver 3 is turned on. If the infrared lamp driver 3 is not turned on, infrared dimming cannot be performed, and only the original output state of the PWM can be maintained.
对于同步发射模块23包括快门状态判断子模块231以及处理子模块232。The synchronous transmission module 23 includes a shutter state determination sub-module 231 and a processing sub-module 232.
快门状态判断子模块231,用于判断快门是否处于关闭状态。The shutter state determining sub-module 231 is configured to determine whether the shutter is in a closed state.
所述处理子模块232,用于若快门处于关闭状态,PWM IR为低脉冲宽度,红外灯关闭,或者,若快门不处于关闭状态,PWM IR为高脉冲宽度,红外灯打开。The processing sub-module 232 is configured to: if the shutter is in a closed state, the PWM IR is a low pulse width, the IR light is off, or, if the shutter is not off, PWM IR is a high pulse width and the IR light is on.
数字处理器输出一个高脉冲触发信号给图像传感器1TRIGGER引脚,当图像传感器1检测到TRIGGER引脚已经打开后,这时快门曝光时间开始,之后图像传感器1开始读出第一帧图像数据至到结束。The digital processor outputs a high pulse trigger signal to the image sensor 1TRIGGER pin. When the image sensor 1 detects that the TRIGGER pin has been turned on, the shutter exposure time starts, and then the image sensor 1 starts reading the first frame of image data until End.
在快门信号给出后,数字信号处理器2会同步输出PWM脉宽信号去控制红外LED驱动开启及关闭。在处理子模块232有快门触发信号下同步开/关IR发射,即快门关闭时,这时PWM为Low红外灯关闭,快门打开时,这时PWM为High红外灯打开After the shutter signal is given, the digital signal processor 2 synchronously outputs the PWM pulse width signal to control the infrared LED driver to be turned on and off. When the processing sub-module 232 has a shutter trigger signal, the IR emission is synchronously turned on/off, that is, when the shutter is closed, the PWM is turned off by the Low infrared light, and when the shutter is opened, the PWM is turned on by the High infrared light.
采用PWM输出脉宽调制信号目的是为了要让整个平均功耗降低,如图2所示,占空比设为50%,其功耗可以有效降低50%;The purpose of using PWM output pulse width modulation signal is to reduce the average power consumption. As shown in Figure 2, the duty ratio is set to 50%, and the power consumption can be effectively reduced by 50%.
PWM的调变是要同步帧的快门开启时间;具体地,在PWM开启期间,需要快门开启时,PWM为High,快门关闭时,PWM为Low,这样在保证图像质量不变的情况下可以更进一步降低功耗,让发射的功耗能实际反射回图像传感器1并侦测。The modulation of the PWM is to synchronize the shutter open time of the frame; specifically, during the PWM on period, when the shutter is required to be turned on, the PWM is High, and when the shutter is closed, the PWM is Low, so that the image quality can be changed without changing the image quality. The power consumption is further reduced, so that the power consumption of the transmission can be actually reflected back to the image sensor 1 and detected.
快门处理单元20通过快门信号去同步主控芯片端PWM IR输出的控制方法,通过采用图像传感器1快门信号及同步PWM IR脉宽调制信号来实现控制红外LED开关状态,进一步的降低功耗及提升成像效果;对于使用内置电池的夜视拍摄装置来说,此技术可以降低红外补光通电的时间,从而降低长时间发光所产生的热量,并可以有效降低功耗及保障拍摄装置的拍摄效果,同时延长了装置运行寿命。The shutter processing unit 20 de-synchronizes the master chip end PWM through the shutter signal IR output control method by using image sensor 1 shutter signal and synchronous PWM IR pulse width modulation signal to control the status of infrared LED switch, further reduce power consumption and improve imaging effect; for night vision camera with built-in battery, this technology can reduce the time of infrared fill light, thus reducing the long time The heat generated by the illumination can effectively reduce the power consumption and ensure the shooting effect of the camera, and prolong the operating life of the device.
非快门处理单元30包括曝光程度判断模块31以及占空比处理模块32。The non-shutter processing unit 30 includes an exposure degree determination module 31 and a duty ratio processing module 32.
曝光程度判断模块31,用于判断所述图像的每帧的曝光是否符合设定的要求。The exposure level determining module 31 is configured to determine whether the exposure of each frame of the image meets the set requirement.
占空比处理模块32,用于若所述图像的每帧的曝光符合设定的要求,保持PWM duty调变值的占空比,进行红外调光,或者,若所述图像的每帧的曝光不符合设定的要求,在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM duty调变值的占空比,进行红外调光。The duty ratio processing module 32 is configured to maintain the PWM if the exposure of each frame of the image meets the set requirement The duty ratio of the duty modulation value is infrared dimming, or if the exposure of each frame of the image does not meet the set requirement, the exposure distribution of the image is adjusted during the period in which the infrared driver is turned on. PWM The duty ratio of the duty modulation value is used for infrared dimming.
在图像传感器1没有快门同步功能的,在这种条件下,当PWM是低脉冲宽度的期间时,如果图像传感器1传1帧图像没有传完,这时的图像肯定会存在一边暗一边亮的情况,需要由上述的非快门处理单元30通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM调变值的占空比,并根据输出的PWM进行红外调光。In the case where the image sensor 1 does not have a shutter synchronization function, under such conditions, when the PWM is in a period of low pulse width, if the image of the image sensor 1 is not transmitted, the image at this time will definitely be bright on one side. In other cases, the acquired image needs to be analyzed by the non-shutter processing unit 30 described above through the DSP in real time, the duty ratio of the PWM modulation value is adjusted according to the exposure of the image, and infrared dimming is performed according to the output PWM.
上述的曝光程度判断模块31是为了挑选出同一帧图像曝光上下亮暗不均的图像,对这类图像进行红外调光。The exposure degree judging module 31 described above is for selecting an image in which the same frame image is exposed to light and dark unevenness, and infrared dimming is performed on such an image.
当没有出现同一帧图像曝光上下亮暗不均的图像,则由占空比处理模块32保持PWM调变值的占空比,进行红外调光。When there is no image in which the same frame image is exposed to light and dark unevenness, the duty ratio processing module 32 maintains the duty ratio of the PWM modulation value to perform infrared dimming.
当出现同一帧图像曝光上下亮暗不均的图像,则由占空比处理模块32在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM调变值的占空比,进行红外调光。When an image of the same frame image is exposed to light and dark unevenness, the duty ratio processing module 32 adjusts the duty ratio of the PWM modulation value according to the exposure distribution of the image during the period in which the infrared driver is turned on. Infrared dimming.
上述的占空比处理模块32在红外驱动器开启的时间段内,PWM调变值的占空比的前沿往前推,直到暗的区域减少到可接受的亮度或者是没有暗的区域。PWM调变值的占空比的后沿往后推,只要不会在下方出现暗的区域,确保前后沿可以得到曝光符合设定要求的图像,从而提高夜视画面效果。The duty cycle processing module 32 described above pushes the leading edge of the duty cycle of the PWM modulation value forward during the period in which the infrared driver is turned on until the dark area is reduced to an acceptable brightness or a dark area. The trailing edge of the duty cycle of the PWM modulation value is pushed back, as long as the dark area does not appear below, ensuring that the front and rear edges can obtain an image with the exposure meeting the set requirements, thereby improving the night vision effect.
使用PWM方式可以降低红外补光通电的时间,从而降低发光产生的热量,也降低了功耗,并延长了装置运行寿命;The PWM method can reduce the time of infrared fill light energization, thereby reducing the heat generated by the illumination, reducing the power consumption, and prolonging the operating life of the device;
使用DSP实时分析图像,提升了黑暗环境下获得图像成像清淅效果。The use of DSP to analyze images in real time improves the image clarity of images obtained in dark environments.
上述的用于提高夜视距离和降低功耗的系统,通过PWM以及DSP结合的方式,采用PWM对红外LED进行调光,并结合DSP对图像进行分析,根据分析结果对PWM进行实时的调整,进一步降低功耗,同时保证了图像传感器1曝光所需的补光需求,使成像效果达到高的质量,实现降低红外补光通电的时间,从而降低发光产生的热量,减低功耗,提升了夜视图画的清晰成像效果。The above system for improving night vision distance and reducing power consumption adopts PWM and DSP combination method to dim the infrared LED by PWM, and combines the DSP to analyze the image, and adjusts the PWM in real time according to the analysis result. Further reducing the power consumption, while ensuring the required light filling requirement of the image sensor 1 to achieve high quality of the imaging effect, reducing the time for the infrared fill light to be energized, thereby reducing the heat generated by the light, reducing the power consumption, and improving the night. The clear image of the view is drawn.
上述仅以实施例来进一步说明本发明的技术内容,以便于读者更容易理解,但不代表本发明的实施方式仅限于此,任何依本发明所做的技术延伸或再创造,均受本发明的保护。本发明的保护范围以权利要求书为准。The above technical description of the present invention is further described by way of example only, and is not to be understood by the reader, but the embodiments of the present invention are not limited thereto, and any technology extending or re-creating according to the present invention is subject to the present invention. protection of. The scope of the invention is defined by the claims.

Claims (10)

  1. 用于提高夜视距离和降低功耗的方法,其特征在于,所述方法包括: A method for increasing night vision distance and reducing power consumption, characterized in that the method comprises:
    S1、开机并开启夜视功能,判断是否存在快门同步功能,若存在快门同步功能,则进行S2步骤,或者,若不存在快门同步功能,则进行S3步骤;S1, power on and turn on the night vision function to determine whether there is a shutter synchronization function. If there is a shutter synchronization function, perform step S2, or if there is no shutter synchronization function, proceed to step S3;
    S2、通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光;S2, synchronizing the PWM IR output through the shutter signal, and performing infrared dimming according to the output PWM IR;
    S3、通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光。S3, real-time analysis of the acquired image by the DSP, adjusting the duty ratio of the PWM duty modulation value according to the exposure of the image, and according to the output PWM Duty for infrared dimming.
  2. 根据权利要求1所述的用于提高夜视距离和降低功耗的方法,其特征在于,通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光的步骤,包括以下具体步骤:The method for increasing night vision distance and reducing power consumption according to claim 1, wherein the PWM signal is synchronized by a shutter signal, and the PWM according to the output IR performs infrared dimming steps, including the following specific steps:
    S21、判断红外灯驱动器是否处于关闭时段,若红外灯驱动器处于关闭时段,则进行S22步骤,或者,若红外灯驱动器不处于关闭时段,则进行S23步骤;S21. Determine whether the infrared lamp driver is in the off period. If the infrared lamp driver is in the off period, proceed to step S22, or if the infrared lamp driver is not in the off period, proceed to step S23;
    S22、保持PWM IR的原有输出状态;S22. Maintain the original output state of the PWM IR.
    S23、同步开/关IR发射。S23. Synchronous on/off IR transmission.
  3. 根据权利要求2所述的用于提高夜视距离和降低功耗的方法,其特征在于,所述同步开/关IR发射的步骤,包括以下具体步骤:The method for increasing night vision distance and reducing power consumption according to claim 2, wherein the step of synchronously turning on/off IR transmission comprises the following specific steps:
    S231、判断快门是否处于关闭状态,若快门处于关闭状态,则进行S232步骤,或者,若快门不处于关闭状态,则进行S233步骤;S231, determining whether the shutter is in the closed state, if the shutter is in the closed state, proceeding to step S232, or if the shutter is not in the closed state, proceeding to step S233;
    S232、PWM IR为低脉冲宽度,红外灯关闭;S232, PWM IR is a low pulse width, and the infrared light is turned off;
    S233、PWM IR为高脉冲宽度,红外灯打开。S233, PWM IR is a high pulse width, and the infrared light is turned on.
  4. 根据权利要求1至3任一项所述的用于提高夜视距离和降低功耗的方法,其特征在于,通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光的步骤,包括以下具体步骤:The method for improving night vision distance and reducing power consumption according to any one of claims 1 to 3, characterized in that the acquired image is analyzed in real time by the DSP, and the PWM is adjusted according to the exposure of the image. The duty cycle of the duty modulation value and the infrared dimming step according to the PWM duty of the output, including the following specific steps:
    S31、判断所述图像的每帧的曝光是否符合设定的要求,若所述图像的每帧的曝光符合设定的要求,则进行S32步骤,或者,若所述图像的每帧的曝光不符合设定的要求,则进行S33步骤;S31. Determine whether the exposure of each frame of the image meets the set requirement. If the exposure of each frame of the image meets the set requirement, proceed to step S32, or if the exposure of each frame of the image is not If the requirements of the setting are met, proceed to step S33;
    S32、保持PWM IR调变值的脉冲数量,进行红外调光;S32, maintaining the number of pulses of the PWM IR modulation value, performing infrared dimming;
    S33、在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM duty调变值的占空比,进行红外调光。S33. Adjusting the PWM according to the exposure distribution of the image during a period in which the infrared driver is turned on. The duty ratio of the duty modulation value is used for infrared dimming.
  5. 根据权利要求4所述的用于提高夜视距离和降低功耗的方法,其特征在于,在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM调变值的占空比,进行红外调光的步骤,包括以下具体步骤:The method for increasing night vision distance and reducing power consumption according to claim 4, wherein the duty ratio of the PWM modulation value is adjusted according to the exposure distribution of the image during a period in which the infrared driver is turned on , the step of performing infrared dimming, including the following specific steps:
    S331、将在PWM IR调变值前面增加的脉冲数量的前沿往前推;S331, pushing forward the leading edge of the number of pulses added before the PWM IR modulation value;
    S332、将在PWM IR调变值后面增加的脉冲数量的后沿往后推。S332. Push back the trailing edge of the number of pulses added after the PWM IR modulation value.
  6. 用于提高夜视距离和降低功耗的装置,其特征在于,包括图像传感器、数字信号处理器以及红外灯驱动器;所述图像传感器以及所述红外灯驱动器分别与数字信号处理器连接;当图像传感器存在快门同步功能时,所述图像传感器通过快门信号同步数字信号处理器的PWM IR输出,根据所述数字信号处理器输出的PWM IR驱动红外灯驱动器进行红外调光;当图像传感器不存在快门同步功能时,所述图像传感器将图像发送至数字信号处理器,通过数字信号处理器实时分析采集的图像,根据所述图像的曝光调整数字信号处理器的PWM duty调变值的占空比,并根据输出的PWM duty,驱动所述红外灯驱动器进行红外调光。An apparatus for improving night vision distance and reducing power consumption, comprising: an image sensor, a digital signal processor, and an infrared lamp driver; wherein the image sensor and the infrared lamp driver are respectively connected to a digital signal processor; When the sensor has a shutter synchronization function, the image sensor synchronizes the PWM of the digital signal processor through the shutter signal IR output, according to the PWM output of the digital signal processor The IR driving infrared lamp driver performs infrared dimming; when the image sensor does not have the shutter synchronization function, the image sensor sends the image to the digital signal processor, and the acquired image is analyzed in real time through the digital signal processor, according to the exposure of the image Adjust the PWM of the digital signal processor The duty cycle of the duty modulation value, and according to the PWM duty of the output, the infrared lamp driver is driven to perform infrared dimming.
  7. 用于提高夜视距离和降低功耗的系统,其特征在于,包括快门同步判断单元、快门处理单元以及非快门处理单元;A system for improving night vision distance and reducing power consumption, comprising: a shutter synchronization determination unit, a shutter processing unit, and a non-shutter processing unit;
    所述快门同步判断单元,用于判断是否存在快门同步功能;The shutter synchronization determining unit is configured to determine whether a shutter synchronization function exists;
    所述快门处理单元,用于通过快门信号同步PWM IR输出,根据输出的PWM IR进行红外调光;The shutter processing unit is configured to synchronously PWM IR output through a shutter signal, and perform infrared dimming according to the output PWM IR;
    所述非快门处理单元,用于通过DSP实时分析采集的图像,根据所述图像的曝光调整PWM duty调变值的占空比,并根据输出的PWM duty进行红外调光。The non-shutter processing unit is configured to analyze the acquired image in real time through the DSP, and adjust the PWM according to the exposure of the image. The duty cycle of the duty modulation value, and infrared dimming according to the PWM duty of the output.
  8. 根据权利要求7所述的用于提高夜视距离和降低功耗的系统,其特征在于,所述快门处理单元包括驱动器判断模块、原状态保持模块以及同步发射模块;The system for improving night vision distance and reducing power consumption according to claim 7, wherein the shutter processing unit comprises a driver judging module, an original state maintaining module, and a synchronous transmitting module;
    所述驱动器判断模块,用于判断红外灯驱动器是否处于关闭时段;The driver determining module is configured to determine whether the infrared light driver is in a closing period;
    所述原状态保持模块,用于若红外灯驱动器处于关闭时段,保持PWM IR的原有输出状态;The original state maintaining module is configured to maintain an original output state of the PWM IR if the infrared lamp driver is in a off period;
    所述同步发射模块,用于若红外灯驱动器不处于关闭时段,同步开/关IR发射。The synchronous transmitting module is configured to synchronously turn on/off IR transmission if the infrared light driver is not in the off period.
  9. 根据权利要求8所述的用于提高夜视距离和降低功耗的系统,其特征在于,所述同步发射模块包括快门状态判断子模块以及处理子模块;The system for improving night vision distance and reducing power consumption according to claim 8, wherein the synchronous transmitting module comprises a shutter state determining sub-module and a processing sub-module;
    所述快门状态判断子模块,用于判断快门是否处于关闭状态;The shutter state determining submodule is configured to determine whether the shutter is in a closed state;
    所述处理子模块,用于若快门处于关闭状态,PWM IR为低脉冲宽度,红外灯关闭,或者,若快门不处于关闭状态,PWM IR为高脉冲宽度,红外灯打开。The processing sub-module is configured to: if the shutter is in a closed state, the PWM IR is a low pulse width, the infrared light is turned off, or, if the shutter is not in a closed state, the PWM IR is a high pulse width and the IR light is on.
  10. 根据权利要求9所述的用于提高夜视距离和降低功耗的系统,其特征在于,所述非快门处理单元包括曝光程度判断模块以及占空比处理模块;The system for improving night vision distance and reducing power consumption according to claim 9, wherein the non-shutter processing unit comprises an exposure degree judging module and a duty ratio processing module;
    所述曝光程度判断模块,用于判断所述图像的每帧的曝光是否符合设定的要求;The exposure degree determining module is configured to determine whether an exposure of each frame of the image meets a set requirement;
    所述占空比处理模块,用于若所述图像的每帧的曝光符合设定的要求,保持PWM duty调变值的占空比,进行红外调光,或者,若所述图像的每帧的曝光不符合设定的要求,在红外驱动器开启的时间段内,根据所述图像的曝光分布情况调整PWM duty调变值的占空比,进行红外调光。The duty ratio processing module is configured to maintain PWM if an exposure of each frame of the image meets a set requirement The duty ratio of the duty modulation value is infrared dimming, or if the exposure of each frame of the image does not meet the set requirement, the exposure distribution of the image is adjusted during the period in which the infrared driver is turned on. PWM The duty ratio of the duty modulation value is used for infrared dimming.
PCT/CN2017/084036 2017-05-12 2017-05-12 Method for improving night vision distance and reducing power consumption, apparatus and system WO2018205235A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084036 WO2018205235A1 (en) 2017-05-12 2017-05-12 Method for improving night vision distance and reducing power consumption, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/084036 WO2018205235A1 (en) 2017-05-12 2017-05-12 Method for improving night vision distance and reducing power consumption, apparatus and system

Publications (1)

Publication Number Publication Date
WO2018205235A1 true WO2018205235A1 (en) 2018-11-15

Family

ID=64104087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084036 WO2018205235A1 (en) 2017-05-12 2017-05-12 Method for improving night vision distance and reducing power consumption, apparatus and system

Country Status (1)

Country Link
WO (1) WO2018205235A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188109A (en) * 2019-07-04 2021-01-05 深圳市航盛电子股份有限公司 Camera debugging method and device and electronic equipment
CN113395428A (en) * 2021-06-20 2021-09-14 杭州登虹科技有限公司 Self-adaptive algorithm for full-color night-vision white light lamp
CN113709936A (en) * 2021-08-26 2021-11-26 漳州立达信光电子科技有限公司 Constant light adjusting method and system for self-defined area
CN115086568A (en) * 2022-06-17 2022-09-20 上海富瀚微电子股份有限公司 Interframe power consumption compensation method of vehicle-mounted analog camera
CN116962891A (en) * 2023-07-12 2023-10-27 北京万里红科技有限公司 Iris image acquisition infrared lamp light supplementing method, device, medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005534551A (en) * 2002-07-09 2005-11-17 ジェンテックス コーポレイション Vehicle vision system with high dynamic range
CN102170565A (en) * 2011-04-11 2011-08-31 天津汇讯视通科技有限公司 Method for realizing VAAL of infrared product
CN105306796A (en) * 2015-10-10 2016-02-03 安霸半导体技术(上海)有限公司 Night vision equipment with regular infrared illumination function and global shutter CMOS (Complementary Metal Oxide Semiconductor) sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005534551A (en) * 2002-07-09 2005-11-17 ジェンテックス コーポレイション Vehicle vision system with high dynamic range
CN102170565A (en) * 2011-04-11 2011-08-31 天津汇讯视通科技有限公司 Method for realizing VAAL of infrared product
CN105306796A (en) * 2015-10-10 2016-02-03 安霸半导体技术(上海)有限公司 Night vision equipment with regular infrared illumination function and global shutter CMOS (Complementary Metal Oxide Semiconductor) sensor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188109A (en) * 2019-07-04 2021-01-05 深圳市航盛电子股份有限公司 Camera debugging method and device and electronic equipment
CN112188109B (en) * 2019-07-04 2022-04-19 深圳市航盛电子股份有限公司 Camera debugging method and device and electronic equipment
CN113395428A (en) * 2021-06-20 2021-09-14 杭州登虹科技有限公司 Self-adaptive algorithm for full-color night-vision white light lamp
CN113709936A (en) * 2021-08-26 2021-11-26 漳州立达信光电子科技有限公司 Constant light adjusting method and system for self-defined area
CN115086568A (en) * 2022-06-17 2022-09-20 上海富瀚微电子股份有限公司 Interframe power consumption compensation method of vehicle-mounted analog camera
CN116962891A (en) * 2023-07-12 2023-10-27 北京万里红科技有限公司 Iris image acquisition infrared lamp light supplementing method, device, medium and equipment

Similar Documents

Publication Publication Date Title
WO2018205235A1 (en) Method for improving night vision distance and reducing power consumption, apparatus and system
WO2016154926A1 (en) Imaging device and light compensation control method and system therefor, and movable object
WO2017215116A1 (en) Photographing method and system for smart television
WO2018120074A1 (en) Night-vision switching method for monitoring photographing apparatus, and system thereof
WO2014194483A1 (en) Electronic cigarette with brightness-adjustable head lamp and brightness adjustment method therefor
WO2016106976A1 (en) Method and device for adjusting backlight brightness
WO2018161685A1 (en) Method for achieving television theater mode, device, equipment and storage medium
WO2016056787A1 (en) Display device and method of controlling the same
WO2020204531A1 (en) Tv control system and tv control device suitable therefor
WO2015141925A1 (en) Photographing apparatus, method of controlling the same, and computer-readable recording medium
WO2012086966A2 (en) Method for using a wireless communication device to conveniently capture a quality image of an iris and a subject, and camera device transmitting a partial range of visible rays and near infrared rays through a single bandpass filter
CN102148929A (en) Imaging device, imaging device control method and program
WO2019076087A1 (en) Television and display image effect control method therefor, and computer-readable storage medium
WO2019051683A1 (en) Fill light photography method, mobile terminal and computer-readable storage medium
WO2016187998A1 (en) Method and device for dynamically adjusting backlight
WO2020004837A1 (en) Automatic polarization control device and method
WO2017190452A1 (en) Backlight self-adaptive regulation method and apparatus
WO2019237505A1 (en) Picture quality optimization method, device and apparatus based on local dimming, and storage medium
WO2018227869A1 (en) Display screen picture adjusting method, display terminal, and readable storage medium
WO2017206368A1 (en) High-dynamic range picture switching method and apparatus
WO2018103187A1 (en) Monitor image formation method and system for monitoring device
WO2019017641A1 (en) Electronic device and image compression method of electronic device
WO2020085873A1 (en) Camera and terminal having same
WO2018058831A1 (en) Display screen backlight brightness adjustment method and apparatus
WO2018000737A1 (en) Flying body temperature detector control method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17909339

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17909339

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17909339

Country of ref document: EP

Kind code of ref document: A1