CN108965677A - A kind of control circuit and control method according to camera picture Mass adjust- ment light filling - Google Patents
A kind of control circuit and control method according to camera picture Mass adjust- ment light filling Download PDFInfo
- Publication number
- CN108965677A CN108965677A CN201811024035.3A CN201811024035A CN108965677A CN 108965677 A CN108965677 A CN 108965677A CN 201811024035 A CN201811024035 A CN 201811024035A CN 108965677 A CN108965677 A CN 108965677A
- Authority
- CN
- China
- Prior art keywords
- main control
- interface
- module
- light
- image
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000012544 monitoring process Methods 0.000 claims description 18
- 230000009286 beneficial effect Effects 0.000 claims 1
- 238000005286 illumination Methods 0.000 abstract description 4
- 101100168115 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) con-6 gene Proteins 0.000 description 4
- 230000008901 benefit Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 3
- 241000023320 Luma <angiosperm> Species 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000007537 lampworking Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000002853 ongoing effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/56—Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of control circuits according to camera picture Mass adjust- ment light filling, the circuit includes power module and supplementary lighting module, the circuit further includes having main control module and parameter adjustment module, power module is connect with main control module, supplementary lighting module and parameter adjustment module respectively, and main control module is also connect with parameter adjustment module.The invention also discloses a kind of control methods that light filling is adjusted according to image quality, after this method is connect by multiple interfaces with external network video camera, main control module reads the image quality parameter of external network video camera, and the switch and its intensity of illumination of the variation automatic adjustment light compensating lamp according to these parameters.
Description
Technical field
The invention belongs to monitoring device manufacturing field, in particular to a kind of control circuit that light filling is adjusted according to image quality
And control method.
Background technique
Monitor camera for security monitoring and protection field, apply can only household field video camera because 24 hours prison
Control needs, and can all design light compensating lamp evening light filling on video camera and monitor demand under dark condition to meet, generally use light
The opening and closing of sensor sensing ambient control light compensating lamp.
Such as number of patent application be " 201720555811.7 " patent application document in disclose a kind of video camera and its
Light compensating apparatus, light compensating apparatus include light compensating lamp, dimming driving circuit, light-sensitive electronic element and controller;Dimming driving circuit with
Light compensating lamp electrical connection;Light-sensitive electronic element is for the actual environment light intensity in the camera supervised region of real-time monitoring and is converted into reality
The output of border electric signal;Controller is electrically connected with the light modulation end of the output end of light-sensitive electronic element and dimming driving circuit, and pre-
Equipped with the theoretical electric signal that suitable environment light intensity needed for video camera shooting matches, benefit is adjusted for controlling dimming driving circuit
The light intensity of light lamp, so that actual environment light intensity is consistent with suitable environment light intensity.The device is the monitoring of video camera by light compensating lamp
Region light filling can make the actual environment light intensity in camera supervised region be consistent with suitable environment light intensity, so that video camera is adopted
The image clearly collected can make the brightness of image demand match with practical light filling effect, can guarantee the acquired image of video camera
Clarity meets actual requirement.
In above-mentioned utility model, since light-sensitive electronic element is mounted on video camera, the induction zone of light-sensitive electronic element
Domain is limited only to video camera periphery, when dark near video camera, no matter camera supervised regional environment be it is bright or
Secretly, light can all be opened.On the one hand such case may influence or interfere the ongoing activity of people, on the other hand, with
Image sensor technologies and lens technology progress arrange in pairs or groups big light passing amount camera lens and highly sensitive imaging sensor in low light conditions still
Preferable color image effect can be presented without opening light.Due to the linear characteristic and circuit limitations of light sensor,
When ambient light drops to it is darker when, light sensor will export infinitely great, this results in circuit must be in light sensor defeated
The infinitely great light compensating lamp of control before is opened out, and otherwise light compensating lamp will be uncontrolled.After light is opened, due to the drift in air
Optical haze can be will form under light-illuminating and influence picture quality, influenced the image quality that video camera is shot with video-corder instead, lose more than gain.Cause
This, monitoring area ambient light, which is also able to satisfy, shoots with video-corder when requiring, and turning on light not only will affect picture quality, can also reduce the use of lamp
Service life increases power consumption.
Summary of the invention
To solve the above problems, shooting with video-corder image quality the purpose of the present invention is to provide a kind of real-time monitoring and according to picture
Quality provides the control circuit and its control method that light filling is adjusted according to image quality of appropriate light filling in real time.
It is another object of the present invention to provide a kind of control circuit for adjusting light filling according to image quality, the circuit framework is tight
Sincerely, structure is simple, and the present invention also provides a kind of control method for adjusting light filling according to image quality, this method is easy to operate, it is wide to be suitable for
General popularization.
To achieve the above object, technical scheme is as follows:
The present invention provides a kind of control circuit that light compensating lamp is adjusted according to image quality, which includes power module and light filling
Module, the circuit further include having main control module and parameter adjustment module, power module respectively with main control module, supplementary lighting module and ginseng
Number adjustment module connection, main control module are also connect with parameter adjustment module.
In invention, power module includes three terminal regulator, and external power supply is provided by three terminal regulator to whole circuit
Reliable and stable power supply support.Main control module plays the role of core control, and parameter adjustment module is by this circuit and external networks
Video camera connects, connection and appropriate tune of the parameter relevant to image quality via parameter adjustment module in external network video camera
It is whole, coupled with main control module, main control module can the image quality parameter of monitored picture shot with video-corder of convenient reading external network video camera, and
Supplementary lighting module is controlled according further to image quality, adjusts the unlatching, closing and its light filling intensity of supplementary lighting module, guarantees external network
The image quality of video camera.
It should be noted that the power module and supplementary lighting module that refer in the present invention are the prior art, wherein power supply mould
Several light emitting diodes for including in the three terminal regulator that includes in block, supplementary lighting module and light-emitting diodes pipe driving chip are set
Set and each component between connection be those skilled in the art common knowledge, be no longer described in detail in this application.
Main control module includes main control chip, the concrete model of main control chip are as follows: STC15W402AS.STC15W402AS system
Column single-chip microcontroller is the single-chip microcontroller of the single clock cycle of STC production, is a kind of Width funtion, high speed, highly reliable, low-power consumption, superpower anti-
8051 single-chip microcontroller of a new generation of interference performance.STC15W402AS series monolithic uses the 9th generation encryption technology of STC, instructs generation
Completely compatible traditional 8051 single-chip microcontroller of code.In addition, STC15W402AS series monolithic is internally integrated high-precision RC clock, ISP is compiled
5MHz-35MHz wide scope is optional when journey, and 16 grades of reset threshold voltages are optional.The setting of STC15W402AS series monolithic is one group high
Speed asynchronous serial communication port, and built-in comparator, it is powerful.STC15W402AS series monolithic is applied in the present invention, it can thing
The first burning setting program in single-chip microcontroller, main control chip can carry out the signal that each interface inputs during this circuit is applied
Operation, and according to the open and close of calculated result real-time control light compensating lamp, automatic light-supplementing is reached with this, adapts to ambient light automatically
According to condition and the purpose of adjust automatically image quality.
Parameter adjustment module includes picture brightness unit, rgb value unit and image gain unit;Picture brightness unit,
Rgb value unit and image gain unit are connect with main control module respectively.In practical application of the present invention, mainly taken the photograph from external network
Picture brightness parameter, rgb value parameter and image gain parameter are extracted in camera to adjust light filling.
Picture brightness unit includes first interface, the first triode, first resistor and second resistance;The one of first resistor
End connection power module, the other end of first resistor connect with the collector of the first triode, the base stage of the first triode and the
One end of one resistance connects, and the other end of second resistance is connect with main control chip, the emitter ground connection of first triode;The
First pin of one interface is grounded, and the second pin of first interface is connect with the common end of first resistor and the first triode.The
One interface and external network camera views luma samples circuit connection, the picture brightness parameter that external network video camera is shot with video-corder are logical
It crosses in first interface access circuit, and summarize via main control module is sent into after picture brightness cell processing, facilitates main control module pair
The picture brightness real-time monitoring of picture is shot with video-corder, and controls light filling according further to monitoring result.
Rgb value module includes second interface, 3rd resistor and the 4th resistance, the first pin and the third electricity of second interface
One end of resistance connects, and the other end of 3rd resistor is connect with main control chip;The one of the second pin of second interface and the 4th resistance
End connection, the 4th resistance other end are connect with main control chip;The third pin of second interface is grounded, the 4th pin of second interface
It is connect with power module.Second interface is connect with the rgb value sample circuit of external network video camera, external network video camera
Rgb value is accessed in circuit by second interface, and is sent into main control module after carrying out proper treatment to input signal by rgb value module
In, facilitate main control module to the rgb value real-time monitoring for shooting with video-corder picture, and control light filling according further to monitoring result.
Image gain unit includes third interface, the 4th interface, the second triode and chip gain, and the of third interface
One pin is connect with chip gain, the second pin ground connection of third interface;First pin of the 4th interface and the second triode
Base stage connection, the second pin of the 4th interface are connect with the emitter of the second triode, the collector of the second triode and gain
Chip connection.The 4th interface in image gain unit is connect with the image gain sample circuit of external network video camera, external
The image gain parameter of web camera is sent into this circuit through the 4th interface, and is sampled via chip gain to the image gain
After signal carries out operation, image gain is exported to external web camera by third interface, adjusts the figure of external network video camera
As gain.Further, chip gain is also connect with main control chip, and main control chip can control gain core according to practical image quality situation
The unlatching of piece with shut down, be achieved in main control module plan as a whole control whole circuit work purpose.
The present invention also provides a kind of control methods that light filling is adjusted according to image quality, and this method includes following steps:
S1: initialization main control chip is arranged parameter, establishes using brightness of image, image rgb value and image gain as independent variable
Picture quality function F;
S2: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image
Rgb value and image gain parameter are sent into main control module;
S3: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F1 at this time;Such as F1
No more than the threshold value N1 that turns on light, then S4 is transferred to;If F1 is greater than the threshold value N1 that turns on light, then S2 is returned;
S4: main control module control supplementary lighting module is turned on light;
S5: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image
Rgb value and image gain parameter are sent into main control module;
S6: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F2 at this time;;F2
The best image quality threshold value N2 for not meeting setting, then be transferred to S7, if F2 meets the best image quality threshold value N2 of setting, is then transferred to S9;
S7: main control module controls supplementary lighting module and adjusts light filling intensity;
S8: S5-S7 is repeated;
S9: light filling is constant
S10: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image
Rgb value and image gain parameter are sent into main control module;
S11: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F3 at this time, such as
F3 is greater than the threshold value N3 that turns off the light, then is transferred to S12;Such as it is not more than, then returns to S10;
S12: it turns off the light.
In step 1 in the present invention, main control chip is initialized, while parameter is set, is established with brightness of image, image
Rgb value and image gain are the picture quality function F of independent variable, and the function is in summary three image quality parameter and is made
For measure image quality quality standard, convenient for accurately adjusting light filling in subsequent processes.External network video camera passes through the
Image quality relevant parameter is sent into main control module by one interface, second interface and the 4th interface, as main control module monitors that image quality drops
It is low, then the light compensating lamp in supplementary lighting module is opened, is monitoring area supplementary light, after light compensating lamp is opened, main control module is re-read
Best image quality is such as not implemented in image quality parameter, then further adjustment supplementary lighting module, its intensity of illumination is adjusted to best, perfection is suitable
Answer external light environment.
Further, the best image quality threshold value N2+ natural lighting reference value M of threshold value of turning off the light N3=;Wherein natural lighting refers to
Value M takes 30.It is emphasized that the ambient light set in the present invention is not limited only to 30 according to reference value M, ambient light according to reference value by
The factors such as the type of photosensitive sensor, photosensitive fluctuation range, environmental change influence, and ambient light irradiation is shone reference value in the application
Be set as 30, be applicant by numerous experiments, summarize the specific data of this control circuit in practical applications after, selection
Data that are relatively reasonable and being able to achieve preferable effect.
Further, S4: main control module control supplementary lighting module is turned on light while carry out, main control chip real-time monitoring light compensating lamp
Working condition, the timer in main control chip starts to work, if main control chip monitors that light compensating lamp work surpasses 12 hours, then turns
Enter S12, is such as less than 12 hours, then waits.Light compensating lamp was opened more than 12 hours, and extraneous natural lighting is inevitable varied, this
When main control chip can control light compensating lamp to close, avoid waste of energy, reduce circuit energy consumption.
Present invention has an advantage that compared with the prior art, circuit structure provided by the invention is simple, control efficiency is high,
Control method provided by the invention is easy to control, light filling is accurate, perfect can adapt to exterior light and shine, most preferably shot with video-corder image quality.
Detailed description of the invention
Fig. 1 is the integrated circuit schematic diagram for adjusting the control circuit of light filling in the present invention according to image quality.
Fig. 2 is the partial enlarged view for adjusting the part A of control circuit of light filling in the present invention according to image quality.
Fig. 3 is the partial enlarged view for adjusting the part B of control circuit of light filling in the present invention according to image quality.
Fig. 4 is the partial enlarged view for adjusting the C portion of control circuit of light filling in the present invention according to image quality.
Fig. 5 is the flow chart for adjusting the control method of light filling in the present invention according to image quality.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
To achieve the above object, technical scheme is as follows:
Referring to shown in Fig. 1-5, the present invention provides a kind of control circuit that light compensating lamp is adjusted according to image quality, which includes
Power module and supplementary lighting module, the circuit further include having main control module and parameter adjustment module, power module respectively with master control mould
Block, supplementary lighting module are connected with parameter adjustment module, and main control module is also connect with parameter adjustment module.
In invention, power module includes three terminal regulator, and external power supply is provided by three terminal regulator to whole circuit
Reliable and stable power supply support.Main control module plays the role of core control, and parameter adjustment module is by this circuit and external networks
Video camera connects, connection and appropriate tune of the parameter relevant to image quality via parameter adjustment module in external network video camera
It is whole, coupled with main control module, main control module can the image quality parameter of monitored picture shot with video-corder of convenient reading external network video camera, and
Supplementary lighting module is controlled according further to image quality, adjusts the unlatching, closing and its light filling intensity of supplementary lighting module, guarantees external network
The image quality of video camera.
It should be noted that the power module and supplementary lighting module that refer in the present invention are the prior art, wherein power supply mould
Several light emitting diodes for including in the three terminal regulator that includes in block, supplementary lighting module and light-emitting diodes pipe driving chip are set
Set and each component between connection be those skilled in the art common knowledge, be no longer described in detail in this application.
Main control module includes main control chip U2, the concrete model of main control chip U2 are as follows: STC15W402AS.
STC15W402AS series monolithic is the single-chip microcontroller of the single clock cycle of STC production, be a kind of Width funtion, high speed, it is highly reliable,
Low-power consumption, superpower anti-interference ability 8051 single-chip microcontroller of a new generation.STC15W402AS series monolithic is added using the 9th generation of STC
Secret skill art, completely compatible traditional 8051 single-chip microcontroller of instruction code.In addition, STC15W402AS series monolithic be internally integrated it is high-precision
RC clock is spent, 5MHz-35MHz wide scope is optional when ISP is programmed, and 16 grades of reset threshold voltages are optional.STC15W402AS series is single
One group of High-speed Asynchronous Secial Communication mouth, and built-in comparator is arranged in piece machine, powerful.STC15W402AS is applied in the present invention
Series monolithic, can the burning setting program in single-chip microcontroller in advance, main control chip U2 can be to each during this circuit is applied
The signal of interface input carries out operation, and according to the open and close of calculated result real-time control light compensating lamp, reaches automatic with this
Light filling, the automatic purpose for adapting to extraneous illumination condition and adjust automatically image quality.
Parameter adjustment module includes picture brightness unit, rgb value unit and image gain unit;Picture brightness unit,
Rgb value unit and image gain unit are connect with main control module respectively.In practical application of the present invention, mainly taken the photograph from external network
Picture brightness parameter, rgb value parameter and image gain parameter are extracted in camera to adjust light filling.
Picture brightness unit includes first interface CON3, the first triode Q2, first resistor R5 and second resistance R2;The
One end of one resistance R5 connects power module, and the other end of first resistor R5 is connect with the collector of the first triode Q2, and first
The base stage of triode Q2 is connect with one end of first resistor R5, and the other end of second resistance R2 is connect with main control chip U2, described
The emitter of first triode Q2 is grounded;The first pin of first interface CON3 is grounded, the second pin of first interface CON3 with
The connection of the common end of first resistor R5 and the first triode Q2.First interface CON3 and external network camera views luma samples
Circuit connection, the picture brightness parameter that external network video camera is shot with video-corder are accessed in circuit by first interface CON3, and via picture
Main control module is sent into after the processing of face luma unit to summarize, and facilitates main control module to the picture brightness real-time monitoring for shooting with video-corder picture, and
Light filling is controlled according further to monitoring result.
Rgb value module includes second interface CON4,3rd resistor R18 and the 4th resistance R20, and the of second interface CON4
One pin is connect with one end of 3rd resistor R18, and the other end of 3rd resistor R18 is connect with main control chip U2;Second interface
The second pin of CON4 is connect with one end of the 4th resistance R20, and the 4th resistance R20 other end is connect with main control chip U2;Second
The third pin of interface CON4 is grounded, and the 4th pin of second interface CON4 is connect with power module.Second interface CON4 and outer
The rgb value sample circuit of portion's web camera connects, and the rgb value of external network video camera accesses circuit by second interface CON4
In, and be sent into main control module after carrying out proper treatment to input signal by rgb value module, facilitate main control module to shooting with video-corder picture
Rgb value real-time monitoring, and according further to monitoring result control light filling.
Image gain unit includes third interface CON6, the 4th interface CON5, the second triode Q1 and chip gain U1,
The first pin of third interface CON6 is connect with chip gain U1, the second pin ground connection of third interface CON6;4th interface
The first pin of CON5 is connect with the base stage of the second triode Q1, and the second pin of the 4th interface CON5 is with the second triode Q1's
Emitter connection, the collector of the second triode Q1 are connect with chip gain U1.The 4th interface CON5 in image gain unit
It is connect with the image gain sample circuit of external network video camera, the image gain parameter of external network video camera is through the 4th interface
CON5 is sent into this circuit, and via chip gain U1 to the image gain sampled signal carry out operation after, by third interface
CON6 exports image gain to external web camera, adjusts the image gain of external network video camera.Further, gain core
Piece U1 is also connect with main control chip U2, and main control chip U2 can control unlatching and the pass of chip gain U1 according to practical image quality situation
Stop, is achieved in the purpose that main control module plans as a whole control whole circuit work.
The present invention also provides a kind of control methods that light filling is adjusted according to image quality, and this method includes following steps:
S1: initialization main control chip is arranged parameter, establishes using brightness of image, image rgb value and image gain as independent variable
Picture quality function F;
S2: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image
Rgb value and image gain parameter are sent into main control module;
S3: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F1 at this time;Such as F1
No more than the threshold value N1 that turns on light, then S4 is transferred to;If F1 is greater than the threshold value N1 that turns on light, then S2 is returned;
S4: main control module control supplementary lighting module is turned on light;
S5: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image
Rgb value and image gain parameter are sent into main control module;
S6: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F2 at this time;;F2
The best image quality threshold value N2 for not meeting setting, then be transferred to S7, if F2 meets the threshold value N3 that turns off the light of setting, is then transferred to S9;
S7: main control module controls supplementary lighting module and adjusts light filling intensity;
S8: S5-S7 is repeated;
S9: light filling is constant
S10: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image
Rgb value and image gain parameter are sent into main control module;
S11: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F3 at this time, such as
F3 is greater than the threshold value N3 that turns off the light, then is transferred to S12;Such as it is not more than, then returns to S10;
S12: it turns off the light.
In step 1 in the present invention, main control chip is initialized, while parameter is set, is established with brightness of image, image
Rgb value and image gain are the picture quality function F of independent variable, and the function is in summary three image quality parameter and is made
For measure image quality quality standard, convenient for accurately adjusting light filling in subsequent processes.External network video camera passes through the
Image quality relevant parameter is sent into main control module by one interface, second interface and the 4th interface, as main control module monitors that image quality drops
It is low, then the light compensating lamp in supplementary lighting module is opened, is monitoring area supplementary light, after light compensating lamp is opened, main control module is re-read
Best image quality is such as not implemented in image quality parameter, then further adjustment supplementary lighting module, its intensity of illumination is adjusted to best, perfection is suitable
Answer external light environment.
Further, the best image quality threshold value N2+ natural lighting reference value M of threshold value of turning off the light N3=;Wherein natural lighting refers to
Value M takes 30.It is emphasized that the ambient light set in the present invention is not limited only to 30 according to reference value, ambient light according to reference value by
The factors such as the type of photosensitive sensor, photosensitive fluctuation range, environmental change influence, and ambient light irradiation is shone reference value in the application
Be set as 30, be applicant by numerous experiments, summarize the specific data of this control circuit in practical applications after, selection
Data that are relatively reasonable and being able to achieve preferable effect.
Further, S4: main control module control supplementary lighting module is turned on light while carry out, main control chip real-time monitoring light compensating lamp
Working condition, the timer in main control chip starts to work, if main control chip monitors that light compensating lamp work surpasses 12 hours, then turns
Enter S12, is such as less than 12 hours, then waits.Light compensating lamp was opened more than 12 hours, and extraneous natural lighting is inevitable varied, this
When main control chip can control light compensating lamp to close, avoid waste of energy, reduce circuit energy consumption.
In this application, threshold value of turning on light N1 is for measuring and judging to shoot with video-corder whether picture meets the condition of turning on light, so as to master control
Module judges whether to need to open supplementary lighting module.Best image quality threshold value N2 is for measuring and judging to shoot with video-corder whether picture meets most preferably
Image quality requirement, so that main control module judges whether to need to adjust the light filling intensity of supplementary lighting module.Threshold value of turning off the light N3 is for measuring simultaneously
Judgement shoots with video-corder whether picture meets the condition of turning off the light, so that main control module judges whether to need to close light compensating lamp, threshold value of turning on light N1, most
The good image quality threshold value N2 and threshold value N3 that turns off the light is default value.
Present invention has an advantage that compared with the prior art, circuit structure provided by the invention is simple, control efficiency is high,
Control method provided by the invention is easy to control, light filling is accurate, perfect can adapt to exterior light and shine, most preferably shot with video-corder image quality.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.
Claims (9)
1. a kind of control circuit for adjusting light compensating lamp according to image quality, which includes power module and supplementary lighting module, feature
Be, which further includes having main control module and parameter adjustment module, the power module respectively with main control module, supplementary lighting module
It is connected with parameter adjustment module, the main control module is also connect with parameter adjustment module.
2. the control circuit of light filling is adjusted according to image quality as described in claim 1, which is characterized in that the main control module includes
There are main control chip, the concrete model of the main control chip are as follows: STC15W402AS.
3. the adjustment circuit of light filling is adjusted according to image quality as claimed in claim 2, which is characterized in that the parameter adjustment module
It include picture brightness unit, rgb value unit and image gain unit;The picture brightness unit, rgb value unit and image increase
Beneficial unit is connect with main control module respectively.
4. the adjustment circuit of light filling is adjusted according to image quality as claimed in claim 3, which is characterized in that the picture brightness unit
It include first interface, the first triode, first resistor and second resistance;One end of the first resistor connects power module,
The other end of the first resistor is connect with the collector of the first triode, the base stage of first triode and first resistor
One end connection, the other end of the second resistance are connect with main control chip, the emitter ground connection of first triode;Described
First pin of one interface is grounded, and the second pin and first resistor of the first interface and the common end of the first triode connect
It connects.
5. the adjustment circuit of light filling is adjusted according to image quality as claimed in claim 3, which is characterized in that the rgb value module packet
Second interface, 3rd resistor and the 4th resistance are included, the first pin of the second interface and one end of 3rd resistor connect, institute
The other end for stating 3rd resistor is connect with main control chip;The second pin of the second interface is connect with one end of the 4th resistance,
The 4th resistance other end is connect with main control chip;The third pin of the second interface is grounded, and the of the second interface
Four pins are connect with power module.
6. the adjustment circuit of light filling is adjusted according to image quality as claimed in claim 3, which is characterized in that described image gain unit
It include third interface, the 4th interface, the second triode and chip gain, the first pin and chip gain of the third interface
Connection, the second pin ground connection of the third interface;First pin of the 4th interface is connect with the base stage of the second triode,
The second pin of 4th interface is connect with the emitter of the second triode, the collector and gain core of second triode
Piece connection.
7. a kind of control method for adjusting light filling according to image quality, which is characterized in that this method includes following steps:
S1: initialization main control chip is arranged parameter, establishes using brightness of image, image rgb value and image gain as the figure of independent variable
Image quality flow function F;
S2: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image rgb value
It is sent into main control module with image gain parameter;
S3: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F1 at this time;As F1 is little
In the threshold value N1 that turns on light, then S4 is transferred to;If F1 is greater than the threshold value N1 that turns on light, then S2 is returned;
S4: main control module control supplementary lighting module is turned on light;
S5: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image rgb value
It is sent into main control module with image gain parameter;
S6: main control module carries out operation to the parameter being sent at this time and judges, obtains image quality value F2 at this time;F2 is not met
The best image quality threshold value N2 of setting, then be transferred to S7, if F2 meets the best image quality threshold value N2 of setting, be then transferred to S9;
S7: main control module controls supplementary lighting module and adjusts light filling intensity;
S8: S5-S7 is repeated;
S9: light filling is constant
S10: external network video camera is by first interface, second interface and the 4th interface respectively by brightness of image, image rgb value
It is sent into main control module with image gain parameter;
S11: main control module carries out operation to the parameter being sent at this time and judges, image quality value F3 at this time is obtained, as F3 is big
In the threshold value N3 that turns off the light, then S12 is transferred to;Such as it is not more than, then returns to S10;
S12: it turns off the light.
8. the control method of light filling is adjusted according to image quality as claimed in claim 7, which is characterized in that the threshold value N3=that turns off the light
Best image quality threshold value N2+ natural lighting reference value M;Wherein natural lighting reference value M takes 30.
9. the control method of light filling is adjusted according to image quality as claimed in claim 7, which is characterized in that the S4: main control module
Control supplementary lighting module is turned on light while carry out, the working condition of main control chip real-time monitoring light compensating lamp, the timing in main control chip
Device is started to work, and if main control chip monitors that light compensating lamp work surpasses 12 hours, is then transferred to S12, is such as less than 12 hours, then etc.
To.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811024035.3A CN108965677A (en) | 2018-09-04 | 2018-09-04 | A kind of control circuit and control method according to camera picture Mass adjust- ment light filling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811024035.3A CN108965677A (en) | 2018-09-04 | 2018-09-04 | A kind of control circuit and control method according to camera picture Mass adjust- ment light filling |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108965677A true CN108965677A (en) | 2018-12-07 |
Family
ID=64475872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811024035.3A Pending CN108965677A (en) | 2018-09-04 | 2018-09-04 | A kind of control circuit and control method according to camera picture Mass adjust- ment light filling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965677A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112052844A (en) * | 2020-08-31 | 2020-12-08 | 深圳市商汤科技有限公司 | Light supplementing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102573239A (en) * | 2012-01-16 | 2012-07-11 | 迅驰(北京)视讯科技有限公司 | Method and device for intelligently controlling brightness of flash of camera |
CN105389572A (en) * | 2015-12-10 | 2016-03-09 | 威海北洋电气集团股份有限公司 | All-in-one machine for human face and identity card recognition and light supplementing method capable of automatically adjusting brightness |
CN106101569A (en) * | 2016-08-22 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method of light filling of taking pictures and mobile terminal |
WO2018120074A1 (en) * | 2016-12-30 | 2018-07-05 | 天彩电子(深圳)有限公司 | Night-vision switching method for monitoring photographing apparatus, and system thereof |
CN108259776A (en) * | 2018-04-08 | 2018-07-06 | 乐山师范学院 | A kind of multi-angle acquisition light compensating apparatus of image procossing |
-
2018
- 2018-09-04 CN CN201811024035.3A patent/CN108965677A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102573239A (en) * | 2012-01-16 | 2012-07-11 | 迅驰(北京)视讯科技有限公司 | Method and device for intelligently controlling brightness of flash of camera |
CN105389572A (en) * | 2015-12-10 | 2016-03-09 | 威海北洋电气集团股份有限公司 | All-in-one machine for human face and identity card recognition and light supplementing method capable of automatically adjusting brightness |
CN106101569A (en) * | 2016-08-22 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method of light filling of taking pictures and mobile terminal |
WO2018120074A1 (en) * | 2016-12-30 | 2018-07-05 | 天彩电子(深圳)有限公司 | Night-vision switching method for monitoring photographing apparatus, and system thereof |
CN108259776A (en) * | 2018-04-08 | 2018-07-06 | 乐山师范学院 | A kind of multi-angle acquisition light compensating apparatus of image procossing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112052844A (en) * | 2020-08-31 | 2020-12-08 | 深圳市商汤科技有限公司 | Light supplementing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206209269U (en) | Projection light source drive control circuit | |
CN106375645B (en) | A kind of adaptive control system based on infrared eye | |
CN110505733A (en) | LED control circuit, device and the control method of compatible silicon controlled light modulator | |
CN206272910U (en) | A kind of inductor for being placed in detection ambient light illumination in light fixture | |
CN108965677A (en) | A kind of control circuit and control method according to camera picture Mass adjust- ment light filling | |
CN107567153A (en) | A kind of system and method for adjusting room light | |
CN106304570B (en) | A kind of method and inductor being placed in detection ambient light illumination in lamps and lanterns | |
CN106402760A (en) | Induction energy-saving lamp | |
CN206118124U (en) | But low pressure is remote control light modulation lamp cluster regularly | |
WO2021147835A1 (en) | One-key master control system for intelligent lighting terminal, and control method therefor | |
CN209313916U (en) | A kind of control circuit according to camera picture Mass adjust- ment light filling | |
CN206413234U (en) | Indoor intelligent inductive lightning system | |
CN109001206A (en) | A kind of fruit defects detection method and detection system based on image recognition | |
CN209435491U (en) | A kind of twin voltage LED drive circuit and driving device | |
CN108933900A (en) | A kind of video camera light filling control circuit and its control method | |
CN110361918A (en) | A kind of automatic light control system and the projector with it | |
CN205546038U (en) | LED self -adaptation dimming control device | |
CN209299399U (en) | A kind of video camera light filling control circuit | |
CN106487223A (en) | Voltage control circuit | |
CN105611696B (en) | Intelligent House Light energy-saving monitoring method | |
CN208445802U (en) | A kind of clothes airing machine illumination energy saving circuit | |
CN206674264U (en) | A kind of light controlling device and photoinduction lighting device | |
CN207410557U (en) | LED drive power power control circuit | |
CN106550515A (en) | A kind of intelligent dimming ager and light modulation shading process | |
CN208113025U (en) | It is a kind of to follow dimming device for tunable optical lamps and lanterns |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |