[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111585319B - Camera power supply method and device, electronic equipment and storage medium - Google Patents

Camera power supply method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111585319B
CN111585319B CN202010309772.9A CN202010309772A CN111585319B CN 111585319 B CN111585319 B CN 111585319B CN 202010309772 A CN202010309772 A CN 202010309772A CN 111585319 B CN111585319 B CN 111585319B
Authority
CN
China
Prior art keywords
camera module
power supply
voltage
working
working voltage
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
CN202010309772.9A
Other languages
Chinese (zh)
Other versions
CN111585319A (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 CN202010309772.9A priority Critical patent/CN111585319B/en
Publication of CN111585319A publication Critical patent/CN111585319A/en
Application granted granted Critical
Publication of CN111585319B publication Critical patent/CN111585319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a camera power supply method, a camera power supply device, electronic equipment and a storage medium, wherein the camera power supply method is applied to the electronic equipment, the electronic equipment comprises a camera module and a power supply for supplying power to the camera module, and the camera power supply method comprises the following steps: acquiring target working parameters of the camera module, wherein the target working parameters comprise at least one of the following items: target frame rate, target resolution; determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module; and controlling the power supply to provide voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage. By utilizing the embodiment of the invention, the camera module can work at a lower voltage, and unnecessary power consumption of the camera module during shooting is reduced.

Description

Camera power supply method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of electronic equipment, in particular to a camera power supply method and device, electronic equipment and a storage medium.
Background
As electronic devices have become more powerful, the power consumption of the electronic devices also increases. Especially for taking high quality pictures, the number of cameras integrated on the electronic device is increasing and the photographing algorithm becomes more complex than before.
However, the more the number of cameras is, the more complicated the shooting algorithm is, which results in a larger power consumption of the electronic device during shooting.
Disclosure of Invention
The embodiment of the invention provides a camera power supply method and device, electronic equipment and a storage medium, and aims to solve the problem that the power consumption of the electronic equipment is high during shooting.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a camera power supply method, which is applied to an electronic device, where the electronic device includes a camera module and a power supply for supplying power to the camera module, and the method includes:
acquiring target working parameters of the camera module, wherein the target working parameters comprise at least one of the following items: target frame rate, target resolution;
determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module;
and controlling the power supply to provide voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage.
In a second aspect, an embodiment of the present invention provides a camera power supply device, which is applied to an electronic device, where the electronic device includes a camera module and a power supply for supplying power to the camera module, and the device includes:
the working parameter acquisition module is used for acquiring target working parameters of the camera module, and the target working parameters comprise at least one of the following items: target frame rate, target resolution;
the working voltage determining module is used for determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module;
and the power supply control module is used for controlling the power supply to provide voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage.
In a third aspect, an embodiment of the present invention provides an electronic device, including a camera module, a power supply for supplying power to the camera module, a processor, a memory, and a program stored in the memory and executable on the processor, where the program implements the steps of the camera power supply method when executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the camera power supply method are implemented.
In the embodiment of the invention, the target working voltage associated with the target working parameter of the camera module is determined, and the power supply is controlled to provide the voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage. Therefore, under the condition that the camera module works with different working parameter values, the voltages provided by the power supply to the camera module can be different. Therefore, the camera module is supplied with power according to the voltage requirement of the camera module, the camera module can work at a lower voltage, unnecessary power consumption of the camera module during shooting is reduced, the problem that the power consumption of the electronic equipment during shooting is larger is solved, and the service life of the whole electronic equipment is prolonged.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
FIG. 1 is a schematic diagram of a power tree of a camera module according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing the voltage and current supplied by each power supply to the camera module according to one embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a camera power supply method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a camera power supply device according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a schematic diagram of a power tree of a camera module according to an embodiment of the present invention. The Camera Module may be a Complementary Metal Oxide Semiconductor (CMOS) Camera Module (CCM), and includes a sensor, a lens, and other modules. The power supply for supplying power to the camera module may include three power supplies, which are a first power supply, a second power supply, and a third power supply, respectively. The power supply of each path may include a Low Dropout Regulator (LDO).
The first power supply (LDO1) supplies power to an Analog unit of the camera module, the Analog unit may include an Analog circuit of the photosensitive element, and the first power supply may be referred to as an Analog power supply (also referred to as an Analog Voltage Device, or AVDD for short). The second power supply (LDO3) supplies power to a Digital unit of the camera module, where the Digital unit may include a Digital circuit of the photosensitive element, and the second power supply may be referred to as a Digital power supply (also referred to as a Digital Voltage Device, DVDD). The third power supply (LDO2) supplies power to an interface unit of the camera module, where the interface unit may include an I2C (Inter-Integrated Circuit) interface, and the third power supply may be referred to as a Digital IO power supply (also referred to as a Digital IO Voltage Device, or DOVDD for short). The specification of the camera module can have voltage values provided by each power supply when the camera module can normally work, wherein the voltage values include a minimum (Min) value, a Type value and a maximum (Max) value. Specifically, as shown in table 1:
TABLE 1
Description of the invention (symbol) Min value (V) Type value (V) Max value (V)
Digital power supply DVDD 0.95 1.05 1.15
Analog power supply AVDD 2.7 2.8 2.9
Digital IO power supply DOVDD 1.7 1.8 1.9
The resolution of the camera module is divided into two modes, namely a full-size (also called remote full-size, and english of the remote full-size is remosic full-size) mode and a combining size (combining size) mode. The binding size mode includes two modes, a preview and on 3D HDR (high-dynamic range image) mode and a preview and off 3D HDR mode. Under the condition that the camera module works at different frame rates and different resolutions (sizes), the difference of the working currents of all paths of power supplies is large.
Fig. 2 is a schematic diagram showing voltages and currents of the power supplies for supplying power to the camera module according to an embodiment of the present invention. As shown in fig. 2, taking the DVDD as an example that the voltage supplied to the camera module is 1.05V, when the resolution of the camera module is Remosic full-size and the frame rate is 30fps, the current of the DVDD is 431 mA; in the case where the resolution of the camera module is preview and 3D HDR is off, and the frame rate is 30fps, the current of the DVDD is 94.5 mA. Therefore, the difference between the currents is more than 300 milliamperes, and the difference is large.
The circuit configuration of present camera module is in order to guarantee that even camera module work is at maximum current (for example the mode of operation of camera module is remosic full-size to the frame rate is 30fps), also can satisfy the voltage that the power provided to the camera module and be greater than the minimum to guarantee that the camera module can normally work.
In addition, considering the voltage drop of the routing impedance R (200 and 500m Ω), the power output voltage of the camera module is set to be a fixed value at the upper limit. Taking the DVDD in table 2 as an example, considering the maximum working current 431mA of the 300m Ω trace impedance, the path voltage drop will be about 0.12V. At this time, in order to ensure that the working voltage of the digital unit of the camera module is greater than the minimum value, even if the frame rate and the resolution of the camera module are different, the voltage value of the DVDD for supplying power to the digital unit of the camera module is fixed to be 1.15V.
In order to ensure that the camera module can operate under a large current, the method of increasing the operating voltage of the camera module to a fixed value causes the voltage of the camera module operating in another mode (for example, 1/4full-size mode) to be higher, and the corresponding power consumption also increases. As can be seen from fig. 2, in the mode of previewing and turning off the 3D HDR, the DVDD supplies an operating current of 94.5mA to the camera module, which is relatively small, so that the camera module can operate normally even considering the drop of the path impedance set to 1.0V. In general, when a camera is used for a long time in a scene such as a video chat, the requirement for pixels is lower than the requirement for photographing, and the camera is set to a mode of previewing and turning off 3D HDR. Set up operating voltage on the high side under long-time job scenario (actually 1.0V can satisfy the demand, but set to the highest 1.15V), lead to the power consumptive increase of camera module. Therefore, the service life of the whole machine is shortened, and the surface temperature rise of the whole machine is increased. Under some conditions, the temperature of the camera can exceed the standard, and the service life of the camera is shortened.
Based on the above analysis, fig. 3 shows a schematic flow chart of a camera power supply method according to an embodiment of the present invention. The camera power supply method is applied to electronic equipment, and the electronic equipment comprises a camera module and a power supply for supplying power to the camera module. The camera power supply method is applied to the electronic equipment, and as shown in fig. 3, the camera power supply method includes:
step 101, obtaining target working parameters of a camera module, wherein the target working parameters comprise at least one of the following items: target frame rate, target resolution.
The target resolution may be in two modes, i.e., a Remosic full-size mode and a binding size mode. The binding size mode may include preview and on 3D HDR mode, preview and off 3D HDR mode. However, the division between the mode of the target resolution and the binding size mode is not limited herein.
Before step 101, the camera power supply method may further include determining whether to start a camera module; step 101 comprises: and acquiring target working parameters of the camera module under the condition of opening the camera module.
And 102, determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module.
The incidence relation between the working parameters of the camera module and the working voltage of the camera module can be a one-to-one correspondence relation or a functional relation between the working parameters and the working voltage. For example, in the Remosic full-size mode, the correlation between the frame rate of the camera module and the operating voltage of the camera module is a function f1(x) (ii) a In the binding size mode, the correlation between the frame rate of the camera module and the working voltage of the camera module is a function f2(x)。f1(x) And f2(x) Respectively, the operating voltage of the camera module, and x represents the frame rate of the camera module. Thus, by function f1(x) Or function f2(x) The target operating voltage may be calculated.
The incidence relation between the working parameters of the camera module and the working voltage of the camera module can be the incidence relation between the working parameters of the camera module and the lowest working voltage of the camera module. In this way, the target operating voltage determined according to the association relationship is the lowest target operating voltage, thereby controlling the power supply to supply a voltage greater than or equal to the lowest target operating voltage to the camera module. Therefore, the camera module can work at a lower voltage, and the power consumption of the camera module is reduced.
And 103, controlling the power supply to provide a voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage.
Optionally, a difference between the target supply voltage and a voltage provided by the power supply to the camera module is within a predetermined voltage range. Therefore, the voltage provided by the power supply to the camera module is equal to or close to the target working voltage.
In the embodiment of the invention, the target working voltage associated with the target working parameter of the camera module is determined, and the power supply is controlled to supply voltage to the camera module according to the target working voltage. Therefore, under the condition that the camera module works with different working parameter values, the voltages provided by the power supply to the camera module can be different. Therefore, the camera module is supplied with power according to the voltage requirement of the camera module, the camera module can work at a lower voltage, unnecessary power consumption of the camera module during shooting is reduced, the problem that the power consumption of the electronic equipment during shooting is larger is solved, and the service life of the whole electronic equipment is prolonged. In addition, because the camera module works at a lower voltage, the overhigh temperature of the camera module can be avoided, and the service life of the camera module is prolonged.
Optionally, in one or more embodiments of the present invention, the power supply input terminal of the camera module is connected to the power supply output terminal of the power supply through a wire.
For example, with continued reference to fig. 1, power input terminal a of the camera module is connected to power output terminal B of power LDO1 through a wire.
Since the wire has a resistance, if the operating voltage is detected at a position close to the power supply output terminal B, for example, at a position D, the operating voltage detected at the position D is the sum between the operating voltage supplied from the power supply LDO1 to the camera module and the voltage of the wire from the position D to the input terminal a. Therefore, the operating voltage detected at a position close to the power supply output terminal B does not accurately indicate the operating voltage supplied from the power LDO1 to the camera module.
In one or more embodiments of the present invention, the operating voltage in the correlation relationship is: detecting the working voltage of the camera module at a preset position on the lead under the condition that the camera module works according to the working parameters in the incidence relation;
wherein a distance between the predetermined position and the power supply input terminal is smaller than a distance between the predetermined position and the power supply output terminal.
For example, with continued reference to fig. 1, power input terminal a of the camera module is connected to power output terminal B of power LDO1 through a wire. Under the condition that the camera module works at different frame rates and different resolutions, the working voltage provided by the LDO1 to the camera module is detected at the preset position C on the lead by taking the impedance voltage of the lead into consideration. That is, the operating voltage is detected at a position close to the power supply input terminal a, and is not detected at a position close to the power supply output terminal B (for example, at a position D). Therefore, the operating voltage detected at the position C can more accurately represent the operating voltage provided by the power LDO1 to the camera module.
According to the embodiment of the invention, the working voltage is detected at the position close to the power supply input terminal of the camera module, so that the influence caused by the impedance voltage drop of the path can be considered, and the detection result is more accurate. And the operating voltage of the camera module is actually measured, so that the camera module can work at the required operating voltage under the states of different frame rates and different resolutions. Instead of operating at the same voltage without distinguishing the state of the camera module. Therefore, the embodiment of the invention can optimize the power consumption of the camera module according to the actual working scene of the camera module, reduce unnecessary power consumption, save the power consumption of a battery, prolong the service life of the whole camera and improve the temperature rise problem of the camera module.
Optionally, in one or more embodiments of the present invention, the camera power supply method further includes:
and setting the incidence relation between the working parameters of the camera module and the working voltage of the camera module.
Wherein, a one-to-one correspondence between the combination of the resolution and the frame rate and the operating voltage of the camera module can be set. For example, the correspondence relationship shown in table 2 below may be set.
As can be seen from table 2 below, the frame rate and the operating voltage of the camera module may have a positive correlation with the same resolution. In the case of the same frame rate, the resolution and the working voltage of the camera module may be in a positive correlation.
In addition, the frame rate may not be positively correlated with the operating voltage of the camera module. The resolution ratio and the working voltage of the camera module group do not have a positive correlation. For example, the correspondence relationship shown in table 3 may be set.
The following is a one-to-one correspondence between the combinations of resolution and frame rate and the operating voltage of the camera module shown in table 2:
TABLE 2
Figure BDA0002457215830000081
The following is a one-to-one correspondence between the combinations of resolution and frame rate and the operating voltage of the camera module shown in table 3:
TABLE 3
Figure BDA0002457215830000082
The embodiment of the invention can preset the incidence relation between the working parameters of the camera module and the working voltage of the camera module. Thus, the target working voltage associated with the target working parameter is determined according to the preset association relation. So that the target operating voltage can be more conveniently determined.
Optionally, in one or more embodiments of the invention, the power source comprises at least one of a first power source, a second power source, and a third power source. The first power supply supplies power to an analog unit in the camera module, the second power supply supplies power to a digital unit in the camera module, and the third power supply supplies power to an interface unit in the camera module.
Step 102 includes at least one of:
determining a first working voltage associated with a target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the analog unit;
determining a second working voltage associated with the target working parameter according to the preset association relationship between the working parameter of the camera module and the working voltage of the digital unit;
and determining a third working voltage associated with the target working parameter according to the preset association relationship between the working parameter of the camera module and the working voltage of the interface unit.
Step 103 comprises at least one of:
controlling a first power supply to provide a voltage which is greater than or equal to a first working voltage to the analog unit according to the first working voltage corresponding to the analog unit;
controlling a second power supply to provide a voltage which is greater than or equal to a second working voltage to the digital unit according to the second working voltage corresponding to the digital unit;
and controlling a third power supply to provide a voltage which is greater than or equal to the third working voltage for the interface unit according to the third working voltage corresponding to the interface unit.
According to the embodiment of the invention, the lower working voltage is respectively provided for at least one of the digital unit, the analog unit and the interface unit of the camera module, so that the lower power consumption of at least one of the digital unit, the analog unit and the interface unit of the camera module can be realized, and the consumption of the electric quantity of the battery can be saved. At least one unit can be flexibly selected from the digital unit, the analog unit and the interface unit according to requirements, and a lower working voltage is provided for the at least one unit, so that the requirements of users are met.
As an example, in the case where the power supply includes a first power supply, a second power supply, and a third power supply, step 102 includes:
determining a first working voltage associated with a target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the analog unit;
determining a second working voltage associated with the target working parameter according to the preset association relationship between the working parameter of the camera module and the working voltage of the digital unit;
and determining a third working voltage associated with the target working parameter according to the preset association relationship between the working parameter of the camera module and the working voltage of the interface unit.
Step 103 comprises:
controlling a first power supply to provide a voltage which is greater than or equal to a first working voltage to the analog unit according to the first working voltage corresponding to the analog unit;
controlling a second power supply to provide a voltage which is greater than or equal to a second working voltage to the digital unit according to the second working voltage corresponding to the digital unit;
and controlling a third power supply to provide a voltage which is greater than or equal to the third working voltage for the interface unit according to the third working voltage corresponding to the interface unit.
The embodiment of the invention provides lower working voltage for the digital unit, the analog unit and the interface unit of the camera module respectively, so that the digital unit, the analog unit and the interface unit of the camera module have lower power consumption, thereby effectively saving the consumption of the electric quantity of the battery.
Fig. 4 shows a schematic structural diagram of a camera power supply device according to an embodiment of the present invention. Camera power supply unit is applied to electronic equipment, and electronic equipment includes the camera module and for the power of camera module power supply, as shown in fig. 4, camera power supply unit 200 includes:
the working parameter acquiring module 201 is configured to acquire a target working parameter of the camera module, where the target working parameter includes at least one of the following: target frame rate, target resolution;
the working voltage determining module 202 is configured to determine a target working voltage associated with a target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module;
and the power supply control module 203 is used for controlling the power supply to provide voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage.
In the embodiment of the invention, the target working voltage associated with the target working parameter of the camera module is determined, and the power supply is controlled to supply power to the camera module according to the target working voltage. Therefore, under the condition that the camera module works with different working parameter values, the voltages provided by the power supply to the camera module can be different. Therefore, the camera module is supplied with power according to the voltage requirement of the camera module, the camera module can work at a lower voltage, unnecessary power consumption of the camera module during shooting is reduced, the problem that the power consumption of the electronic equipment during shooting is larger is solved, and the service life of the whole electronic equipment is prolonged. In addition, because the camera module works at a lower voltage, the overhigh temperature of the camera module can be avoided, and the service life of the camera module is prolonged.
Optionally, in one or more embodiments of the present invention, the power supply input terminal of the camera module is connected to the power supply output terminal of the power supply through a wire;
the operating voltages in the correlation are: detecting the working voltage of the camera module at a preset position on the lead under the condition that the camera module works according to the working parameters in the incidence relation;
wherein a distance between the predetermined position and the power supply input terminal is smaller than a distance between the predetermined position and the power supply output terminal.
Optionally, in one or more embodiments of the present invention, the camera power supply device 200 further includes:
and the incidence relation setting module is used for setting the incidence relation between the working parameters of the camera module and the working voltage of the camera module.
Optionally, in one or more embodiments of the invention, the power supply comprises: the camera module comprises a first power supply for supplying power to an analog unit in the camera module, a second power supply for supplying power to a digital unit in the camera module, and a third power supply for supplying power to an interface unit in the camera module.
The operating voltage determination module 202 includes:
the first voltage determining module is used for determining a first working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the analog unit;
the second voltage determining module is used for determining a second working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the digital unit;
and the third voltage determining module is used for determining a third working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the interface unit.
The power supply control module 203 includes:
the first power supply control module is used for controlling the first power supply to provide voltage which is greater than or equal to the first working voltage for the analog unit according to the first working voltage;
the second power supply control module is used for controlling a second power supply to provide voltage which is greater than or equal to the second working voltage for the digital unit according to the second working voltage;
and the third power supply control module is used for controlling the third power supply to provide voltage which is greater than or equal to the third working voltage for the interface unit according to the third working voltage.
The embodiment of the invention provides lower working voltage for the digital unit, the analog unit and the interface unit of the camera module respectively, so that the digital unit, the analog unit and the interface unit of the camera module have lower power consumption, thereby effectively saving the consumption of the electric quantity of the battery.
Fig. 5 shows a schematic diagram of a hardware structure of an electronic device 300 according to an embodiment of the present invention, where the electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, power supply 311, camera module, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 310 is configured to obtain target operating parameters of the camera module, where the target operating parameters include at least one of: target frame rate, target resolution; determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module; and controlling the power supply to provide voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage.
In the embodiment of the invention, the target working voltage associated with the target working parameter of the camera module is determined, and the power supply is controlled to supply voltage to the camera module according to the target working voltage. Therefore, under the condition that the camera module works with different working parameter values, the voltages provided by the power supply to the camera module can be different. Therefore, the camera module is supplied with power according to the voltage requirement of the camera module, the camera module can work at a lower voltage, unnecessary power consumption of the camera module during shooting is reduced, the problem that the power consumption of the electronic equipment during shooting is larger is solved, and the service life of the whole electronic equipment is prolonged. In addition, because the camera module works at a lower voltage, the overhigh temperature of the camera module can be avoided, and the service life of the camera module is prolonged.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although in fig. 5, the touch panel 3071 and the display panel 3061 are implemented as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; optionally, the processor 310 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to each component, and optionally, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a program stored in the memory and capable of running on the processor, where the program, when executed by the processor, implements each process of the above-mentioned camera power supply method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the program implements each process of the above-mentioned camera power supply method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention may be embodied in the form of a 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, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A camera power supply method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a camera module and a power supply for supplying power to the camera module, and the method comprises the following steps:
acquiring target working parameters of the camera module, wherein the target working parameters comprise at least one of the following items: target frame rate, target resolution;
determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module;
controlling the power supply to provide a voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage;
wherein the power supply comprises: the camera module comprises a first power supply for supplying power to an analog unit in the camera module, a second power supply for supplying power to a digital unit in the camera module, and a third power supply for supplying power to an interface unit in the camera module;
the determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module includes:
determining a first working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the simulation unit;
determining a second working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the digital unit;
determining a third working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the interface unit;
the controlling the power supply to provide the voltage which is greater than or equal to the target working voltage to the camera module according to the target working voltage comprises the following steps:
controlling the first power supply to provide a voltage which is greater than or equal to the first working voltage to the analog unit according to the first working voltage;
controlling the second power supply to provide a voltage which is greater than or equal to the second working voltage to the digital unit according to the second working voltage;
and controlling the third power supply to provide a voltage which is greater than or equal to the third working voltage to the interface unit according to the third working voltage.
2. The method according to claim 1, wherein a power supply input terminal of the camera module is connected with a power supply output terminal of the power supply through a wire;
the working voltage in the association relationship is: detecting the working voltage of the camera module at a preset position on the lead under the condition that the camera module works according to the working parameters in the incidence relation;
wherein a distance between the predetermined position and the power supply input terminal is smaller than a distance between the predetermined position and the power supply output terminal.
3. The method according to claim 1, wherein before determining the target operating voltage associated with the target operating parameter according to a preset association relationship between the operating parameter of the camera module and the operating voltage of the camera module, the method further comprises:
and setting the incidence relation between the working parameters of the camera module and the working voltage of the camera module.
4. The utility model provides a camera power supply unit, is applied to electronic equipment, its characterized in that, electronic equipment includes the camera module and for the power of camera module power supply, the device includes:
the working parameter acquisition module is used for acquiring target working parameters of the camera module, and the target working parameters comprise at least one of the following items: target frame rate, target resolution;
the working voltage determining module is used for determining a target working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the camera module;
the power supply control module is used for controlling the power supply to provide voltage which is greater than or equal to the target working voltage for the camera module according to the target working voltage;
wherein the power supply comprises: the camera module comprises a first power supply for supplying power to an analog unit in the camera module, a second power supply for supplying power to a digital unit in the camera module, and a third power supply for supplying power to an interface unit in the camera module;
the operating voltage determination module includes:
the first voltage determining module is used for determining a first working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the analog unit;
the second voltage determining module is used for determining a second working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the digital unit;
the third voltage determining module is used for determining a third working voltage associated with the target working parameter according to a preset association relationship between the working parameter of the camera module and the working voltage of the interface unit;
the power control module includes:
the first power supply control module is used for controlling the first power supply to provide a voltage which is greater than or equal to the first working voltage for the analog unit according to the first working voltage;
the second power supply control module is used for controlling the second power supply to provide voltage which is greater than or equal to the second working voltage for the digital unit according to the second working voltage;
and the third power supply control module is used for controlling the third power supply to provide voltage which is greater than or equal to the third working voltage for the interface unit according to the third working voltage.
5. The device of claim 4, wherein the power supply input terminal of the camera module is connected with the power supply output terminal of the power supply through a wire;
the working voltage in the association relationship is: detecting the working voltage of the camera module at a preset position on the lead under the condition that the camera module works according to the working parameters in the incidence relation;
wherein a distance between the predetermined position and the power supply input terminal is smaller than a distance between the predetermined position and the power supply output terminal.
6. The apparatus of claim 4, further comprising:
and the incidence relation setting module is used for setting the incidence relation between the working parameters of the camera module and the working voltage of the camera module.
7. An electronic device comprising a camera module, a power supply for supplying power to the camera module, a processor, a memory, and a program stored on the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the camera power supply method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a program is stored thereon, which, when being executed by a processor, carries out the steps of the camera head power supply method according to any one of claims 1 to 3.
CN202010309772.9A 2020-04-20 2020-04-20 Camera power supply method and device, electronic equipment and storage medium Active CN111585319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010309772.9A CN111585319B (en) 2020-04-20 2020-04-20 Camera power supply method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010309772.9A CN111585319B (en) 2020-04-20 2020-04-20 Camera power supply method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111585319A CN111585319A (en) 2020-08-25
CN111585319B true CN111585319B (en) 2021-12-14

Family

ID=72111636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010309772.9A Active CN111585319B (en) 2020-04-20 2020-04-20 Camera power supply method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111585319B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037099A (en) * 2012-12-20 2013-04-10 广东欧珀移动通信有限公司 Mobile phone photographing preview method and device
CN104331149A (en) * 2014-09-29 2015-02-04 联想(北京)有限公司 Control method, control device and electronic equipment
CN108919938A (en) * 2018-06-29 2018-11-30 中国科学技术大学苏州研究院 A kind of power consumption of processing unit optimization method suitable for Android game
CN110226124A (en) * 2016-12-09 2019-09-10 Lg伊诺特有限公司 Camera model

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9838652B2 (en) * 2011-11-14 2017-12-05 Tseng-Lu Chien Light device has built-in digital data system for record image, sound
EP2810429B1 (en) * 2012-01-30 2020-02-19 SeeScan, Inc. Adjustable variable resolution inspection systems and methods
CN104464674B (en) * 2014-12-26 2017-12-08 小米科技有限责任公司 Liquid crystal display method of adjustment and device
TWI626636B (en) * 2017-09-01 2018-06-11 晶宏半導體股份有限公司 Processor for setting frame rate and method of setting frame rate
CN107749949B (en) * 2017-11-02 2020-08-18 奇酷互联网络科技(深圳)有限公司 Camera self-adaption method, camera self-adaption device and electronic equipment
CN108536272B (en) * 2018-04-09 2020-05-22 维沃移动通信有限公司 Method for adjusting frame rate of application program and mobile terminal
CN109599054B (en) * 2019-01-17 2020-05-29 硅谷数模半导体(北京)有限公司 Method and device for controlling brightness of display panel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037099A (en) * 2012-12-20 2013-04-10 广东欧珀移动通信有限公司 Mobile phone photographing preview method and device
CN104331149A (en) * 2014-09-29 2015-02-04 联想(北京)有限公司 Control method, control device and electronic equipment
CN110226124A (en) * 2016-12-09 2019-09-10 Lg伊诺特有限公司 Camera model
CN108919938A (en) * 2018-06-29 2018-11-30 中国科学技术大学苏州研究院 A kind of power consumption of processing unit optimization method suitable for Android game

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Android平台的游戏低功耗策略研究;高策;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150915;全文 *

Also Published As

Publication number Publication date
CN111585319A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN111143015B (en) Screen capturing method and electronic equipment
CN110109593B (en) Screen capturing method and terminal equipment
CN109688322B (en) Method and device for generating high dynamic range image and mobile terminal
CN107977652B (en) Method for extracting screen display content and mobile terminal
CN108182019A (en) A kind of suspension control display processing method and mobile terminal
CN110045807B (en) Voltage control method and terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109901980B (en) Serial port log capturing circuit, method, terminal and computer readable storage medium
CN108600544B (en) Single-hand control method and terminal
CN110933494A (en) Picture sharing method and electronic equipment
CN109819166B (en) Image processing method and electronic equipment
CN107807488B (en) Camera assembly, aperture adjusting method and mobile terminal
CN108307123B (en) Exposure adjusting method and mobile terminal
CN108628534B (en) Character display method and mobile terminal
CN109462727B (en) Filter adjusting method and mobile terminal
CN108879856B (en) Charging method and terminal
CN108243489B (en) Photographing control method and mobile terminal
CN111314964B (en) Data flow control method and electronic equipment
CN106454083B (en) Image acquisition method and device of mobile terminal and mobile terminal
CN110868537B (en) Shooting method and electronic equipment
CN110740265B (en) Image processing method and terminal equipment
CN110099170B (en) Picture deleting method and mobile terminal
CN109739430B (en) Display method and mobile terminal
CN111314639A (en) Video recording method and electronic equipment
CN111585319B (en) Camera power supply method and device, electronic equipment and 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