CN104601893B - LED spotlight electric current sets apparatus and method, flash photographing device - Google Patents

LED spotlight electric current sets apparatus and method, flash photographing device Download PDF

Info

Publication number
CN104601893B
CN104601893B CN201510052260.8A CN201510052260A CN104601893B CN 104601893 B CN104601893 B CN 104601893B CN 201510052260 A CN201510052260 A CN 201510052260A CN 104601893 B CN104601893 B CN 104601893B
Authority
CN
China
Prior art keywords
led
current value
flash
total current
vcm
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
Application number
CN201510052260.8A
Other languages
Chinese (zh)
Other versions
CN104601893A (en
Inventor
周俊伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510052260.8A priority Critical patent/CN104601893B/en
Publication of CN104601893A publication Critical patent/CN104601893A/en
Application granted granted Critical
Publication of CN104601893B publication Critical patent/CN104601893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)
  • Stroboscope Apparatuses (AREA)

Abstract

The present invention relates to LED light filling shooting technology, more particularly to LED flash electric current sets apparatus and method, flash photographing device, with solve LED flash to when background is dark, background is under-exposed the problem of.In LED flash electric current provided in an embodiment of the present invention sets device, the voice coil motor VCM codes that parameter acquisition module 401 is obtained after the flash photographing device auto-focusing where for obtaining LED flash;Processing module 402 is used for the output total current value that LED flash is determined according to the VCM codes.Because VCM codes can reflect the distance of subject, therefore the embodiment of the present invention can realize the output total current value that LED flash is set according to the distance of subject, thus without excessively adjustment time for exposure and ISO, so as to avoid the output total current value using fixed LED flash, shortening the time for exposure or reducing ISO causes the problem of background is under-exposed.

Description

