CN110045807B - Voltage control method and terminal - Google Patents
Voltage control method and terminal Download PDFInfo
- Publication number
- CN110045807B CN110045807B CN201910349991.7A CN201910349991A CN110045807B CN 110045807 B CN110045807 B CN 110045807B CN 201910349991 A CN201910349991 A CN 201910349991A CN 110045807 B CN110045807 B CN 110045807B
- Authority
- CN
- China
- Prior art keywords
- voltage
- voltage value
- load
- conversion chip
- power conversion
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000006243 chemical reaction Methods 0.000 claims abstract description 80
- 238000001514 detection method Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 13
- 238000013461 design Methods 0.000 abstract description 8
- 230000004044 response Effects 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 230000001052 transient effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L5/00—Automatic control of voltage, current, or power
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a voltage control method and a terminal, wherein the method is applied to the terminal, the terminal comprises a power supply, a load and a power supply conversion chip, the power supply conversion chip is respectively connected with the power supply and the load, and the method comprises the following steps: detecting a voltage value of an input end of the load; and under the condition that the voltage value is out of a preset voltage range, adjusting the output voltage of the power conversion chip to enable the voltage value of the input end of the load to be in the preset voltage range, wherein the preset voltage range is larger than the first voltage value and smaller than the second voltage value. The invention can reduce the requirements on the precision of the output voltage of the power conversion chip and the instant response characteristic of the load on the premise of ensuring the working voltage of the load, reduce the control on the impedance of the wiring from the output of the power conversion chip to the input of the load and greatly reduce the actual design difficulty of the electronic equipment.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication application, in particular to a voltage control method and a terminal.
Background
In electronic devices, the voltages required to operate different loads vary widely. Taking a mobile phone as an example, a high-voltage load reaches more than ten volts, and a voltage range of a low-medium-voltage load is also wide, such as 0.5V to 2.8V, so in order to meet a working voltage required by the loads, a battery voltage needs to be converted into a voltage required by the loads through a middle one-stage or multi-stage power conversion chip, and then the corresponding loads are supplied with power.
In order to make the working voltage of the load within the voltage range, in the prior art, the problem of voltage drop caused by the impedance of the wire between the power output and the load input and the requirement of the working voltage of the load on the output voltage precision of the power conversion chip and the transient response characteristic of the load need to be considered, which may cause the problem of increasing the cost of the electronic device and the difficulty of the actual design.
Disclosure of Invention
Embodiments of the present invention provide a voltage control method and a terminal, so as to solve the problem that the cost of an electronic device and the difficulty of actual design are increased to ensure the stability of a load working voltage.
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 voltage control method applied to a terminal, where the terminal includes a power supply, a load, and a power conversion chip, and the power conversion chip is connected to the power supply and the load, respectively, and the method includes:
detecting a voltage value of an input end of the load;
and under the condition that the voltage value is out of a preset voltage range, adjusting the output voltage of the power conversion chip to enable the voltage value of the input end of the load to be in the preset voltage range, wherein the preset voltage range is larger than the first voltage value and smaller than the second voltage value.
In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a power supply, a load, and a power conversion chip, where the power conversion chip is connected to the power supply and the load, and the terminal further includes:
the detection module is used for detecting the voltage value of the input end of the load;
and the control module is used for adjusting the output voltage of the power conversion chip under the condition that the voltage value is out of a preset voltage range, so that the voltage value of the input end of the load is in the preset voltage range, and the preset voltage range is larger than the first voltage value and smaller than the second voltage value.
In a third aspect, an embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the voltage control method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the voltage control method as described above.
In the above scheme of the embodiment of the invention, the voltage value of the input end of the load is detected; under the condition that this voltage value is outside presetting the voltage range, the output voltage of adjustment power conversion chip, make the voltage of the input of load be in presetting the voltage range, it is greater than first voltage value and is less than the second voltage value to preset the voltage range, so, through above-mentioned software control, can be under the prerequisite of guaranteeing load operating voltage, reduce the requirement to power conversion chip output voltage precision and load transient response characteristic, reduce the control of the line impedance of walking of power conversion chip output to load input, greatly reduced electronic equipment's the actual design degree of difficulty.
Drawings
Fig. 1 is a schematic flow chart of a voltage control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a hardware structure of the terminal according to the 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 is a schematic flow chart of a voltage control method according to an embodiment of the present invention. The method is applied to the terminal.
Specifically, the method is applicable to a terminal having a hardware configuration as shown in fig. 2. The terminal includes: a power supply 21, a power conversion chip 22, a load 23 and a detection control module 24. The power conversion chip 22 is connected to the power source 21 and the load 23, and the detection control module 24 is connected to the power conversion chip 22 and the load 23.
The method can comprise the following steps:
In this step, the voltage value of the input terminal of the load is detected in real time, so that once the voltage value of the input terminal of the load is detected to exceed the preset voltage range, the voltage value of the output terminal of the load can be adjusted in time to ensure the normal operation of the load.
And step 102, when the voltage value is out of a preset voltage range, adjusting the output voltage of the power conversion chip to enable the voltage value of the input end of the load to be within the preset voltage range, wherein the preset voltage range is larger than a first voltage value and smaller than a second voltage value.
In this step, the condition that the voltage value is outside the preset voltage range may specifically include: a case where the voltage value is greater than or equal to a first voltage value; or, the voltage value is less than or equal to the second voltage value.
It should be noted that the first voltage value and the second voltage value are voltage values at which the load normally operates.
Here, since the power conversion chip is connected to the load, that is, the output terminal of the power conversion chip is connected to the input terminal of the load, the output voltage of the power conversion chip, that is, the voltage of the input terminal of the load, is adjusted. That is to say, the purpose of indirectly adjusting the voltage of the input end of the load can be achieved by adjusting the output voltage of the power conversion chip, so that the normal work of the load is ensured.
According to the voltage control method provided by the embodiment of the invention, the voltage value of the input end of the load is detected; under the condition that this magnitude of voltage is outside presetting the voltage range, the output voltage of adjustment power conversion chip, the voltage that makes the input of load is in presetting the voltage range, it is greater than first magnitude of voltage and be less than the second magnitude of voltage to preset the voltage range, so, through above-mentioned software control, can be under the prerequisite of guaranteeing load operating voltage, reduce the requirement to power conversion chip output voltage precision and load transient response characteristic, reduce the control of the line impedance of walking of power conversion chip output to load input, greatly reduced electronic equipment's the actual design degree of difficulty.
Optionally, the first voltage value is a sum of a minimum operating voltage value of the load and a first voltage margin; the second voltage value is the difference between the maximum operating voltage of the load and a second voltage margin.
Here, specifically, V1Expressed as a first voltage value, V2Represented as a second voltage value. I.e. V1=Vmin+Va;V2=Vmax+Vb. Wherein, VminRepresents a minimum operating voltage value of the load; vmaxRepresents a maximum operating voltage value of the load; vaRepresenting a first voltage margin; vbRepresenting the second voltage margin.
In addition, V is2>V1,Va≥0,Vb≥0。Va、VbThe setting may be preset, or may be a default setting of the system, or may be set according to specific situations, and is not limited specifically here.
When V isaWhen equal to 0, V1Taking the value as the minimum working voltage value of the load; when V isbWhen equal to 0, V2The value is the maximum working voltage value of the load.
Based on the embodiment shown in fig. 1, as an optional implementation manner, step 102 may include:
and increasing the output voltage of the power conversion chip under the condition that the voltage value is less than or equal to the first voltage value.
In this step, when the voltage value of the load is less than or equal to the first voltage value, it indicates that the voltage value of the load is lower and exceeds the preset voltage range, so that the purpose of indirectly increasing the voltage of the input end of the load is achieved by increasing the output voltage of the power conversion chip.
Based on the embodiment shown in fig. 1, as another optional implementation manner, step 102 may include:
and reducing the output voltage of the power conversion chip when the voltage value is greater than or equal to the second voltage value.
In this step, when the voltage value of the load is greater than or equal to the second voltage value, it indicates that the voltage value of the load is higher and exceeds the preset voltage range, so that the purpose of indirectly adjusting the voltage of the input end of the load is achieved by adjusting the output voltage of the power conversion chip down.
Based on the embodiment shown in fig. 1, as an optional implementation manner, the adjusting the output voltage of the power conversion chip in step 102 may include:
and adjusting the output voltage of the power conversion chip to a target voltage value, wherein the target voltage value is within the preset voltage range.
Here, the target voltage value may be set as the case may be. For example, for a load with a narrow upper and lower limit range of the operating voltage, preferably, the target voltage value is a typical value of the load during operation.
In order to reduce power consumption during load operation, it is preferable that the target voltage value is the first voltage value. I.e. close to the minimum operating voltage of the load.
Based on the embodiment shown in fig. 1, as another optional implementation manner, the adjusting the output voltage of the power conversion chip in step 102 may include:
and adjusting the output voltage of the power conversion chip according to a preset step length until the voltage value of the input end of the load is within the preset voltage range.
It should be noted that the present invention provides two adjustment manners of the output voltage of the power conversion chip, wherein when the voltage value is less than or equal to the first voltage value, the two adjustment manners may be adopted for the specific voltage adjustment manner for increasing the output voltage of the power conversion chip; when the voltage value is greater than or equal to the second voltage value, the specific voltage adjustment manner for reducing the output voltage of the power conversion chip may adopt the two manners described above.
It should be further noted that the voltage control method of the present invention can be executed by the detection control module 24 shown in fig. 2, and the terminal can further include an analog-to-digital conversion module, i.e., an ADC module, which can be embedded in the detection control module 24 and connected to the input pin of the load 23; the analog-to-digital conversion module may be also built in the load 23 and connected to the detection control module 24.
Here, the analog-to-digital conversion module is used to detect the voltage value at the input terminal of the load 23.
In particular, the minimum operating voltage V of the load 23 can be set when the terminal is turned onminMaximum operating voltage VmaxA first voltage margin VaAnd a second voltage margin VbThe write detect control module 24.
Note that, the reserved margin voltage, i.e., the first voltage margin VaAnd a second voltage margin VbThe voltage threshold of each load may be set and written into the detection control module 24.
The detection control module 24 detects the voltage at the input end of the load 23 in real time, and detects the voltage value V at the input end of the load 23 and the first voltage value Vmin+VaAnd a second voltage value Vmax+VbComparing; if V is less than or equal to Vmin+VaThen the voltage of the power conversion chip 22 is controlled to be increased; if V is greater than or equal to Vmax+VbThen the control turns down the voltage of the power conversion chip 22.
According to the voltage control method provided by the embodiment of the invention, the voltage value of the load input end is detected; under the condition that this voltage value is outside presetting the voltage range, the output voltage of adjustment power conversion chip, make the voltage of the input of load be in presetting the voltage range, it is greater than first voltage value and is less than the second voltage value to preset the voltage range, so, through above-mentioned software control, can be under the prerequisite of guaranteeing load operating voltage, reduce the requirement to power conversion chip output voltage precision and load transient response characteristic, reduce the control of the line impedance of walking of power conversion chip output to load input, greatly reduced electronic equipment's the actual design degree of difficulty.
Based on the method, the embodiment of the invention provides a terminal for realizing the method.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The embodiment of the present invention provides a terminal 300, where the terminal 300 includes a power supply, a load, and a power conversion chip, where the power conversion chip is connected to the power supply and the load, and the terminal may further include:
the detection module 301 is configured to detect a voltage value at an input end of the load;
the control module 302 is configured to adjust the output voltage of the power conversion chip to make the voltage value of the input end of the load be within a preset voltage range when the voltage value is outside the preset voltage range, where the preset voltage range is greater than the first voltage value and smaller than the second voltage value.
Preferably, the first voltage value is the sum of the minimum operating voltage value of the load and a first voltage margin; the second voltage value is the difference between the maximum working voltage value of the load and a second voltage margin.
Optionally, the control module 302 may include:
and the first control unit is used for increasing the output voltage of the power conversion chip under the condition that the voltage value is less than or equal to the first voltage value.
Optionally, the control module 302 may include:
and the second control unit is used for reducing the output voltage of the power conversion chip under the condition that the voltage value is greater than or equal to the second voltage value.
Optionally, the control module 302 may include:
and the third control unit is used for adjusting the output voltage of the power conversion chip to a target voltage value, and the target voltage value is within the preset voltage range.
Optionally, the control module 302 may include:
and the fourth control unit is used for adjusting the output voltage of the power conversion chip according to a preset step length until the voltage value of the input end of the load is within the preset voltage range.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
According to the terminal provided by the embodiment of the invention, the voltage value of the input end of the load is detected through the detection module; under the condition that the voltage value is outside the preset voltage range, the control module adjusts the output voltage of the power conversion chip, the voltage of the input end of the load is in the preset voltage range, the preset voltage range is larger than the first voltage value and smaller than the second voltage value, and therefore under the premise that the working voltage of the load is guaranteed, the requirements for the output voltage precision of the power conversion chip and the instantaneous response characteristic of the load are lowered, the control of the wiring impedance output to the load by the power conversion chip is lowered, and the actual design difficulty of the electronic equipment is greatly lowered.
Fig. 4 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention.
The terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 410 is configured to detect a voltage value at an input terminal of a load; and under the condition that the voltage value is out of a preset voltage range, adjusting the output voltage of the power conversion chip to enable the voltage value of the input end of the load to be in the preset voltage range, wherein the preset voltage range is larger than the first voltage value and smaller than the second voltage value.
In the embodiment of the invention, the voltage value of the input end of the load is detected; under the condition that this magnitude of voltage is outside presetting the voltage range, the output voltage of adjustment power conversion chip, the voltage that makes the input of load is in presetting the voltage range, it is greater than first magnitude of voltage and be less than the second magnitude of voltage to preset the voltage range, so, through above-mentioned software control, can be under the prerequisite of guaranteeing load operating voltage, reduce the requirement to power conversion chip output voltage precision and load transient response characteristic, reduce the control of the line impedance of walking of power conversion chip output to load input, greatly reduced electronic equipment's the actual design degree of difficulty.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 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 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound 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 401 in case of the phone call mode.
The terminal 400 also includes at least one sensor 405, 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 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or a backlight when the terminal 400 is moved to the ear. As one of the motion sensors, the 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 the mobile terminal device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 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 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, 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 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the mobile terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal device, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the terminal 400. 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 408 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 terminal 400 or may be used to transmit data between the terminal 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program 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 409 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 410 is a control center of the mobile terminal device, connects various parts of the entire mobile terminal device using various interfaces and lines, and performs various functions of the mobile terminal device and processes data by running or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the mobile terminal device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 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 terminal 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 410, a memory 409, and a computer program stored in the memory 409 and capable of being executed on the processor 410, where the computer program, when executed by the processor 410, implements each process of the voltage control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the voltage control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated 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 device (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 (12)
1. A voltage control method is applied to a terminal, and is characterized in that the terminal comprises a power supply, a load and a power supply conversion chip, the power supply conversion chip is respectively connected with the power supply and the load, and the terminal further comprises: the detection control module is respectively connected with the power conversion chip and the load; the method comprises the following steps:
detecting a voltage value of an input end of the load;
under the condition that the voltage value is out of a preset voltage range, adjusting the output voltage of the power conversion chip to enable the voltage value of the input end of the load to be within the preset voltage range, wherein the preset voltage range is larger than a first voltage value and smaller than a second voltage value;
adjusting the output voltage of the power conversion chip, including:
and adjusting the output voltage of the power conversion chip according to a preset step length until the voltage value of the input end of the load is within the preset voltage range.
2. The voltage control method of claim 1, wherein the first voltage value is a sum of a minimum operating voltage value of the load and a first voltage margin; the second voltage value is the difference between the maximum working voltage value of the load and a second voltage margin.
3. The voltage control method of claim 1, wherein the adjusting the output voltage of the power conversion chip if the voltage value is outside a preset voltage range comprises:
and increasing the output voltage of the power conversion chip under the condition that the voltage value is less than or equal to the first voltage value.
4. The voltage control method of claim 1, wherein the adjusting the output voltage of the power conversion chip if the voltage value is outside a preset voltage range comprises:
and reducing the output voltage of the power conversion chip when the voltage value is greater than or equal to the second voltage value.
5. The voltage control method of claim 1, wherein adjusting the output voltage of the power conversion chip comprises:
and adjusting the output voltage of the power conversion chip to a target voltage value, wherein the target voltage value is within the preset voltage range.
6. The terminal is characterized by comprising a power supply, a load and a power supply conversion chip, wherein the power supply conversion chip is respectively connected with the power supply and the load, and the terminal further comprises: the detection control module is respectively connected with the power conversion chip and the load;
the terminal further comprises:
the detection module is used for detecting the voltage value of the input end of the load;
the control module is used for adjusting the output voltage of the power conversion chip under the condition that the voltage value is out of a preset voltage range, so that the voltage value of the input end of the load is in the preset voltage range, and the preset voltage range is larger than a first voltage value and smaller than a second voltage value;
the control module includes:
and the fourth control unit is used for adjusting the output voltage of the power conversion chip according to a preset step length until the voltage value of the input end of the load is within the preset voltage range.
7. The terminal of claim 6, wherein the first voltage value is a sum of a minimum operating voltage value of the load and a first voltage margin; the second voltage value is the difference between the maximum working voltage value of the load and a second voltage margin.
8. The terminal of claim 6, wherein the control module comprises:
and the first control unit is used for increasing the output voltage of the power conversion chip under the condition that the voltage value is less than or equal to the first voltage value.
9. The terminal of claim 6, wherein the control module comprises:
and the second control unit is used for reducing the output voltage of the power conversion chip under the condition that the voltage value is greater than or equal to the second voltage value.
10. The terminal of claim 6, wherein the control module comprises:
and the third control unit is used for adjusting the output voltage of the power conversion chip to a target voltage value, and the target voltage value is within the preset voltage range.
11. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the voltage control method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the voltage control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910349991.7A CN110045807B (en) | 2019-04-28 | 2019-04-28 | Voltage control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910349991.7A CN110045807B (en) | 2019-04-28 | 2019-04-28 | Voltage control method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110045807A CN110045807A (en) | 2019-07-23 |
CN110045807B true CN110045807B (en) | 2021-12-14 |
Family
ID=67279974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910349991.7A Active CN110045807B (en) | 2019-04-28 | 2019-04-28 | Voltage control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110045807B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064881B (en) * | 2019-11-25 | 2021-07-23 | 维沃移动通信有限公司 | Camera device and electronic equipment |
CN111610844A (en) * | 2020-05-25 | 2020-09-01 | 深圳市信锐网科技术有限公司 | Output voltage adjusting method, device, equipment and readable storage medium |
CN112217229A (en) * | 2020-09-10 | 2021-01-12 | 中国神华能源股份有限公司国华电力分公司 | Gas-steam combined cycle unit parallel steam-withdrawing method and system and electronic equipment |
CN114116371A (en) * | 2021-10-09 | 2022-03-01 | 北京比特大陆科技有限公司 | Voltage monitoring method and device, electronic equipment and storage medium |
CN114320982B (en) * | 2021-12-07 | 2023-03-14 | 珠海格力电器股份有限公司 | Circulating fan, control method and device thereof, and storage medium |
CN113961029A (en) * | 2021-12-23 | 2022-01-21 | 苏州浪潮智能科技有限公司 | Method, device and medium for improving output voltage precision |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102548100A (en) * | 2010-12-27 | 2012-07-04 | 英飞特电子(杭州)有限公司 | Load driving device and system |
CN103683931A (en) * | 2013-12-27 | 2014-03-26 | 深圳市航嘉驰源电气股份有限公司 | Power supply switching circuit |
CN103812330A (en) * | 2012-11-06 | 2014-05-21 | 泰商泰达电子公司 | Power supply converter capable of dynamically adjusting output voltage and power supply system suitable therefor |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI458241B (en) * | 2011-09-23 | 2014-10-21 | Richtek Technology Corp | Power supply with dynamic dropout control and method thereof |
TWI461891B (en) * | 2012-10-19 | 2014-11-21 | Wistron Corp | Power managing circuit and the method thereof |
TWI526803B (en) * | 2014-12-22 | 2016-03-21 | 華碩電腦股份有限公司 | Power supply control method and portable electronic apparatus using the same |
CN106160520B (en) * | 2015-04-15 | 2019-03-29 | 台达电子工业股份有限公司 | Voltage conversion device |
CN207039235U (en) * | 2017-07-07 | 2018-02-23 | 英飞特电子(杭州)股份有限公司 | A kind of charging system |
CN108471234B (en) * | 2018-03-19 | 2019-09-27 | 维沃移动通信有限公司 | A kind of voltage control circuit and its control method, mobile terminal |
-
2019
- 2019-04-28 CN CN201910349991.7A patent/CN110045807B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102548100A (en) * | 2010-12-27 | 2012-07-04 | 英飞特电子(杭州)有限公司 | Load driving device and system |
CN103812330A (en) * | 2012-11-06 | 2014-05-21 | 泰商泰达电子公司 | Power supply converter capable of dynamically adjusting output voltage and power supply system suitable therefor |
CN103683931A (en) * | 2013-12-27 | 2014-03-26 | 深圳市航嘉驰源电气股份有限公司 | Power supply switching circuit |
Also Published As
Publication number | Publication date |
---|---|
CN110045807A (en) | 2019-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110045807B (en) | Voltage control method and terminal | |
US11323619B2 (en) | Method of controlling camera and terminal | |
CN108319390B (en) | Control method of flexible screen and mobile terminal | |
CN108494030B (en) | Wireless charging method, terminal and transmitting terminal equipment | |
CN111092621B (en) | Radio frequency circuit, control method and electronic equipment | |
CN110209313B (en) | Icon moving method and terminal equipment | |
CN111324235A (en) | Screen refreshing frequency adjusting method and electronic equipment | |
US11778079B2 (en) | Method for controlling foldable terminal and foldable terminal | |
CN110266323B (en) | Signal control circuit, terminal equipment and signal control method | |
CN111562896A (en) | Screen projection method and electronic equipment | |
CN109669656B (en) | Information display method and terminal equipment | |
CN111240567B (en) | Display screen angle adjusting method and electronic equipment | |
CN111142679A (en) | Display processing method and electronic equipment | |
CN110830861A (en) | Telephone receiver control method and device and electronic equipment | |
CN109782970B (en) | Display method and terminal | |
US20220083207A1 (en) | Editing method and mobile terminal | |
CN109597546B (en) | Icon processing method and terminal equipment | |
CN108924319B (en) | Proximity detection method and mobile terminal | |
CN109343811B (en) | Display adjustment method and terminal equipment | |
CN110868683B (en) | Ultrasonic module failure detection method and electronic equipment | |
CN109194793B (en) | Screen adjusting method and mobile terminal | |
CN109270352B (en) | Amplitude adjusting method and sound generating device | |
US12033623B2 (en) | Speech processing method and mobile terminal | |
CN110928462B (en) | Display method and electronic equipment | |
CN110489037B (en) | Screen capturing method and mobile terminal |
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 |