CN114442402A - 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
CN114442402A
CN114442402A CN202210087146.9A CN202210087146A CN114442402A CN 114442402 A CN114442402 A CN 114442402A CN 202210087146 A CN202210087146 A CN 202210087146A CN 114442402 A CN114442402 A CN 114442402A
Authority
CN
China
Prior art keywords
power supply
module
flash lamp
flash
input power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210087146.9A
Other languages
Chinese (zh)
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/CN114442402A/en
Publication of CN114442402A publication Critical patent/CN114442402A/en
Priority to PCT/CN2023/073173 priority patent/WO2023143381A1/en
Pending legal-status Critical Current

Links

Images

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

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 lamp circuit includes: the flash lamp driving circuit comprises a driving chip, an input power supply, a first power supply module and a flash lamp module, wherein the input power supply, the first power supply module and the flash lamp module are connected with the driving chip; the driving chip is used for driving the driving chip to perform driving when the voltage of the input power supply is greater than a voltage threshold value: in a first time period in a voltage reduction cycle, driving an input power supply to charge a first power supply module and driving the input power supply to supply power to 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 voltage reduction 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 has become an indispensable function of an electronic device, and when the electronic device shoots under a weak light condition, a flash lamp is used as an important auxiliary peripheral, and the application of the flash lamp on the electronic device is more and more extensive.
Generally, an electronic device can convert the voltage of a system power supply into the voltage required by the flash lamp to operate 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, since 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, the over-temperature protection function of the driving chip may be triggered, so that the flash lamp cannot continue to operate, thereby affecting the user experience.
Disclosure of Invention
An embodiment of the present application provides a flash circuit, a control method, an electronic device, and a readable storage medium, which can solve the problem that a flash cannot continue to operate when a voltage value of a system power supply is large.
In a first aspect, an embodiment of the present application provides a flash lamp circuit, including: the flash lamp driving circuit comprises a driving chip, an input power supply, a first power supply module and a flash lamp module, wherein the input power supply, the first power supply module and the flash lamp module are connected with the driving chip; the driving chip is used for driving the driving chip to perform driving when the voltage of the input power supply is greater than a voltage threshold value: in a first time period in a voltage reduction cycle, driving an input power supply to charge a first power supply module and driving the input power supply to supply power to 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 voltage reduction period.
In a second aspect, embodiments of the present application provide an electronic device including a flash circuit as described in the first aspect.
In a third aspect, an embodiment of the present application provides a flash lamp control method, which is applied to the flash lamp circuit according to the first aspect, and the method includes: in the event that the voltage of the input power supply in the flash circuit is greater than a voltage threshold: in a first time period in a voltage reduction cycle, charging a first power module in a flash lamp circuit through an input power supply, and supplying power to the flash lamp module in the flash lamp circuit; and in a second time period in one voltage reduction period, the first power supply module supplies power to the flash lamp module.
In a fourth aspect, the present application provides an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the third aspect.
In a fifth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the third aspect.
In a sixth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the third aspect.
In a seventh aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the third aspect.
In an embodiment of the present application, a flash circuit may include: the flash lamp driving circuit comprises a driving chip, an input power supply, a first power supply module and a flash lamp module, wherein the input power supply, the first power supply module and the flash lamp module are connected with the driving chip; and the driving chip can be used for, under the condition that the voltage of the input power supply is greater than the voltage threshold value: in a first time period in a voltage reduction cycle, driving an input power supply to charge a first power supply module and driving the input power supply to supply power to 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 a voltage reduction period. Through this flash light circuit, because under the condition that the voltage of the input power supply of flash light circuit is greater than the voltage threshold value, driver chip can charge for first power module through input power earlier in a step-down cycle, and supply power for the flash light module through input power supply, then first power module supplies power for the flash light module alone, consequently can be under the great condition of voltage of this input power supply, ensure that the output voltage of flash light circuit remains at the minimum all the time, thereby make this driver chip's power loss minimum, and then can ensure that the flash light can normally work.
Drawings
Fig. 1 is a schematic structural diagram of a flash lamp circuit according to an embodiment of the present disclosure;
fig. 2 is a second schematic structural diagram of a flash lamp circuit according to an embodiment of the present disclosure;
fig. 3 is a third schematic structural diagram of a flash circuit according to an embodiment of the present disclosure;
fig. 4 is a fourth schematic structural diagram of a flash lamp circuit according to an embodiment of the present disclosure;
fig. 5 is a fifth schematic structural diagram of a flash lamp circuit according to an embodiment of the present disclosure;
fig. 6 is a sixth schematic structural diagram of a flash lamp circuit according to an embodiment of the present disclosure;
FIG. 7 is a seventh schematic diagram illustrating a flash circuit according to an embodiment of the present disclosure;
FIG. 8 is an eighth schematic diagram of a flash circuit according to an embodiment of the present disclosure;
FIG. 9 is a ninth schematic diagram of a flash circuit according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of a flash circuit according to an embodiment of the present disclosure;
FIG. 11 is a flowchart of a method for controlling a flash according to an embodiment of the present disclosure;
FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of the application;
fig. 13 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The flash circuit, the control method, the electronic device, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The flash lamp is used as an important auxiliary peripheral in shooting and is widely applied to mobile terminals such as mobile phones. On one hand, the mobile terminal has higher and higher requirements on the brightness of a flash lamp in order to obtain a better shooting effect; on the other hand, as aesthetic requirements of users on the design of the mobile terminal are higher and higher, the screen opening corresponding to the flash lamp is 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. Generally, in order to ensure that the flash lamp can emit the desired brightness, the voltage and current of the flash lamp during operation must be kept constant, but since the input power is generally connected to the battery terminal, the voltage is not constant. Specifically, when the voltage of the input power supply is less than or equal to a voltage threshold value, no matter how the voltage of the input power supply changes, the driving chip can ensure that the power consumption of the driving chip is minimum by adjusting the duty ratios of different switching elements in the driving chip. When the voltage of the input power supply is greater than the voltage threshold, the driver chip cannot ensure the minimum power loss of the driver chip by adjusting the duty ratios of different switching elements in the driver chip, and the power loss of the driver chip is increased to ensure the fixed working voltage and current of the flash lamp. Since 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 low, and the use duration of a user is affected; on the other hand, the over-temperature protection of the driving chip may be caused due to the over-high temperature of the driving chip, so that the flash lamp cannot continue to work, and the use experience of a user is affected.
In order to solve the above problem, in the flash circuit of the embodiment of the present application, the driving chip may be configured to, in a case that the voltage of the input power is greater than a voltage threshold: in a first time period in a voltage reduction cycle, driving an input power supply to charge a first power supply module and driving the input power supply to supply power to 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 voltage reduction period. Through the flash lamp circuit, under the condition that the voltage of the input power supply of the flash lamp circuit is greater than the voltage threshold value, the drive chip can respectively and independently drive the input power supply and the first power supply module to supply power to the flash lamp module in two different time periods in a voltage reduction cycle, so that the output voltage of the flash lamp circuit can be always kept at the minimum value under the condition that the voltage of the input power supply is large, the power loss of the drive chip is minimum, and the flash lamp can normally work.
The embodiment of the application provides a flash lamp circuit, and fig. 1 shows a schematic structural diagram of the flash lamp circuit provided by the embodiment of the application. As shown in fig. 1, a flash circuit provided in an embodiment of the present application may include a driver chip 10, and an input power source 11, a first power module 12, and a flash module 13 connected to the driver chip 10.
In this embodiment, the driving chip may be configured to, when the voltage of the input power is greater than the voltage threshold: in a first time period in a voltage reduction cycle, driving an input power supply to charge a first power supply module and driving the input power supply to supply power to 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 voltage reduction period.
Optionally, in this embodiment of the 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 a voltage (e.g., a rated voltage) required for the normal operation of the flash module and a minimum voltage drop across the driver chip.
In this embodiment, the duration of the one step-down 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 cycle consists of a first period and a second period.
It will be appreciated that the end of the first time period is less than the start of the second time period during a buck cycle.
In this embodiment, the duration of the voltage reduction period is a fixed duration, and the duration of the first time period and the duration of the second time period may be determined according to a ratio between the voltage of the input power supply and the voltage threshold.
Exemplarily, assume a first duty cycle D1A first time period: a buck cycle, then: first duty cycle D1Voltage threshold VthAnd the voltage V of the input power supplyPHSatisfies the following formula (1):
Vth=D1*VPH; (1)
wherein D is not less than 01<1。
It can be understood that after the above-mentioned one step-down period is finished, the driving chip may drive the input power to charge the first power module and drive the input power to supply power to the flash lamp module in a first time period in a next step-down period under the condition that the voltage of the input power is greater than the voltage threshold; and driving the first power supply module to supply power to the flash lamp module in a second time period in the next voltage reduction 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 to the flash lamp module in a first time period in each voltage reduction cycle; and driving the first power supply module to supply power to the flash lamp module in a second time period in each voltage reduction period.
Optionally, in this embodiment of the present application, the first power module may be an inductance element.
It can be understood that the driving chip drives the inductive element in the boost circuit of the flash circuit as a separate power supply to supply power to the flash module in the first time period in each buck cycle, so that the output voltage of the flash circuit can be prevented from continuously increasing with the increase of the voltage of the input power supply, and the power consumption of the driving chip can be reduced.
In this embodiment of the application, the input power supply may be used under the driving of the driving chip: charging the first power supply module; or, power is supplied to the flash module.
In this embodiment of the application, the first power module may be configured to, under driving of the driving chip: charging through an input power supply; or, power is supplied to the flash module.
The flash circuit provided by the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
Illustratively, referring to fig. 1, if the voltage of the input power source 11 is greater than the voltage threshold, the flash lamp circuit may operate in a Buck (Buck) mode, which may include at least one Buck cycle, each including two power supply modes, mode 1 and mode 2. Wherein, the mode 1 is as follows: in a first time period in each voltage reduction cycle, the input power supply 11 may be driven by the driving chip 10 to charge the first power supply module 12 and supply power to the flash lamp module 13; the mode 2 is as follows: during the second time period in each buck cycle, 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 buck mode, by alternating the two power supply modes, when the voltage of the input power supply is large, the output voltage of the flash circuit can be maintained stable (for example, the output voltage can be kept at the minimum value), so that the output current of the flash circuit can be maintained stable, and further, the power loss of the driving chip in the flash circuit can be minimized, so as to ensure that the flash can normally operate.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 2, 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 terminal (denoted by c1 in fig. 2) of the first switch tube Q1, a control terminal (denoted by c2 in fig. 2) of the second switch tube Q2, a control terminal (denoted by c3 in fig. 2) of the third switch tube Q3 and a control terminal (denoted by c4 in fig. 2) of the fourth switch tube Q4; a first end (denoted by a1 in fig. 2) of the first switching tube Q1 is connected to the positive electrode of the input power source 11, a second end (denoted by b1 in fig. 2) of the first switching tube Q1 is connected to a first end (denoted by a2 in fig. 2) of the second switching tube Q2 and a first end (denoted by a in fig. 2) of the first power module 12, a first end (denoted by a3 in fig. 2) of the third switching tube Q3 is connected to the positive electrode of the flash lamp module 13, a second end (denoted by b3 in fig. 2) of the third switching tube Q3 is connected to a first end (denoted by a4 in fig. 2) of the fourth switching tube Q4 and a second end (denoted by b in fig. 2) of the first power module 12, a second end (denoted by b2 in fig. 2) of the second switching tube Q2, a second end (denoted by b4 in fig. 2) of the fourth switching tube Q5, a negative electrode of the flash lamp module 4, and a negative electrode of the input power module 11 are connected to the ground.
In the embodiment of the application, the microprocessor can be used for controlling the third switching tube to be connected and controlling the fourth switching tube to be disconnected under the condition that the voltage of the input power supply is greater than the voltage threshold value; and under the condition that the third switching tube is conducted and the fourth switching tube is disconnected: in a first time period, the input power supply is driven to charge the first power supply module and supply power to the flash lamp module by controlling the first switch tube to be connected and controlling the second switch tube to be disconnected; or in a second time period, the first power module is driven to supply power to the flash lamp module by controlling the first switch tube to be disconnected and controlling the second switch tube to be connected. Therefore, the driving chip can respectively drive the first power supply module and the input power supply to independently supply power to the flash lamp module in two different time periods in one voltage reduction period through the microprocessor.
Optionally, in this embodiment of the application, the switch tube may be any possible switch tube such as a switching transistor or a field effect transistor.
It should be noted that the microprocessor can control the on/off of the switch tube by sending a control signal to the switch tube.
In the flash lamp circuit that this application embodiment provided, because under the condition that the voltage of the input power supply at flash lamp circuit is greater than the voltage threshold, driver chip can charge for first power module through the input power supply earlier in a step-down cycle, and supply power for the flash lamp module through the input power supply, then first power module is the power supply of flash lamp module alone again, consequently can be under the great condition of voltage of this input power supply, ensure that the output voltage of flash lamp circuit remains the minimum all the time, thereby make the power loss of this driver chip minimum, and then can ensure that the flash lamp can normally work.
Optionally, in this embodiment of the application, with reference to fig. 1, as shown in fig. 3, the flash circuit provided in this embodiment of the application may further include a second power module 15 connected to the driving chip 10.
In this embodiment, the driving chip may be further configured to, when the voltage of the input power is less than or equal to the voltage threshold: in a third time period in one boosting cycle, driving an 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; and in a fourth time period in one boosting period, driving the input power supply and the first power supply module to supply power to the flash lamp module, and driving the input power supply and the first power supply module to charge the second power supply module.
In this embodiment, the duration of the one boosting cycle is the sum of the duration of the third time period and the duration of the fourth time period. I.e. the boost cycle consists of a third period and a fourth period.
It will be appreciated that the end of the third period is less than the start of the fourth period during a boost cycle.
In this embodiment, the duration of the one boosting cycle 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 a ratio between the voltage of the input power supply and the voltage threshold.
Exemplarily, assume a second duty cycle D2For a third time period: boost period, then: second duty cycle D2Voltage threshold VthAnd the voltage V of the input power supplyPHSatisfies the following formula (2):
Figure BDA0003488387700000071
wherein D is not less than 02<1。
It can be understood that after the above-mentioned one boosting cycle is ended, the driving chip may drive the input power supply to charge the first power supply module and drive the second power supply module to supply power to the flash lamp module in a third time period in a next boosting cycle under the condition that the voltage of the input power supply is less than or equal to the voltage threshold value; and in a fourth time period in the next 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. 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 to the flash lamp module in the third time period of each boosting cycle; and driving the input power supply and the first power supply module to supply power to the flash lamp module and driving the input power supply and the first power supply module to charge the second power supply module in a second time period of each voltage reduction cycle.
Optionally, in this embodiment of the application, the second power module may include a capacitive element.
Optionally, in this embodiment of the application, when the driving chip drives the input power and the first power module to supply power to the flash module, and drives the input power and the first power module to charge the second power module, the driving chip may drive the input power and the first power 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 is greater 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 this embodiment of the application, the input power supply may be used under the driving of the driving chip: charging the first power supply module; or, the power supply is provided for the flash module and the second power module is charged.
In this embodiment of the application, the first power module may be configured to, under driving of the driving chip: charging through an input power supply; or, the power supply is provided for the flash module and the second power module is charged.
In this embodiment of the application, the second power module may be configured to, under the driving of the driving chip: supplying power to the flash lamp module; or, the charging is carried out through the input power supply and the first power supply module.
The flash circuit provided by the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
Illustratively, referring to fig. 3, if the voltage of the input power 11 is less than or equal to the voltage threshold, the flash circuit operates in a Boost (Boost) mode, which may include at least one Boost cycle, and each Boost cycle includes two power supply modes, i.e., mode 3 and mode 4. Wherein, mode 3 is: in a third time period in each boosting cycle, the input power supply 11 may be driven by the driving chip 10 to charge the first power supply module 12; the second power module 15 can supply power to the flash module 13 under the driving of the driving chip 10; mode 4 is: during a fourth time period in each boost cycle, 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 alternately performing the two power supply modes, when the voltage of the input power supply is small, the output voltage of the flash circuit can be maintained stable (for example, the output voltage can be kept at the minimum value), so that the output current of the flash circuit can be maintained stable, and further, the power loss of the driver chip in the flash circuit can be minimized, so that the flash can normally operate.
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 work in the boost mode to boost the output voltage of the flash circuit, 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 greater than the 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, in a mode that the first voltage module is driven to independently supply power to the power supply flash lamp module in a first time period, and the input power supply is driven to independently supply power to the power supply 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. So no matter how the voltage of input power supply changes, the output voltage of flash lamp circuit can remain at the minimum all the time to can reduce driver chip's consumption, improve the operating duration of flash lamp module, and then improve user experience and feel.
Optionally, in this embodiment of the application, with reference to fig. 3, as shown in fig. 4, 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 terminal (denoted by c1 in fig. 4) of the first switching tube Q1, a control terminal (denoted by c2 in fig. 4) of the second switching tube Q2, a control terminal (denoted by c3 in fig. 4) of the third switching tube Q3 and a control terminal (denoted by c4 in fig. 4) of the fourth switching tube Q4; a first end (denoted by a1 in fig. 4) of the first switching tube Q1 is connected to the positive electrode of the input power source 11, a second end (denoted by b1 in fig. 4) of the first switching tube Q1 is connected to a first end (denoted by a2 in fig. 4) of the second switching tube Q2 and a first end (denoted by a in fig. 4) of the first power module 12, a first end (denoted by a3 in fig. 4) of the third switching tube Q3 is connected to the positive electrode of the flash module 13 and the positive electrode of the second power module 15, a second end (denoted by b3 in fig. 4) of the third switching tube Q3 is connected to a first end (denoted by a4 in fig. 4) of the fourth switching tube Q4 and a second end (denoted by b in fig. 4) of the first power module 12, the second terminal (denoted by b2 in fig. 4) of the second switching transistor Q2, the second terminal (denoted by b4 in fig. 4) of the fourth switching transistor Q4, the negative electrode of the flash module 13, the negative electrode of the input power source 11, and the negative electrode of the second power source module 15 are all grounded.
In this embodiment, the microprocessor may be configured to control the first switching tube to be turned on and the second switching tube to be turned off when the voltage of the input power is less than or equal to the voltage threshold, and when the first switching tube is turned on and the second switching tube is turned off: in a third time period, the input power is driven to charge the first power module and the second power module is driven to supply power to the flash lamp module by controlling the third switching tube to be disconnected and controlling the fourth switching tube to be connected; or, in a fourth time period, the third switching tube is controlled to be conducted, and the fourth switching tube is controlled to be disconnected, so that the input power source and the first power module are driven to supply power to the flash lamp module, and the input power source and the first power module are driven to charge the second power module. This ensures that the output voltage of the flash circuit is kept to a minimum.
In the flash lamp circuit provided in the embodiment of the present application, when the voltage of the input power supply of the flash lamp circuit is less than or equal to the voltage threshold, the driving chip may control the first switching tube to be turned on and control the second switching tube to be turned off, and when the first switching tube is turned on and the second switching tube is turned off: 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 each boosting cycle; in a fourth time period in each boosting period, the input power supply and the first power supply module are driven to supply power to the flash lamp module, and the output voltage of the flash lamp circuit is improved in a manner that 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 can be kept at the minimum value, and the flash lamp can be ensured to normally work.
Optionally, in this embodiment, with reference to fig. 4, as shown in fig. 5, 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 anode of the first current source 16 and the anode of the second current source 17 are both connected to a first end (denoted by a3 in fig. 5) of the third switching tube Q3, the cathode of the first current source 16 is connected to the anode of the first flash lamp 18, and the cathode of the second current source 17 is connected to the anode of the second flash lamp 19; the cathode of the first flash lamp 18 and the cathode of the second flash lamp 19 are both grounded.
It is understood that the positive electrode of the first flash lamp 18 and the positive electrode of the second flash lamp 19 are both positive electrodes of the flash lamp module 13, and the negative electrode of the first flash lamp and the negative electrode of the second flash lamp are both negative electrodes of the flash lamp module.
In this application embodiment, first current source can be used for the partial pressure to output stable electric current to first flash lamp, and the second current source can be used for the partial pressure to output stable electric current to the second flash lamp, thereby ensures that the operating current of first flash lamp and second flash lamp remains stable.
In the embodiment of the present application, the first flash lamp and the second flash lamp may be light emitting diodes, or any other elements that can emit light.
It should be noted that the power consumption of the driver chip may include: and driving power consumption of the first current source and power consumption of the second current source in the chip.
Alternatively, in the embodiment of the present application, as shown in fig. 5, when the flash circuit operates in the Buck mode, the voltage drop of the driver chip may be calculated by the following formula (3):
Vth=D1*VPH=VHR+VLED1+VLED2; (3)
wherein is VthVoltage threshold value, D1Is a first duty cycle, VPHIs the voltage of the input power; vHRFor voltage drop of the driver chip, VLED1Is the operating voltage of the first flash lamp, VLED2Is the operating voltage of the second flash lamp.
As shown in fig. 5, when the flash circuit operates in the Boost mode, the voltage drop of the driver chip may be calculated by the following formula (4):
Figure BDA0003488387700000101
wherein, VthIs a voltage threshold value, D1At the second duty ratio, VPHIs the voltage of the input power; vHRFor voltage drop of the driver chip, VLED1Is the operating voltage of the first flash lamp, VLED2Is the operating voltage of the second flash lamp.
Optionally, in this embodiment of the present application, the power consumption of each current source is: the voltage drop of the current source is the working current of the flash lamp module.
Optionally, in this embodiment of the present application, as shown in fig. 6 in combination with fig. 5, the 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 switch tube Q1, a control end c2 of the second switch tube Q2, a control end c3 of the third switch tube Q3 and a control end c4 of the fourth switch tube Q4; a first end a1 of the first switching tube Q1 is connected with the positive electrode of the input power supply 11, a second end b1 of the first switching tube Q1 is connected with a first end a2 of the second switching tube Q2 and a first end a of the first power supply module 12, a first end a3 of the third switching tube Q3 is connected with 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 with the positive electrode of the first flashlight 18, the negative electrode of the second current source 17 is connected with the positive electrode of the second flashlight 19, a second end b3 of the third switching tube Q3 is connected with a first end a4 of the fourth switching tube Q4 and a second end b of the first power supply module 12, the negative electrode of the input power source 11, the second end b2 of the second switch tube Q2, the second end b4 of the fourth switch tube Q4, the negative electrode of the first flash lamp 18, the negative electrode of the second flash lamp 19, and the negative electrode of the second power module 15 are all grounded.
Optionally, in an embodiment of the present application, in a possible implementation manner, the controller may be configured to send a first control signal to the microprocessor when the voltage of the input power is greater than a voltage threshold, so as to control the third switching tube to be turned on and control the fourth switching tube to be turned off through the microprocessor; and under the condition that the third switching tube is conducted and the fourth switching tube is disconnected: in a first time period in each voltage reduction period, sending a second control signal to the microprocessor so as to control the first switching tube to be switched on and control the second switching tube to be switched off through the microprocessor; or, in a second time period in each voltage reduction period, a third control signal is sent to the microprocessor, so that the microprocessor controls the first switching tube to be switched off and controls the second switching tube to be switched on. Alternatively, the first and second electrodes may be,
the controller can be used for sending a fourth control signal to the microprocessor in a third time period in each boosting cycle 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 switched off and control the fourth switching tube to be switched on through the microprocessor; or, in a fourth time period in each boosting period, sending a fifth control signal to the microprocessor so as to control the third switching tube to be switched on and control the fourth switching tube to be switched off through the microprocessor.
Optionally, in this embodiment of the present application, in another manner, the controller may send a control signal to the microprocessor to request the microprocessor to turn on the flash. The microprocessor can then determine the voltage V of the input power supplyPHAnd voltage threshold value VthThe relationship between them.
If VPH>VthThen, it indicates that the flash lamp circuit satisfies the operating condition of Buck mode to microprocessor can control the flash lamp circuit to enter Buck mode, and is specific: the microprocessor may dynamically adjust the duty cycle of mode 1 (specifically, the first duty cycle D) in each buck period according to the above equation (1)1)。
Then, as shown in fig. 7, the microprocessor 14 may control the third switching transistor Q3 to be turned on, and the fourth switching transistor Q4 to be turned off; and, the microprocessor may control the first switch Q1 to be turned on and the second switch Q2 to be turned off in mode 1 of each buck cycle, so as to control the input power source 11 to charge the first power module 12 (specifically, an inductor) and control the input power source 11 to supply power to the flash module 13, where the current path is shown by a dashed arrow in fig. 7. Further, as shown in fig. 8, the microprocessor may control the first switching transistor Q1 to be turned off and the second switching transistor Q2 to be turned on in mode 2 during each buck cycle to control the inductor to discharge, so as to supply power to the flash module 13 through the inductor, where the current path is shown by the dashed arrow in fig. 8. The microprocessor can control the flash lamp current in the Buck mode to alternately carry out the mode 1 and the mode 2, so that the output voltage V of the flash lamp circuit is enabledoutAlways kept at a minimum value, at which time the power consumption of the driver chipA minimum value is also maintained.
It should be noted that the output voltage V of the flash circuit is set during each step-down periodoutDepending on the duty cycle of mode 1, i.e., the fraction of the mode 1 duration (i.e., the first time period) in the buck cycle.
If VPH≤VthIf so, the flash lamp circuit meets the working condition of the Boost mode, so that the microprocessor can control the flash lamp circuit to enter the Boost mode, specifically: the microprocessor may dynamically adjust the duty cycle of mode 3 (specifically, the second duty cycle D) in each boosting period according to the above equation (2)2)。
Then, as shown in fig. 9, in each boosting period, the microprocessor may control the first switching tube Q1 to be turned on and control the second switching tube Q2 to be turned off. And in mode 3 in each boost cycle, the microprocessor may control the fourth switching transistor Q4 to be turned on and the third switching transistor Q3 to be turned off to charge the first power module 12 with the input power, and discharge the second power module 15, so that the flash module 13 may be powered by the second power module, at this time, the current path of the input power is shown by the dotted arrow a in fig. 9, and the current path of the second power module 15 is shown by dotted arrow B in fig. 9. Further, as shown in fig. 10, in mode 4 during each boost cycle, the microprocessor may control the third switching transistor Q3 to be turned on and the fourth switching transistor Q4 to be turned off, so that the input power and the first power module may simultaneously power the flash module 13 and charge the second power module 15, discharging the first power module and charging the second power module, the current paths being shown by the dashed arrows in fig. 10. Because the microprocessor can control the flash lamp current in the mode 1 and the mode 2 to be alternately performed in the Boost mode, the output voltage V of the flash lamp circuit is enabledoutThe power consumption of the driving chip is kept at the minimum value all the time.
It should be noted that the output voltage V of the flash circuit is set during each boost cycleoutDepending on the duty cycle of mode 2, i.e., mode 3 duration (i.e., third period) during the boost cycleThe ratio of (1).
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, namely, 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 prolonged.
Optionally, in the embodiment of the present application, it is assumed that the voltage V of the input power supply isPHThe range of (A) is as follows: 3.4V < VPH<4.5V, voltage threshold VthAbout 3.9V and the minimum voltage drop of the driver chip is about 0.4V.
Optionally, in this embodiment of the application, after receiving the control signal sent by the controller, the microprocessor may further monitor the voltage of the input power supply in real time, and compare the monitored voltage with a voltage threshold value, so as to determine a magnitude relationship between the voltage of the input power supply 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 present application further provides an electronic device, which may include the flash circuit in the above embodiment.
For other descriptions in the embodiment of the present application, reference may be specifically made to the description related to the embodiment of the flash lamp circuit described above, and details are not repeated here to avoid repetition.
An embodiment of the present application further provides a flash lamp control method, which is applied to the flash lamp circuit in the foregoing embodiment, and fig. 11 shows a flowchart of the flash lamp control method provided in the embodiment of the present application. As shown in fig. 11, a flash control method provided in an embodiment of the present application may include steps 101 and 102 described below. The method is exemplarily described below as being performed by an electronic device comprising the flash circuit.
Step 101, when the voltage of an input power supply in the flash circuit is greater than a voltage threshold value, the electronic device charges a first power supply module in the flash circuit through the input power supply and supplies power to the flash module in the flash circuit in a first time period in a voltage reduction cycle.
And 102, under the condition that the voltage of an input power supply in the flash lamp circuit is greater than a voltage threshold value, the electronic equipment supplies power to the flash lamp module through the first power supply module in a second time period in the voltage reduction cycle.
Alternatively, in this embodiment of the present application, the step 101 may be specifically implemented by the following step 101 a.
Step 101a, when the voltage of the input power supply of the electronic device in the flash lamp circuit is greater than a voltage threshold value, and the flash lamp circuit controls a third switching tube in the flash lamp circuit to be turned on and controls a fourth switching tube in the flash lamp circuit to be turned off, in a first time period, the first switching tube in the flash lamp circuit is controlled to be turned on and a second switching tube in the flash lamp circuit is controlled to be turned off, so that the input power supply charges a first power supply module and supplies power to the flash lamp module. Alternatively, in this embodiment of the application, the step 102 may be specifically implemented by a step 102a described below.
102a, when the voltage of the input power supply in the flash lamp circuit of the electronic device is greater than a voltage threshold value, and the flash lamp circuit controls a third switching tube in the flash lamp circuit to be turned on and controls a fourth switching tube in the flash lamp circuit to be turned off, in a second time period, the first switching tube in the flash lamp circuit is controlled to be turned off and the second switching tube in the flash lamp circuit is controlled to be turned on, so that the first power supply module supplies power to the flash lamp module.
In the flash lamp control method provided by the embodiment of the application, under the condition that the voltage of the input power supply of the flash lamp circuit is greater than the voltage threshold value, the electronic device can firstly charge the first power supply module through the input power supply in a voltage reduction period, and 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 alone, 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 large, the power loss of the driving chip is minimized, and the flash lamp can be ensured to work normally.
Optionally, in this embodiment of the present application, the flash control method provided in this embodiment of the present application may further include steps 103 to 105 described below.
And 103, controlling a first switching tube in the flash circuit to be switched on and controlling a second switching tube in the flash circuit to be switched off by the electronic equipment under the condition that the voltage of the input power supply is less than or equal to a voltage threshold value.
And 104, under the condition that the first switch tube is switched on and the second switch tube is switched off, the electronic equipment charges the first power supply module through the input power supply in a third time period in a boosting cycle, and drives the second power supply module in the flash lamp circuit to supply power to the flash lamp module.
And 105, under the condition that the first switch tube is switched on and the second switch tube is switched off, the electronic device supplies power to the flash lamp module and charges the second power module through the input power and the first power module in a fourth time period in the boosting cycle.
For other descriptions in the embodiment of the present application, reference may be specifically made to the description related to the embodiment of the flash lamp circuit described above, and details are not repeated here to avoid repetition.
Optionally, in this embodiment of the application, the electronic device may 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, then the step 104 may be specifically implemented by the step 104a described below, and the step 105 may be specifically implemented by the step 105a described below.
And step 104a, when the first switch tube is turned on and the second switch tube is turned off, in a third time period, the electronic device controls the third switch tube in the flash lamp circuit to be turned off and controls the fourth switch tube in the flash lamp circuit to be turned on so as to enable the input power supply to charge the first power supply module and enable the second power supply module to supply power to the flash lamp module.
And 105a, under the condition that the first switch tube is switched on and the second switch tube is switched off, the electronic device controls the third switch tube in the flash lamp circuit to be switched on and controls the fourth switch tube in the flash lamp circuit to be switched off in a fourth time period, so that 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.
In the embodiment of the present application, under the condition that the voltage of the input power supply of the flash lamp circuit is less than or equal to the voltage threshold value, the electronic device may control the first switch tube to be turned on and control the second switch tube to be turned off, and under the condition that the first switch tube is turned on and the second switch tube is turned off: in a third time period in each boosting cycle, the first power supply module is charged through the input power supply, and the flash lamp module is powered through the second power supply module; in a fourth time period in each boosting period, the input power supply and the first power supply module are used for supplying power to the flash lamp module, and the output voltage of the flash lamp circuit is increased in a mode of charging the second power supply module through the input power supply and the first power supply module, so that the output voltage of the flash lamp circuit can be kept at the minimum value, and the flash lamp can be ensured to normally work.
For other descriptions in the embodiment of the present application, reference may be specifically made to the description related to the embodiment of the flash lamp circuit described above, and details are not repeated here to avoid repetition.
Optionally, as shown in fig. 12, an electronic device 100 is further provided in an embodiment of the present application, and 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 when the program or the instruction is executed by the processor 101, the steps of the embodiment of the flash control method are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
Where the electronic device 1000 shown in fig. 13 includes a flash circuit as in the above embodiments, the processor 1010 may be configured to, in a case where the voltage of the input power in the flash circuit is greater than a voltage threshold: in a first time period in a voltage reduction cycle, charging a first power module in a flash lamp circuit through an input power supply, and supplying power to the flash lamp module in the flash lamp circuit; and in a second time period in one voltage reduction period, the first power supply module supplies power to the flash lamp module.
In a possible implementation manner, the processor 1010 may be specifically configured to, when 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 a first time period, the first switch tube in the flash lamp circuit is controlled to be conducted, and the second switch tube in the flash lamp circuit is controlled to be disconnected, so that the input power supply charges the first power supply module and supplies power to the flash lamp module.
In a possible implementation manner, the processor 1010 may be specifically configured to, when 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 a second time period, the first switch tube in the flash lamp circuit is controlled to be switched off, and the second switch tube in the flash lamp circuit is controlled to be switched on, so that the first power supply module supplies power to the flash lamp module.
In one possible implementation manner, the processor 1010 may be further configured to, when the voltage of the input power is less than or equal to a voltage threshold, 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, and when the first switching tube is turned on and the second switching tube is turned off: in a third time period in a boosting cycle, charging the first power module through the input power, and driving a second power module in the flash lamp circuit to supply power to the flash lamp module; during a fourth time period within a boost cycle, the flash module is powered by the input power source and the first power module, and the second power module is charged.
In a possible implementation manner, the processor 1010 may be specifically configured to, in a third time period, control a third switch tube in the flash circuit to be turned off and control a fourth switch tube in the flash circuit to be turned on, so that the input power supplies to charge the first power module and the second power module supplies power to the flash module.
In a possible implementation manner, the processor 1010 may be specifically configured to, in a fourth time period, control a third switching tube in the flash circuit to be turned on and control a fourth switching tube in the flash circuit to be turned off, so that the input power and the first power module supply power to the flash module, and the input power and the first power module charge the second power module.
In the electronic device provided by the embodiment of the application, because under the condition that the voltage of the input power supply of the flash lamp circuit is greater than the voltage threshold value, the electronic device can firstly charge the first power supply module through the input power supply in a voltage reduction period, and 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 alone, therefore, under the condition that the voltage of the input power supply is large, the output voltage of the flash lamp circuit is ensured to be always kept at the minimum value, the power loss of the driving chip is minimized, and the flash lamp can be ensured to normally work.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as 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 may include two parts, 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, and a joystick, 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 storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) 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 non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the flash lamp control method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the processes of the embodiment of the flash lamp control method, and can achieve the same technical effects, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above described flash control method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A flash circuit, comprising: the flash lamp driving circuit comprises a driving chip, an input power supply, a first power supply module and a flash lamp module, wherein the input power supply, the first power supply module and the flash lamp module are connected with the driving chip;
the driving chip is used for, when the voltage of the input power supply is greater than a voltage threshold value: in a first time period in a voltage reduction cycle, 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; and driving the first power supply module to supply power to the flash lamp module in a second time period in the voltage reduction period.
2. The flash circuit of claim 1, wherein the driver chip comprises a microprocessor, a first switch tube, a second switch tube, a third switch tube and a fourth switch 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 anode 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 anode 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 cathode of the flash lamp module and the cathode of the input power supply are all grounded;
the microprocessor is used for controlling the third switching tube to be connected and controlling the fourth switching tube to be disconnected under the condition that the voltage of the input power supply is greater than a voltage threshold value; and when the third switching tube is switched on and the fourth switching tube is switched off:
in the first time period, the input power supply is driven to charge the first power supply module and is driven to supply power to the flash lamp module by controlling the first switch tube to be connected and controlling the second switch tube to be disconnected; alternatively, the first and second electrodes may be,
and in the second time period, the first power supply module is driven to supply power to the flash lamp module by controlling the first switch tube to be disconnected and controlling the second switch tube to be connected.
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, when the voltage of the input power is less than or equal to a voltage threshold value: in a third time period within one boosting cycle, 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; and in a fourth time period in the boosting period, driving the input power supply and the first power supply module to supply power to 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 switch tube, a second switch tube, a third switch tube and a fourth switch 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 anode 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 anode of the flash lamp module and the anode 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 cathode of the flash lamp module, the cathode of the input power supply and the cathode of the second power supply module are all grounded;
the microprocessor is configured to control the first switching tube to be turned on and the second switching tube to be turned off when the voltage of the input power supply is less than or equal to a voltage threshold value, and when the first switching tube is turned on and the second switching tube is turned off:
in the third time period, the input power supply is driven to charge the first power supply module and the second power supply module is driven to supply power to the flash lamp module by controlling the third switching tube to be disconnected and controlling the fourth switching tube to be connected; alternatively, the first and second electrodes may be,
in the fourth time 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 by controlling the third switching tube to be connected and controlling the fourth switching tube to be disconnected.
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 anode of the first current source and the anode of the second current source are both connected with the first end of the third switch tube, the cathode of the first current source is connected with the anode of the first flash lamp, and the cathode of the second current source is connected with the anode of the second flash lamp; the positive pole of first flash lamp with the positive pole of second flash lamp is the positive pole of flash lamp module, the negative pole of first flash lamp with the negative pole of second flash lamp all grounds.
6. An electronic device, characterized in that the electronic device comprises: a flash circuit as claimed in any one of claims 1 to 5.
7. A flash control method applied to the flash circuit according to any one of claims 1 to 5, the method comprising:
in the case that the voltage of the input power supply in the flash circuit is greater than a voltage threshold:
in a first time period in a voltage reduction cycle, charging a first power module in the flash lamp circuit through the input power supply and supplying power to a flash lamp module in the flash lamp circuit;
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 said charging a first power module in said flash circuit and powering a flash module in said flash circuit via said input power during a first time period within a buck cycle comprises:
when 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 conduction of a first switch tube in the flash lamp circuit and controlling the disconnection of a second switch tube in the flash lamp circuit.
9. The method of claim 7, wherein said powering the flash module by the first power module for the second time period within the one buck cycle comprises:
when 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 the second time period, the first switch tube in the flash lamp circuit is controlled to be switched off, and the second switch tube in the flash lamp circuit is controlled to be switched on, so that the first power supply module supplies power to the flash lamp module.
10. The method of claim 7, further comprising:
under the condition that the voltage of the input power supply is smaller than or equal to the voltage threshold value, controlling a first switch tube in the flash lamp circuit to be conducted and a second switch tube in the flash lamp circuit to be disconnected, and under the condition that the first switch tube is conducted and the second switch tube is disconnected:
in a third time period within one boosting cycle, the first power module is charged through the input power supply, and a second power module in the flash lamp circuit is driven to supply power to the flash lamp module;
and during 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 said charging said first power module with said input power and driving a second power module in said flash circuit to power said flash module for a third time period within a boost cycle comprises:
and in the third time period, the third switching tube in the flash lamp circuit is controlled to be switched off, and the fourth switching tube in the flash lamp circuit is controlled to be switched on, so that the input power supply charges the first power supply module, and the second power supply module supplies power to the flash lamp module.
12. The method of claim 10, wherein said powering the flash module and charging the second power module via the input power and the first power module during a fourth time period within the one boost cycle comprises:
and in the fourth time period, the third switching tube in the flash lamp circuit is controlled to be connected 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 to 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, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the flash control method according to any one of claims 7 to 12.
14. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the flash control method according to any one of claims 7-12.
CN202210087146.9A 2022-01-25 2022-01-25 Flash lamp circuit, control method, electronic device and readable storage medium Pending CN114442402A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210087146.9A CN114442402A (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 CN114442402A (en) 2022-01-25 2022-01-25 Flash lamp circuit, control method, electronic device and readable storage medium

Publications (1)

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

Family

ID=81370283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210087146.9A Pending CN114442402A (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) CN114442402A (en)
WO (1) WO2023143381A1 (en)

Cited By (1)

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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050174096A1 (en) * 2004-02-05 2005-08-11 Yu Donald C.L. Photoflash capacitor charger and method thereof
TWI242903B (en) * 2004-11-22 2005-11-01 Yobon Technologies Inc Photoflash capacitor charger and method thereof
US20130272688A1 (en) * 2012-04-13 2013-10-17 Ams Ag Flash driver to limit a load current of a flash and method to limit a load current of a flash driver
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472365B (en) * 2007-12-27 2012-01-25 佛山普立华科技有限公司 Flash control circuit
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
CN114442402A (en) * 2022-01-25 2022-05-06 维沃移动通信有限公司 Flash lamp circuit, control method, electronic device and readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050174096A1 (en) * 2004-02-05 2005-08-11 Yu Donald C.L. Photoflash capacitor charger and method thereof
TWI242903B (en) * 2004-11-22 2005-11-01 Yobon Technologies Inc Photoflash capacitor charger and method thereof
US20130272688A1 (en) * 2012-04-13 2013-10-17 Ams Ag Flash driver to limit a load current of a flash and method to limit a load current of a flash driver
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

Cited By (1)

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

Also Published As

Publication number Publication date
WO2023143381A1 (en) 2023-08-03

Similar Documents

Publication Publication Date Title
CN103545865B (en) For the apparatus and method powered in the terminal
WO2016053913A1 (en) Asymmetric multiphase boost for display backlights
WO2020062481A1 (en) Wireless charging receiving apparatus, charging system and terminal
TW201303563A (en) System power integrated circuit and architecture, management circuit, power supply arrangement, and portable apparatus
JP2014524232A (en) Power supply apparatus and method, and user apparatus
WO2013001142A1 (en) Load driver, processor controlled load driver, and computer program
CN112737028B (en) Charging conversion equipment and charging control method
WO2023143381A1 (en) Flash lamp circuit, control method, electronic device, and readable storage medium
CN217087529U (en) Charging and discharging circuit and electronic equipment
US10283076B1 (en) Operating multiple DC-to-DC converters efficiently by using predicted load information
US11502535B2 (en) Charging circuit for electronic device, charging method, and electronic device
US20150130397A1 (en) Mobile device solar powered charging apparatus, method, and system
US9197129B2 (en) Boost converter topology for high efficiency and low battery voltage support
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
CN112332472B (en) Charging circuit, electronic device and flash lamp control method
JP2006081369A (en) Electronic equipment
JP2004022929A (en) Dc-dc step-up method
WO2015154377A1 (en) Power control method and apparatus for large load terminal, computer program and carrier
CN116014853A (en) Power supply circuit, electronic device and charging control method
US7466995B2 (en) Mobile communications terminal having malfunction-preventing function
CN216489841U (en) Charging and discharging circuit and electronic equipment
CN219611605U (en) Voltage adjusting circuit and electronic equipment
US20240039334A1 (en) Circuit of wireless charging and method of charging battery
KR20180109610A (en) Battery module

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