LED spotlight electric current sets apparatus and method, flash photographing device
Technical field
The present invention relates to light emitting diode (Light Emitting Diode, LED) light filling shooting technology, more particularly to one Plant LED flash electric current and apparatus and method, flash photographing device are set.
Background technology
LED flash be installed on mobile phone, tablet personal computer, etc. in equipment, for the light filling when these camera installations are taken pictures.Mesh Before, LED flash has single LED flash, many LED flashes, monochromatic warm LED flash, variable color-temperature LED flash etc. a variety of Type.Wherein, a LED lamp is only included in single LED flash, many LED flashes include plurality of LEDs lamp.
LED is driven luminous, LED drive integrated circults by LED drive integrated circults (Integrated Circuit, IC) Control switch, output current size, current duration of LED etc..For single LED flash, LED drivings IC sets the sudden strain of a muscle The electric current of a LED in light lamp, the i.e. total output current of flash lamp, control its luminous intensity;For many LED flashes, LED Driving IC sets the electric current of each LED in the flash lamp respectively, and the electric current sum of each LED always exports electricity for flash lamp Stream.For variable color-temperature LED flash, the colour temperature of each LED is different, LED drive IC by be respectively different-colour each LED Deng electric current is set, the colour temperature of regulation flash lamp can be achieved.
At present, when LED light fillings are taken pictures, during automatic exposure, generally there is preflashing and dodge two steps by force.Dodging by force In step, either single LED flash or many LED flashes, the total output current of flash lamp is fixed.Light-metering in equipment System is ensured by light-metering part normal exposure by preflashing.The focus shot during shooting is usually located at subject.During preflashing Because subject is nearer apart from camera, the reflected light of generation is stronger, therefore during strong dodge, in order to ensure to be taken Object exposure is normal, on the premise of total output current of flash lamp is fixed, and generally to shorten time for exposure or reduction sensitivity (ISO).If background is dark, background can be caused under-exposed.
The content of the invention
The embodiment of the present invention provides a kind of LED flash electric current and sets apparatus and method, flash photographing device, to solve LED flash is to when background is dark, the problem of background is under-exposed.
In a first aspect, the embodiment of the present invention, which provides a kind of LED electric current of flash lamp, sets device, including:
Parameter acquisition module, for obtaining the voice coil loudspeaker voice coil obtained after the flash photographing device auto-focusing where LED flash Motor VCM codes, between the VCM codes and the flash photographing device and subject that the parameter acquisition module is obtained Distance is related;
Processing module, the VCM codes for being obtained according to the parameter acquisition module determine that the output of the LED flash is total Current value, the output total current value for the LED flash that the processing module is determined is used to control the LED flash to send out Light.
With reference in a first aspect, in the first possible implementation,
The processing module is additionally operable to:The LED flash is determined in the VCM codes obtained according to the parameter acquisition module Output total current value before, pair of the output total current value of VCM codes and the LED flash needs is demarcated as follows It should be related to:
Each for N number of focusing interval that effective influence distance for the LED flash includes, is tested described respectively The output total current value that LED flash needs;Each interval corresponding institute of focusing that the N number of focusing interval of demarcation and test are obtained State the first corresponding relation of the output total current value of LED flash needs;Focused on each focusing interval, demarcate each right Burnt interval the second corresponding relation with VCM codes;According to first corresponding relation and second corresponding relation, VCM codes are demarcated The corresponding relation of the output total current value needed with the LED flash;
The processing module specifically for:It is always electric according to the VCM codes and output that the LED flash needs of determination The corresponding relation of flow valuve, it is determined that the output total current value of the corresponding LED flash of VCM codes obtained.
With reference to the first possible implementation of first aspect or first aspect, in second of possible implementation In,
The parameter acquisition module is additionally operable to:Before the VCM codes are obtained, when obtaining the flash photographing device preview Ambient brightness value;
The processing module specifically for:
The VCM codes obtained according to the parameter acquisition module and the ambient brightness value, determine the LED flash Output total current value.
With reference to the first possible implementation or second of possible implementation of first aspect, first aspect, In the third possible implementation, the output total current value is that the LED flash flashes journey during preflashing or by force In output total current value.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation, if described defeated Go out output total current value of the total current value for the LED flash during strong dodge, and the LED flash include it is multiple not With the LED of colour temperature, then
The parameter acquisition module is additionally operable to:Before the VCM codes are obtained, when obtaining the flash photographing device preview AWB AWB yield values;
The processing module is additionally operable to:The LED flash is determined in the VCM codes obtained according to the parameter acquisition module Output total current value after, according to the parameter acquisition module obtain AWB yield values, and determine output total current Value, determines the current value for each LED that the LED flash includes.
Second aspect, the embodiment of the present invention provides a kind of flash photographing device, including:LED flash lamp, with LED drive integrated circults IC, the camera of the LED flash connection, and connect with the camera and LED drivings IC The LED flash electric current connect sets device;
The LED flash electric current sets device, for controlling after the camera auto-focusing, obtains voice coil motor VCM codes;The output total current value of LED flash is determined according to the VCM codes of acquisition;The output of the LED flash of determination is always electric Flow valuve issues the LED drivings IC;
The LED drive integrated circults IC, the LED for setting device to send according to the LED flash electric current glistens The output total current value of lamp, controls the LED flash to light.
With reference to second aspect, in the first possible implementation,
The LED flash electric current sets device to be additionally operable to:The output of LED flash is being determined according to the VCM codes of acquisition Before total current value, VCM codes are demarcated as follows, and the corresponding of output total current value with the LED flash needs is closed System:
Each for N number of focusing interval that effective influence distance for the LED flash includes, is tested described respectively The output total current value that LED flash needs;Each interval corresponding institute of focusing that the N number of focusing interval of demarcation and test are obtained State the first corresponding relation of the output total current value of LED flash needs;Focused on each focusing interval, demarcate each right Burnt interval the second corresponding relation with VCM codes;According to first corresponding relation and second corresponding relation, VCM codes are demarcated The corresponding relation of the output total current value needed with the LED flash;
The LED flash electric current set device specifically for:According to the VCM codes and the LED flash of determination The corresponding relation of the output total current value needed, it is determined that the output total current of the corresponding LED flash of VCM codes obtained Value.
With reference to the first possible implementation of second aspect or second aspect, in second of possible implementation In,
The LED flash electric current sets device to be additionally operable to:Before the VCM codes are obtained, the camera is controlled to enter Row preview, and ambient brightness value when obtaining preview;
The LED flash electric current set device specifically for:According to the VCM codes of acquisition and the ambient brightness Value, determines the output total current value of the LED flash.
With reference to the first possible implementation or second of possible implementation of second aspect, second aspect, In the third possible implementation, the output total current value is that the LED flash flashes journey during preflashing or by force In output total current value.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation, if described defeated Go out output total current value of the total current value for the LED flash during strong dodge, and the LED flash include it is multiple not With the LED of colour temperature, then
The LED flash electric current sets device to be additionally operable to:Before the VCM codes are obtained, the camera is controlled to enter Row preview, and AWB AWB yield values when obtaining the flash photographing device preview;
After the output total current value of LED flash is determined according to the VCM codes of acquisition, according to the AWB yield values of acquisition, And the output total current value determined, the current value for each LED that the LED flash includes is determined, by described in determination The current value for each LED that LED flash includes issues the LED drivings IC;
The LED drivings IC is additionally operable to:According to the LED flash electric current, the LED flash that device is sent is set The current value of each LED included, each LED that the LED flash is controlled respectively to be included lights.
The third aspect, the embodiment of the present invention provides a kind of LED electric current of flash lamp method to set up, including:
The voice coil motor VCM codes obtained after flash photographing device auto-focusing are obtained, the VCM codes of acquisition dodge with described Light camera arrangement is related to the distance between subject;
The output total current value of the LED flash of the flash photographing device is determined according to the VCM codes of acquisition, it is determined that institute Stating the output total current value of LED flash is used to control the LED flash to light.
With reference to the third aspect, in the first possible implementation,
Before the output total current value of LED flash of the flash photographing device is determined according to the VCM codes of acquisition, also Including:The corresponding relation for the output total current value that VCM codes need with the LED flash is demarcated as follows:For institute Each for N number of focusing interval that effective influence distance of LED flash includes is stated, the LED flash needs are tested respectively Output total current value;The interval interval corresponding LED flash of each focusing obtained with test of the N number of focusing of demarcation is needed First corresponding relation of the output total current value wanted;Focused on each focusing interval, demarcate each focusing interval and VCM codes The second corresponding relation;According to first corresponding relation and second corresponding relation, demarcation VCM codes glisten with the LED The corresponding relation for the output total current value that lamp needs;
The output total current value of LED flash is determined according to the VCM codes of acquisition, including:
The corresponding relation for the output total current value that the VCM codes according to determination need with the LED flash, it is determined that obtaining The output total current value of the corresponding LED flash of VCM codes obtained.
With reference to the first possible implementation of the third aspect or the third aspect, in second of possible implementation In,
Before the VCM codes are obtained, in addition to:Obtain the ambient brightness value during flash photographing device preview;
The output total current value of the LED flash that the flash photographing device is determined according to the VCM codes of acquisition, bag Include:
According to the VCM codes of acquisition and the ambient brightness value, the output total current value of the LED flash is determined.
With reference to the first possible implementation or second of possible implementation of the third aspect, the third aspect, In the third possible implementation, the output total current value is that the LED flash flashes journey during preflashing or by force In output total current value.
With reference to the third possible implementation of the third aspect, in the 4th kind of possible implementation, if described defeated Go out output total current value of the total current value for the LED flash during strong dodge, and the LED flash include it is multiple not With the LED of colour temperature, then
Before the VCM codes are obtained, in addition to:Obtain the AWB AWB during flash photographing device preview Yield value;
After the output total current value of LED flash of the flash photographing device is determined according to the VCM codes of acquisition, also Including:
According to the AWB yield values of acquisition, and the output total current value determined, determine what the LED flash included The current value of each LED.
To sum up, apparatus and method, flash photographing device are set the embodiments of the invention provide a kind of LED flash electric current, Wherein, because VCM codes can reflect the distance of subject, therefore the embodiment of the present invention can realize this according to quilt Shoot object distance set LED flash output total current value, thus without excessively adjustment the time for exposure and ISO, so that when avoiding the output total current value using fixed LED flash, shortening the time for exposure or reducing ISO causes the back of the body The problem of scape is under-exposed.
Brief description of the drawings
Fig. 1 is the structural representation of flash photographing device provided in an embodiment of the present invention;
The method flow diagram of the corresponding relation for the output total current value that Fig. 2 needs for demarcation VCM codes with LED flash;
Fig. 3 is the flow chart of taking pictures of the embodiment of the present invention one;
Fig. 4 is the structural representation that LED flash electric current provided in an embodiment of the present invention sets device;
Fig. 5 is the flow chart of LED flash current setting method provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of LED flash electric current and sets apparatus and method, flash photographing device, to solve LED flash is when background is dark, the problem of under-exposed to background farther out.
In LED flash electric current provided in an embodiment of the present invention sets device, parameter acquisition module, for obtaining LED Voice coil motor (Voice Coil Motor, the VCM) code (VCM obtained after flash photographing device auto-focusing where flash lamp code);Processing module, the VCM codes for being obtained according to parameter acquisition module determine the output total current value of LED flash.
Because VCM codes can reflect the distance of subject, therefore the embodiment of the present invention can realize the root The output total current value of LED flash is set according to the distance of subject, thus without excessively adjusting the time for exposure And ISO, so that when avoiding the output total current value using fixed LED flash, shortening the time for exposure or reducing ISO causes The problem of background is under-exposed.
Such as:If subject is nearer from camera, according to the VCM codes obtained after auto-focusing, set less The output total current value of LED flash, now just without excessively shortening time for exposure and reduction ISO, with the technology used at present Compare, equivalent to increasing the time for exposure of background or improve the ISO of background.
Below, the embodiment of the present invention is described in detail with reference to accompanying drawing.First, sudden strain of a muscle provided in an embodiment of the present invention is introduced Light camera arrangement, then introduces LED flash electric current provided in an embodiment of the present invention and sets apparatus and method.
Fig. 1 is the structural representation of flash photographing device 10 provided in an embodiment of the present invention.As shown in figure 1, the device bag Include:
LED flash 101, the LED drive integrated circults being connected with LED flash 101 (Integrated Circuit, IC) 102, camera 103, and the processor 104 being connected with camera 103 and LED drivings IC102.
Wherein, processor 104, for controlling after the auto-focusing of camera 103, obtain voice coil motor VCM codes;According to acquisition VCM codes determine LED flash output total current value;The output total current value of the LED flash of determination is issued into LED drivings IC102;
LED drive integrated circult IC102, for the output total current value of the LED flash sent according to processor 104, LED flash 101 is controlled to light.
Specifically, LED flash 101 may include one or plurality of LEDs lamp, if including plurality of LEDs lamp, the plurality of LEDs lamp Can have identical colour temperature or different-colour.
LED flash 101 sends the light of specified intensity and specified duration under the driving that LED drives IC102.Should Specified intensity and specified duration are to pass through LED driving IC102 controls by processor 104.
If LED flash 101 includes a LED lamp, or includes the LED of many identical colour temperatures, then LED flash 101 Send single color temperature light;If LED flash 101 includes the LED of many different-colours, the light of variable color-temperature is sent.
LED driving IC102 be responsible for control LED flash 101 switch, the size of the output current of LED flash 101 and Duration etc..
Camera 103 is responsible for collection preview data and data of taking pictures.
Processor 104 may include one or more processors, such as:Including the application processor shown in Fig. 1 (Application Processor, AP) 1041 and image-signal processor (Image Signal Processor, ISP) 1042。
If processor 104 include multiple processors, including the plurality of processor collaboration complete take pictures, the control of flash lamp Function processed.Such as:AP1041 controls take pictures flow, control LED drivings IC102 etc.;ISP1042 is responsible for handling camera 103 Data, carry out auto-focusing processing and automatic exposure processing etc..
When setting the electric current of LED flash 101, specifically, as described above, the control camera 103 of processor 104 is automatic To defocused, VCM codes are obtained;The output total current value of LED flash 101 is determined according to the VCM codes of acquisition;The LED of determination is dodged The output total current value of light lamp 101 issues LED drivings IC102.
Wherein, the auto-focusing of camera 103 can be controlled by ISP1042, and obtains the VCM after the auto-focusing of camera 103 Code, or the VCM codes after auto-focusing, specifically using which kind of mode, the specific feelings that can be realized according to product are obtained by AP1041 Depending on condition.Such as:It is according to AP1041 and ISP1042 processing load, the processing for obtaining VCM codes is lighter by processing load Device is managed to realize.
If obtaining VCM codes by ISP1042, the VCM codes of acquisition are issued AP1041 by ISP1042, AP1041 according to from The VCM codes received at ISP1042 determine the output total current value of LED flash 101, afterwards, by the LED flash of determination 101 output total current value issues LED drivings IC102.
Alternatively, the output total current value that AP1041 can need according to the VCM codes demarcated in advance with LED flash 101 Corresponding relation, finds the output total current value that the LED flash 101 corresponding to the VCM codes of acquisition needs, by the value found It is used as the output total current value of the LED flash 101 of determination.
Alternatively, as shown in Fig. 2 AP1041 can demarcate that VCM codes and LED flash 101 need as follows it is defeated Go out the corresponding relation of total current value:
S201:Effective influence distance of LED flash 101 is divided into N number of focusing interval;
S202:In the range of the LED flash output total current that LED drives IC102 to support, by the output of LED flash Total current is divided into N number of shelves;
Alternatively, each total current shelves have corresponding preflashing total current and strong sudden strain of a muscle total current, in other words, preflashing is always electric Stream is divided into N number of shelves, and strong total current of dodging is also divided into N number of shelves.
The embodiment of the present invention sets the scheme of LED flash electric current to be not only suitable for setting preflashing total current, is also applied for setting Put strong sudden strain of a muscle total current.
S203:The interval each focusing of N number of focusing for division is interval, by testing the LED flash needed 101 output total current value;
S204:First corresponding relation of the interval output total current value needed with LED flash 101 of demarcation focusing, it is as follows Shown in the table 1 in face (by taking strong lightning stream as an example);
S205:Focused on each focusing interval during N number of focusing is interval;
Such as:Focused at the interval coboundary of the focusing or lower boundary;
S206:Each interval second corresponding relation with VCM codes of focusing is demarcated, as shown in Table 2 below (with strong lightning Exemplified by stream);
S207:According to the second corresponding relation demarcated in the first corresponding relation and step S206 demarcated in step S204, The corresponding relation for the output total current value that VCM codes need with LED flash 101 is demarcated, as shown in Table 3 below.
Table 1, interval the first corresponding relation with output total current value of focusing
Focusing is interval Export total current value
>200cm 1500mA
>=100cm, and≤200cm 1000mA
>=50cm, and≤99cm 750mA
>=25cm, and≤49cm 375mA
>=0cm, and≤25cm 187mA
Table 2, VCM codes second corresponding relation interval with focusing
VCM codes Focusing is interval
>=0, and≤150 >200cm
>=151, and≤200 >=100cm, and≤200cm
>=201, and≤300 >=50cm, and≤99cm
>=301, and≤400 >=25cm, and≤49cm
>=401, and≤500 >=0cm, and≤25cm
Table 3, VCM codes and the corresponding relation of output total current value
VCM codes Export total current value
>=0, and≤150 1500mA
>=151, and≤200 1000mA
>=201, and≤300 750mA
>=301, and≤400 375mA
>=401, and≤500 187mA
Alternatively, if LED flash 101 is made up of many different LEDs of colour temperature, except setting output total current Outside, in addition it is also necessary to distribute electric current for each LED lamp, for the situation, after step S207, can also include step S208:For Each LEDs driving IC102 distribution electric currents in LED flash 101.
Such as:The strong sudden strain of a muscle total current value that step S207 is determined is 1500mA, and preflashing total current value is 180mA, due to difference The brightness under same current of the LED of colour temperature may have larger difference, therefore in order to which preflashing light-metering is accurate, it is necessary to ensure each LED The combination of the preflashing electric current of lamp is identical with the ratio of the combination of the strong lightning stream of each LED.
Such as:Dodging total current value by force is:1500mA, preflashing total current value is:180mA;
Assuming that LED flash 101 includes two LEDs, respectively LED1 and LED2, if the strong lightning stream of each LED It is combined as:LED1:500mA, LED2:1000mA, then
The preflashing electric current of each LED is combined as:LED1:60mA, LED2:120mA.
For each LED distribute electric current when, when can be according to preview AWB (Auto White Balance, AWB) yield value is allocated.
Wherein, processor 104 obtains AWB yield values during preview, alternatively, the AWB gains before VCM codes are obtained Value can be determined by AP1041 or ISP1042.
Alternatively, before processor 104 obtains VCM codes, ambient brightness value during preview is first obtained.With obtaining VCM The mode of code is similar, and ambient brightness value can be obtained by AP1041, can also be obtained by ISP1042.If being obtained by ISP1042, ISP1042 control cameras 103 carry out preview, and the information of the ambient brightness sensed is returned in the induced environment brightness of camera 103 Back to ISP1042, ISP1042 determines ambient brightness value during preview according to the information of the ambient brightness of reception, by the ring of determination Border brightness value issues AP1041, and AP1041 determines the output of LED flash 101 according to the ambient brightness value and foregoing VCM codes Total current value.
AP1041 it is determined that LED flash 101 output total current value when, can be according to the VCM codes and ambient brightness of acquisition Value, determines the output total current value of LED flash 101.
Such as:When ambient brightness value is less than default low illumination threshold value, in the output total current value determined according to VCM codes On the basis of, a grade is improved, such as:With reference to table 3, it is determined that output total current value is 750mA, preset if ambient brightness value is less than Low illumination threshold value, then on the basis of 750mA, will output total current value be promoted to 1000mA.
For another example:When ambient brightness value is more than default bloom and shines threshold value, in the output total current determined according to VCM codes On the basis of value, a grade is improved, such as:With reference to table 3, it is determined that output total current value is 375mA, if ambient brightness value is more than in advance If bloom shine threshold value, then on the basis of 375mA, will output total current value be reduced to 750mA.
Below, by embodiment one, when illustrating to use the LED flash electric current plan of establishment provided in an embodiment of the present invention Take pictures flow.
【Embodiment one】
In embodiment one, illustrated by taking the LED that LED flash 101 includes multiple different-colours as an example.Such as Fig. 3 institutes Show, the flow of taking pictures of embodiment one comprises the following steps:
S301:AP1041 obtains the VCM codes after auto-focusing, and following parameters during preview:Ambient light bright values, AWB The parameters such as yield value, ISO values, time for exposure;AP1041 preserves the above-mentioned parameter obtained;
S302:AP1041 is determined during corresponding strong sudden strain of a muscle, the output of LED flash 101 is total according to the VCM codes of acquisition Current value;
S303:The ambient brightness value during preview of acquisition is shone threshold value and default low light by AP1041 with default bloom Compare according to threshold value, if ambient brightness value is less than low illumination threshold value or shines threshold value more than bloom, the output determined in step S302 One grade is improved on the basis of total current;The output total current value and preflashing of LED flash 101 during further according to the strong sudden strain of a muscle demarcated in advance When LED flash 101 output total current value corresponding relation, determine the output total current value of LED flash 101 during preflashing;
S304:AP1041 is determined according in the AWB yield values during VCM codes, preview obtained in step S301, step S302 Strong sudden strain of a muscle when LED flash 101 output total current value, it is determined that in strong LED flash 101 when dodging each LED current value; AP1041 is according to the LED during preflashing determined in the AWB yield values during VCM codes, preview obtained in step S301, step S303 The output total current value of flash lamp 101, determines the current value of each LED in LED flash 101 during preflashing;
Specifically, AP1041 can obtain the electric current of each LED in the LED flash 101 that LED drivings IC102 is supported in advance Combination, and the corresponding AWB yield values of each currents combination are demarcated in advance;
AP1041 is according to the output total current value of the LED flash 101 during the strong sudden strain of a muscle of determination, from above-mentioned each currents combination Each currents combination of the output total current value of LED flash 101 during the strong sudden strain of a muscle for finding electric current and value to determine, it is each from what is found In currents combination, the immediate currents combination of AWB yield values when corresponding AWB yield values and the preview of acquisition is selected, it is determined that The current value of the strong each LED of LED flash 101 when dodging for each electric current in the currents combination of the selection value;
Similarly, during the preflashing that AP1041 is also determined in LED flash 101 each LED current value;
S305:AP1041 starts preflashing light-metering, and ambient brightness value when obtaining preflashing;
Specifically, the current value of each LED in LED flash 101 during the preflashing that can be determined according to step S304, control Make each LED to light, carry out preflashing light-metering;
S306:AP1041 according to the relation of the result of preview, preflashing light-metering, and preflashing current value and strong lightning flow valuve, It is determined that the ISO values needed during strong sudden strain of a muscle and and time for exposure;
Specifically, AP1041 is obtained according to the ambient brightness value during preview obtained in step S301, and in step S305 The ambient brightness value during preflashing obtained, determines the brightness value of LED flash 101 during preflashing;
AP1041 according to the brightness value of the LED flash 101 during advance demarcation preflashing with strong dodge when LED flash 101 Brightness value between corresponding relation (can be by test calibration), it is determined that the brightness value of strong LED flash 101 when dodging;
AP1041 is further according to the brightness value of LED flash 101 when determining to dodge by force, the ambient brightness value during preview of acquisition, And determine strong sudden strain of a muscle when LED flash 101 output total current value, it is determined that the strong ISO values needed when dodging and and exposing constantly Between;
S307:The set of currents that AP1041 will be found in the AWB yield values and step S304 when preview is obtained in step S301 Close corresponding AWB yield values (the AWB yield values demarcated in advance) to be weighted averagely, it is determined that AWB yield values during strong sudden strain of a muscle;
S308:Determined in ISO values and time for exposure during the strong sudden strain of a muscle determined in AP1041 setting steps S306, step S304 Strong sudden strain of a muscle when LED flash 101 in each LED current value, and determined in step S307 strong sudden strain of a muscle when AWB gains Value;
S309:The parameters that AP1041 is set according to step S308, start exposure of taking pictures, while starting strong sudden strain of a muscle, exposure End simultaneously closes off flash lamp.
More than, flash photographing device provided in an embodiment of the present invention is described, and flash of light is described by embodiment one and is clapped According to flow.Based on identical inventive concept, the embodiment of the present invention additionally provides LED flash electric current and sets apparatus and method, Because the principle that it solves technical problem is similar with flash photographing device provided in an embodiment of the present invention, its implementation can refer to the sudden strain of a muscle The implementation of light camera arrangement, repeats part and repeats no more.
Fig. 4 is the structural representation that LED flash electric current provided in an embodiment of the present invention sets device.As shown in figure 4, should Device includes:
Parameter acquisition module 401, for obtaining the sound obtained after the flash photographing device auto-focusing where LED flash Enclose motor VCM codes, the distance between VCM codes and flash photographing device and subject of the acquisition of parameter acquisition module 401 phase Close;
Processing module 402, the VCM codes for being obtained according to parameter acquisition module 401 determine that the output of LED flash is always electric Flow valuve, the output total current value for the LED flash that processing module 402 is determined is used to control LED flash to light.
Alternatively, processing module 402 is additionally operable to:LED flashes of light are determined in the VCM codes obtained according to parameter acquisition module 401 Before the output total current value of lamp, VCM codes are demarcated as follows corresponding with output total current value that LED flash needs Relation:
Each for N number of focusing interval that effective influence distance for LED flash includes, tests LED flashes of light respectively The output total current value that lamp needs;Each interval corresponding LED flash of focusing that the N number of focusing interval of demarcation and test are obtained First corresponding relation of the output total current value needed;Focused on each focusing interval, demarcate each focusing interval and VCM Second corresponding relation of code;According to the first corresponding relation and the second corresponding relation, it is defeated that demarcation VCM codes and LED flash need Go out the corresponding relation of total current value;
Processing module 402 specifically for:Pair for the output total current value that VCM codes according to determination need with LED flash It should be related to, it is determined that the output total current value of the corresponding LED flash of VCM codes obtained.
Alternatively, parameter acquisition module 401 is additionally operable to:Before VCM codes are obtained, during acquisition flash photographing device preview Ambient brightness value;
Processing module 402 specifically for:
The VCM codes and ambient brightness value obtained according to parameter acquisition module 401, determines the output total current of LED flash Value.
Alternatively, output total current value is output total current value of the LED flash during preflashing or during strong sudden strain of a muscle.
Alternatively, if output total current value is output total current value of the LED flash during strong dodge, and LED glistens Lamp includes the LED of multiple different-colours, then
Parameter acquisition module 401 is additionally operable to:It is automatic white during acquisition flash photographing device preview before VCM codes are obtained Balance AWB yield values;
Processing module 402 is additionally operable to:The output of LED flash is determined in the VCM codes obtained according to parameter acquisition module 401 After total current value, the AWB yield values obtained according to parameter acquisition module 401, and the output total current value determined, it is determined that The current value for each LED that LED flash includes.
Fig. 5 is the flow chart of LED flash current setting method provided in an embodiment of the present invention.As shown in figure 5, this method Including:
S501:Obtain the voice coil motor VCM codes obtained after flash photographing device auto-focusing, VCM codes and the flash of light of acquisition Camera arrangement is related to the distance between subject;
S502:The output total current value of the LED flash of flash photographing device is determined according to the VCM codes of acquisition, it is determined that The output total current value of LED flash is used to control LED flash to light.
Alternatively, determine that the output of the LED flash of flash photographing device is always electric according to the VCM codes of acquisition in step S502 Before flow valuve, in addition to:
The corresponding relation for the output total current value that VCM codes need with LED flash is demarcated as follows:For LED Each for N number of focusing interval that effective influence distance of flash lamp includes, the output that LED flash needs are tested respectively is always electric Flow valuve;The N number of focusing of demarcation is interval and tests the output total current that the obtained interval corresponding LED flash of each focusing needs First corresponding relation of value;Focused on each interval of focusing, demarcate interval the second corresponding pass with VCM codes of each focusing System;Pair of the output total current value needed according to the first corresponding relation and the second corresponding relation, demarcation VCM codes with LED flash It should be related to;
Step S502 determines the output total current value of LED flash according to the VCM codes of acquisition, including:
The corresponding relation for the output total current value that VCM codes according to determination need with LED flash, it is determined that the VCM obtained The output total current value of the corresponding LED flash of code.
Alternatively, before VCM codes are obtained, in addition to:Obtain ambient brightness value during flash photographing device preview;
The output total current value of the LED flash of flash photographing device is determined according to the VCM codes of acquisition, including:According to obtaining The VCM codes and ambient brightness value obtained, determines the output total current value of LED flash.
Alternatively, output total current value is output total current value of the LED flash during preflashing or during strong sudden strain of a muscle.
Alternatively, if output total current value is output total current value of the LED flash during strong dodge, and LED glistens Lamp includes the LED of multiple different-colours, then
Before VCM codes are obtained, in addition to:Obtain AWB AWB yield values during flash photographing device preview;
After the output total current value of LED flash of flash photographing device is determined according to the VCM codes of acquisition, also wrap Include:According to the AWB yield values of acquisition, and the output total current value determined, determine each LED that LED flash includes Current value.
To sum up, the embodiment of the present invention provides a kind of LED flash electric current and sets apparatus and method, flash photographing device.Its In, because VCM codes can reflect the distance of subject, therefore the embodiment of the present invention can realize that basis is taken The distance of object sets the output total current value of LED flash, thus without excessively adjustment time for exposure and ISO, from And when avoiding the output total current value using fixed LED flash, shorten the time for exposure or reducing ISO causes background to expose Not enough the problem of.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (15)

