CN106375705B - Prevent the mthods, systems and devices that thermal camera is restarted - Google Patents
Prevent the mthods, systems and devices that thermal camera is restarted Download PDFInfo
- Publication number
- CN106375705B CN106375705B CN201510431287.8A CN201510431287A CN106375705B CN 106375705 B CN106375705 B CN 106375705B CN 201510431287 A CN201510431287 A CN 201510431287A CN 106375705 B CN106375705 B CN 106375705B
- Authority
- CN
- China
- Prior art keywords
- voltage
- supply voltage
- value
- light board
- thermal camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a kind of mthods, systems and devices for preventing thermal camera from restarting.Wherein, this method comprises: the supply voltage of detection thermal camera;Judge the lower limit value whether supply voltage is greater than between region of stable values;Supply voltage be greater than region of stable values between lower limit value in the case where, the equivalent voltage of pulse width modulation is adjusted according to the first preset rules, until the brightness of infrared lamp included in infrared light board reaches maximum value, wherein equivalent voltage is used to control the brightness of infrared lamp;Supply voltage be less than or equal to region of stable values between lower limit value in the case where, according to the second preset rules adjust pulse width modulation equivalent voltage so that the brightness of infrared lamp included in infrared light board reduces.The present invention solves the problems, such as that how to be effectively prevented thermal camera in the prior art restarts.
Description
Technical field
The present invention relates to field of video monitoring, in particular to a kind of method for preventing thermal camera from restarting, system
And device.
Background technique
Currently, thermal camera is because the power cable of power supply over long distances is generally longer, for thermal camera at night
Need to open infrared lamp when work, infrared lamp open when, electric current become larger will lead on power cable pressure drop decline it is excessive,
So that the supply voltage of thermal camera is insufficient, the phenomenon that thermal camera is restarted will lead in this way.
In order to solve the problems, such as that the caused on long range is powered of thermal camera is restarted, in the related art, generally
The opening and closing of part infrared lamp are directly controlled using low and high level.However, this control mode is simple, the control to infrared lamp
System cannot effectively obtain current real-time voltage value, be easy to produce and restart phenomenon, risk is big without carrying out feedback control.
Aiming at the problem that how to be effectively prevented thermal camera in the prior art and restart, effective solution is not yet proposed at present
Certainly scheme.
Summary of the invention
The main purpose of the present invention is to provide a kind of mthods, systems and devices for preventing thermal camera from restarting, with solution
Certainly how to be effectively prevented the problem of thermal camera is restarted in the prior art.
To achieve the goals above, according to an aspect of an embodiment of the present invention, providing one kind prevents thermal camera
The method restarted, comprising: detect the supply voltage of thermal camera;Judge the lower limit whether supply voltage is greater than between region of stable values
Value;Supply voltage be greater than region of stable values between lower limit value in the case where, according to the first preset rules adjust pulse width modulation
Equivalent voltage, until the brightness of infrared lamp included in infrared light board reaches maximum value, wherein equivalent voltage is for controlling
The brightness of infrared lamp;Supply voltage be less than or equal to region of stable values between lower limit value in the case where, according to the second preset rules tune
The equivalent voltage for saving pulse width modulation, so that the brightness of infrared lamp included in infrared light board reduces.
To achieve the goals above, according to another aspect of an embodiment of the present invention, providing one kind prevents thermal camera
The system restarted, comprising: power interface is the supply voltage that thermal camera provides for receiving power supply circuit;Processing circuit,
For reading supply voltage from power interface, and judge the lower limit value whether supply voltage is greater than between region of stable values;First is adjusted
Circuit, for supply voltage be greater than region of stable values between lower limit value in the case where, according to the first preset rules adjust pulse it is wide
The equivalent voltage of modulation is spent, until the brightness of infrared lamp included in infrared light board reaches maximum value, wherein equivalent voltage is used
In the brightness of control infrared lamp;Second adjusts circuit, the feelings of the lower limit value for being less than or equal between region of stable values in supply voltage
Under condition, the equivalent voltage of pulse width modulation is adjusted according to the second preset rules, so that infrared lamp included in infrared light board
Brightness reduce.
To achieve the goals above, according to another aspect of an embodiment of the present invention, providing one kind prevents thermal camera
The device restarted, comprising: detection module, for detecting the supply voltage of thermal camera;Judgment module, for judging power supply electricity
Whether pressure is greater than the lower limit value between region of stable values;First adjustment module, the lower limit for being greater than between region of stable values in supply voltage
In the case where value, the equivalent voltage of pulse width modulation is adjusted according to the first preset rules, until included in infrared light board
The brightness of infrared lamp reaches maximum value, wherein equivalent voltage is used to control the brightness of infrared lamp;Second adjustment module is used for
In the case that supply voltage is less than or equal to the lower limit value between region of stable values, pulse width modulation is adjusted according to the second preset rules
Equivalent voltage, so that the brightness of infrared lamp included in infrared light board reduces.
According to embodiments of the present invention, the method by preventing from restarting in thermal camera, solve in the prior art how
It is effectively prevented the problem of thermal camera is restarted, reduces the number of thermal camera abnormal restarting.
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method according to an embodiment of the present invention for preventing thermal camera from restarting;
Fig. 2 is a kind of flow chart of method for optionally preventing thermal camera from restarting according to an embodiment of the present invention;
Fig. 3 is the flow chart of another method for optionally preventing thermal camera from restarting according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of the system according to an embodiment of the present invention for preventing thermal camera from restarting;
Fig. 5 is a kind of schematic diagram of system for optionally preventing thermal camera from restarting according to an embodiment of the present invention;With
And
Fig. 6 is the schematic diagram of the device according to an embodiment of the present invention for preventing thermal camera from restarting.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for method for preventing thermal camera from restarting is provided.
The embodiment of the invention provides a kind of methods for preventing thermal camera from restarting.This method can be infrared by preventing
Device that video camera is restarted realizes, but not limited to this.
Fig. 1 is the flow chart of the method according to an embodiment of the present invention for preventing thermal camera from restarting.As shown in Figure 1, should
Method may include steps of:
Step S101 detects the supply voltage of thermal camera.
In above-mentioned steps S101, under night state, the microprocessor in thermal camera controls single thermal camera
Member control thermal camera coloured silk turns black, and opens the infrared lamp that infrared light board is included, and needs first in the opening process of infrared lamp
Detect the supply voltage of thermal camera, wherein the supply voltage can pass through the resistance of the power interface of thermal camera
Partial pressure obtains, and above-mentioned microprocessor control unit can be single-chip microcontroller, by detecting the supply voltage of thermal camera, Ke Yishi
When learn the voltage condition for being supplied to thermal camera, to prevent from making infrared photography since the control electric current of infrared lamp is larger
The supply voltage of machine decreases below stable operating voltage, and leads to restarting for thermal camera.
It should be further noted that color turn the black day and night switching function for referring to thermal camera and having.Coloured silk turns black and refers to
When thermal camera is in night operation, the screening-mode for controlling thermal camera turns black and white by colour, switches optical filter, opens
Infrared lamp;Black turn of coloured silk refers to that the screening-mode for controlling thermal camera turns coloured silk by black and white when thermal camera is when working by day
Color switches optical filter, closes infrared lamp.Wherein, when external environment brightness is darker, the screening-mode of thermal camera is black and white
The brightness of state, infrared lamp can carry out light filling, the more strong then video camera of the brightness of infrared lamp light filling for the shooting of infrared-ray machine
Low-light (level) effect it is better.
Step S103 judges the lower limit value whether supply voltage is greater than between region of stable values.
Wherein, supply voltage be greater than region of stable values between lower limit value in the case where, execute step S105;In supply voltage
In the case where the lower limit value between region of stable values, step S107 is executed.
In above-mentioned steps S103, after detecting the supply voltage of thermal camera, judge whether the supply voltage is big
Lower limit value between region of stable values, wherein aforementioned stable value section is required in normal operation according to thermal camera
The voltage wanted can be [7.2,8.5] between region of stable values employed in the embodiment of the present invention, unit is volt come what is determined.
In an alternative embodiment, whether step S103 can be greater than 7.2V for the detected supply voltage of judgement.
By judging that supply voltage determines the relationship of the lower limit value between the supply voltage and region of stable values, work as thermal camera
Supply voltage lower than lower limit value between the region of stable values when, control the control electric current of infrared lamp, in time to ensure infrared photography
Machine works under normal operating voltage, can restart to avoid the thermal camera.
Step S105 adjusts the equivalent voltage of pulse width modulation according to the first preset rules, until institute in infrared light board
The brightness for the infrared lamp for including reaches maximum value.Wherein, equivalent voltage is used to control the brightness of infrared lamp.
In above-mentioned steps S105, the judgement of S103 is obtained through the above steps, between supply voltage is greater than region of stable values
Lower limit value in the case where, continue between region of stable values be [7.2,8.5] for, supply voltage be greater than 7.2V in the case where,
The equivalent voltage of pulse width modulation (Pulse Width Modulating, referred to as PWM) is adjusted according to the first preset rules,
Until the brightness of infrared lamp included in infrared light board reaches maximum value.In this embodiment, above-mentioned first preset rules can
To be rule that developer sets in advance, while above-mentioned first preset rules can be done according to the variation between region of stable values
Adjustment, finally, by the first preset rules adjust PWM equivalent voltage until infrared light board included in infrared lamp brightness
Maximum makes infrared lamp all light included in infrared light board (i.e. brightness is maximum) by the first preset rules, can there is step
Adjusting infrared lamp control electric current, step up the brightness of infrared lamp, avoid the control in the prior art due to infrared lamp
The problem of electric current is larger, causes the supply voltage of thermal camera relatively low and restarts thermal camera.
Step S107 adjusts the equivalent voltage of pulse width modulation according to the second preset rules, so that institute in infrared light board
The brightness for the infrared lamp for including reduces.
In above-mentioned steps S107, the judgement of S103 is obtained through the above steps, is less than or equal to stationary value in supply voltage
In the case of the lower limit value in section, continue for [7.2,8.5], to be less than or equal to the feelings of 7.2V in supply voltage between region of stable values
Under condition, the equivalent voltage of PWM is adjusted, according to the second preset rules to reduce the brightness of infrared lamp included in infrared light board.
Here, above-mentioned second preset rules can be the rule that developer sets in advance, meanwhile, above-mentioned second preset rules can be with
It is adjusted according to the variation between region of stable values, finally, the equivalent voltage for adjusting PWM by the second preset rules is infrared to reduce
The brightness of infrared lamp included in lamp plate passes through after detecting that supply voltage is less than the stable operating voltage of thermal camera
The control electric current for reducing infrared lamp reduces the brightness of infrared lamp, so that the supply voltage of thermal camera be allowed to return to steady operation
On voltage, restarting for thermal camera is avoided.
Judge whether the supply voltage is greater than stabilization after the supply voltage of detection thermal camera using the present invention
It is worth the lower limit value in section;The supply voltage be greater than region of stable values between lower limit value in the case where, according to the first preset rules tune
The equivalent voltage of PWM is saved, until the brightness of infrared lamp included in infrared light board is maximum;It is less than or equal in the supply voltage steady
In the case where the lower limit value in definite value section, the equivalent voltage of PWM is adjusted according to the second preset rules, reduces the brightness of infrared lamp,
To allow the supply voltage of thermal camera to return on stable operating voltage, restarting for thermal camera is avoided.Pass through this
Inventive embodiments solve the problems, such as that how to be effectively prevented thermal camera in the prior art restarts, and significantly reduces red
The number that outer video camera is restarted.
Optionally, step S105 may include:
Step S1051, judges whether supply voltage is greater than preset threshold.
Step S1053, supply voltage be greater than preset threshold in the case where, adjust pulse width modulation equivalent voltage according to
The first preset voltage value of secondary increase.
Step S1055 adjusts the equivalent electricity of pulse width modulation in the case where supply voltage is less than or equal to preset threshold
Pressure successively increases the second preset voltage value.Wherein, the first preset voltage value is greater than the second preset voltage value.
In above-mentioned steps S1051 into step S1055, it is main introduce how according to the first preset rules adjust PWM etc.
Voltage is imitated, until the brightness of infrared lamp included in infrared light board reaches maximum value.
First, it is determined that whether supply voltage is greater than preset threshold, optionally, preset threshold can be 9V.
In the case where supply voltage is greater than 9V, the equivalent voltage for adjusting PWM successively increases the first preset voltage value, to open
Open infrared lamp included in infrared light board, wherein above-mentioned first preset voltage value can be 61.8mV.It is less than in supply voltage
In the case where equal to 9V, the equivalent voltage for adjusting PWM successively increases the second preset voltage value, included in Lai Kaiqi infrared light board
Infrared lamp, wherein above-mentioned second preset voltage value can be 4.125mV.
Optionally, the first preset voltage value is successively increased in the equivalent voltage for adjusting pulse width modulation or adjusting pulse is wide
After the equivalent voltage of degree modulation successively increases the second preset voltage value, the above method can also include: in detection infrared light board
Whether the present intensity for the infrared lamp for being included reaches maximum value, wherein is detecting infrared lamp included in infrared light board
Present intensity be not up to maximum value in the case where, return execute according to the first preset rules adjust pulse width modulation it is equivalent
Voltage.
Specifically, after increasing by first preset voltage value or the second preset voltage value, institute in infrared light board is detected
The case where whether brightness for the infrared lamp for including reaches maximum value, and the infrared lamp included in infrared light board is not up to maximum value
Under, that is, infrared lamp included in infrared light board is not most bright, is adjusted at this point, returning and executing according to the first preset rules
The equivalent voltage of PWM executes the first preset rules by returning until the brightness of infrared lamp is most bright to reach step by step, in real time
Ground adjusts to the equivalent voltage of PWM, finally ensures that the supply voltage of thermal camera is not less than stable operating voltage.
For example, the control electric current of infrared lamp will become larger, and the brightness of infrared lamp will after the equivalent voltage of PWM increases
Become larger, at this point, the pressure drop on long range power cable just will increase, since power supply adaptor output DC12V stablizes constant, therefore mentions
The voltage for being supplied to infrared photography generator terminal will decline, when drop to a certain value (such as the lower limit value between region of stable values, that is, on
State corresponding 7.2V in text) after, thermal camera will restart phenomenon since supply voltage deficiency generates, therefore detect power supply
After voltage drops to " lower limit value between region of stable values ", the equivalent voltage of PWM can be reduced, make the control current reduction of infrared lamp,
To make the pressure drop on long range power cable decline, increase the supply voltage of infrared photography generator terminal, prevent infrared take the photograph
Camera occurs restarting phenomenon.
Optionally, step S107 adjusts the equivalent voltage of pulse width modulation according to the second preset rules, so that infrared lamp
The brightness of infrared lamp included in plate reduces
Step S1071, the equivalent voltage for adjusting pulse width modulation reduce third preset voltage value.
It is main that the equivalent voltage that PWM how is adjusted according to the second preset rules introduced in above-mentioned steps S1071, due to
Supply voltage is less than or equal to the lower limit value (e.g., the 7.2V in above-described embodiment) between region of stable values, in this case, due to red
The supply voltage of outer video camera is lower than stable operating voltage, therefore infrared lamp included in infrared light board is to can not reach most
It (i.e. brightness reaches maximum value) of big brightness needs to make by the equivalent voltage reduction third preset voltage value for adjusting PWM infrared
The supply voltage of video camera keeps stablizing, and hereafter, the brightness of infrared lamp remains unchanged, so far, the opening process knot of infrared light board
Beam.
Optionally, third preset voltage value can be identical as the first preset voltage value, i.e., third preset voltage value can be
61.8mV。
In the above embodiment of the present invention, before step S101, the above method can also include:
Step S1 reads the analog voltage signal of infrared light board, wherein analog voltage signal is used to indicate thermal camera
Locating ambient brightness state.
Step S3, judges whether analog voltage signal is less than the unlatching threshold value of infrared light board.
Wherein, in the case where analog voltage signal is less than and opens threshold value, step S5 is executed;It is greater than in analog voltage signal
In the case where opening threshold value, step S7 is executed.
Step S5 opens the infrared light board of thermal camera.
Step S7 returns to the analog voltage signal for re-reading infrared light board.
In above-mentioned steps S1 into step S7, before the supply voltage of detection thermal camera, infrared light board is read
Analog voltage signal, the analog voltage signal are generated by the photo resistance on infrared light board, the photo resistance it is photosensitive
Characteristic can change with the variation of ambient brightness, and local device i.e. microprocessor control unit are by reading simulation
Voltage signal determines current environment brightness state.
After having read the analog voltage signal of infrared light board, then judge whether analog voltage signal is less than infrared lamp
The unlatching threshold value of plate opens the infrared of thermal camera in the case where read analog voltage signal is less than and opens threshold value
Lamp plate, that is to say, that analog voltage signal is less than unlatching threshold value and illustrates that current environment brightness has reached unlatching infrared light board
Critical value;In the case where read analog voltage signal is more than or equal to and opens threshold value, return re-reads infrared light board
Analog voltage, that is to say, that analog voltage signal be more than or equal to open threshold value illustrate current environment brightness not up to open it is infrared
The critical value of lamp plate re-reads the analog voltage signal of infrared light board, to recycle the analog voltage signal for reading infrared light board
Mode achieve the purpose that current environment brightness carry out real-time monitoring.
For example, microprocessor control unit detects that analog voltage signal is less than a certain setting when ambient brightness is dimmed
When value, single-chip microcontroller controls thermal camera coloured silk and turns black, and opens infrared lamp;When ambient brightness brightens, microprocessor control unit
When detecting that analog voltage signal is more than or equal to a certain setting value, infrared light board is closed in microprocessor control unit control, infrared
Black turn of coloured silk of video camera, in this way, can achieve the purpose for opening infrared light board in time in night dark by real time monitoring.
Optionally, after the infrared light board for opening thermal camera, the above method can also include:
Step S2 reads the analog voltage signal of infrared light board.
Step S4, judges whether analog voltage signal is greater than the closing threshold value of infrared light board.
Step S6 then closes infrared light board in the case where analog voltage signal is greater than and closes threshold value.
Step S8 detects the power supply electricity of thermal camera in the case where analog voltage signal is less than or equal to close threshold value
Whether pressure falls between region of stable values.
Step S10 returns to the simulation electricity for re-reading infrared light board in the case where supply voltage is fallen between region of stable values
Press signal.
Step S12 adjusts pulse width tune according to supply voltage in the case where supply voltage is not fallen between region of stable values
The equivalent voltage of system, until supply voltage is fallen between region of stable values.
In above-mentioned steps S2 into step S12, after infrared light board is completed to open, the analog voltage of infrared light board is read
Signal, and judge whether above-mentioned analog voltage signal is greater than the closing threshold value of infrared light board;It is greater than in above-mentioned analog voltage signal
In the case where closing threshold value, illustrate that current environment brightness has reached the critical value for closing infrared light board, at this point, closing infrared lamp
Plate;In the case where above-mentioned analog voltage signal is less than or equal to close threshold value, it is infrared to illustrate that current environment brightness is not up to closed
The critical value of lamp plate detects the supply voltage of thermal camera and judges whether detected supply voltage falls into region of stable values
Between.
Further, it when whether the detected supply voltage of judgement falls between region of stable values, is fallen into supply voltage
In the case where between region of stable values, illustrate that the supply voltage of thermal camera is within the scope of stationary value, does not need by adjusting PWM
Equivalent voltage adjust supply voltage, so the analog voltage signal for re-reading infrared light board is back to, in this way, with circulation
Mode monitor analog voltage signal in real time to control the closing of the infrared lamp and unlatching, real time monitoring power supply in a circulating manner
Pressure is to prevent restarting for the thermal camera.
In this embodiment, in the case where supply voltage is not fallen between region of stable values, illustrate that thermal camera has and restart
Danger need the equivalent voltage for adjusting PWM according to supply voltage until above-mentioned confession so thermal camera is restarted in order to prevent
Piezoelectric voltage is fallen between region of stable values, in this way, by adjust PWM equivalent voltage make supply voltage fall into region of stable values between, have
Effect supply voltage is prevented to restart in the case where not falling between region of stable values.
Optionally, above-mentioned steps S12 may include:
Step S121, in supply voltage greater than infrared lamp included in the upper limit value between region of stable values and infrared light board
In the case that brightness is not up to maximum value, the equivalent voltage of pulse width modulation is adjusted according to the first preset rules, until power supply
Voltage is fallen between region of stable values.
Step S123, in supply voltage less than infrared lamp included in the lower limit value between region of stable values and infrared light board
In the case that brightness is not up to maximum value, the equivalent voltage of pulse width modulation is adjusted according to third preset rules.
Step S125, in supply voltage less than infrared lamp included in the lower limit value between region of stable values and infrared light board
In the case that brightness reaches maximum value, the equivalent voltage of pulse width modulation is adjusted to the 4th preset voltage value.
It is main to introduce the case where supply voltage is not fallen between region of stable values in above-mentioned steps S121 into step S125
Under, the equivalent voltage of PWM how is adjusted according to supply voltage, until supply voltage is fallen between region of stable values.
In an alternative embodiment, the relationship between supply voltage and region of stable values is first determined whether.In this embodiment,
The case where supply voltage is not fallen between region of stable values can point following two situation, wherein the first situation is that supply voltage is big
Upper limit value between region of stable values, second situation be supply voltage be less than region of stable values between lower limit value, below with reference to this two
Kind situation is illustrated the above embodiment of the present invention.
In the first scenario, i.e., supply voltage be greater than region of stable values between upper limit value in the case where, judge infrared lamp
Whether the brightness of infrared lamp included in plate is maximum value: if the brightness of infrared lamp included in infrared light board reaches maximum
Value then returns to the analog voltage signal for continuing to execute and reading infrared light board, and judges whether analog voltage signal is greater than infrared lamp
The closing threshold value of plate;If the brightness of infrared lamp included in infrared light board is not up to maximum value, according in above-described embodiment
First preset rules adjust the equivalent voltage of PWM, until supply voltage is fallen into region of stable values.
It optionally, can be with according to the equivalent voltage that the first preset rules adjust PWM are as follows: be greater than preset threshold in supply voltage
In the case where (such as 9V), illustrate more between supply voltage deviates region of stable values, then needs to carry out larger amplitude to the equivalent voltage of PWM
The adjusting of degree, to achieve the purpose that quickly to adjust the equivalent voltage of PWM, the equivalent voltage of adjustable PWM is successively increased at this time
First preset voltage value (such as 61.8mV);In the case where supply voltage is less than or equal to preset threshold, illustrate that supply voltage deviates
It is smaller between region of stable values, then need pulse-width modulated PWM equivalent voltage to adjust compared with small magnitude, to prevent large range of tune
The equivalent voltage of section PWM causes thermal camera to be restarted, and the equivalent voltage of adjustable PWM successively increases the second default electricity at this time
Pressure value (such as 4.125mV).Eventually by the interval division to supply voltage, for different sections respectively to the equivalent electricity of PWM
Pressure carries out different adjustings, and supply voltage is quickly adjusted to and is fallen between region of stable values, is more fast and effeciently prevented
Restarting for thermal camera is stopped.
In the latter case, i.e., supply voltage be less than region of stable values between lower limit value in the case where, equally sentence first
Whether the brightness of infrared lamp included in disconnected infrared light board is maximum value: if the brightness of infrared lamp included in infrared light board reaches
To maximum value, i.e., the equivalent voltage that PWM was not carried out in the opening process of infrared light board is adjusted, then PWM's at this time is equivalent
Voltage is its maximum value (such as 1.5V), is directly adjusted to the equivalent voltage of PWM the 4th preset voltage value (e.g., 1.2V), and with
Start to adjust down based on the equivalent voltage of PWM after reduction, until supply voltage is fallen between region of stable values or infrared lamp
Brightness minimize value (i.e. infrared lamp completely closes), to achieve the purpose that prevent thermal camera from restarting;If infrared light board
Included in the brightness of infrared lamp be not up to maximum value, then adjust the equivalent voltage of PWM, according to third preset rules to reach anti-
The only purpose that thermal camera is restarted.
Optionally, step S123, in supply voltage less than included in the lower limit value between region of stable values and infrared light board
It, can according to the equivalent voltage that third preset rules adjust pulse width modulation in the case that the brightness of infrared lamp is not up to maximum value
To include:
Step S1231 judges whether the brightness of infrared lamp included in infrared light board is minimum.
Wherein, in the case that the brightness of the infrared lamp included in infrared light board is not minimum, step is executed
S1233;In the case that the brightness of the infrared lamp included in infrared light board is minimum, step S1235 is executed.
Step S1233 adjusts the equivalent voltage of pulse width modulation according to the second preset rules, until supply voltage is fallen into
Between region of stable values.
Step S1235 returns to the analog voltage signal for re-reading infrared light board.
In above-mentioned steps S1231 into step S1235, it is main introduce how according to third preset rules adjust PWM etc.
Imitate voltage.In this embodiment, whether the brightness for first determining whether infrared lamp included in infrared light board is minimum, i.e., infrared
Whether lamp completely closes: in the case where the brightness of infrared lamp is not minimum, according to the second default rule in above-described embodiment
The equivalent voltage of PWM is then adjusted, until the supply voltage of thermal camera is fallen between region of stable values;It is most in the brightness of infrared lamp
In the case where low value, i.e., infrared lamp has completely closed, and then returns to the analog voltage signal for re-reading infrared light board at this time, and
Judge whether analog voltage signal is greater than the closing threshold value of infrared light board.
It optionally, can be with according to the equivalent voltage that the second preset rules adjust PWM are as follows: be less than region of stable values in supply voltage
Between lower limit value (such as 7.2V) in the case where, illustrate that supply voltage is relatively low, thermal camera has the risk restarted, then needs pair
The equivalent voltage of PWM carries out adjusting by a relatively large margin, to reach the equivalent voltage for quickly adjusting PWM, to improve supply voltage
Purpose, at this time adjustable PWM equivalent voltage reduce third preset voltage value (such as 61.8mV), prevent infrared take the photograph to reach
The purpose that camera is restarted.
Above-described embodiment through the invention judges the state of infrared lamp included in infrared light board, for different red
Outer lamp state carries out different adjustings to the equivalent voltage of PWM respectively, and supply voltage is quickly adjusted to and is fallen into surely
Definite value section more fast and effeciently prevents restarting for thermal camera.
What needs to be explained here is that above-mentioned preset threshold, closing threshold value, unlatching threshold value, the first preset voltage value and second
Preset voltage value is that developer summarizes obtained data according to test of many times, and can be with the power supply of thermal camera
The variation of voltage and change;The equivalent voltage for adjusting PWM is mainly the duty ratio of adjusting PWM to change the equivalent voltage of PWM
Size.
Below just combine Fig. 2 and Fig. 3, between region of stable values be [7.2,8.5], preset threshold 9V, the first predeterminated voltage
Value is 61.8mV, and the second preset voltage value is 4.125mV, for third preset voltage value is 61.8mV, opens threshold value and uses
THNIGHT indicates that close threshold value is indicated with THDAY, the implementation to the method provided by the invention for preventing thermal camera from restarting
Mode is described in detail as follows:
Fig. 2 is a kind of flow chart of method for optionally preventing thermal camera from restarting according to an embodiment of the present invention, with
For the opening process of infrared lamp on infrared light board, the above embodiment of the present invention is discussed in detail.As shown in Fig. 2, infrared lamp
Opening process is as follows:
Step S201, the value of real-time detection supply voltage.
Step S202, judges whether the value of supply voltage is greater than 7.2V.
Wherein, in the case where the value of supply voltage is not more than 7.2V, step S203 is executed;It is greater than in the value of supply voltage
In the case where 7.2V, step S204 or step S205 is executed.
The equivalent voltage of PWM is reduced by one grade by step S203, i.e. reduction 61.8mV.
Wherein, after the equivalent voltage of PWM reduces 61.8mV, the brightness of infrared lamp is remained unchanged, the unlatching of infrared lamp
Process terminates.
The equivalent voltage of PWM is increased 61.8mV if the value of supply voltage is greater than 9V by step S204 every time.
Step S205, if the value of supply voltage in 7.2V between 9V, the equivalent voltage of PWM is increased every time
4.125mV。
Step S206, judges whether infrared lamp included in infrared light board is all turned on.
Specifically, judge whether the brightness of infrared lamp included in infrared light board reaches maximum value, if infrared lamp is bright
Degree reaches maximum value, then judges that infrared lamp has been all turned on;If brightness is not up to maximum value, judge infrared lamp not all
It opens.
Wherein, in the case where judging that infrared lamp has been all turned on, infrared lamp opening process terminates;Judge it is infrared
In the case that lamp is not all turned on, S201 is returned to step.
Fig. 3 is the flow chart of another method for optionally preventing thermal camera from restarting according to an embodiment of the present invention,
By taking control method of thermal camera before and after infrared lamp is opened as an example, the above embodiment of the present invention is discussed in detail.Such as
Method shown in Fig. 3 may include steps of:
Step A, thermal camera coloured silk turn black beginning.
Specifically, thermal camera detects that ambient brightness is dimmed, needs to turn black and white screening-mode, and open infrared lamp.
Step B reads the analog voltage signal of infrared light board in real time.Optionally, analog voltage signal can be CDS voltage
Signal.
Step C, judges whether the value of analog voltage signal is less than THNIGHT.
Wherein, when analog voltage signal is less than THNIGHT, step D is executed;It is not less than in analog voltage signal
When THNIGHT, B is returned to step.
Step D, image turn black and white, open infrared lamp.
Specifically, thermal camera turns black and white screening-mode, can open infrared lamp according to method as shown in Figure 2.
Step E reads the analog voltage signal of infrared light board in real time.
Step F, judges whether the value of analog voltage signal is greater than THDAY.
Wherein, in the case where the value of analog voltage signal is not more than THDAY, step H is executed;In analog voltage signal
In the case that value is greater than THDAY, step G is executed.
Step G, image turn colour, close infrared lamp.
Specifically, in the case where the value of analog voltage signal is greater than THDAY, show that ambient brightness brightens, infrared photography
Organ closes infrared lamp, turns color camera mode, and so far, coloured silk turns black end.
Step H, the supply voltage of real-time detection thermal camera.
Step I determines that supply voltage is greater than 8.5V.
Step I1, judges whether infrared lamp is all turned on.
Wherein, in the case where infrared lamp is all turned on, E is returned to step;The case where infrared lamp is not all turned on
Under, execute step I2 or step I3.
Step I2 determines that supply voltage is greater than 9V.
The equivalent voltage of step I21, PWM increase 61.8mV every time.Then E is returned to step.
Step I3 determines that supply voltage is fallen between [8.5,9] V.
The equivalent voltage of step I31, PWM increase 4.125mV every time.Then E is returned to step.
Step J determines that supply voltage is less than 7.2V.
Step J1, judges whether infrared lamp is all turned on.
Wherein, in the case where infrared lamp is all turned on, step J11 is executed;In the case where infrared lamp is not all turned on,
Execute step J12.
The equivalent voltage of step J11, PWM are directly reduced to 1.2V from 1.5V.Then E is returned to step.
Step J12, judges whether infrared lamp all closes.
Specifically, if the brightness of infrared lamp is minimum, i.e. infrared lamp is not turned on, then judges that infrared lamp all closes
It closes;If the brightness of infrared lamp is not minimum, judge that infrared lamp is not closed all.
Wherein, in the case where infrared lamp is all closed, E is returned to step;The case where infrared lamp is not all turned on
Under, execute step J3.
The equivalent voltage of step J13, PWM reduce 61.8mV on the basis of the original.Then E is returned to step.
Step K determines that supply voltage is fallen between [7.2,8.5] V.
The equivalent voltage of step K1, PWM remain unchanged.Then E is returned to step.
Step L, thermal camera coloured silk turn black end.
The method of the above embodiment of the present invention 1 provides a kind of method for preventing infrared photography from restarting, and detects infrared photography
The supply voltage of machine judges the lower limit value whether supply voltage is greater than between region of stable values, between supply voltage is greater than region of stable values
Lower limit value in the case where, according to the first preset rules adjust PWM equivalent voltage, until infrared light board included in it is infrared
Lamp is all turned on, supply voltage be less than or equal to region of stable values between lower limit value in the case where, according to the second preset rules adjust
The equivalent voltage of PWM, to reduce the brightness of infrared lamp.The method provided by the present invention for preventing thermal camera from restarting is to pass through
The supply voltage for detecting thermal camera first, then judges above-mentioned supply voltage, is finally adjusted according to judging result
The equivalent voltage of PWM achievees the purpose that adjust infrared lamp brightness, and the present invention mainly passes through inspection to infrared lamp in opening process
It surveys and judges supply voltage to adjust the equivalent voltage of PWM, and then solve and how to be effectively prevented infrared take the photograph in the prior art
The problem of camera is restarted reduces the number of thermal camera abnormal restarting compared with prior art.
Embodiment 2
Fig. 4 is the schematic diagram of the system according to an embodiment of the present invention for preventing thermal camera from restarting.For the mesh of description
, the architecture drawn is only an example of proper environment, is not proposed to use scope of the invention or function any
Limitation.Also should not by the system for preventing thermal camera from restarting be to any component shown in Fig. 4 or combination have it is any according to
Bad or demand.
As shown in figure 4, the system may include: power interface 41, the adjusting circuit 43 and second of processing circuit 42, first
Adjust circuit 44.
Wherein, it is the supply voltage that thermal camera provides that power interface 41, which is used to receive power supply circuit,.
Optionally, power supply circuit can provide the electricity of power supply through long range power cable for power supply network for thermal camera
Road.The power supply circuit may include 220V AC power source, the power supply adaptor being connected with 220V AC power source (for exporting
12V DC electricity) and long range power cable.
In this embodiment, since the power cable of thermal camera is longer, infrared lamp is opened in night thermal camera
When, electric current, which becomes larger, causes pressure drop decline on power cable excessive, and makes the supply voltage of thermal camera insufficient, causes infrared
Video camera is restarted.
Processing circuit 42 is used to read supply voltage from power interface, and judges whether supply voltage is greater than between region of stable values
Lower limit value.
Optionally, processing circuit can be located on MCU intelligent control unit, and processing circuit can be read from power interface
The supply voltage of thermal camera, and be adjusted based on equivalent voltage of the supply voltage to PWM, realize that infrared lamp current is big
Small adjusting, to realize the purpose of control supply voltage.
Wherein, MCU is Microcontroller Unit, i.e. micro-control unit, also known as one chip microcomputer or monolithic
Machine.
It is pre- according to first in the case that first adjusting circuit 43 is used for the lower limit value between supply voltage is greater than region of stable values
If the equivalent voltage of rule adjustment pulse width modulation, until the brightness of infrared lamp included in infrared light board reaches maximum
Value.Wherein, equivalent voltage is used to control the brightness of infrared lamp.
In an alternative embodiment, the first adjusting circuit can also be located on MCU intelligent control unit, when processing electricity
Road judge supply voltage be greater than region of stable values between lower limit value when, first adjust circuit according to the first preset rules adjust pulse
The equivalent voltage of width modulated, until the brightness of infrared lamp included in infrared light board reaches maximum value.
Second in the case where adjust the lower limit value that circuit 44 is used between supply voltage is less than or equal to region of stable values, according to the
Two preset rules adjust the equivalent voltage of pulse width modulation, so that the brightness of infrared lamp included in infrared light board reduces.
In an alternative embodiment, the second adjusting circuit can also be located on MCU intelligent control unit, when processing electricity
Road judge supply voltage be less than or equal to region of stable values between lower limit value when, second adjusting circuit is adjusted according to the second preset rules
The equivalent voltage of pulse width modulation, so that the brightness of infrared lamp included in infrared light board reduces.
Whether the supply voltage is judged after the supply voltage that processing circuit reads thermal camera using the present invention
Greater than the lower limit value between region of stable values;The supply voltage be greater than region of stable values between lower limit value in the case where, first adjust electricity
Road adjusts the equivalent voltage of PWM according to the first preset rules, until the brightness of infrared lamp included in infrared light board is maximum;?
In the case that the supply voltage is less than or equal to the lower limit value between region of stable values, the second adjusting circuit is adjusted according to the second preset rules
The equivalent voltage of PWM, reduces the brightness of infrared lamp, thus allow the supply voltage of thermal camera return to stable operating voltage it
On, avoid restarting for thermal camera.Through the embodiment of the present invention, pass through the power supply electricity of real-time detection infrared photography generator terminal
Pressure, after detecting that supply voltage is less than thermal camera stable operating voltage, the control electric current by reducing infrared lamp makes
The brightness of infrared lamp reduces, so that the supply voltage of thermal camera be allowed to return on stable operating voltage, makes infrared photography
Machine, which will not generate, restarts phenomenon, solves the problems, such as that how to be effectively prevented thermal camera in the prior art restarts, effectively
Reduce the number that thermal camera is restarted.
According to that above embodiment of the present invention, above system can also include: bleeder circuit, be connected to power interface and processing
Between circuit, for obtaining the supply voltage of thermal camera.
Optionally, which can pass through an electric resistance partial pressure reality in parallel on the power interface of thermal camera
It is existing.Processing circuit can obtain the supply voltage of thermal camera by reading the voltage of bleeder circuit.
Further, processing circuit may include: the first sampling pin, connect with bleeder circuit, for reading power supply electricity
Pressure.
Optionally, the first sampling pin can sample pin for the AD on MCU intelligent control unit.The first sampling pin
It is connect with bleeder circuit, supply voltage of the voltage as thermal camera of bleeder circuit, circuit base for processing can be read
The brightness of infrared lamp is adjusted in the supply voltage.
Wherein, AD is Analog To Digital, i.e. analog-to-digital conversion.
According to that above embodiment of the present invention, processing circuit can also include: pulse width modulation pin, connect with infrared light board
It connects, for exporting control signal, wherein control signal is that the first preset rules for adjusting the brightness of infrared lamp or second are pre-
If regular.
Optionally, pulse width modulation pin (referred to as PWM pin) can draw for what MCU intelligent control unit carried
Foot, for exporting the control signal of control infrared lamp brightness.In embodiments of the present invention, PWM can be exported by single-chip microcontroller itself,
For controlling the brightness degree of infrared lamp, the duty ratio by controlling PWM realizes the effect of the equivalent voltage of control PWM.Specifically
Ground, when the supply voltage for detecting thermal camera drops to the lower limit value between region of stable values or less, MCU intelligent control unit
Control can reduce the duty ratio of the PWM of PWM pin output, to reduce the equivalent voltage of PWM, drop infrared lamp driving current
It is low, so that the pressure drop on long range power cable be made to decline, increase the supply voltage of thermal camera, prevent infrared take the photograph
Camera is restarted.
In the above embodiment of the present invention, above system can also include: lamp plate driving chip, be connected to pulse width tune
Between pin and infrared light board processed, wrapped in the control signal control infrared light board for modulating pin output according to pulse width
The brightness of the infrared lamp contained.
Optionally, the model of the lamp plate driving chip of infrared light board can be SY8707.Lamp plate driving circuit receives pulse
The control signal of width modulated pin output, and according to the electric current of control signal control infrared light board, reach control infrared lamp
The purpose of the brightness for the infrared lamp that plate is included.
According to that above embodiment of the present invention, processing circuit can also include: the second sampling pin, connect with infrared light board,
For reading the analog voltage signal of infrared light board, wherein analog voltage signal is used to indicate environment locating for thermal camera
Luminance state;Processing circuit is also used to judge whether analog voltage signal is less than the unlatching threshold value of infrared light board;Processing circuit is also
For judging whether analog voltage signal is greater than the closing threshold value of infrared light board.
Optionally, the second sampling pin can sample pin for another AD on MCU intelligent control unit.With infrared lamp
Plate connection, for receiving the analog voltage signal (such as CDS voltage signal) of infrared light board generation.Processing circuit is adopted by second
Sample pin obtain infrared light board analog voltage signal after, judge when infrared light board is not opened the analog voltage signal with it is red
Relationship between the unlatching threshold value of outer lamp plate, to determine the need for opening infrared light board;The judgement when infrared light board has turned on
Relationship between analog voltage signal and the closing threshold value of infrared light board, to determine the need for closing infrared light board.
The above embodiment of the present invention is discussed in detail below with reference to Fig. 5, as shown in figure 5, with processing circuit not shown in the figure,
First adjusting circuit and second adjusting circuit be respectively positioned on MCU intelligent control unit for, to the above embodiment of the present invention into
Row explanation.
As shown in figure 5, infrared light board 51 can provide analog voltage signal (hereinafter referred to as CDS signal) to
MCU intelligent control unit 52, the CDS signal is since the photobehavior of the photo resistance (not shown) on infrared light board is with ring
The variation of border brightness and change, MCU intelligent control unit 52 is read by the second sampling pin 521 (such as AD sample pin)
This CDS signal determines current ambient brightness state.When ambient brightness is dimmed, MCU intelligent control unit detects CDS signal
When less than a certain setting value (such as THNIGHT), MCU intelligent control unit control thermal camera turns black and white, and opens infrared lamp;
When ambient brightness brightens, and MCU intelligent control unit detects that CDS signal is greater than a certain setting value (such as THDAY), MCU intelligence
Infrared lamp is closed in control unit control, and video camera turns colour.
After 50 coloured silk of thermal camera turns black and white, the opening process of infrared lamp (not shown) can be on infrared light board 51
Duty ratio by controlling PWM has the unlatching of step.Wherein, one class of the every increase of the brightness of infrared lamp, in real time to power supply electricity
Pressure is sampled, and such as detects that supply voltage lower than the lower limit value between region of stable values, illustrates that current infrared lamp brightness is corresponding
Electric current is excessive, and thermal camera 50 can be made to restart, then adjusts PWM duty cycle and return to a grade, so that the confession of thermal camera
Piezoelectric voltage keeps stablizing, and hereafter infrared lamp brightness remains unchanged, and infrared lamp opening process terminates.
Such as during above-mentioned gradually unlatching infrared lamp, the lower limit between supply voltage is not below region of stable values is detected
Value, then infrared lamp can be all turned on, i.e. infrared lamp brightness reaches maximum value, and infrared lamp opening process terminates.In opening for infrared lamp
During opening, such as detect that the interval for adjusting infrared lamp brightness in 7.2~9V, is then reduced, i.e., adjusted every time by supply voltage
It is 4.125mV that the corresponding equivalent voltage of the duty ratio of PWM, which increases,.
In the above-described embodiments, thermal camera is supplied over long distances by power interface 41 (such as 12V DC power interface)
Electric wire cable 56 receives the 12V DC electricity that power supply adaptor 57 exports, wherein the power supply adaptor 57 is for providing power supply network 58
220V alternating current be converted to 12V DC electricity.First sampling pin 522 (such as AD samples pin) of MCU intelligent control unit 52
After the supply voltage for obtaining thermal camera through bleeder circuit 54 (can realize by the method for electric resistance partial pressure), according to the confession
Piezoelectric voltage determines the adjusting of the brightness to infrared lamp, can specifically be modulated and be drawn by the pulse width of MCU intelligent control unit
Foot 523 (the PWM pin carried such as MCU intelligent control unit) is exported to lamp plate driving chip 53 for controlling infrared lamp brightness
Signal is controlled, and lamp plate driving chip reaches according to the electric current of the control signal output driving infrared lamp received based on infrared
The purpose of the supply voltage control infrared lamp brightness of video camera.
Optionally, after infrared lamp opening process, if MCU intelligent control unit detects that supply voltage is again small
The brightness of infrared lamp is then adjusted when the lower limit value of stable region, to ensure that thermal camera will not restart, can be specifically divided into
Following two situation:
If 1) be not all turned on infrared lamp (i.e. infrared lamp brightness is not up to maximum value) in infrared lamp opening process, i.e.,
The adjusting of the equivalent voltage of PWM was carried out in infrared lamp opening process, then detected that supply voltage is less than stabilization again again
It when the lower limit value in section, can be adjusted on the basis of opening infrared lamp before, the primary amplitude that reduces of every adjusting is " PWM's
Equivalent voltage 61.8mV " stops adjusting between (such as 7.2-8.5V) between region of stable values until detecting that supply voltage is stablized;
If 2) infrared lamp is all turned on (i.e. infrared lamp brightness reaches maximum value) in infrared lamp opening process, that is, opening
The adjusting of the equivalent voltage of PWM was not carried out in the process, at this time the corresponding I/O port of MCU intelligent control unit (such as pulse width tune
Pin 523 processed) equivalent voltage of PWM is exported for 1.5V, then under detecting that supply voltage is less than between region of stable values again again
When limit value, the equivalent voltage of PWM directly first can be reduced to 1.2V, and adjust down since 1.2V, it is every to adjust a PWM's
It is 61.8mV that equivalent voltage, which reduces amplitude, stops adjusting when detecting that supply voltage is stablized between 7.2-8.5V.
In the above-described embodiments, after the opening process of infrared lamp, if detecting that supply voltage is greater than stationary value
When the upper limit value 8.5V in section, then judge whether infrared lamp at this time fully opens;If infrared lamp does not fully open, then can adjust
The equivalent voltage of big PWM such as detects supply voltage between 7.2~9V at this time, then the equivalent voltage increase amplitude of PWM is
4.125mV;When such as detecting that supply voltage is greater than 9V, then it is 61.8mV that the equivalent voltage of PWM, which increases amplitude, until detecting confession
Piezoelectric voltage, which is stablized, to be stopped adjusting between 7.2-8.5V.
After black turn of coloured silk of thermal camera, infrared lamp is closed, and the adjustment process of infrared lamp brightness terminates.
Optionally, the time interval for adjusting infrared lamp brightness can be 50ms, and the lower limit value between region of stable values can be
7.2V, the upper limit value between region of stable values can be 8.5V.
In one optionally embodiment, the theoretical input voltage range of the lamp plate driving chip SY8707 of infrared light board is
0.65~1.2V, the relationship for the infrared lamp control electric current that input voltage is exported with it are as follows: defeated when input voltage is 0.65V
Electric current is 0 out;When input voltage is 1.2V, output electric current is 100%.Developer has found in actual test situation, when
When input voltage is 0.5V, the intrinsic brilliance of infrared lamp is zero;Therefore the equivalent voltage of PWM may range from 0.5~1.5V (theory
20%) value is floated, therefore, infrared lamp closes full when the equivalent voltage of corresponding PWM is 0.5V;The equivalent voltage of corresponding PWM is 1.5V
When infrared lamp standard-sized sheet.
Embodiment 3
Fig. 6 is the schematic diagram of the device according to an embodiment of the present invention for preventing thermal camera from restarting.For the mesh of description
, the architecture drawn is only an example of proper environment, is not proposed to use scope of the invention or function any
Limitation.Also should not by the device for preventing thermal camera from restarting be to any component shown in fig. 6 or combination have it is any according to
Bad or demand.
As shown in fig. 6, prevented in the thermal camera device restarted may include: detection module 61, judgment module 63,
First adjustment module 65 and the second adjustment module 67.
Wherein, detection module 61 is used to detect the supply voltage of thermal camera.
Optionally, for thermal camera under night state, the microprocessor control unit control in thermal camera is infrared
Video camera coloured silk turns black, and opens the infrared lamp that infrared light board is included, infrared firstly the need of detecting in the opening process of infrared lamp
The supply voltage of video camera, wherein the supply voltage can be obtained by the electric resistance partial pressure of the power interface of thermal camera, on
Stating microprocessor control unit can be single-chip microcontroller, by detecting the supply voltage of thermal camera, can learn and mention in real time
The voltage condition of thermal camera is supplied, to prevent from keeping the power supply of thermal camera electric since the control electric current of infrared lamp is larger
Pressure decreases below stable operating voltage, and leads to restarting for thermal camera.
It should be further noted that color turn the black day and night switching function for referring to thermal camera and having.Coloured silk turns black and refers to
When thermal camera is in night operation, the screening-mode for controlling thermal camera turns black and white by colour, switches optical filter, opens
Infrared lamp;Black turn of coloured silk refers to that the screening-mode for controlling thermal camera turns coloured silk by black and white when thermal camera is when working by day
Color switches optical filter, closes infrared lamp.Wherein, when external environment brightness is darker, the screening-mode of thermal camera is black and white
The brightness of state, infrared lamp can carry out light filling, the more strong then video camera of the brightness of infrared lamp light filling for the shooting of infrared-ray machine
Low-light (level) effect it is better.
Judgment module 63 is for judging the lower limit value whether supply voltage is greater than between region of stable values.
Optionally, after detecting the supply voltage of thermal camera, judge whether the supply voltage is greater than region of stable values
Between lower limit value, wherein aforementioned stable value section be according to thermal camera in normal operation required for voltage come
Determining, it can be [7.2,8.5] between region of stable values employed in the embodiment of the present invention, unit is volt.It is optional at one
Embodiment in, whether step S103 can be greater than 7.2V for the detected supply voltage of judgement.
By judging that supply voltage determines the relationship of the lower limit value between the supply voltage and region of stable values, work as thermal camera
Supply voltage lower than lower limit value between the region of stable values when, control the control electric current of infrared lamp, in time to ensure infrared photography
Machine works under normal operating voltage, can restart to avoid the thermal camera.
It is pre- according to first in the case that first adjustment module 65 is used for the lower limit value between supply voltage is greater than region of stable values
If the equivalent voltage of rule adjustment pulse width modulation, until the brightness of infrared lamp included in infrared light board reaches maximum
Value, wherein equivalent voltage is used to control the brightness of infrared lamp.
Optionally, supply voltage be greater than region of stable values between lower limit value in the case where, continue to be between region of stable values
For [7.2,8.5], in the case where supply voltage is greater than 7.2V, pulse width modulation is adjusted according to the first preset rules
The equivalent voltage of (Pulse Width Modulating, referred to as PWM), until infrared lamp included in infrared light board is bright
Degree reaches maximum value.In this embodiment, above-mentioned first preset rules can be the rule that developer sets in advance, simultaneously
Above-mentioned first preset rules can adjust according to the variation between region of stable values, finally, adjust PWM by the first preset rules
Equivalent voltage until the brightness of infrared lamp included in infrared light board is maximum, make infrared light board by the first preset rules
Included in infrared lamp all light (i.e. brightness maximum), can have the control electric current of the adjusting infrared lamp of step, step up red
The brightness of outer lamp avoids in the prior art since the control electric current of infrared lamp is larger, leads to the supply voltage of thermal camera
It is relatively low and the problem of restart thermal camera.
In the case that second adjustment module 67 is used for the lower limit value between supply voltage is less than or equal to region of stable values, according to the
Two preset rules adjust the equivalent voltage of pulse width modulation, so that the brightness of infrared lamp included in infrared light board reduces.
Optionally, in the case that supply voltage be less than or equal to region of stable values between lower limit value, continue to be between region of stable values
For [7.2,8.5], in the case where supply voltage is less than or equal to 7.2V, the equivalent electricity of PWM is adjusted according to the second preset rules
Pressure, to reduce the brightness of infrared lamp included in infrared light board.Here, above-mentioned second preset rules can be developer and mention
Before the rule that sets, meanwhile, above-mentioned second preset rules can adjust according to the variation between region of stable values, finally, lead to
It crosses the second preset rules and adjusts the equivalent voltage of PWM to reduce the brightness of infrared lamp included in infrared light board, when detecting confession
After piezoelectric voltage is less than the stable operating voltage of thermal camera, the brightness of infrared lamp drops in the control electric current by reducing infrared lamp
It is low, so that the supply voltage of thermal camera be allowed to return on stable operating voltage, avoid restarting for thermal camera.
Judge whether the supply voltage is greater than stabilization after the supply voltage of detection thermal camera using the present invention
It is worth the lower limit value in section;The supply voltage be greater than region of stable values between lower limit value in the case where, according to the first preset rules tune
The equivalent voltage of PWM is saved, until the brightness of infrared lamp included in infrared light board is maximum;It is less than or equal in the supply voltage steady
In the case where the lower limit value in definite value section, the equivalent voltage of PWM is adjusted according to the second preset rules, reduces the brightness of infrared lamp,
To allow the supply voltage of thermal camera to return on stable operating voltage, restarting for thermal camera is avoided.Pass through this
Inventive embodiments solve the problems, such as that how to be effectively prevented thermal camera in the prior art restarts, and significantly reduces red
The number that outer video camera is restarted.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided by the present invention, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, mobile terminal, server or network equipment etc.) executes side described in each embodiment of the present invention
The all or part of the steps of method.And storage medium above-mentioned include: USB flash disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various to be can store
The medium of program code.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (9)
1. a kind of method for preventing thermal camera from restarting characterized by comprising
Detect the supply voltage of thermal camera;
Judge the lower limit value whether supply voltage is greater than between region of stable values;
The supply voltage be greater than the region of stable values between lower limit value in the case where, judge whether the supply voltage is greater than
Preset threshold;The supply voltage be greater than the preset threshold in the case where, adjust pulse width modulation equivalent voltage according to
The first preset voltage value of secondary increase;In the case where the supply voltage is less than or equal to the preset threshold, the pulse is adjusted
The equivalent voltage of width modulated successively increases the second preset voltage value, until the brightness of infrared lamp included in infrared light board reaches
To maximum value, wherein the equivalent voltage is used to control the brightness of the infrared lamp, and first preset voltage value is greater than described
Second preset voltage value;
In the case where lower limit value between the supply voltage is less than or equal to the region of stable values, pulse width modulation is adjusted
Equivalent voltage reduce third preset voltage value so that the brightness of infrared lamp included in the infrared light board reduces.
2. the method according to claim 1, wherein adjusting the equivalent voltage of the pulse width modulation successively
Increase by the first preset voltage value or adjust pulse width modulation equivalent voltage successively increase the second preset voltage value after,
The method also includes:
Whether the present intensity for detecting infrared lamp included in the infrared light board reaches the maximum value, wherein is detecting
To infrared lamp included in the infrared light board present intensity be not up to the maximum value in the case where, return execute according to
First preset rules adjust the equivalent voltage of pulse width modulation.
3. method according to claim 1 or claim 2, which is characterized in that before the supply voltage for detecting the thermal camera,
The method also includes:
Read the analog voltage signal of the infrared light board, wherein the analog voltage signal is used to indicate the infrared photography
Ambient brightness state locating for machine;
Judge whether the analog voltage signal is less than the unlatching threshold value of the infrared light board;
In the case where the analog voltage signal is less than the unlatching threshold value, the infrared lamp of the thermal camera is opened
Plate;And
In the case where the analog voltage signal is more than or equal to the unlatching threshold value, return re-reads the infrared light board
Analog voltage signal.
4. method according to claim 3, which is characterized in that the infrared light board for opening the thermal camera it
Afterwards, the method also includes:
Read the analog voltage signal of the infrared light board;
Judge whether the analog voltage signal is greater than the closing threshold value of the infrared light board;
In the case where the analog voltage signal is greater than the closing threshold value, then the infrared light board is closed;
In the case where the analog voltage signal is less than or equal to the closing threshold value, the power supply electricity of the thermal camera is detected
Whether pressure falls between the region of stable values;
In the case where the supply voltage is fallen between the region of stable values, the simulation electricity for re-reading the infrared light board is returned
Press signal;
In the case where the supply voltage is not fallen between the region of stable values, it is wide that the pulse is adjusted according to the supply voltage
The equivalent voltage of modulation is spent, until the supply voltage is fallen between the region of stable values.
5. a kind of system for preventing thermal camera from restarting characterized by comprising
Power interface is the supply voltage that thermal camera provides for receiving power supply circuit;
Processing circuit for reading the supply voltage from the power interface, and judges whether the supply voltage is greater than surely
The lower limit value in definite value section;
First adjust circuit, for the supply voltage be greater than the region of stable values between lower limit value in the case where, judge institute
State whether supply voltage is greater than preset threshold;In the case where the supply voltage is greater than the preset threshold, it is wide to adjust pulse
The equivalent voltage of degree modulation successively increases the first preset voltage value;It is less than or equal to the feelings of the preset threshold in the supply voltage
Under condition, the equivalent voltage for adjusting the pulse width modulation successively increases the second preset voltage value, until being wrapped in infrared light board
The brightness of the infrared lamp contained reaches maximum value, wherein and the equivalent voltage is used to control the brightness of the infrared lamp, and described first
Preset voltage value is greater than second preset voltage value;
Second adjust circuit, for the supply voltage be less than or equal to the region of stable values between lower limit value in the case where, adjust
The equivalent voltage for saving the pulse width modulation reduces third preset voltage value, so that infrared included in the infrared light board
The brightness of lamp reduces.
6. system according to claim 5, which is characterized in that the system also includes:
Bleeder circuit is connected between the power interface and the processing circuit, for obtaining the institute of the thermal camera
State supply voltage.
7. system according to claim 6, which is characterized in that the processing circuit includes:
First sampling pin, connect, for reading the supply voltage with the bleeder circuit.
8. system according to claim 5, which is characterized in that the processing circuit further include:
Second sampling pin, connect, for reading the analog voltage signal of the infrared light board with the infrared light board, wherein
The analog voltage signal is used to indicate ambient brightness state locating for the thermal camera;
The processing circuit is also used to judge whether the analog voltage signal is less than the unlatching threshold value of the infrared light board;
The processing circuit is also used to judge whether the analog voltage signal is greater than the closing threshold value of the infrared light board.
9. a kind of device for preventing thermal camera from restarting characterized by comprising
Detection module, for detecting the supply voltage of thermal camera;
Judgment module, for judging the lower limit value between whether the supply voltage is greater than region of stable values;
First adjustment module, for the supply voltage be greater than the region of stable values between lower limit value in the case where, judge institute
State whether supply voltage is greater than preset threshold;In the case where the supply voltage is greater than the preset threshold, it is wide to adjust pulse
The equivalent voltage of degree modulation successively increases the first preset voltage value;It is less than or equal to the feelings of the preset threshold in the supply voltage
Under condition, the equivalent voltage for adjusting the pulse width modulation successively increases the second preset voltage value, until being wrapped in infrared light board
The brightness of the infrared lamp contained reaches maximum value, wherein and the equivalent voltage is used to control the brightness of the infrared lamp, and described first
Preset voltage value is greater than second preset voltage value;
Second adjustment module, for the supply voltage be less than or equal to the region of stable values between lower limit value in the case where, adjust
The equivalent voltage for saving the pulse width modulation reduces third preset voltage value, so that infrared included in the infrared light board
The brightness of lamp reduces.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510431287.8A CN106375705B (en) | 2015-07-21 | 2015-07-21 | Prevent the mthods, systems and devices that thermal camera is restarted |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510431287.8A CN106375705B (en) | 2015-07-21 | 2015-07-21 | Prevent the mthods, systems and devices that thermal camera is restarted |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375705A CN106375705A (en) | 2017-02-01 |
CN106375705B true CN106375705B (en) | 2019-09-17 |
Family
ID=57879831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510431287.8A Active CN106375705B (en) | 2015-07-21 | 2015-07-21 | Prevent the mthods, systems and devices that thermal camera is restarted |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375705B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110568899A (en) * | 2019-07-24 | 2019-12-13 | 浙江大华技术股份有限公司 | power adjustment method and device, computer equipment and storage medium |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2181010B (en) * | 1985-09-20 | 1989-09-06 | Philips Electronic Associated | Infrared imaging devices |
US7740371B1 (en) * | 1998-03-19 | 2010-06-22 | Charles A. Lemaire | Method and apparatus for pulsed L.E.D. illumination for a camera |
US7391181B2 (en) * | 2006-03-16 | 2008-06-24 | General Motors Corporation | Loss minimized PWM for voltage source inverters taking into account inverter non-linearity |
CN101697034B (en) * | 2009-10-30 | 2012-02-15 | 广州市晶华光学电子有限公司 | Circuit for portable day and night dual-purpose night-vision device |
CN201733490U (en) * | 2010-06-28 | 2011-02-02 | 浙江大华技术股份有限公司 | Adaptive quantization adjusting circuit for infrared lamp power of infrared camera |
CN102307296A (en) * | 2011-09-06 | 2012-01-04 | 天津汇讯视通科技有限公司 | Dome camera power voltage monitoring circuit and method thereof |
CN202514128U (en) * | 2012-03-21 | 2012-10-31 | 西北工业大学 | Charging illumination device capable of dimming |
CN203608423U (en) * | 2013-11-25 | 2014-05-21 | 杭州海康威视数字技术股份有限公司 | Infrared lamp vibration control device and infrared camera |
CN104113968B (en) * | 2014-07-11 | 2017-01-11 | 深圳市声表电子有限公司 | Method, device and circuit for realizing lamp brightness adjustment by utilizing single-line switch |
-
2015
- 2015-07-21 CN CN201510431287.8A patent/CN106375705B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106375705A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103945614B (en) | Illuminator and drive circuit | |
CN105491761B (en) | The LED light of adjustable color temperature and the color temperature adjusting method of LED light | |
CN106375645B (en) | A kind of adaptive control system based on infrared eye | |
CN101287073B (en) | Adaptive acquiring method of lightness stabilized image from machine vision system in variable irradiation surroundings | |
US9456475B2 (en) | LED light source with reduced flicker | |
CN106413189A (en) | Intelligent control system and method using modulated signal and associated with TRIAC light modulator | |
CN108093534A (en) | Control method, controller and LED drive device | |
CN108966439A (en) | The adjusting method and device of room brilliancy | |
CN106297731A (en) | Strengthen the method and device of picture contrast, display screen and intelligent terminal | |
CN104735843B (en) | The LED controller of automatic switchover light-modulating mode | |
CN106210334A (en) | A kind of smart flash lamp control method, system and mobile terminal | |
CN106162985B (en) | L ED driver and driving method | |
CN105308674A (en) | Backlight brightness regulation method and electronic device | |
CN104457974B (en) | The test device and method of testing of light sensor | |
CN205491361U (en) | LED lamp of adjustable colour temperature | |
CN109862655A (en) | Integrated circuit, Dimmable LED driving circuit and its driving method | |
CN106375705B (en) | Prevent the mthods, systems and devices that thermal camera is restarted | |
CN106163024B (en) | A kind of PWM light-dimming method and PWM dimming device | |
CN107284348A (en) | Automatic light-supplementing method and system for Car license recognition | |
CN105282945B (en) | The control method and control system of a kind of intelligent lighting | |
CN208158934U (en) | Controller, control chip and LED drive device | |
CN111836421B (en) | Solar street lamp system and method for automatically adjusting color temperature thereof | |
CN206977766U (en) | Intelligent switch detects and identification circuit | |
CN106470513A (en) | Illumination control method and device | |
CN207045229U (en) | Automatic light-supplementing system for Car license recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |