Background technology
In order can also to record a video clearly at night, conventionally can on video camera, add the design of infrared light sources, because infrared light sources can cause the problem of the image generation colour cast that video camera photographs, therefore can before the photosensory assembly of video camera, add ICR (IR Cut Filter Removable, optical filter switching component), this optical filter switching component comprises a common optical filter and an infrared filter, when extraneous light is bright, automatically switch to common optical filter, when the external world is rather dark, automatically switch to infrared filter to eliminate colour cast, this optical filter switching component comprises two input ends, by the voltage difference of changing between this two input end, switch common optical filter and infrared filter, as the voltage difference between this two input end be on the occasion of time, switch to common optical filter, and switch to infrared filter while being negative value.But this mode likely has erroneous judgement disconnected time, and operator has no way of learning, and then cause the data of video recording may be unintelligible.
Summary of the invention
In view of foregoing, be necessary to provide a kind of optical filter switching component control circuit that carries out abnormal judgement.
A kind of optical filter switching component control circuit, comprise a photoresistance, one first resistance, the first to the 6th electronic switch, one voltage source, one optical filter switching component, one comparer and a central processing unit, this first resistance and this photoresistance are connected between this voltage source and ground, node between this first resistance and this photoresistance is connected to this second and third electronic switch by this first electronic switch and is also connected to this central processing unit, this second electronic switch is connected to the 4th and the 5th electronic switch, the 3rd and quadrielectron switch between node and the 5th and the node of the 6th electronic switch be connected to respectively two input ends of this optical filter switching component and be connected to respectively in-phase input end and the inverting input of this comparer, the output terminal of this comparer is connected to this central processing unit, this first electronic switch is according to the resistance change switched conductive state of this photoresistance, and then switch this second conducting state to the 6th electronic switch, so that the corresponding voltage difference of switching between these optical filter switching component two input ends, this central processing unit judges that according to the signal of the signal of this first electronic switch input and the input of this comparer whether the switching of this optical filter switching component is correct.
Compare prior art, optical filter switching component control circuit of the present invention is read the signal of this first electronic switch input and is read the signal of this comparer input by this central processing unit, by this two signal relatively, can judge this optical filter switching component and whether make correct switching, very convenient.
Accompanying drawing explanation
In conjunction with better embodiment, the present invention is described in further detail with reference to the accompanying drawings:
Fig. 1 is the circuit diagram of optical filter switching component control circuit better embodiment of the present invention.
Main element symbol description
Optical filter switching component control circuit 100
Photoresistance RT
Resistance R 1-R6
Transistor Q1, Q2
Field effect transistor Q3-Q6
Diode D1-D4
Voltage source Vcc
Optical filter switching component U1
Comparer U2
Central processing unit U3
Embodiment
Please refer to Fig. 1, the colour cast that optical filter switching component control circuit 100 of the present invention produces for eliminating infrared light sources on video camera, its better embodiment comprises a photoresistance RT, six resistance R 1-R6, two NPN transistor Q1 and Q2, two P-channel field-effect transistor (PEFT) transistor Q3 and Q5, two N slot field-effect transistor Q4 and Q6, four diode D1-D4, a voltage source Vcc, an optical filter switching component U1, a comparer U2, a central processing unit (CPU) U3.Wherein, the resistance value of this photoresistance RT reduces with the rising of light luminance, and increases with the decline of light luminance, and other embodiment also can be contrary.This optical filter switching component U1 carries out the switching of common optical filter and infrared filter by changing voltage difference between its two input end, specific works principle is prior art, no longer illustrates herein.This central processing unit U3 is the main processing components of video camera inside, and it is also responsible for such as tasks such as photographies, does not also remake and illustrates herein.
This resistance R 1 and this photoresistance RT are connected between this voltage source Vcc and ground, node between this resistance R 1 and this photoresistance RT is connected to the base stage of this transistor Q1 by resistance R 2, the grounded emitter of this transistor Q1, the collector of this transistor Q1 by resistance R 3 be connected to this voltage source Vcc, by resistance R 4 be connected to this transistor Q2 base stage, by resistance R 5 be connected to this two field effect transistors Q3 and Q4 grid, be connected to this central processing unit U3.The grounded emitter of this transistor Q2, collector is connected to this voltage source Vcc by resistance R 6 and is also connected to the grid of this two field effect transistors Q5 and Q6.
The drain electrode of this two field effect transistors Q3 and Q5 is connected to this voltage source Vcc, and the source electrode of this two field effect transistors Q3 and Q5 is connected to respectively the drain electrode of this two field effect transistors Q4 and Q6.The source grounding of this two field effect transistors Q4 and Q6.The anode of this diode D1-D4 and negative electrode are connected to respectively source electrode and the drain electrode of this field effect transistor Q3-Q6, and this diode D1-D4, for the protection of this field effect transistor Q3-Q6, also can delete as required.Two voltage input ends of this optical filter switching component U1 are connected to respectively node between this two field effect transistors Q3 and Q4 and the node between this two field effect transistors Q5 and Q6.Two voltage input ends of this optical filter switching component U1 are also connected to respectively in-phase input end and the inverting input of this comparer U2.The voltage end of this comparer U2 is connected to this voltage source Vcc, earth terminal ground connection, and output terminal is connected to this central processing unit U3.In other embodiment, this two transistor Q1 and Q2, this field effect transistor Q3-Q6 also can select the electronic switch of other type.
During work, this transistor Q1 conducting state is determined by the resistance value of this photoresistance RT, when extraneous light luminance is elevated to a certain setting value, the resistance value correspondence of this photoresistance RT drops to a certain setting value, now this transistor Q1 cut-off, and then the collector of this transistor Q1 becomes high level, this central processing unit U3 receives this high level signal, so this transistor Q2 conducting, and then this two field effect transistors Q4 and Q5 conducting, and this two field effect transistors Q3 and Q6 cut-off, now the in-phase input end of this comparer U2 is low level, and inverting input is high level, this optical filter switching component U1 switches to common optical filter, the output terminal output low level of this comparer U2 is given this central processing unit U3.
In like manner, when extraneous light luminance drops to this setting value, the resistance value correspondence of this photoresistance RT rises to this definite value, now this transistor Q1 conducting, and then the collector of this transistor Q1 becomes low level, this central processing unit U3 receives this low level signal, so this transistor Q2 cut-off, and then this two field effect transistors Q4 and Q5 cut-off, and this two field effect transistors Q3 and Q6 conducting, now the in-phase input end of this comparer U2 is high level, and inverting input is low level, this optical filter switching component U1 switches to infrared filter, the output terminal output high level of this comparer U2 is given this central processing unit U3.
This central processing unit U3 is intersected and is compared to judge whether this optical filter switching component U1 has carried out correct switching by the signal of the collector of this transistor Q1 to reading and the signal of the output terminal of this comparer U2.Refer to following table:
Q1 collector |
U2 output terminal |
RT resistance value |
U1 state |
U3 judgement |
0 |
1 |
>Rm |
Forward |
Normally |
1 |
0 |
<Rm |
Reversion |
Normally |
0 |
0 |
-- |
-- |
Extremely |
1 |
1 |
-- |
-- |
Extremely |
Wherein, upper table " 1 " represents high level, and " 0 " represents low level, and " Rm " represents the setting value of this photoresistance RT, " forward " represents that this optical filter switching component U1 switches to infrared filter, and " reversion " represents that this optical filter switching component U1 switches to common optical filter.Whether this central processing unit U3 has made correct switching according to judging this optical filter switching component U1 after upper table comparison, to make subsequent operation according to judged result, as occurred, extremely, sends prompt tone to inform user, like that.As can be seen here, whether applying optical filter switching component control circuit 100 of the present invention, can effectively to judge the switching of optical filter correct, improved shooting quality.