1. a kind of LED electric current of flash lamp sets device, it is characterised in that including:
Parameter acquisition module, for obtaining the voice coil motor obtained after the flash photographing device auto-focusing where LED flash The distance between VCM codes, described VCM codes and the flash photographing device and subject that the parameter acquisition module is obtained It is related;
Processing module, the VCM codes for being obtained according to the parameter acquisition module determine the output total current of the LED flash Value, the output total current value for the LED flash that the processing module is determined is used to control the LED flash to light.
2. device as claimed in claim 1, it is characterised in that
The processing module is additionally operable to:The defeated of the LED flash is determined in the VCM codes obtained according to the parameter acquisition module Go out before total current value, VCM codes are demarcated as follows, and the corresponding of output total current value with the LED flash needs is closed System:
Each for N number of focusing interval that effective influence distance for the LED flash includes, tests the LED respectively The output total current value that flash lamp needs;Each focusing interval that the N number of interval and test of focusing of demarcation is obtained is corresponding described First corresponding relation of the output total current value that LED flash needs;Focused on each focusing interval, demarcate each focusing Interval the second corresponding relation with VCM codes;According to first corresponding relation and second corresponding relation, demarcation VCM codes and The corresponding relation for the output total current value that the LED flash needs;
The processing module specifically for:The output total current value that the VCM codes according to determination need with the LED flash Corresponding relation, it is determined that obtain the corresponding LED flash of VCM codes output total current value.
3. device as claimed in claim 1 or 2, it is characterised in that
The parameter acquisition module is additionally operable to:Before the VCM codes are obtained, the ring during flash photographing device preview is obtained Border brightness value;
The processing module specifically for:
The VCM codes obtained according to the parameter acquisition module and the ambient brightness value, determine the defeated of the LED flash Go out total current value.
4. device as claimed in claim 1 or 2, it is characterised in that the output total current value is the LED flash pre- Output total current value during sudden strain of a muscle or during strong sudden strain of a muscle.
5. device as claimed in claim 4, it is characterised in that if the output total current value is the LED flash strong Output total current value during sudden strain of a muscle, and the LED flash includes the LED of multiple different-colours, then
The parameter acquisition module is additionally operable to:Before the VCM codes are obtained, oneself when obtaining the flash photographing device preview Dynamic white balance AWB yield values;
The processing module is additionally operable to:The defeated of the LED flash is determined in the VCM codes obtained according to the parameter acquisition module Go out after total current value, the AWB yield values obtained according to the parameter acquisition module, and the output total current value determined, really The current value for each LED that the fixed LED flash includes.
6. a kind of flash photographing device, including:LED flash lamp, the LED being connected with LED flash drivings IC, camera, and device is set with the LED flash electric current that the camera and LED drivings IC are connected; Characterized in that,
The LED flash electric current sets device, for controlling after the camera auto-focusing, obtains voice coil motor VCM codes; The output total current value of LED flash is determined according to the VCM codes of acquisition;The output total current value of the LED flash of determination is sent out IC is driven to the LED;
The LED drive integrated circults IC, for the LED flash according to LED flash electric current setting device transmission Total current value is exported, controls the LED flash to light.
7. flash photographing device as claimed in claim 6, it is characterised in that
The LED flash electric current sets device to be additionally operable to:Determining that the output of LED flash is always electric according to the VCM codes of acquisition Before flow valuve, the corresponding relation for the output total current value that VCM codes need with the LED flash is demarcated as follows:
Each for N number of focusing interval that effective influence distance for the LED flash includes, tests the LED respectively The output total current value that flash lamp needs;Each focusing interval that the N number of interval and test of focusing of demarcation is obtained is corresponding described First corresponding relation of the output total current value that LED flash needs;Focused on each focusing interval, demarcate each focusing Interval the second corresponding relation with VCM codes;According to first corresponding relation and second corresponding relation, demarcation VCM codes and The corresponding relation for the output total current value that the LED flash needs;
The LED flash electric current set device specifically for:Needed according to the VCM codes and the LED flash of determination Output total current value corresponding relation, it is determined that obtain the corresponding LED flash of VCM codes output total current value.
8. flash photographing device as claimed in claims 6 or 7, it is characterised in that
The LED flash electric current sets device to be additionally operable to:Before the VCM codes are obtained, the camera is controlled to carry out pre- Ambient brightness value when looking at, and obtaining preview;
The LED flash electric current set device specifically for:According to the VCM codes of acquisition and the ambient brightness value, really The output total current value of the fixed LED flash.
9. device as claimed in claims 6 or 7, it is characterised in that the output total current value is the LED flash pre- Output total current value during sudden strain of a muscle or during strong sudden strain of a muscle.
10. device as claimed in claim 9, it is characterised in that
If the output total current value is output total current value of the LED flash during strong dodge, and the LED glistens Lamp includes the LED of multiple different-colours, then
The LED flash electric current sets device to be additionally operable to:Before the VCM codes are obtained, the camera is controlled to carry out pre- AWB AWB yield values when looking at, and obtaining preview;
After the output total current value of LED flash is determined according to the VCM codes of acquisition, according to the AWB yield values of acquisition, and The output total current value of determination, determines the current value for each LED that the LED flash includes, and the LED of determination is dodged The current value for each LED that light lamp includes issues the LED drivings IC;
The LED drivings IC is additionally operable to:Wrapped in the LED flash for setting device to send according to the LED flash electric current The current value of each LED included, each LED that the LED flash is controlled respectively to be included lights.
11. a kind of LED electric current of flash lamp method to set up, it is characterised in that including:
The voice coil motor VCM codes obtained after flash photographing device auto-focusing are obtained, the VCM codes of acquisition are clapped with the flash of light It is related to the distance between subject according to device;
The output total current value of the LED flash of the flash photographing device is determined according to the VCM codes of acquisition, it is determined that it is described The output total current value of LED flash is used to control the LED flash to light.
12. method as claimed in claim 11, it is characterised in that
Before the output total current value of LED flash of the flash photographing device is determined according to the VCM codes of acquisition, also wrap Include:The corresponding relation for the output total current value that VCM codes need with the LED flash is demarcated as follows:For described Each for N number of focusing interval that effective influence distance of LED flash includes, tests what the LED flash needed respectively Export total current value;The N number of focusing of demarcation is interval and tests the obtained interval corresponding LED flash needs of each focusing Output total current value the first corresponding relation;Focused on each focusing interval, demarcate each focusing interval and VCM codes Second corresponding relation;According to first corresponding relation and second corresponding relation, demarcation VCM codes and the LED flash The corresponding relation of the output total current value needed;
The output total current value of LED flash is determined according to the VCM codes of acquisition, including:
The corresponding relation for the output total current value that the VCM codes according to determination need with the LED flash, it is determined that obtain The output total current value of the corresponding LED flash of VCM codes.
13. the method as described in claim 11 or 12, it is characterised in that
Before the VCM codes are obtained, in addition to:Obtain the ambient brightness value during flash photographing device preview;
The output total current value of the LED flash that the flash photographing device is determined according to the VCM codes of acquisition, including:
According to the VCM codes of acquisition and the ambient brightness value, the output total current value of the LED flash is determined.
14. the method as described in claim 11 or 12, it is characterised in that the output total current value is the LED flash Output total current value during preflashing or during strong sudden strain of a muscle.
15. method as claimed in claim 14, it is characterised in that if the output total current value is that the LED flash exists Output total current value during strong sudden strain of a muscle, and the LED flash includes the LED of multiple different-colours, then
Before the VCM codes are obtained, in addition to:Obtain the AWB AWB gains during flash photographing device preview Value;
After the output total current value of LED flash of the flash photographing device is determined according to the VCM codes of acquisition, also wrap Include:
According to the AWB yield values of acquisition, and the output total current value determined, determine each LED that the LED flash includes The current value of lamp.
CN201510052260.8A 2015-01-30 2015-01-30 LED spotlight electric current sets apparatus and method, flash photographing device Active CN104601893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510052260.8A CN104601893B (en) 2015-01-30 2015-01-30 LED spotlight electric current sets apparatus and method, flash photographing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510052260.8A CN104601893B (en) 2015-01-30 2015-01-30 LED spotlight electric current sets apparatus and method, flash photographing device

