CN114442402B - Flash lamp circuit, control method, electronic device, and readable storage medium - Google Patents

Flash lamp circuit, control method, electronic device, and readable storage medium Download PDF

Info

Publication number
CN114442402B
CN114442402B CN202210087146.9A CN202210087146A CN114442402B CN 114442402 B CN114442402 B CN 114442402B CN 202210087146 A CN202210087146 A CN 202210087146A CN 114442402 B CN114442402 B CN 114442402B
Authority
CN
China
Prior art keywords
power supply
switching tube
module
flash lamp
flash
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
CN202210087146.9A
Other languages
Chinese (zh)
Other versions
CN114442402A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210087146.9A priority Critical patent/CN114442402B/en
Publication of CN114442402A publication Critical patent/CN114442402A/en
Priority to PCT/CN2023/073173 priority patent/WO2023143381A1/en
Application granted granted Critical
Publication of CN114442402B publication Critical patent/CN114442402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • H02M3/158Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators including plural semiconductor devices as final control devices for a single load
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • H05B45/3725Switched mode power supply [SMPS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Circuit Arrangements For Discharge Lamps (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Stroboscope Apparatuses (AREA)

Abstract

The application discloses a flash lamp circuit, a control method, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The flash circuit includes: the driving chip is connected with an input power supply, a first power supply module and a flash lamp module; the driving chip is used for, under the condition that the voltage of the input power supply is larger than a voltage threshold value: in a first time period in a step-down period, driving an input power supply to charge a first power supply module and driving the input power supply to supply power for a flash lamp module; and driving the first power supply module to supply power to the flash lamp module in a second time period in one step-down period.

Description

Flash lamp circuit, control method, electronic device, and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a flash lamp circuit, a control method, electronic equipment and a readable storage medium.
Background
At present, a shooting function is an indispensable function of an electronic device, and when the electronic device shoots under a dim light condition, a flash lamp is used as an important auxiliary peripheral, so that the electronic device is widely applied.
In general, an electronic device may convert a voltage of a system power supply into a voltage required for operating a flash lamp through one driving chip, and control the flash lamp to operate in different modes according to different voltage values of the system power supply.
However, according to the above method, when the voltage value of the system power supply is large, the power loss of the driving chip is also large, and the power loss is directly dissipated on the driving chip in the form of heat, so that the over-temperature protection function of the driving chip may be triggered, so that the flash lamp cannot continue to work, thereby affecting the use experience of the user.
Disclosure of Invention
The embodiment of the application aims to provide a flash lamp circuit, a control method, electronic equipment and a readable storage medium, which can solve the problem that a flash lamp cannot continue to work when the voltage value of a system power supply is large.
In a first aspect, an embodiment of the present application provides a flash circuit, including: the driving chip is connected with an input power supply, a first power supply module and a flash lamp module; the driving chip is used for, under the condition that the voltage of the input power supply is larger than a voltage threshold value: in a first time period in a step-down period, driving an input power supply to charge a first power supply module and driving the input power supply to supply power for a flash lamp module; and driving the first power supply module to supply power to the flash lamp module in a second time period in one step-down period.
In a second aspect, an embodiment of the present application provides an electronic device comprising a flash circuit as described in the first aspect.
In a third aspect, an embodiment of the present application provides a flash control method applied to the flash circuit described in the first aspect, where the method includes: in the case where the voltage of the input power supply in the flash circuit is greater than the voltage threshold value: charging a first power module in the flash circuit through an input power source and supplying power to the flash module in the flash circuit in a first time period in one buck period; the flash module is powered by the first power module for a second period of time during a buck period.
In a fourth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the third aspect.
In a fifth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the third aspect.
In a sixth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the third aspect.
In a seventh aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the third aspect.
In an embodiment of the present application, the flash circuit may include: the driving chip is connected with an input power supply, a first power supply module and a flash lamp module; and the driving chip can be used for under the condition that the voltage of the input power supply is larger than a voltage threshold value: in a first time period in a step-down period, driving an input power supply to charge a first power supply module and driving the input power supply to supply power for a flash lamp module; and driving the first power supply module to supply power to the flash lamp module in a second time period in one step-down period. Through the flash lamp circuit, under the condition that the voltage of the input power supply of the flash lamp circuit is larger than the voltage threshold value, the driving chip can charge the first power supply module through the input power supply in one step-down period, supply power to the flash lamp module through the input power supply, and then supply power to the flash lamp module through the first power supply module independently, so that the output voltage of the flash lamp circuit can be ensured to be always kept at the minimum value under the condition that the voltage of the input power supply is larger, the power loss of the driving chip is minimum, and the flash lamp can be ensured to work normally.
Drawings
Fig. 1 is a schematic diagram of a flash circuit according to an embodiment of the present application;
FIG. 2 is a second schematic diagram of a flashlight circuit according to the embodiment of the present application;
FIG. 3 is a third schematic diagram of a flashlight circuit according to the embodiment of the present application;
FIG. 4 is a schematic diagram of a flashlight circuit according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a flashlight circuit according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a flashlight circuit according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a flashlight circuit according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a flashlight circuit according to an embodiment of the present application;
FIG. 9 is a diagram illustrating a flash circuit according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a flashlight circuit according to an embodiment of the present application;
FIG. 11 is a flowchart of a method for controlling a flash according to an embodiment of the present application;
FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of the present application;
Fig. 13 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The flash lamp circuit, the control method, the electronic device and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Flash lamps are important auxiliary peripherals during shooting, and have wide application in mobile terminals such as mobile phones. On the one hand, in order to obtain a better shooting effect, the mobile terminal has higher and higher requirements on the brightness of the flash lamp; on the other hand, as the aesthetic requirements of users on the design of mobile terminals are getting higher and higher, the screen openings corresponding to the flash lamps are designed to be very small; so that the mobile terminal can only increase the current through the flash in order to ensure the desired brightness of the flash. In general, in order to ensure that the flash can emit the desired brightness, the voltage and current at which the flash operates must remain fixed, however, since the input power is typically connected to the battery terminal, the voltage is not fixed. Specifically, when the voltage of the input power supply is smaller than or equal to a voltage threshold value, the driving chip can ensure that the power consumption of the driving chip is minimum by adjusting the duty ratio of different switching elements in the driving chip no matter how the voltage is changed. When the voltage of the input power supply is larger than the voltage threshold value, the driving chip can not adjust the duty ratio of different switching elements in the driving chip any more, so that the power loss of the driving chip is ensured to be minimum, and in order to ensure the fixed working voltage and current of the flash lamp, the power loss of the driving chip is also increased. Because the power loss is directly dissipated on the driving chip in the form of heat, on one hand, the energy conversion efficiency of the driving chip is lowered, and the using time of a user is influenced; on the other hand, the too high temperature of driver chip can lead to driver chip's overtemperature protection to make the flash light unable to continue to work, and then influence user's use experience sense.
In order to solve the above-mentioned problem, in the flash lamp circuit of the embodiment of the present application, the driving chip may be configured to, in a case where the voltage of the input power is greater than the voltage threshold value: in a first time period in a step-down period, driving an input power supply to charge a first power supply module and driving the input power supply to supply power for a flash lamp module; and driving the first power supply module to supply power to the flash lamp module in a second time period in one step-down period. Through the flash lamp circuit, under the condition that the voltage of the input power supply of the flash lamp circuit is larger than the voltage threshold value, the driving chip can independently drive the input power supply and the first power supply module to supply power for the flash lamp module in two different time periods in one step-down period, so that the output voltage of the flash lamp circuit can be ensured to be always kept at the minimum value under the condition that the voltage of the input power supply is larger, the power loss of the driving chip is enabled to be minimum, and the flash lamp can be ensured to work normally.
The embodiment of the application provides a flash lamp circuit, and fig. 1 shows a schematic structural diagram of the flash lamp circuit. As shown in fig. 1, the flash circuit provided in the embodiment of the present application may include a driving chip 10, and an input power source 11, a first power source module 12, and a flash module 13 connected to the driving chip 10.
In the embodiment of the application, the driving chip can be used for under the condition that the voltage of the input power supply is larger than the voltage threshold value: in a first time period in a step-down period, driving an input power supply to charge a first power supply module and driving the input power supply to supply power for a flash lamp module; and driving the first power supply module to supply power to the flash lamp module in a second time period in one step-down period.
Alternatively, in the embodiment of the present application, the voltage threshold may be a minimum value of the output voltage of the flash circuit.
Alternatively, in the embodiment of the present application, the minimum value of the output voltage of the flash circuit may be the sum of the voltage (e.g., the rated voltage) required for the normal operation of the flash module and the minimum voltage drop on the driving chip.
In the embodiment of the present application, the duration of the above-mentioned one depressurization period is the sum of the duration of the first time period and the duration of the second time period. I.e. a pressure drop period consisting of a first period of time and a second period of time.
It will be appreciated that the end of the first period of time is less than the start of the second period of time during a depressurization cycle.
In the embodiment of the present application, the duration of the above-mentioned one step-down period is a fixed duration, and the duration of the first period and the duration of the second period may be determined according to the ratio between the voltage of the input power source and the voltage threshold value.
Illustratively, assume a first duty cycle D 1 = first period of time: period of depressurization, then: the first duty ratio D 1, the voltage threshold V th, and the voltage V PH of the input power supply satisfy the following formula (1):
Vth=D1*VPH; (1)
wherein D 1 <1 is more than or equal to 0.
It can be understood that after the above-mentioned one step-down period is finished, the driving chip may drive the input power supply to charge the first power supply module and drive the input power supply to supply power to the flash lamp module in a first period of time in a next step-down period under the condition that the voltage of the input power supply is greater than the voltage threshold value; and driving the first power supply module to supply power to the flash lamp module in a second time period in the next step-down period. The driving chip can drive the input power supply to charge the first power supply module and drive the input power supply to supply power for the flash lamp module in a first time period in each step-down period; and driving the first power module to supply power to the flash module in a second time period in each step-down period.
Alternatively, in an embodiment of the present application, the first power module may be an inductance element.
It can be understood that the driving chip drives the inductance element in the boost circuit of the flash lamp circuit as a separate power supply to supply power to the flash lamp module through the first time period in each buck period, so that the output voltage of the flash lamp circuit can be prevented from continuously increasing along with the voltage increase of the input power supply, and the power consumption of the driving chip can be reduced.
In the embodiment of the application, the input power supply can be used for driving the driving chip: charging the first power module; or to power the flash module.
In the embodiment of the present application, the first power module may be configured to, under the driving of the driving chip: charging by an input power supply; or to power the flash module.
The following describes exemplary embodiments of a flash circuit according to the present application with reference to the accompanying drawings.
For example, referring to fig. 1, if the voltage of the input power 11 is greater than the voltage threshold, the flash circuit may operate in a Buck (Buck) mode, which may include at least one Buck period, each including two power modes, mode 1 and mode 2. Wherein, mode 1 is: in a first period of time in each step-down period, the input power supply 11 can be driven by the driving chip 10 to charge the first power supply module 12 and supply power to the flash lamp module 13; mode 2 is: during the second period of time in each buck period, the first power module 12 may supply power to the flash module 13 under the driving of the driving chip 10. In this way, in the step-down mode, by alternating the two power supply modes, under the condition that the voltage of the input power supply is large, the output voltage of the flash lamp circuit is kept stable (for example, the output voltage is kept to be the minimum value), so that the output current of the flash lamp circuit is kept stable, and further the power loss of a driving chip in the flash lamp circuit is kept to be the minimum, and the flash lamp can work normally.
Alternatively, in an embodiment of the present application, as shown in fig. 2 in conjunction with fig. 1, the driving chip 10 may include a microprocessor 14, a first switching tube Q1, a second switching tube Q2, a third switching tube Q3, and a fourth switching tube Q4. The microprocessor 14 is respectively connected with a control end (denoted by c1 in fig. 2) of the first switching tube Q1, a control end (denoted by c2 in fig. 2) of the second switching tube Q2, a control end (denoted by c3 in fig. 2) of the third switching tube Q3, and a control end (denoted by c4 in fig. 2) of the fourth switching tube Q4; the first end (denoted as a1 in fig. 2) of the first switching tube Q1 is connected to the positive electrode of the input power source 11, the second end (denoted as b1 in fig. 2) of the first switching tube Q1 is connected to the first end (denoted as a2 in fig. 2) of the second switching tube Q2 and the first end (denoted as a in fig. 2) of the first power source module 12, the first end (denoted as a3 in fig. 2) of the third switching tube Q3 is connected to the positive electrode of the flash lamp module 13, the second end (denoted as b3 in fig. 2) of the third switching tube Q3 is connected to the first end (denoted as a4 in fig. 2) of the fourth switching tube Q4 and the second end (denoted as b in fig. 2) of the first power source module 12, the second end (denoted as b2 in fig. 2) of the second switching tube Q2, the second end (denoted as b4 in fig. 2) of the fourth switching tube Q4, the negative electrode of the flash lamp module 13 and the negative electrode of the input power source 11 are all grounded.
In the embodiment of the application, the microprocessor can be used for controlling the third switching tube to be conducted and controlling the fourth switching tube to be disconnected under the condition that the voltage of the input power supply is larger than the voltage threshold value; and under the condition that the third switching tube is on and the fourth switching tube is off: in a first time period, the input power supply is driven to charge the first power supply module by controlling the first switching tube to be conducted and controlling the second switching tube to be disconnected, and the input power supply is driven to supply power for the flash lamp module; or in the second time period, the first power supply module is driven to supply power for the flash lamp module by controlling the first switching tube to be switched off and controlling the second switching tube to be switched on. In this way, the driving chip can drive the first power supply module and the input power supply to supply power to the flash lamp module independently through the microprocessor in two different time periods in one step-down period.
Optionally, in the embodiment of the present application, the switching transistor may be any possible switching transistor, such as a switching transistor or a field effect transistor.
It should be noted that, the microprocessor may control the on/off of the switching tube by sending a control signal to the switching tube.
In the flash lamp circuit provided by the embodiment of the application, under the condition that the voltage of the input power supply of the flash lamp circuit is larger than the voltage threshold value, the driving chip can charge the first power supply module through the input power supply in one voltage reduction period, supply power to the flash lamp module through the input power supply and then separately supply power to the flash lamp module through the first power supply module, so that the output voltage of the flash lamp circuit can be ensured to be always kept at the minimum value under the condition that the voltage of the input power supply is larger, the power loss of the driving chip is minimum, and the flash lamp can be ensured to work normally.
Optionally, in an embodiment of the present application, as shown in fig. 3 in conjunction with fig. 1, the flash circuit provided in the embodiment of the present application may further include a second power module 15 connected to the driving chip 10.
In the embodiment of the application, the driving chip can also be used for under the condition that the voltage of the input power supply is smaller than or equal to the voltage threshold value: in a third time period in one boosting period, driving an input power supply to charge the first power supply module and driving the second power supply module to supply power for the flash lamp module; in a fourth time period in one boosting period, the input power supply and the first power supply module are driven to supply power to the flash lamp module, and the input power supply and the first power supply module are driven to charge the second power supply module.
In the embodiment of the present application, the duration of the foregoing one boosting period is the sum of the duration of the third period and the duration of the fourth period. I.e. the boost period consists of a third time period and a fourth time period.
It will be appreciated that the end time of the third period is less than the start time of the fourth period within one boost period.
In the embodiment of the present application, the duration of the above-mentioned one boosting period is a fixed duration, and the duration of the third time period and the duration of the fourth time period may be determined according to the ratio between the voltage of the input power source and the voltage threshold value.
Illustratively, assume that the second duty cycle D 2 = third period of time: boost cycle, then: the second duty ratio D 2, the voltage threshold V th, and the voltage V PH of the input power supply satisfy the following formula (2):
wherein D 2 <1 is more than or equal to 0.
It can be understood that after the foregoing one boosting period is finished, the driving chip may drive the input power source to charge the first power source module and drive the second power source module to supply power to the flash lamp module in a third period of time in the next boosting period under the condition that the voltage of the input power source is less than or equal to the voltage threshold value; and in a fourth time period in the next boosting period, driving the input power supply and the first power supply module to supply power for the flash lamp module, and driving the input power supply and the first power supply module to charge the second power supply module. The driving chip can drive the input power supply to charge the first power supply module and drive the second power supply module to supply power for the flash lamp module in a third time period of each boosting period; and driving the input power supply and the first power supply module to supply power to the flash lamp module in a second time period of each step-down period, and driving the input power supply and the first power supply module to charge the second power supply module.
Alternatively, in an embodiment of the present application, the second power module may include a capacitive element.
Optionally, in the embodiment of the present application, when the driving chip drives the input power source and the first power source module to supply power to the flash lamp module, and drives the input power source and the first power source module to charge the second power source module, the driving chip may drive the input power source and the first power source module to be connected in series. Therefore, the input voltage of the flash lamp circuit is the sum of the voltage of the input power supply and the voltage of the first power supply module, so that the output voltage of the flash lamp circuit can be ensured to be larger than the voltage of the input power supply, and the output voltage of the flash lamp circuit can meet the voltage requirement of the flash lamp module.
In the embodiment of the application, the input power supply can be used for driving the driving chip: charging the first power module; or to power the flash module and to charge the second power module.
In the embodiment of the present application, the first power module may be configured to, under the driving of the driving chip: charging by an input power supply; or to power the flash module and to charge the second power module.
In the embodiment of the present application, the second power module may be configured to, under the driving of the driving chip: supplying power to the flash module; or charged through the input power and the first power module.
The following describes exemplary embodiments of a flash circuit according to the present application with reference to the accompanying drawings.
For example, referring to fig. 3, if the voltage of the input power source 11 is less than or equal to the voltage threshold value, the flash circuit operates in a Boost (Boost) mode, which may include at least one Boost period, each including two power modes, mode 3 and mode 4. Wherein, mode 3 is: in a third period of time within each boosting period, the input power 11 may charge the first power module 12 under the driving of the driving chip 10; the second power module 15 can supply power to the flash module 13 under the driving of the driving chip 10; mode 4 is: in a fourth period of time within each boosting period, the input power 11 and the first power module 12 may supply power to the flash module 13 and charge the second power module 15 under the driving of the driving chip 10. In this way, in the boost mode, by alternating the two power supply modes, the output voltage of the flash lamp circuit can be maintained stable (for example, the output voltage is kept at a minimum value) under the condition that the voltage of the input power supply is small, so that the output current of the flash lamp circuit is maintained stable, and further the power loss of a driving chip in the flash lamp circuit is minimized, so that the flash lamp can work normally.
It should be noted that, when the voltage of the input power is less than or equal to the voltage threshold, the flash circuit may raise the output voltage of the flash circuit by operating in the boost mode, so as to ensure that the output voltage of the flash circuit is always kept at the minimum value; and under the condition that the voltage of the input power supply is larger than a voltage threshold value, the output voltage of the flash lamp circuit is reduced by multiplexing the first power supply module in the boosting mode, specifically by driving the first voltage module to independently supply power to the power flash lamp module in a first time period and driving the input power supply to independently supply power to the power flash lamp module in a second time period, so that the output voltage of the flash lamp circuit is always kept at the minimum value. Therefore, no matter how the voltage of the input power supply changes, the output voltage of the flash lamp circuit can be always kept at the minimum value, so that the power consumption of the driving chip can be reduced, the working time of the flash lamp module is prolonged, and the user experience is further improved.
Optionally, in an embodiment of the present application, as shown in fig. 4 in conjunction with fig. 3, the driving chip 10 may include a microprocessor 14, a first switching tube Q1, a second switching tube Q2, a third switching tube Q3, and a fourth switching tube Q4; the microprocessor 14 is respectively connected with a control end (denoted by c1 in fig. 4) of the first switching tube Q1, a control end (denoted by c2 in fig. 4) of the second switching tube Q2, a control end (denoted by c3 in fig. 4) of the third switching tube Q3 and a control end (denoted by c4 in fig. 4) of the fourth switching tube Q4; the first end (denoted by a1 in fig. 4) of the first switching tube Q1 is connected to the positive electrode of the input power supply 11, the second end (denoted by b1 in fig. 4) of the first switching tube Q1 is connected to the first end (denoted by a2 in fig. 4) of the second switching tube Q2 and the first end (denoted by a in fig. 4) of the first power supply module 12, the first end (denoted by a3 in fig. 4) of the third switching tube Q3 is connected to the positive electrode of the flash lamp module 13 and the positive electrode of the second power supply module 15, the second end (denoted by b3 in fig. 4) of the third switching tube Q3 is connected to the first end (denoted by a4 in fig. 4) of the fourth switching tube Q4 and the second end (denoted by b in fig. 4) of the first power supply module 12, the second end (denoted by b2 in fig. 4) of the second switching tube Q2, the second end (denoted by b 4) of the fourth switching tube Q4), the negative electrode of the flash lamp module 13, the negative electrode of the input power supply 11 and the second power supply module 15 are all grounded.
In the embodiment of the application, the microprocessor can be used for controlling the first switching tube to be switched on and controlling the second switching tube to be switched off under the condition that the voltage of the input power supply is smaller than or equal to the voltage threshold value, and controlling the first switching tube to be switched on and the second switching tube to be switched off under the condition that the first switching tube is switched on and the second switching tube is switched off: in a third time period, the input power supply is driven to charge the first power supply module by controlling the third switching tube to be disconnected and controlling the fourth switching tube to be conducted, and the second power supply module is driven to supply power for the flash lamp module; or in the fourth time period, the input power supply and the first power supply module are driven to supply power for the flash lamp module by controlling the third switching tube to be conducted and controlling the fourth switching tube to be disconnected, and the input power supply and the first power supply module are driven to charge the second power supply module. This ensures that the output voltage of the flash circuit remains at a minimum.
In the flash lamp circuit provided by the embodiment of the application, when the voltage of the input power supply of the flash lamp circuit is smaller than or equal to the voltage threshold value, the driving chip can control the first switching tube to be conducted and the second switching tube to be disconnected, and when the first switching tube is conducted and the second switching tube is disconnected: driving an input power supply to charge the first power supply module and driving the second power supply module to supply power for the flash lamp module through a third time period in each boosting period; and in a fourth time period in each boosting period, the input power supply and the first power supply module are driven to supply power for the flash lamp module, and the input power supply and the first power supply module are driven to charge the second power supply module, so that the output voltage of the flash lamp circuit is improved, the output voltage of the flash lamp circuit can be ensured to be kept at the minimum value, and the flash lamp can be ensured to work normally.
Optionally, in an embodiment of the present application, as shown in fig. 5 in conjunction with fig. 4, the driving chip 10 may further include a first current source 16 and a second current source 17, and the flash module 13 may include a first flash 18 and a second flash 19; the positive electrode of the first current source 16 and the positive electrode of the second current source 17 are both connected with a first end (denoted by a3 in fig. 5) of the third switching tube Q3, the negative electrode of the first current source 16 is connected with the positive electrode of the first flash lamp 18, and the negative electrode of the second current source 17 is connected with the positive electrode of the second flash lamp 19; the negative electrode of the first flash 18 and the negative electrode of the second flash 19 are both grounded.
It will be appreciated that the positive electrode of the first flash 18 and the positive electrode of the second flash 19 are both positive electrodes of the flash module 13, and the negative electrode of the first flash and the negative electrode of the second flash are both negative electrodes of the flash module.
In the embodiment of the application, the first current source can be used for dividing the voltage to output stable current to the first flash lamp, and the second current source can be used for dividing the voltage to output stable current to the second flash lamp, so that the working currents of the first flash lamp and the second flash lamp are ensured to be kept stable.
In the embodiment of the application, the first flash lamp and the second flash lamp may be light emitting diodes, or any other element capable of emitting light.
It should be noted that, the power consumption of the driving chip may include: the power consumption of the first current source and the power consumption of the second current source in the driving chip.
Alternatively, in the embodiment of the present application, as shown in fig. 5, when the flash circuit is operated in the Buck mode, the voltage drop of the driving chip may be calculated by the following formula (3):
Vth=D1*VPH=VHR+VLED1+VLED2; (3)
Wherein, the threshold voltage is V th, D 1 is a first duty cycle, and V PH is the voltage of the input power supply; v HR is the voltage drop of the driving chip, V LED1 is the operating voltage of the first flash, and V LED2 is the operating voltage of the second flash.
As shown in fig. 5, when the flash circuit operates in Boost mode, the voltage drop of the driving chip can be calculated by the following equation (4):
Wherein V th is a voltage threshold, D 1 is a second duty cycle, and V PH is a voltage of the input power supply; v HR is the voltage drop of the driving chip, V LED1 is the operating voltage of the first flash, and V LED2 is the operating voltage of the second flash.
Optionally, in the embodiment of the present application, the power consumption of each current source is: voltage drop of the current source is the working current of the flash lamp module.
Alternatively, in an embodiment of the present application, as shown in fig. 6 in conjunction with fig. 5, the above-mentioned flash circuit may include a driving chip 10, an input power source 11, a first power source module 12, a second power source module 15, a flash module 13, and a controller (AP) 20; the driving chip 10 may include a microprocessor 14, a first current source 16, a second current source 17, a first switching tube Q1, a second switching tube Q2, a third switching tube Q3, and a fourth switching tube Q4; the flash module 13 may include a first flash 18 and a second flash 19.
The microprocessor 14 is respectively connected with the controller 20, a control end c1 of the first switching tube Q1, a control end c2 of the second switching tube Q2, a control end c3 of the third switching tube Q3 and a control end c4 of the fourth switching tube Q4; the first end a1 of the first switching tube Q1 is connected to the positive electrode of the input power supply 11, the second end b1 of the first switching tube Q1 is connected to the first end a2 of the second switching tube Q2 and the first end a of the first power supply module 12, the first end a3 of the third switching tube Q3 is connected to the positive electrode of the first current source 16, the positive electrode of the second current source 17 and the positive electrode of the second power supply module 15, the negative electrode of the first current source 16 is connected to the positive electrode of the first flash lamp 18, the negative electrode of the second current source 17 is connected to the positive electrode of the second flash lamp 19, the second end b3 of the third switching tube Q3 is connected to the first end a4 of the fourth switching tube Q4 and the second end b of the first power supply module 12, and the negative electrode of the input power supply 11, the second end b2 of the second switching tube Q2, the second end b4 of the fourth switching tube Q4, the negative electrode of the first flash lamp 18, and the negative electrode of the second flash lamp 19 are all grounded.
Optionally, in an embodiment of the present application, in one possible implementation manner, the controller may be configured to send a first control signal to the microprocessor to control the third switching tube to be turned on and the fourth switching tube to be turned off through the microprocessor when the voltage of the input power is greater than the voltage threshold value; and under the condition that the third switching tube is on and the fourth switching tube is off: in a first time period in each step-down period, a second control signal is sent to the microprocessor so as to control the first switching tube to be conducted and the second switching tube to be disconnected through the microprocessor; or in a second time period in each step-down period, sending a third control signal to the microprocessor so as to control the first switching tube to be switched off and the second switching tube to be switched on through the microprocessor. Or alternatively
The controller can be used for sending a fourth control signal to the microprocessor in a third time period in each boosting period under the condition that the voltage of the input power supply is smaller than or equal to a voltage threshold value so as to control the third switching tube to be disconnected and the fourth switching tube to be conducted through the microprocessor; or in a fourth time period in each boosting period, a fifth control signal is sent to the microprocessor so as to control the third switching tube to be turned on and the fourth switching tube to be turned off through the microprocessor.
Alternatively, in another embodiment of the present application, the controller may send a control signal to the microprocessor to request the microprocessor to turn on the flash. The microprocessor may then determine the relationship between the voltage V PH of the input power supply and the voltage threshold V th.
If V PH>Vth, the flash circuit meets the working condition of the Buck mode, so that the microprocessor can control the flash circuit to enter the Buck mode, and the method is specific: the microprocessor may dynamically adjust the duty cycle of mode 1 (specifically, the first duty cycle D 1 described above) in each buck period according to equation (1) above.
Then, as shown in fig. 7, the microprocessor 14 may control the third switching tube Q3 to be turned on, and the fourth switching tube Q4 to be turned off; and, the microprocessor may control the first switching tube Q1 to be turned on and the second switching tube Q2 to be turned off in the mode 1 in each step-down period, so as to control the input power 11 to charge the first power module 12 (specifically, the inductor), and control the input power 11 to supply power to the flash module 13, and the current path is shown by the dotted arrow in fig. 7. Further, as shown in fig. 8, the microprocessor may control the first switching tube Q1 to be turned off and the second switching tube Q2 to be turned on in the mode 2 in each step-down period to control the inductor discharge, thereby supplying power to the flash module 13 through the inductor, when the current path is shown by a dotted arrow in fig. 8. Since the microprocessor can control the flash lamp current mode 1 and the flash lamp current mode 2 to be alternately performed in the Buck mode, the output voltage V out of the flash lamp circuit is always kept at the minimum value, and the power consumption of the driving chip is kept at the minimum value.
It should be noted that, in each step-down period, the output voltage V out of the flash circuit depends on the duty cycle of the mode 1, that is, the duty cycle of the duration of the mode 1 (i.e., the first period) in the step-down period.
If V PH≤Vth, it indicates that the flash circuit meets the operating condition of the Boost mode, so that the microprocessor can control the flash circuit to enter the Boost mode, specifically: the microprocessor may dynamically adjust the duty cycle of mode 3 (specifically, the second duty cycle D 2 described above) in each boost cycle according to equation (2) above.
Then, as shown in fig. 9, the microprocessor may control the first switching transistor Q1 to be turned on and control the second switching transistor Q2 to be turned off during each boosting period. And in mode 3 in each boost period, the microprocessor may control the fourth switching tube Q4 to be turned on and control the third switching tube Q3 to be turned off to charge the first power module 12 by the input power, at which time the second power module 15 discharges, so that the flash module 13 may be powered by the second power module, at which time the current path of the input power is shown by a dotted arrow a in fig. 9 and the current path of the second power module 15 is shown by a dotted arrow B in fig. 9. Further, as shown in fig. 10, in the mode 4 in each boost period, the microprocessor may control the third switching tube Q3 to be turned on and the fourth switching tube Q4 to be turned off, so that the input power and the first power module may simultaneously supply power to the flash module 13 and charge the second power module 15, which is discharged at this time, and charged at the second power module, and the current path is shown by the dotted arrow in fig. 10. Since the microprocessor can control the flash current mode 1 and the flash current mode 2 to alternate in the Boost mode, the output voltage V out of the flash circuit is always kept at the minimum value, and the power consumption of the driving chip is kept at the minimum value.
It should be noted that, in each boost period, the output voltage V out of the flash circuit depends on the duty cycle of mode 2, that is, the duty cycle of the duration of mode 3 (i.e., the third period) in the boost period.
Therefore, the output voltage of the flash lamp circuit can be kept at the minimum value all the time no matter how the voltage of the input power supply changes, and the power consumption of the driving chip can be kept at the minimum value, so that the risk of over-temperature of the driving chip can be reduced, and the normal working time of the flash lamp module can be further prolonged.
Optionally, in the embodiment of the present application, it is assumed that the range of the voltage V PH of the input power is: 3.4V < V PH <4.5V, voltage threshold V th is about 3.9V, and the minimum voltage drop of the driving chip is about 0.4V.
Optionally, in the embodiment of the present application, after receiving the control signal sent by the controller, the microprocessor may further monitor the voltage of the input power in real time, and compare the monitored voltage with the voltage threshold value, so as to determine the magnitude relationship between the voltage of the input power and the voltage threshold value. Or after the controller sends the control signal to the microprocessor, the voltage of the input power supply can be monitored in real time, and the monitored voltage is compared with the voltage threshold value to determine the magnitude relation between the voltage of the input power supply and the voltage threshold value.
The embodiment of the application also provides electronic equipment, which can comprise the flash lamp circuit in the embodiment.
For other descriptions in the embodiments of the present application, reference may be made specifically to the descriptions related to the embodiments of the flash circuit, which are not repeated herein.
The embodiment of the application also provides a flash lamp control method which is applied to the flash lamp circuit in the embodiment, and fig. 11 shows a flow chart of the flash lamp control method provided by the embodiment of the application. As shown in fig. 11, the method for controlling a flash lamp according to the embodiment of the present application may include the following steps 101 and 102. The method is exemplarily described below by taking an electronic device including the flash circuit as an example.
Step 101, when the voltage of an input power supply in the flash lamp circuit is greater than a voltage threshold value, the electronic device charges a first power supply module in the flash lamp circuit through the input power supply and supplies power to the flash lamp module in the flash lamp circuit in a first time period in a step-down period.
Step 102, the electronic device supplies power to the flash module through the first power module in the second period of time in the above-mentioned one step-down period under the condition that the voltage of the input power supply in the flash circuit is greater than the voltage threshold value.
Alternatively, in the embodiment of the present application, the above step 101 may be specifically implemented by the following step 101 a.
In step 101a, when the voltage of the input power supply in the flash circuit is greater than the voltage threshold, and the flash circuit controls the third switch tube in the flash circuit to be turned on and controls the fourth switch tube in the flash circuit to be turned off, in the first period, the input power supply charges the first power supply module and supplies power to the flash module by controlling the first switch tube in the flash circuit to be turned on and the second switch tube in the flash circuit to be turned off. Alternatively, in the embodiment of the present application, the above step 102 may be specifically implemented by the following step 102 a.
Step 102a, when the voltage of the input power supply in the flash circuit is greater than the voltage threshold, and the flash circuit controls the third switch tube in the flash circuit to be turned on and controls the fourth switch tube in the flash circuit to be turned off, in a second period, the first power supply module supplies power to the flash module by controlling the first switch tube in the flash circuit to be turned off and controlling the second switch tube in the flash circuit to be turned on.
In the method for controlling the flash lamp provided by the embodiment of the application, under the condition that the voltage of the input power supply of the flash lamp circuit is larger than the voltage threshold value, the electronic equipment can charge the first power supply module through the input power supply in one step-down period, supply power to the flash lamp module through the input power supply and then separately supply power to the flash lamp module through the first power supply module, so that the output voltage of the flash lamp circuit can be ensured to be always kept at the minimum value under the condition that the voltage of the input power supply is larger, the power loss of the driving chip is minimum, and the flash lamp can be ensured to work normally.
Optionally, in the embodiment of the present application, the method for controlling a flash lamp provided in the embodiment of the present application may further include steps 103 to 105 described below.
Step 103, the electronic device controls a first switching tube in the flash lamp circuit to be conducted and controls a second switching tube in the flash lamp circuit to be disconnected under the condition that the voltage of the input power supply is smaller than or equal to a voltage threshold value.
Step 104, when the first switching tube is turned on and the second switching tube is turned off, the electronic device charges the first power module through the input power source and drives the second power module in the flash lamp circuit to supply power to the flash lamp module in a third time period in one boosting period.
Step 105, when the first switching tube is turned on and the second switching tube is turned off, the electronic device supplies power to the flash lamp module and charges the second power module through the input power supply and the first power module in the fourth period of time in the boosting period.
For other descriptions in the embodiments of the present application, reference may be made specifically to the descriptions related to the embodiments of the flash circuit, which are not repeated herein.
Optionally, in the embodiment of the present application, when the voltage of the input power is less than or equal to the voltage threshold, the electronic device may control the first switching tube in the flash circuit to be turned on and control the second switching tube in the flash circuit to be turned off, and then the step 104 may be specifically implemented by the following step 104a, and the step 105 may be specifically implemented by the following step 105 a.
In step 104a, when the first switching tube is turned on and the second switching tube is turned off, the electronic device controls the third switching tube in the flash circuit to be turned off and controls the fourth switching tube in the flash circuit to be turned on in a third period of time, so that the input power supply charges the first power supply module and the second power supply module supplies power to the flash module.
In step 105a, when the first switching tube is turned on and the second switching tube is turned off, the electronic device controls the third switching tube in the flash circuit to be turned on and controls the fourth switching tube in the flash circuit to be turned off in a fourth period of time, so that the input power supply and the first power supply module supply power to the flash module, and the input power supply and the first power supply module charge the second power supply module.
In the embodiment of the application, under the condition that the voltage of the input power supply of the flash lamp circuit is smaller than or equal to the voltage threshold value, the electronic equipment can control the first switching tube to be conducted and control the second switching tube to be disconnected, and under the condition that the first switching tube is conducted and the second switching tube is disconnected: in a third time period in each boosting period, charging the first power supply module through an input power supply and supplying power to the flash lamp module through the second power supply module; and in a fourth time period in each boosting period, the input power supply and the first power supply module supply power to the flash lamp module, and the input power supply and the first power supply module charge the second power supply module, so that the output voltage of the flash lamp circuit is improved, the output voltage of the flash lamp circuit can be ensured to be kept at the minimum value, and the flash lamp can be ensured to work normally.
For other descriptions in the embodiments of the present application, reference may be made specifically to the descriptions related to the embodiments of the flash circuit, which are not repeated herein.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 100, which includes a processor 101 and a memory 102, where the memory 102 stores a program or an instruction that can be executed on the processor 101, and the program or the instruction implements each step of the above-mentioned embodiment of the flash control method when executed by the processor 101, and the steps achieve the same technical effects, so that repetition is avoided and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Where the electronic device 1000 shown in fig. 13 includes a flash circuit as in the above embodiment, the processor 1010 may be configured to, in a case where a voltage of an input power supply in the flash circuit is greater than a voltage threshold value: charging a first power module in the flash circuit through an input power source and supplying power to the flash module in the flash circuit in a first time period in one buck period; the flash module is powered by the first power module for a second period of time during a buck period.
In a possible implementation manner, the processor 1010 may be specifically configured to, in a case where the third switching tube in the flash circuit is controlled to be turned on and the fourth switching tube in the flash circuit is controlled to be turned off: in the first time period, the input power supply charges the first power supply module and supplies power to the flash lamp module by controlling the first switching tube in the flash lamp circuit to be conducted and controlling the second switching tube in the flash lamp circuit to be disconnected.
In a possible implementation manner, the processor 1010 may be specifically configured to, in a case where the third switching tube in the flash circuit is controlled to be turned on and the fourth switching tube in the flash circuit is controlled to be turned off: and in a second time period, the first power supply module supplies power to the flash lamp module by controlling the first switching tube in the flash lamp circuit to be switched off and controlling the second switching tube in the flash lamp circuit to be switched on.
In a possible implementation manner, the processor 1010 may be further configured to control a first switching tube in the flash circuit to be turned on and control a second switching tube in the flash circuit to be turned off when the voltage of the input power is less than or equal to the voltage threshold, and to control the first switching tube to be turned on and the second switching tube to be turned off when the first switching tube is turned on and the second switching tube is turned off: in a third time period in one boosting period, charging the first power supply module through an input power supply and driving a second power supply module in the flash lamp circuit to supply power for the flash lamp module; in a fourth period of time in one boosting period, the flash lamp module is powered by the input power source and the first power source module, and the second power source module is charged.
In a possible implementation manner, the processor 1010 may be specifically configured to control, during the third period of time, the third switching tube in the flash circuit to be turned off and the fourth switching tube in the flash circuit to be turned on, so that the input power source charges the first power source module and the second power source module supplies power to the flash module.
In a possible implementation, the processor 1010 may be specifically configured to control the third switching tube in the flash circuit to be turned on and the fourth switching tube in the flash circuit to be turned off during the fourth period, so that the input power source and the first power source module supply power to the flash module, and the input power source and the first power source module charge the second power source module.
In the electronic device provided by the embodiment of the application, under the condition that the voltage of the input power supply of the flash lamp circuit is larger than the voltage threshold value, the electronic device can charge the first power supply module through the input power supply in one step-down period, supply power to the flash lamp module through the input power supply and then separately supply power to the flash lamp module through the first power supply module, so that the output voltage of the flash lamp circuit can be ensured to be always kept at the minimum value under the condition that the voltage of the input power supply is larger, the power loss of the driving chip is minimized, and the flash lamp can be ensured to work normally.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, where the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 1009 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements the processes of the above-described flash lamp control method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the flash lamp control method can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the respective processes of the above-described embodiments of the flash lamp control method, and achieve the same technical effects, and are not described herein in detail for avoiding repetition.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (14)

1. A flash circuit, the flash circuit comprising: the driving chip is connected with an input power supply, a first power supply module and a flash lamp module;
The driving chip is configured to, in case that the voltage of the input power supply is greater than a voltage threshold value: driving the input power supply to charge the first power supply module and driving the input power supply to supply power to the flash lamp module in a first time period in a step-down period; and driving the first power supply module to supply power for the flash lamp module in a second time period in the step-down period.
2. The flash circuit of claim 1, wherein the driver chip comprises a microprocessor, a first switching tube, a second switching tube, a third switching tube, and a fourth switching tube;
The microprocessor is respectively connected with the control end of the first switching tube, the control end of the second switching tube, the control end of the third switching tube and the control end of the fourth switching tube; the first end of the first switch tube is connected with the positive electrode of the input power supply, the second end of the first switch tube is connected with the first end of the second switch tube and the first end of the first power supply module, the first end of the third switch tube is connected with the positive electrode of the flash lamp module, the second end of the third switch tube is connected with the first end of the fourth switch tube and the second end of the first power supply module, and the second end of the second switch tube, the second end of the fourth switch tube, the negative electrode of the flash lamp module and the negative electrode of the input power supply are all grounded;
The microprocessor is used for controlling the third switching tube to be conducted and controlling the fourth switching tube to be disconnected under the condition that the voltage of the input power supply is larger than a voltage threshold value; and under the condition that the third switching tube is conducted and the fourth switching tube is disconnected:
In the first time period, the input power supply is driven to charge the first power supply module and the input power supply is driven to supply power for the flash lamp module by controlling the first switching tube to be conducted and controlling the second switching tube to be disconnected; or alternatively
And in the second time period, the first power supply module is driven to supply power for the flash lamp module by controlling the first switching tube to be disconnected and controlling the second switching tube to be conducted.
3. The flash circuit of claim 1, further comprising a second power module connected to the driver chip;
The driving chip is further configured to, in a case where a voltage of the input power supply is less than or equal to a voltage threshold value: driving the input power supply to charge the first power supply module and driving the second power supply module to supply power to the flash lamp module in a third time period in one boosting period; and in a fourth time period in the boosting period, driving the input power supply and the first power supply module to supply power for the flash lamp module, and driving the input power supply and the first power supply module to charge the second power supply module.
4. The flash circuit of claim 3, wherein the driver chip comprises a microprocessor, a first switching tube, a second switching tube, a third switching tube, and a fourth switching tube;
The microprocessor is respectively connected with the control end of the first switching tube, the control end of the second switching tube, the control end of the third switching tube and the control end of the fourth switching tube; the first end of the first switch tube is connected with the positive electrode of the input power supply, the second end of the first switch tube is connected with the first end of the second switch tube and the first end of the first power supply module, the first end of the third switch tube is connected with the positive electrode of the flash lamp module and the positive electrode of the second power supply module, the second end of the third switch tube is connected with the first end of the fourth switch tube and the second end of the first power supply module, and the second end of the second switch tube, the second end of the fourth switch tube, the negative electrode of the flash lamp module, the negative electrode of the input power supply and the negative electrode of the second power supply module are all grounded;
The microprocessor is used for controlling the first switching tube to be conducted and controlling the second switching tube to be disconnected under the condition that the voltage of the input power supply is smaller than or equal to a voltage threshold value, and controlling the first switching tube to be conducted and the second switching tube to be disconnected under the condition that the first switching tube is conducted and the second switching tube is disconnected:
in the third time period, the third switching tube is controlled to be disconnected, the fourth switching tube is controlled to be conducted, the input power supply is driven to charge the first power supply module, and the second power supply module is driven to supply power for the flash lamp module; or alternatively
In the fourth time period, the third switching tube is controlled to be conducted, the fourth switching tube is controlled to be disconnected, the input power supply and the first power supply module are driven to supply power for the flash lamp module, and the input power supply and the first power supply module are driven to charge the second power supply module.
5. The flash circuit of claim 2 or 4, wherein the driver chip further comprises a first current source and a second current source; the flash lamp module comprises a first flash lamp and a second flash lamp;
the positive electrode of the first current source and the positive electrode of the second current source are connected with the first end of the third switch tube, the negative electrode of the first current source is connected with the positive electrode of the first flash lamp, and the negative electrode of the second current source is connected with the positive electrode of the second flash lamp; the positive electrode of the first flash lamp and the positive electrode of the second flash lamp are both the positive electrodes of the flash lamp module, and the negative electrode of the first flash lamp and the negative electrode of the second flash lamp are both grounded.
6. An electronic device, the electronic device comprising: the flash circuit of any one of claims 1 to 5.
7. A flash control method applied to the flash circuit according to claim 1, the method comprising:
In the case where the voltage of the input power supply in the flash circuit is greater than a voltage threshold value:
Charging a first power module in the flash circuit through the input power supply and supplying power to the flash module in the flash circuit in a first time period in one buck period;
And in a second time period in the step-down period, supplying power to the flash lamp module through the first power supply module.
8. The method of claim 7, wherein the driver chip of the flash circuit comprises a microprocessor, a first switching tube, a second switching tube, a third switching tube, and a fourth switching tube;
The microprocessor is respectively connected with the control end of the first switching tube, the control end of the second switching tube, the control end of the third switching tube and the control end of the fourth switching tube; the first end of the first switch tube is connected with the positive electrode of the input power supply, the second end of the first switch tube is connected with the first end of the second switch tube and the first end of the first power supply module, the first end of the third switch tube is connected with the positive electrode of the flash lamp module, the second end of the third switch tube is connected with the first end of the fourth switch tube and the second end of the first power supply module, and the second end of the second switch tube, the second end of the fourth switch tube, the negative electrode of the flash lamp module and the negative electrode of the input power supply are all grounded;
the charging the first power module in the flash circuit through the input power supply and supplying power to the flash module in the flash circuit in the first time period in one step-down period comprises:
in the case of controlling the third switching tube in the flash circuit to be on and controlling the fourth switching tube in the flash circuit to be off:
And in the first time period, the input power supply charges the first power supply module and supplies power to the flash lamp module by controlling the first switching tube in the flash lamp circuit to be conducted and controlling the second switching tube in the flash lamp circuit to be disconnected.
9. The method of claim 7, wherein the driver chip of the flash circuit comprises a microprocessor, a first switching tube, a second switching tube, a third switching tube, and a fourth switching tube;
The microprocessor is respectively connected with the control end of the first switching tube, the control end of the second switching tube, the control end of the third switching tube and the control end of the fourth switching tube; the first end of the first switch tube is connected with the positive electrode of the input power supply, the second end of the first switch tube is connected with the first end of the second switch tube and the first end of the first power supply module, the first end of the third switch tube is connected with the positive electrode of the flash lamp module, the second end of the third switch tube is connected with the first end of the fourth switch tube and the second end of the first power supply module, and the second end of the second switch tube, the second end of the fourth switch tube, the negative electrode of the flash lamp module and the negative electrode of the input power supply are all grounded;
The supplying power to the flash lamp module through the first power module in the second time period in the step-down period comprises the following steps:
in the case of controlling the third switching tube in the flash circuit to be on and controlling the fourth switching tube in the flash circuit to be off:
And in the second time period, the first power supply module supplies power to the flash lamp module by controlling a first switching tube in the flash lamp circuit to be disconnected and controlling a second switching tube in the flash lamp circuit to be conducted.
10. The method of claim 7, wherein the flash circuit comprises a driver chip and a second power module connected to the driver chip;
The method further comprises the steps of:
when the voltage of the input power supply is smaller than or equal to the voltage threshold value, a first switching tube in the flash lamp circuit is controlled to be conducted, a second switching tube in the flash lamp circuit is controlled to be disconnected, and when the first switching tube is conducted, and the second switching tube is disconnected:
charging the first power supply module through the input power supply and driving a second power supply module in the flash lamp circuit to supply power for the flash lamp module in a third time period in one boosting period;
And in a fourth time period in the boosting period, supplying power to the flash lamp module through the input power supply and the first power supply module, and charging the second power supply module.
11. The method of claim 10, wherein the driver chip comprises a microprocessor, a first switching tube, a second switching tube, a third switching tube, and a fourth switching tube;
The microprocessor is respectively connected with the control end of the first switching tube, the control end of the second switching tube, the control end of the third switching tube and the control end of the fourth switching tube; the first end of the first switch tube is connected with the positive electrode of the input power supply, the second end of the first switch tube is connected with the first end of the second switch tube and the first end of the first power supply module, the first end of the third switch tube is connected with the positive electrode of the flash lamp module and the positive electrode of the second power supply module, the second end of the third switch tube is connected with the first end of the fourth switch tube and the second end of the first power supply module, and the second end of the second switch tube, the second end of the fourth switch tube, the negative electrode of the flash lamp module, the negative electrode of the input power supply and the negative electrode of the second power supply module are all grounded;
the charging the first power module through the input power supply and driving the second power module in the flash circuit to supply power to the flash module in the third period of time in one boosting period includes:
and in the third time period, the third switching tube in the flash lamp circuit is controlled to be disconnected, and the fourth switching tube in the flash lamp circuit is controlled to be conducted, so that the input power supply charges the first power supply module, and the second power supply module supplies power for the flash lamp module.
12. The method of claim 10, wherein the driver chip comprises a microprocessor, a first switching tube, a second switching tube, a third switching tube, and a fourth switching tube;
The microprocessor is respectively connected with the control end of the first switching tube, the control end of the second switching tube, the control end of the third switching tube and the control end of the fourth switching tube; the first end of the first switch tube is connected with the positive electrode of the input power supply, the second end of the first switch tube is connected with the first end of the second switch tube and the first end of the first power supply module, the first end of the third switch tube is connected with the positive electrode of the flash lamp module and the positive electrode of the second power supply module, the second end of the third switch tube is connected with the first end of the fourth switch tube and the second end of the first power supply module, and the second end of the second switch tube, the second end of the fourth switch tube, the negative electrode of the flash lamp module, the negative electrode of the input power supply and the negative electrode of the second power supply module are all grounded;
the fourth period of time in the one boosting period, supplying power to the flash lamp module through the input power supply and the first power supply module, and charging the second power supply module, includes:
And in the fourth time period, the third switching tube in the flash lamp circuit is controlled to be conducted, and the fourth switching tube in the flash lamp circuit is controlled to be disconnected, so that the input power supply and the first power supply module supply power for the flash lamp module, and the input power supply and the first power supply module charge the second power supply module.
13. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the flash control method of any one of claims 7-12.
14. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the flash control method according to any of claims 7-12.
CN202210087146.9A 2022-01-25 2022-01-25 Flash lamp circuit, control method, electronic device, and readable storage medium Active CN114442402B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210087146.9A CN114442402B (en) 2022-01-25 2022-01-25 Flash lamp circuit, control method, electronic device, and readable storage medium
PCT/CN2023/073173 WO2023143381A1 (en) 2022-01-25 2023-01-19 Flash lamp circuit, control method, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210087146.9A CN114442402B (en) 2022-01-25 2022-01-25 Flash lamp circuit, control method, electronic device, and readable storage medium

Publications (2)

Publication Number Publication Date
CN114442402A CN114442402A (en) 2022-05-06
CN114442402B true CN114442402B (en) 2024-05-03

Family

ID=81370283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210087146.9A Active CN114442402B (en) 2022-01-25 2022-01-25 Flash lamp circuit, control method, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114442402B (en)
WO (1) WO2023143381A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442402B (en) * 2022-01-25 2024-05-03 维沃移动通信有限公司 Flash lamp circuit, control method, electronic device, and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI242903B (en) * 2004-11-22 2005-11-01 Yobon Technologies Inc Photoflash capacitor charger and method thereof
CN103607822A (en) * 2013-11-25 2014-02-26 广东欧珀移动通信有限公司 Over-temperature protection method and device of flashlight of terminal
CN106353953A (en) * 2016-09-28 2017-01-25 深圳市品色科技有限公司 Flashlight module and flashlight power module
CN209765239U (en) * 2019-06-03 2019-12-10 深圳市神牛摄影器材有限公司 LED flash lamp for photography
CN111031633A (en) * 2020-01-09 2020-04-17 Oppo广东移动通信有限公司 Flash lamp driving circuit
CN210536978U (en) * 2019-08-07 2020-05-15 杭州海康威视数字技术股份有限公司 Flash lamp booster circuit and flash lamp
CN111601422A (en) * 2020-05-27 2020-08-28 维沃移动通信有限公司 Starting circuit and electronic equipment
CN112153784A (en) * 2020-10-20 2020-12-29 维沃移动通信有限公司 Control circuit and electronic device
CN112234704A (en) * 2020-10-12 2021-01-15 维沃移动通信有限公司 Flash lamp power supply switching circuit, flash lamp control method and electronic equipment
CN214544872U (en) * 2021-02-07 2021-10-29 Tcl通力电子(惠州)有限公司 LED drive protection circuit and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956358B2 (en) * 2004-02-05 2005-10-18 Yobon Technologies, Inc. Photoflash capacitor charger and method thereof
CN101472365B (en) * 2007-12-27 2012-01-25 佛山普立华科技有限公司 Flash control circuit
EP2651185B1 (en) * 2012-04-13 2017-11-01 ams AG Flash driver to limit a load current of a flash and method to limit a load current of a flash driver
CN206178316U (en) * 2016-10-14 2017-05-17 深圳市品色科技有限公司 Flash lamp module and flashlight power module
CN106411131B (en) * 2016-11-29 2019-01-11 上海艾为电子技术股份有限公司 A kind of ON-OFF control circuit and Switching Power Supply
CN108811279B (en) * 2018-06-29 2020-07-17 绍兴玖越智能装备有限公司 Flash lamp driving method and electronic equipment
CN114442402B (en) * 2022-01-25 2024-05-03 维沃移动通信有限公司 Flash lamp circuit, control method, electronic device, and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI242903B (en) * 2004-11-22 2005-11-01 Yobon Technologies Inc Photoflash capacitor charger and method thereof
CN103607822A (en) * 2013-11-25 2014-02-26 广东欧珀移动通信有限公司 Over-temperature protection method and device of flashlight of terminal
CN106353953A (en) * 2016-09-28 2017-01-25 深圳市品色科技有限公司 Flashlight module and flashlight power module
CN209765239U (en) * 2019-06-03 2019-12-10 深圳市神牛摄影器材有限公司 LED flash lamp for photography
CN210536978U (en) * 2019-08-07 2020-05-15 杭州海康威视数字技术股份有限公司 Flash lamp booster circuit and flash lamp
CN111031633A (en) * 2020-01-09 2020-04-17 Oppo广东移动通信有限公司 Flash lamp driving circuit
CN111601422A (en) * 2020-05-27 2020-08-28 维沃移动通信有限公司 Starting circuit and electronic equipment
CN112234704A (en) * 2020-10-12 2021-01-15 维沃移动通信有限公司 Flash lamp power supply switching circuit, flash lamp control method and electronic equipment
CN112153784A (en) * 2020-10-20 2020-12-29 维沃移动通信有限公司 Control circuit and electronic device
CN214544872U (en) * 2021-02-07 2021-10-29 Tcl通力电子(惠州)有限公司 LED drive protection circuit and device

Also Published As

Publication number Publication date
CN114442402A (en) 2022-05-06
WO2023143381A1 (en) 2023-08-03

Similar Documents

Publication Publication Date Title
EP3192065B1 (en) Asymmetric multiphase boost for display backlights
TWI468908B (en) System power integrated circuit and architecture, management circuit, power supply arrangement, and portable apparatus
CN103545865B (en) For the apparatus and method powered in the terminal
JP4471978B2 (en) Switching power supply control circuit, switching power supply device, and electronic equipment using the same
US20070296353A1 (en) Switching Regulator Control Circuit, Current Drive Circuit, Light Emitting Apparatus, and Information Terminal Apparatus
CN103636288B (en) Load driver, processor controlled load driver, and computer program
JP2014524232A (en) Power supply apparatus and method, and user apparatus
JP2006352011A (en) Luminescence control circuit, and lighting device and portable information terminal equipped therewith
US10283076B1 (en) Operating multiple DC-to-DC converters efficiently by using predicted load information
JP2003152224A (en) High-efficiency led driving system
CN114442402B (en) Flash lamp circuit, control method, electronic device, and readable storage medium
EP3761476B1 (en) Charging circuit and method for electronic device, device and storage medium
US10622814B2 (en) Power conversion apparatus
TWI449028B (en) Self-luminescent display apparatus, adaptive screen control method, and adaptive adjusting circuit
CN101770754A (en) Data processing equipment and lighting method of display screen thereof
US20140132641A1 (en) Systems and methods for light-load efficiency in displays
CN114286467B (en) Flash lamp circuit, control method, electronic device, and readable storage medium
CN112234704B (en) Flash lamp power supply switching circuit, flash lamp control method and electronic equipment
JP2008060253A (en) Light emitting element driver, and portable information terminal
JP2004022929A (en) Dc-dc step-up method
JP2005142916A (en) Mobile terminal device with camera, its illumination control method and program for illumination control
CN113409730B (en) Electronic device, control method and device of electronic device, and readable storage medium
CN219611605U (en) Voltage adjusting circuit and electronic equipment
CN219181410U (en) Power supply circuit and electronic equipment
WO2022170673A1 (en) Flash-lamp color temperature control circuit, flash-lamp color temperature control method, flash-lamp color temperature control apparatus, electronic device and computer storage medium

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
GR01 Patent grant
GR01 Patent grant