Publications (2)

Publication Number Publication Date
CN104601893A CN104601893A (en) 2015-05-06
CN104601893B true CN104601893B (en) 2017-10-10

Family

ID=53127360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510052260.8A Active CN104601893B (en) 2015-01-30 2015-01-30 LED spotlight electric current sets apparatus and method, flash photographing device

Country Status (1)

Country Link
CN (1) CN104601893B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303266B (en) * 2015-05-19 2019-05-21 小米科技有限责任公司 Control method, device and the terminal of flash lamp
CN105472269B (en) * 2015-12-29 2018-09-04 广东欧珀移动通信有限公司 Self-timer light compensation method, device, system, mobile terminal and self-shooting bar
CN105791694B (en) * 2016-03-31 2019-05-10 朱宏静 Imaging control device, fill-flash device and fill-flash control system
CN105681642B (en) * 2016-03-31 2019-05-10 朱宏静 Imaging control device, fill-flash control device and fill-flash control system
CN105974712B (en) * 2016-04-27 2019-05-17 朱宏静 More fill-flash lamp systems and fill-flash control device
CN105974713B (en) * 2016-04-27 2019-05-17 朱宏静 More fill-flash lamp systems and fill-flash control device
CN106331382B (en) * 2016-11-17 2019-06-25 捷开通讯(深圳)有限公司 A kind of flash lamp component and its control system based on mobile terminal, control method
CN107302669A (en) * 2017-08-25 2017-10-27 上海鼎为电子科技(集团)有限公司 Light compensation method, device and mobile terminal
CN113727499B (en) * 2020-05-26 2023-08-18 浙江大华技术股份有限公司 Light supplementing lamp control method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5017956A (en) * 1988-01-18 1991-05-21 Canon Kabushiki Kaisha Flash photography system
CN102036017A (en) * 2009-09-30 2011-04-27 华晶科技股份有限公司 Method for controlling flashing module
CN102081278A (en) * 2010-11-19 2011-06-01 华为终端有限公司 Flash control method and device
CN103685964A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Control method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101062977B1 (en) * 2009-07-24 2011-09-07 삼성전기주식회사 Portable terminal and flash control method for the camera comprising a flash for the camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5017956A (en) * 1988-01-18 1991-05-21 Canon Kabushiki Kaisha Flash photography system
CN102036017A (en) * 2009-09-30 2011-04-27 华晶科技股份有限公司 Method for controlling flashing module
CN102081278A (en) * 2010-11-19 2011-06-01 华为终端有限公司 Flash control method and device
CN103685964A (en) * 2012-09-11 2014-03-26 联想(北京)有限公司 Control method and device and electronic equipment

Also Published As

Publication number Publication date
CN104601893A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104601893B (en) LED spotlight electric current sets apparatus and method, flash photographing device
US10346670B2 (en) Full-spectrum flash for electronic devices
AU2014202744B2 (en) System and method for re-configuring a lighting arrangement
CN102830573B (en) A kind of flash control method and device
CN104834152B (en) The System and method for that control camera flash-light is taken pictures
CN101911672B (en) Illumination device for imaging and camera
CN107995436A (en) A kind of light compensation method and device
TW201711448A (en) Camera temperature compensating system and smart terminal employing same
CN103888678A (en) Photographic Exposure Via Real Time Broadcast Of Lighting Parameters
CN107888841A (en) Picture pick-up device and its control method
US20130010155A1 (en) Light-emitting apparatus and camera system including the same
JP6601709B2 (en) Lighting control apparatus and lighting control method
US10595016B2 (en) Camera color adjusting method and apparatus
CN104243827A (en) Shooting method and device
US9743009B2 (en) Image processing method and image processing device
WO2021083173A1 (en) Exposure control method and device, and storage medium
US20180041678A1 (en) Transmitting Settings in a Digital Imaging System
US20200100344A1 (en) Illumination system and method for setting up illumination system
CN104869319B (en) Image treatment method and image processor
CN106412449A (en) Method for shooting light supplement and equipment
CN106878607A (en) The method and electronic equipment of a kind of image generation based on electronic equipment
CN104754238B (en) A kind of image formation control method and device, imaging control system
CN105915810A (en) Control method for electronic equipment and electronic equipment
TWI620442B (en) Flash optimization for camera devices
CN116963340A (en) Automatic light source dimming method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant