Voltage conversion device, power supply circuit, chip and electronic equipment
By designing a voltage conversion device including a voltage conversion circuit, a sampling module, a compensation module and a driving module, and using closed-loop control to achieve the target voltage conversion ratio, the problem of fixed voltage conversion ratio and insufficient stability in the prior art is solved, and a richer voltage conversion ratio and higher control accuracy are achieved.
Patent Information
- Application Number
- CN202411587027.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-25
AI Technical Summary
The voltage conversion ratio of existing DC-DC converters is fixed, which cannot meet the needs of multiple scenarios. The closed-loop control is complex, and the stability and control accuracy are insufficient.
A voltage conversion device including a voltage conversion circuit, a first sampling module, a compensation module and a driving module is designed. Through closed-loop control, a compensation signal is generated based on the sampling signal and a reference signal of the output voltage, and the driving signal is adjusted to achieve a target voltage conversion ratio.
It realizes a richer voltage conversion ratio, meets the needs of different scenarios, improves the stability and control accuracy of the loop, and realizes natural bidirectional energy transmission.
Smart Images

Figure CN119519427A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to a voltage conversion device, a power supply circuit, a chip and an electronic device. Background Art
[0002] DC-DC (Direct Current-Direct Current) converters can convert a DC voltage into another different DC voltage, and are used in various electronic products (such as mobile phones, laptops, tablets, etc.). At present, the voltage conversion ratio of DC-DC converters (that is, the ratio between the output voltage and the input voltage of the DC-DC converter) is usually fixed, and the supported voltage conversion ratios are very few. For example, it only supports a voltage conversion ratio of 1:2 (indicating that the output voltage is half of the input voltage), which cannot meet the needs of more scenarios. Summary of the invention
[0003] The embodiments of the present application disclose a voltage conversion device, a power supply circuit, a chip and an electronic device. The voltage conversion device can achieve richer voltage conversion ratios to meet the needs of different scenarios, and the control of the voltage conversion ratio is a closed-loop control, which can improve the stability of the loop and the control accuracy.
[0004] The embodiment of the present application discloses a voltage conversion device, comprising:
[0005] A voltage conversion circuit is used to convert the input voltage to obtain an output voltage;
[0006] A first sampling module, connected to the voltage conversion circuit, and configured to sample the output voltage to obtain a first sampling signal;
[0007] a compensation module connected to the first sampling module, the compensation module being used to generate a compensation signal according to the first sampling signal and a reference signal; the reference signal is determined according to a target conversion ratio corresponding to the voltage conversion circuit;
[0008] A driving module is connected to the compensation module and the voltage conversion circuit. The driving module is used to generate a driving signal according to the compensation signal. The driving signal is used to drive the voltage conversion circuit to convert the input voltage so that the ratio between the obtained output voltage and the input voltage approaches the target conversion ratio.
[0009] The present application discloses a power supply circuit, including:
[0010] A battery module, configured to output a first supply voltage;
[0011] A charging interface, used to receive a second supply voltage input by a power supply providing device;
[0012] The voltage conversion device as described above;
[0013] The voltage conversion circuit is also used to convert the first supply voltage to obtain a third supply voltage, and the third supply voltage is used to power the load; or to convert the second supply voltage to obtain a fourth supply voltage, and the fourth supply voltage is used to charge the battery module.
[0014] An embodiment of the present application discloses a chip, including the voltage conversion device as described above, or including the power supply circuit as described above.
[0015] An embodiment of the present application discloses an electronic device, including the voltage conversion device as described above, or including the power supply circuit as described above, or including the chip as described above.
[0016] The present application discloses a control method for a voltage conversion circuit, the method comprising:
[0017] The input voltage is converted by a voltage conversion circuit to obtain an output voltage;
[0018] Sampling the output voltage through a first sampling module to obtain a first sampling signal;
[0019] Generate a compensation signal according to the first sampling signal and a reference signal through a compensation module; the reference signal is determined according to a target conversion ratio corresponding to the voltage conversion circuit;
[0020] A driving module generates a driving signal according to the compensation signal, and the driving signal is used to drive the voltage conversion circuit to convert the input voltage so that the ratio between the obtained output voltage and the input voltage approaches the target conversion ratio.
[0021] The voltage conversion device, power supply circuit, chip and electronic device, and control method of the voltage conversion circuit disclosed in the embodiment of the present application, the voltage conversion device includes a voltage conversion circuit, a first sampling module, a compensation module and a driving module, the voltage conversion circuit is used to convert the input voltage to obtain the output voltage, the first sampling module is used to sample the output voltage of the voltage conversion circuit to obtain the first sampling signal, the compensation module is used to generate the compensation signal according to the first sampling signal and the reference signal, and the driving module is used to generate the driving signal according to the compensation signal. In the embodiment of the present application, a closed-loop control method is adopted to generate the compensation signal according to the first sampling signal and the reference signal corresponding to the output voltage of the voltage conversion circuit, and then the driving signal of the voltage conversion circuit is controlled based on the compensation signal. Since the reference signal is determined according to the target conversion ratio corresponding to the voltage conversion circuit, the voltage conversion circuit is driven based on the driving signal to convert the input voltage, so that the ratio between the output voltage obtained by the voltage conversion circuit and the input voltage can be close to the target conversion ratio, so that the voltage conversion ratio between the output voltage and the input voltage of the voltage conversion circuit is relatively fixed and accurate. Moreover, when it is necessary to adjust the voltage conversion ratio of the voltage conversion circuit, it is only necessary to adjust the reference signal accordingly. Therefore, the voltage conversion device can achieve richer and more fine-grained voltage conversion ratios, thereby meeting the needs of different scenarios, and the control of the voltage conversion ratio is a closed-loop control, which can improve the stability of the loop and the control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a circuit diagram of a charge pump circuit in the related art;
[0024] Figure 2 is a structural block diagram of a voltage conversion device in one embodiment;
[0025] Figure 3 is a structural block diagram of a voltage conversion device in another embodiment;
[0026] Figure 4A is a circuit structure diagram of a compensation module in one embodiment;
[0027] Figure 4B is a circuit structure diagram of a compensation module in another embodiment;
[0028] Figure 5is a structural block diagram of a voltage conversion device in another embodiment;
[0029] Figure 6 is a circuit structure diagram of a first sampling module and a compensation module in one embodiment;
[0030] Figure 7 A schematic diagram of an output voltage and an input voltage of a voltage conversion circuit in one embodiment;
[0031] Figure 8 is a structural block diagram of a voltage conversion device in another embodiment;
[0032] Fig. 9 is a structural block diagram of a voltage conversion device in another embodiment;
[0033] Fig.10 A schematic diagram of an output voltage and an input voltage of a voltage conversion circuit in another embodiment;
[0034] Fig.11 is a circuit structure diagram of a voltage conversion device in one embodiment;
[0035] Fig.12 is a circuit structure diagram of a voltage conversion device in another embodiment;
[0036] Fig.13 is a circuit structure diagram of a power supply circuit in one embodiment;
[0037] Fig.14 is a schematic diagram of power supply direction in one embodiment;
[0038] Fig.15 FIG. 4 is a flow chart of a control method of a voltage conversion circuit in one embodiment. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0041] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of this application, the first switch can be called the second switch, and similarly, the second switch can be called the first switch. Both the first switch and the second switch are switches, but they are not the same switch. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the schemes, or any combination of multiple schemes. The term "connection" used in this application should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected, or indirectly connected through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0042] Conventional bidirectional DC-DC converters can be mainly divided into two types, one of which is an open-loop topology circuit, such as a switched capacitor charge pump circuit, and the other is a voltage conversion circuit implemented by a closed-loop control method, such as a bidirectional Buck-Boost circuit.
[0043] For example, Figure 1 FIG. 1 is a circuit diagram of a charge pump circuit in the related art. Figure 1 As shown, the charge pump circuit usually uses the charging and discharging process of the capacitor to achieve voltage conversion. The voltage magnitude and polarity can be changed by connecting the capacitors in series and in parallel. The input voltage and output voltage of this topology circuit are simply a voltage difference relationship. Equivalently, the higher the voltage at one end of the topology circuit, the more energy will be delivered to the other end to achieve energy and voltage balance at both ends. Taking the application scenario of electronic equipment as an example, when the battery is discharged, the first end (i.e., Vin end) will deliver current to the second end (i.e., Vout end), and when the charger is connected, the second end (i.e., Vout end) will deliver current to the first end (i.e., Vin end) to charge the battery, thereby achieving a very natural bidirectional operation.
[0044] Since the charge pump circuit realizes the voltage conversion ratio by connecting capacitors in series and in parallel, the voltage conversion ratio that can be realized is usually relatively simple, such as only 1:2 and / or 2:3 voltage conversion ratios. If more voltage conversion ratios are to be realized, the complexity of the device will be greatly increased, and the cost will also increase accordingly. Moreover, when the load is larger, the voltage difference between the output voltage and the input voltage becomes larger, and the gap between different voltage conversion ratios becomes larger. When transient current occurs, there is no active control method to optimize the voltage drop phenomenon, and the application is limited.
[0045] For the closed-loop controlled bidirectional DC-DC converter in the related art, it monitors whether the external power supply is connected. If the external power supply is connected, the battery is charged in the direction of the external power supply charging the battery. If the external power supply is not connected, the loop will be switched to the direction of discharging from the battery to the load to supply power to the load, or the switching of the energy transmission direction is defined by a specific pin. Therefore, it is essentially a one-way energy transmission, but the reverse function is realized at different times or conditions. Therefore, in the process of realizing the two-way energy transmission, there will be mode switching or loop switching operations, and there may be a risk of voltage overcharge or drop, and seamless switching cannot be achieved.
[0046] Traditional closed-loop controlled bidirectional DC-DC converters are more like meeting the reverse requirements of specific scenarios, rather than natural bidirectional behavior based on the voltage conversion ratio between the output voltage and the input voltage. The entire loop is usually more complex, and repeated mode switching or loop switching is prone to errors and poor stability.
[0047] The embodiments of the present application disclose a voltage conversion device, a power supply circuit, a chip and an electronic device, and a control method for a voltage conversion circuit. The voltage conversion device can achieve richer voltage conversion ratios to meet the needs of different scenarios, and the control of the voltage conversion ratio is a closed-loop control, which can improve the stability of the loop and the control accuracy.
[0048] In addition, the voltage conversion device can also achieve natural bidirectional energy transmission without the need for mode switching, making the entire loop simpler.
[0049] like Figure 2 As shown, in one embodiment, a voltage conversion device 200 is provided, and the voltage conversion device 200 may include a voltage conversion circuit 210, a first sampling module 220, a compensation module 230, and a driving module 240. The first sampling module 220 may be connected to the voltage conversion circuit 210 and the compensation module 230, respectively, and the driving module 240 may be connected to the compensation module 230 and the voltage conversion circuit 210, respectively.
[0050] The voltage conversion circuit 210 is used to convert the input voltage to obtain the output voltage.
[0051] The voltage conversion circuit 210 may receive an input voltage and convert the input voltage to obtain an output voltage, where the input voltage may refer to a voltage input to the voltage conversion circuit 210, and the output voltage may refer to a voltage output by the voltage conversion circuit 210. Optionally, the input voltage and the output voltage may both be direct voltages.
[0052] It should be noted that the directions of the input voltage and the output voltage may be fixed or not. For example, when the first end of the voltage conversion circuit 210 is connected to the battery module, the input voltage may be the voltage received by the first end (i.e., the voltage output by the battery module to the voltage conversion circuit 210), and the output voltage may be the voltage output by the second end of the voltage conversion circuit 210; or, the input voltage may be the voltage input to the second end, and the output voltage may be the voltage output by the first end of the voltage conversion circuit 210 (i.e., the voltage output by the voltage conversion circuit 210 to the battery module).
[0053] The voltage conversion circuit 210 performs conversion processing on the input voltage, which may be a step-down processing on the input voltage or a step-up processing on the input voltage, which may be specifically determined according to the required target conversion ratio, which may refer to the ratio between the output voltage and the input voltage of the voltage conversion circuit 210, that is, the voltage conversion ratio of the voltage conversion circuit 210 for converting the input voltage. For example, the target conversion ratio may be the ratio of the output voltage: the input voltage, or the ratio of the input voltage: the output voltage.
[0054] Exemplarily, assuming that the target conversion ratio is the ratio of input voltage: output voltage, if the target conversion ratio is greater than 1, such as 2:1, 3:2, etc., it means that the output voltage is smaller than the input voltage, and the voltage conversion circuit 210 can step down the input voltage; if the target conversion ratio is less than 1, such as 1:2, 2:3, 3:4, etc., it means that the output voltage is larger than the input voltage, and the voltage conversion circuit 210 can step up the input voltage.
[0055] It should be noted that the target conversion ratio corresponding to the voltage conversion circuit 210 can be a preset fixed ratio or a dynamically adjustable ratio. For example, an adjustment signal can be sent to the voltage conversion circuit 210 through an external controller to adjust the target conversion ratio corresponding to the voltage conversion circuit 210; or, the voltage conversion circuit 210 can automatically adjust the target conversion ratio corresponding to the voltage conversion circuit 210 according to changes in the input voltage and / or output voltage, etc., and the embodiments of the present application are not limited to this.
[0056] In some embodiments, the target conversion ratio corresponding to the voltage conversion circuit 210 can be determined based on different application scenarios. For example, in a scenario where the voltage conversion circuit 210 is connected to a battery module and a load respectively, and the battery module supplies power to the load, the target conversion ratio can be determined based on the power supply voltage provided by the battery module and the operating voltage required by the load, etc.; for another example, in a scenario where the voltage conversion circuit 210 is connected to a battery module and a charging interface respectively, and the power supply device charges the battery module through the charging interface, the target conversion ratio can be determined based on the power supply voltage output by the power supply device and the total battery voltage of the battery module, etc., which is not limited here.
[0057] The specific circuit topology structure of the voltage conversion circuit 210 is not limited in the embodiment of the present application. The voltage conversion circuit 210 can be a non-isolated circuit topology structure or an isolated circuit topology structure. For example, the voltage conversion circuit 210 can include but is not limited to an inductive energy storage DC-DC converter, a flyback transformer, a Buck-Boost circuit, a hybrid CP (hybrid charge pump) circuit, a charge pump regulator, etc.
[0058] The first sampling module 220 is used to sample the output voltage to obtain a first sampling signal.
[0059] The first sampling module 220 can be connected to the output end of the voltage conversion circuit 210, and the first sampling module 220 can sample the output voltage output by the voltage conversion circuit 210 to obtain a first sampling signal. It should be noted that the connection relationship involved in the embodiments of the present application can be a contact circuit connection or a non-contact signal connection, which is not limited.
[0060] Optionally, the first sampling signal may be a voltage signal. For example, the first sampling signal may be a voltage signal obtained by dividing the output voltage of the voltage conversion circuit 210 .
[0061] Optionally, the first sampling signal may also be a digital signal, and the digital signal may be used to indicate the voltage magnitude of the output voltage or the voltage magnitude obtained after sampling the output voltage.
[0062] The compensation module 230 is used to generate a compensation signal according to the first sampling signal and a reference signal; the reference signal is determined according to a target conversion ratio corresponding to the voltage conversion circuit 210 .
[0063] The driving module 240 is used to generate a driving signal according to the compensation signal, and the driving signal is used to drive the voltage conversion circuit 210 to convert the input voltage so that the ratio between the obtained output voltage and the input voltage approaches the target conversion ratio.
[0064] In the embodiment of the present application, a closed-loop loop compensation method can be adopted, and feedback can be formed from the output end of the voltage conversion circuit 210 to the input end of the voltage conversion circuit 210. The input end of the voltage conversion circuit 210 may refer to an end that inputs a driving signal to the voltage conversion circuit 210, and the driving signal can be used to drive the voltage conversion circuit 210 to work. A compensation module 230 can be set in the feedback, and the compensation module 230 can be used to maintain the stability of the voltage conversion ratio of the voltage conversion circuit 210, so that the voltage conversion ratio of the voltage conversion circuit 210 is relatively stably maintained at the target conversion ratio. Further, the compensation module 230 can generate a compensation signal according to the first sampling signal corresponding to the output voltage of the voltage conversion circuit 210 and the reference signal, and then the driving module 240 controls the driving signal of the voltage conversion circuit based on the compensation signal, and outputs the driving signal to the voltage conversion circuit 210, forming a closed-loop control method.
[0065] Optionally, the compensation module 230 may be a circuit module composed of an operational amplifier, a resistor, a capacitor, etc. The compensation module 230 may provide a loop gain to affect the driving signal output by the driving module 240 .
[0066] The compensation module 230 can generate a compensation signal based on the first sampling signal and the reference signal. The reference signal can be a signal determined or generated according to the target conversion ratio corresponding to the voltage conversion circuit 210. For example, the reference signal can be an analog signal (such as a voltage signal, etc.) or a digital signal.
[0067] Since the reference signal can be a signal determined or generated according to the target conversion ratio corresponding to the voltage conversion circuit 210, in some embodiments, the compensation module 230 can determine the error amount according to the first sampling signal and the reference signal, and the error amount can be used to reflect the difference between the actual voltage conversion ratio of the voltage conversion circuit 210 and the target conversion ratio. It should be noted that the error amount is not necessarily the difference between the actual voltage conversion ratio of the voltage conversion circuit 210 and the target conversion ratio, and it can also be other information associated with the difference. The compensation module 230 can generate a compensation signal according to the error amount, and the compensation signal can characterize the error amount, and the error amount can be reflected in the compensation signal.
[0068] The compensation module 230 can send a compensation signal to the driving module 240. The above-mentioned error amount is reflected in the compensation signal. The driving module 240 can generate a driving signal based on the compensation signal. By adjusting the driving signal of the voltage conversion circuit 210, the difference between the actual voltage conversion ratio of the voltage conversion circuit 210 and the target conversion ratio can be made close to 0, that is, the actual voltage conversion ratio of the voltage conversion circuit 210 can be made close to the target conversion ratio.
[0069] The driving signal can be used to drive the voltage conversion circuit 210 to convert the input voltage. Further, the voltage conversion circuit 210 may include multiple switches, and the input voltage is converted by turning on / off the multiple switches. The driving signal can be used to drive at least one switch in the voltage conversion circuit 210, for example, to drive at least one switch in the voltage conversion circuit 210 to turn on.
[0070] Exemplarily, the driving signal may include a PWM (Pulse width modulation) signal, etc. The driving module 240 may adjust the duty cycle of the PWM signal according to the compensation signal output by the compensation module 230. The duty cycle may refer to the ratio of the switch on time to the cycle time.
[0071] It should be noted that, in the voltage conversion circuit 210 , multiple switches may correspond to the same driving signal, or each switch may correspond to one driving signal, which is not limited here.
[0072] When it is necessary to adjust the voltage conversion ratio of the voltage conversion circuit, it is only necessary to adjust the reference signal according to the required target conversion ratio. By adopting the above-mentioned closed-loop loop compensation method, the drive signal of the voltage conversion circuit 210 can be adjusted so that the actual voltage conversion ratio of the voltage conversion circuit 210 approaches the target conversion ratio. Therefore, a richer and finer-grained voltage conversion ratio can be achieved.
[0073] In the embodiment of the present application, a closed-loop control method is adopted to generate a compensation signal according to the first sampling signal corresponding to the output voltage of the voltage conversion circuit 210 and the reference signal, and then generate a driving signal of the voltage conversion circuit 210 based on the compensation signal. Since the reference signal is determined according to the target conversion ratio corresponding to the voltage conversion circuit, the voltage conversion circuit is driven to convert the input voltage based on the driving signal, so that the ratio between the output voltage obtained by the voltage conversion circuit and the input voltage can be close to the target conversion ratio, so that the voltage conversion ratio between the output voltage and the input voltage of the voltage conversion circuit 210 is relatively fixed and accurate. Moreover, in the case where the voltage conversion ratio of the voltage conversion circuit needs to be adjusted, only the reference signal needs to be adjusted accordingly, so the voltage conversion device can achieve richer and different granular voltage conversion ratios, thereby meeting the needs in different scenarios, and the control of the voltage conversion ratio is a closed-loop control, which can improve the stability and control accuracy of the loop.
[0074] In addition, since the voltage conversion circuit 210 does not adopt a topology structure such as a switched capacitor charge pump circuit, it does not have the problems of a relatively single voltage conversion ratio and voltage drop that exist in a switched capacitor charge pump, and has better transient performance.
[0075] In some embodiments, the compensation module 230 is further configured to generate an error signal according to the first sampling signal and the reference signal, and to generate a compensation signal according to the error signal.
[0076] The error signal may refer to a signal used to characterize an error amount, and the error amount may be used to reflect the difference between the actual voltage conversion ratio of the voltage conversion circuit 210 and the target conversion ratio.
[0077] The compensation module 230 can compare the target comparison signal with the reference signal to obtain an error signal between the target comparison signal and the reference signal. The target comparison signal can be determined based on the first sampling signal. For example, the target comparison signal can be the first sampling signal itself, or it can be a signal calculated based on the first sampling signal.
[0078] In some embodiments, Figure 3 As shown, the compensation module 230 may include an error amplifier 232 and a regulating circuit 234, and the error amplifier 232 may be connected to the regulating circuit 234. For example, the output end of the error amplifier 232 may be connected to the input end of the regulating circuit 234, and the output end of the regulating circuit 234 may be connected to the input end of the driving module 240.
[0079] The error amplifier 232 may be configured to generate an error signal according to the first sampling signal and the reference signal.
[0080] The error amplifier 232 can be used to implement error calculation and amplify the calculated error. The error amplifier 232 can accurately determine the error between the actual voltage conversion ratio and the target conversion ratio of the voltage conversion circuit 210, and improve the control sensitivity and adjustment accuracy of the voltage conversion circuit 210.
[0081] Optionally, the error amplifier 232 may include a first input terminal, a second input terminal and an output terminal. The first input terminal can be used to receive a target comparison signal, and the second input terminal can be used to receive a reference signal. The error amplifier 232 can compare the target comparison signal with the reference signal, determine the error between the two, and amplify the error to obtain an error signal.
[0082] Exemplarily, the error amplifier 232 may include an operational transconductance amplifier (OTA), which is an amplifier that converts an input differential voltage into an output current, and its gain is called transconductance, which can be represented by Gm. Among them, the error signal can be a control current output by the OTA, and the control current can characterize the error signal. Further, the control current can represent the error between the actual voltage conversion ratio of the voltage conversion circuit 210 and the target conversion ratio. When the error between the actual voltage conversion ratio of the voltage conversion circuit 210 and the target conversion ratio changes, the control current (i.e., the error signal) output by the OTA will also change. Using OTA as an error amplifier can output a high-impedance error signal, which can effectively suppress signal distortion, make the output error signal more accurate and stable, and further improve the accuracy of closed-loop control.
[0083] It should be noted that the error amplifier 232 may also be other amplifiers, such as a differential amplifier, an operational amplifier, etc., which is not limited here.
[0084] The adjustment circuit 234 may be configured to generate a compensation signal based on the error signal.
[0085] The regulating circuit 234 may be used to regulate or convert the error signal output by the error amplifier 232 to generate a compensation signal. Further, the regulating circuit 234 may be a circuit composed of a resistor, a capacitor, etc. Exemplarily, the regulating circuit 234 may be used to regulate the gain, phase, etc. of the error signal to further improve the accuracy of the error signal.
[0086] For example, the error amplifier 232 may include an OTA, and the regulating circuit 234 may generate a control voltage based on a control current output by the OTA. The control voltage may be input into the driving module 240 as a compensation signal.
[0087] For example, Figure 4A FIG. 1 is a circuit diagram of a compensation module in an embodiment. Figure 4A As shown, the compensation module 230 may include an operational transconductance amplifier gm and an adjustment circuit 234, and the adjustment circuit 234 may include a first capacitor C1, a first resistor R1 and a second resistor R2, wherein one end of the first resistor R1 is connected in series with one end of the second capacitor C2, and the other end of the first resistor R1 is connected to the output end of the operational transconductance amplifier gm, and the output end of the operational transconductance amplifier gm is also connected to the second resistor R2.
[0088] For example, Figure 4B FIG. 1 is a circuit diagram of a compensation module in another embodiment. Figure 4BAs shown, the compensation module 230 may include an operational transconductance amplifier gm and an adjustment circuit 234, and the adjustment circuit 234 may include a first capacitor C1, a second capacitor C2 and a first resistor R1, wherein one end of the first resistor R1 is connected in series with one end of the second capacitor C2, and the other end of the first resistor R1 is connected to the output end of the operational transconductance amplifier gm, and the output end of the operational transconductance amplifier gm is also connected to the second capacitor C2.
[0089] Among them, the first input terminal of the operational transconductance amplifier gm receives the target comparison signal VFB, and the second input terminal receives the reference signal Vref. The operational transconductance amplifier gm compares VFB with Vref, calculates the error between the two and amplifies them to obtain a control current (i.e., an error signal). The control current is passed through the adjustment circuit 234 to obtain a control voltage VCOMP (i.e., a compensation signal).
[0090] In the embodiment of the present application, the error amplifier 232 and the adjustment circuit 234 can accurately evaluate the error between the actual voltage conversion ratio and the target conversion ratio of the voltage conversion circuit 210, thereby accurately controlling the drive signal output by the drive module 240, so that the actual voltage conversion ratio of the voltage conversion circuit 210 approaches the target conversion ratio, thereby improving the stability and accuracy of the voltage conversion circuit 210.
[0091] As an optional implementation, the target comparison signal may be the first sampling signal itself. The input end of the compensation module 230 may be connected to the output end of the first sampling module 220, and the compensation module 230 is further used to compare the first sampling signal with the first reference signal to generate an error signal.
[0092] Among them, the first reference signal can be a reference voltage generated according to the target conversion ratio and the input voltage. For example, the first reference signal Vref=A*VIN, where VIN represents the input voltage of the voltage conversion circuit 210, and A is a numerical value associated with the target conversion ratio. Taking the target conversion ratio as the value of input voltage: output voltage as an example, A can be a numerical value negatively correlated with the target conversion ratio. The larger the target conversion ratio, the smaller the output voltage, and the smaller A. The smaller the target conversion ratio, the larger the output voltage, and the larger A.
[0093] In some embodiments, Figure 5 As shown, the first sampling module 220 may include a first voltage-dividing resistor 222 and a second voltage-dividing resistor 224. The first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 may be connected in series, and the connection midpoint between the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 may be connected to the output end of the compensation module 230. Further, the connection midpoint between the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 may be connected to the first input end of the error amplifier 232.
[0094] It should be noted that the connection midpoint between the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 may refer to any point on the connection line between the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 , and does not specifically refer to the point between the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 .
[0095] The first sampling module 220 is further used to divide the output voltage through the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224 to obtain a first sampling signal.
[0096] The first sampling signal may be a voltage obtained by dividing the output voltage of the voltage conversion circuit 210 by the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224. Exemplarily, one end of the first voltage-dividing resistor 222 may be connected to one end of the second voltage-dividing resistor 224, the other end of the first voltage-dividing resistor 222 may be grounded, and the other end of the second voltage-dividing resistor 224 may be connected to the output end of the voltage conversion circuit 210, and the first sampling signal = Vout*R3 / (R3+R4), wherein Vout represents the output voltage of the voltage conversion circuit 210, R3 represents the resistance value of the first voltage-dividing resistor 222, and R4 represents the resistance value of the second voltage-dividing resistor 224.
[0097] The first reference signal may be a reference voltage generated according to a target conversion ratio, an input voltage, a resistance value of the first voltage-dividing resistor, and a resistance value of the second voltage-dividing resistor.
[0098] Since the first sampling signal is a voltage obtained by the first sampling module 220 dividing the output voltage of the voltage conversion circuit 210 through the first voltage-dividing resistor 222 and the second voltage-dividing resistor 224, the goal of the compensation module 230 is to make the error between the first sampling signal and the first reference signal approach 0, that is, to make the first sampling signal equal to the first reference signal.
[0099] Therefore, after determining the target conversion ratio, since the ideal output voltage is obtained by converting the input voltage according to the target conversion ratio, that is, the output voltage Vout = B*Vin, wherein B is the target conversion ratio or the reciprocal of the target conversion ratio. If the target conversion ratio is the value of input voltage: output voltage, then B is the target conversion ratio; if the target conversion ratio is the value of output voltage: input voltage, then B is the reciprocal of the target conversion ratio.
[0100] Based on this, the first reference signal = the first sampling signal = Vout*R3 / (R3+R4) = B*Vin*R3 / (R3+R4), therefore, the first reference signal = B*Vin*R3 / (R3+R4), that is, the above A = B*R3 / (R3+R4). Taking the target conversion ratio of input voltage: output voltage = 2:1, that is, Vout = 1 / 2Vin as an example, the first reference signal = 1 / 2*Vin*[R3 / (R3+R4)].
[0101] For example, Figure 6 FIG. 1 is a circuit diagram of a first sampling module and a compensation module in an embodiment. Figure 6 As shown, the first sampling module 220 includes a first voltage-dividing resistor R3 and a second voltage-dividing resistor R4, the first voltage-dividing resistor R3 and the second voltage-dividing resistor R4 are connected in series, the first voltage-dividing resistor R3 is grounded, the second voltage-dividing resistor R4 is connected to the output end of the voltage conversion circuit 210, and the connection midpoint between the first voltage-dividing resistor R3 and the second voltage-dividing resistor R4 is connected to the first input end of the operational transconductance amplifier gm. The second input end of the operational transconductance amplifier gm can be used to receive a first reference signal Vref=B*Vin*R3 / (R3+R4). The operational transconductance amplifier gm compares the divided voltage of the first voltage-dividing resistor R3 and the second voltage-dividing resistor R4 (i.e., the first sampling signal) with Vref, calculates the error between the two and amplifies them to obtain a control current (i.e., an error signal), and the control current is passed through the regulating circuit 234 to obtain a control voltage VCOMP (i.e., a compensation signal). A first reference signal can be accurately generated according to the target conversion ratio, the input voltage of the voltage conversion circuit 210, the resistance value of the first voltage-dividing resistor R3, and the resistance value of the second voltage-dividing resistor R4. The compensation module 230 makes the first sampling signal approach the first reference signal, thereby accurately maintaining the voltage conversion ratio of the voltage conversion circuit 210 at the target conversion ratio.
[0102] The compensation signal can be used to adjust the driving signal output by the driving module 240. By adopting a closed-loop following control method, the voltage conversion ratio of the voltage conversion circuit 210 can be easily set at the target conversion ratio.
[0103] For example, Figure 7 FIG. 1 is a schematic diagram of the output voltage and input voltage of a voltage conversion circuit in one embodiment. Figure 7 As shown, the ratio between the input voltage and the output voltage of the voltage conversion circuit 210 can be maintained at a ratio of 3:2. Through the above-mentioned closed-loop control method, a voltage conversion ratio that cannot be covered by the charge pump circuit in the related art can be achieved.
[0104] In the embodiment of the present application, a reference voltage can be accurately generated as a first reference signal according to the target conversion ratio and the input voltage of the voltage conversion circuit 210. The first sampling module 220 samples the output voltage of the voltage conversion circuit 210, and compares the first sampling signal with the first reference signal. The error between the two is used to adjust the drive signal output by the drive module 240. The voltage conversion ratio of the voltage conversion circuit 210 is locked by the output following the input voltage. The actual voltage conversion ratio of the voltage conversion circuit 210 is accurately controlled to approach the target conversion ratio, and is not affected by the output voltage, input voltage, current, etc., thereby improving the stability of the voltage conversion circuit 210.
[0105] Although the closed-loop control method introduced in the above embodiment can fix the voltage conversion ratio of the voltage conversion circuit 210 at the target conversion ratio, since it is an error signal calculated based on the output voltage of the voltage conversion circuit 210, the sampling position is fixed, and therefore the direction of the voltage conversion circuit 210 is fixed, and only a unidirectional fixed-ratio working mode can be implemented.
[0106] In many application scenarios, the voltage conversion circuit 210 needs to implement a bidirectional fixed-ratio working mode, that is, the input end and the output end of the voltage conversion circuit 210 are not fixed. For example, in scenarios where an external power supply device is used to charge a battery and the battery may also be discharged, free bidirectional switching is required. The following describes an implementation method that can implement the bidirectional fixed-ratio working of the voltage conversion circuit 210.
[0107] As another optional implementation, the target comparison signal may be a signal calculated based on the first sampling signal. Further, the target comparison signal may be a signal calculated based on the first sampling signal and the second sampling signal, wherein the second sampling signal is obtained by sampling the input voltage of the voltage conversion circuit 210. Figure 8 As shown, in some embodiments, the voltage conversion device 200 may further include a second sampling module 250 , and the second sampling module 250 may be connected to the output end of the voltage conversion circuit 210 .
[0108] It should be noted that the output end and the input end of the voltage conversion circuit 210 are not fixed, but relative. For example, taking the transmission of voltage from the first end to the second end of the voltage conversion circuit 210 as an example, the first end is the input end and the second end is the output end. Taking the transmission of voltage from the second end to the first end of the voltage conversion circuit 210 as an example, the second end is the input end and the first end is the output end. Therefore, the first sampling module 220 and the second sampling module 250 in the embodiment of the present application may not be fixed modules. In the case where the voltage is transmitted from the first end to the second end of the voltage conversion circuit 210, the first sampling module 220 may refer to the sampling module connected to the second end, and the second sampling module 250 may refer to the sampling module connected to the first end; in the case where the voltage is transmitted from the second end to the first end of the voltage conversion circuit 210, the first sampling module 220 may refer to the sampling module connected to the first end, and the second sampling module 250 may refer to the sampling module connected to the second end.
[0109] The second sampling module 250 may be used to sample the input voltage to obtain a second sampling signal.
[0110] Optionally, the second sampling module 250 may sample the input voltage of the voltage conversion circuit 210 in a manner similar to the first sampling module 220 sampling the output voltage of the voltage conversion circuit 210 . For example, sampling may be performed by voltage division, etc., which will not be repeated here.
[0111] The compensation module 230 is further configured to generate an error signal according to the first sampling signal, the second sampling signal and the reference signal, and to generate a compensation signal according to the error signal.
[0112] The target comparison signal can be a signal calculated based on the first sampling signal and the second sampling signal. The target comparison signal can be used to reflect the actual voltage conversion ratio of the voltage conversion circuit 210. For example, the target comparison signal can be a signal corresponding to the ratio between the first sampling signal and the second sampling signal, such as a signal obtained by dividing the first sampling signal by the second sampling signal, or a signal obtained by dividing the second sampling signal by the first sampling signal.
[0113] The compensation module 230 may compare the target comparison signal with the second reference signal to generate an error signal, and generate a compensation signal according to the error signal.
[0114] In some embodiments, Fig. 9As shown, the voltage conversion device 200 may further include an operation module 260, which may be connected to the first sampling module 220 and the second sampling module 250 respectively, and the operation module 260 is connected to the compensation module 230. Further, the input end of the operation module 260 may be connected to the first sampling module 220 and the second sampling module 250 respectively, and the output end of the operation module 260 may be connected to the input end of the compensation module 230.
[0115] The operation module 260 is used to calculate the ratio between the first sampling signal and the second sampling signal to obtain a feedback signal.
[0116] As an implementation mode, the operation module 260 may be an analog divider, which may be implemented using an analog chip or an analog circuit. The first sampling signal and the second sampling signal are voltage signals. The operation module 260 may directly calculate the ratio between the first sampling signal and the second sampling signal to obtain a feedback signal, which may be a voltage signal used to characterize the ratio between the first sampling signal and the second sampling signal.
[0117] As another embodiment, the operation module 260 can be a digital divider, which can be implemented using a digital chip or a digital circuit. The first sampling signal can be converted into a first digital signal through an analog-to-digital converter, and the second sampling signal can be converted into a second digital signal. The ratio between the first digital signal and the second digital signal is then calculated to obtain a feedback signal, which can be the ratio between the first digital signal and the second digital signal.
[0118] Optionally, the operation module 260 can use a fixed calculation method. For example, it can always calculate the sampling signal corresponding to the first end of the voltage conversion circuit 210 and divide it by the sampling signal corresponding to the second end of the voltage conversion circuit 210 to obtain a feedback signal; or, it can always calculate the sampling signal corresponding to the second end of the voltage conversion circuit 210 and divide it by the sampling signal corresponding to the first end of the voltage conversion circuit 210 to obtain a feedback signal, which is not limited here.
[0119] The compensation module 230 is further configured to compare the feedback signal with the second reference signal to generate an error signal.
[0120] The second reference signal may be a target conversion ratio, or the second reference signal may be an analog signal corresponding to the target conversion ratio.
[0121] The output terminal of the operation module 260 may be connected to the first input terminal of the error amplifier 232 , and the second input terminal of the error amplifier 232 may be used to receive the second reference signal.
[0122] Optionally, when the feedback signal is a voltage signal representing the ratio between the first sampling signal and the second sampling signal, the second reference signal may be an analog signal corresponding to the target conversion ratio; when the feedback signal is the ratio between the first digital signal and the second digital signal, the second reference signal may be the target conversion ratio.
[0123] The error amplifier 232 can compare the feedback signal with the second reference signal, determine the error between the two, and amplify the error to obtain an error signal, which can then be used to generate a compensation signal based on the error signal through the adjustment circuit 234, thereby controlling the drive signal generated by the drive module 240, so that the feedback signal approaches the second reference signal, thereby achieving the actual voltage conversion ratio of the voltage conversion circuit 210 approaching the target conversion ratio. In addition, since the voltages at both ends of the voltage conversion circuit 210 are sampled, the error signal is generated based on the ratio between the first sampling signal and the second sampling signal, so that natural bidirectional energy transmission can be achieved without defining additional pins to achieve energy direction switching.
[0124] For example, Fig.10 FIG. 1 is a schematic diagram of the output voltage and input voltage of the voltage conversion circuit in another embodiment. Fig.10 As shown, the voltage at the first end (V1) and the voltage at the second end (V2) of the voltage conversion circuit 210 are in a natural linkage proportional relationship. In stage 1, the voltage direction is from the first end to the second end of the voltage conversion circuit 210, and the voltage conversion circuit 210 reduces the voltage at the first end and transmits it to the second end; in stage 2, the voltage direction is from the second end to the first end of the voltage conversion circuit 210, and the voltage conversion circuit 210 increases the voltage at the second end and transmits it to the first end; in stage 3, the voltage direction is from the first end to the second end of the voltage conversion circuit 210, and the voltage conversion circuit 210 reduces the voltage at the first end and transmits it to the second end; in stage 4, the voltage direction is from the second end to the first end of the voltage conversion circuit 210, and the voltage conversion circuit 210 increases the voltage at the second end and transmits it to the first end.
[0125] In an embodiment of the present application, the output voltage and input voltage of the voltage conversion circuit 210 can be used as control objects, and the ratio between the actual output voltage and the input voltage sampled can be compared with a second reference signal representing the target conversion ratio, so that the drive signal is adjusted by the loop gain through a compensation link (such as adjusting the duty cycle of the drive signal), so that the actual voltage conversion ratio of the voltage conversion circuit 210 approaches the target conversion ratio, thereby improving the control accuracy and stability of the voltage conversion circuit 210.
[0126] For example, Fig.11 FIG. 1 is a circuit diagram of a voltage conversion device in one embodiment. Fig.11As shown, the voltage conversion circuit 210 may include at least a first switch Q1, a second switch Q2 and an inductor L. The first switch Q1 and the second switch Q2 may form a bridge arm. The connection midpoint between the first switch Q1 and the second switch Q2 is connected to the inductor L. The driving signal is used to drive the first switch or the second switch to turn on.
[0127] Optionally, the first switch Q1 and the second switch Q2 may correspond to different driving signals respectively. The first switch Q1 and the second switch Q2 may also correspond to one driving signal, which is then converted into level signals corresponding to the first switch Q1 and the second switch Q2 respectively by a logic chip or a logic circuit, which is not limited here.
[0128] The driving module 240 may be configured to generate a driving signal according to the inductor current of the inductor L and the compensation signal.
[0129] The input end of the driving module 240 can be connected to the inductor L and the compensation module 230 respectively. Further, the first input end of the driving module 240 can be connected to one end of the inductor L, and one end of the inductor L is also connected to the connection midpoint of the first switch Q1 and the second switch Q2. The second input end of the driving module 240 can be connected to the output end of the compensation module 230.
[0130] As a specific implementation, the driving module 240 may include a comparator M1, a positive input terminal of the comparator M may be connected to the output terminal of the compensation module 230, and a negative input terminal of the comparator M1 may be connected to one end of the inductor L. The comparator M1 may compare the compensation signal with the inductor current, and generate a PWM signal according to the comparison result.
[0131] In some embodiments, the driving module 240 is further configured to generate an input signal according to the inductor current of the inductor L and the ramp signal, compare the input signal with the compensation signal, and generate a driving signal according to the comparison result.
[0132] Exemplarily, the driving module 240 may include a current compensation unit 242 and a comparator M1. The current compensation unit 242 may include a gain device Ri and an adder M2. The inductor current of the inductor L is added to the ramp signal VSLOPE after passing through the gain device Ri to obtain an input signal, which can be input to the negative input terminal of the comparator M1. Optionally, the gain device Ri may include but is not limited to a resistor, an operational amplifier, etc. The inductor current of the inductor L is added to the ramp signal VSLOPE after passing through the gain device Ri, so that the obtained input signal can be more accurate, further improving the accuracy of the subsequent generation of the PWM signal. The negative input terminal of the operational transconductance amplifier gm can be used to receive the first sampling signal, and the positive input terminal of the operational transconductance amplifier gm can receive the first reference signal (Vref1). The operational transconductance amplifier gm can compare the first sampling signal (Va) with the first reference signal to generate an error signal, and generate a compensation signal (VCOMP) based on the error signal through the adjustment circuit, and input it to the positive input terminal of the comparator M1. The comparator M1 may compare the input signal with the compensation signal and generate a PWM signal according to the comparison result.
[0133] For example, Fig.12 FIG. 1 is a circuit diagram of a voltage conversion device in one embodiment. Fig.12 As shown, the negative input terminal of the operational transconductance amplifier gm can be used to receive a feedback signal, which is determined according to the ratio between the first sampling signal and the second sampling signal. The positive input terminal of the operational transconductance amplifier gm can be used to receive a second reference signal. The operational transconductance amplifier gm can compare the feedback signal (Vb) with the second reference signal (Vref2) to generate an error signal, and generate a compensation signal (VCOMP) based on the error signal through the adjustment circuit, and input it into the positive input terminal of the comparator M1. The comparator M1 can compare the input signal with the compensation signal, and generate a PWM signal according to the comparison result.
[0134] In an embodiment of the present application, a peak current mode can be used as a closed-loop control method. While feeding back the voltage of the voltage conversion circuit 210, the inductor current is also fed back to form double feedback, thereby further improving the accuracy of the generated drive signal and the control accuracy of the voltage conversion circuit 210. The entire control process is not affected by the load, has a good load regulation rate, a more stable loop, and better noise suppression.
[0135] It should be noted that Fig.11 , Fig.12 Only a possible circuit structure of the voltage conversion device 200 is shown. The voltage conversion device 200 may also have other circuit structures. For example, the voltage conversion circuit 210 may adopt circuits of other topological structures, and the driving module 240 may also adopt other circuit structures, which are not limited here.
[0136] like Fig.13 As shown, in one embodiment, a power supply circuit 1300 is provided, and the power supply circuit 1300 may include a battery module 1310, a charging interface 1320, and a voltage conversion device 200 as described in the above embodiments. The voltage conversion device 200 may be connected to the battery module 1310 and the charging interface 1320 respectively, and the voltage conversion device 200 may also be connected to a load.
[0137] The battery module 1310 is used to output a first supply voltage.
[0138] Optionally, the battery module 1310 may include at least two battery cells, and the at least two battery cells may be connected in series. For example, the battery module 1310 may be a dual-cell battery in which two battery cells are connected in series, but is not limited thereto.
[0139] The charging interface 1320 is used to receive a second supply voltage input by a power supply device.
[0140] The charging interface 1320 may include but is not limited to a USB (Universal Serial Bus) interface, a wireless charging interface, etc. The charging interface 1320 is used to access a power supply device, which may include but is not limited to an adapter, a charger, a mobile power supply, etc.
[0141] The voltage conversion circuit 210 is also used to transform the first supply voltage to obtain a third supply voltage, which is used to power the load; or to transform the second supply voltage to obtain a fourth supply voltage, which is used to charge the battery module 1310.
[0142] The battery module 1310 can be in a discharging state, and the first supply voltage output by the battery module 1310 can be converted and processed by the voltage conversion circuit 210 in the voltage conversion device 200 to supply power to the load; the battery module 1310 can also be in a charging state, and the second supply voltage received by the charging interface 1320 can be converted and processed by the voltage conversion circuit 210 in the voltage conversion device 200 to charge the battery module 1310.
[0143] In some embodiments, the voltage conversion circuit 210 is further used to step down the first supply voltage to obtain a third supply voltage when the charging interface 1320 is not connected to a power supply providing device, so as to supply power to the load based on the third supply voltage; or, the voltage conversion circuit 210 is further used to step down the first supply voltage to obtain a third supply voltage when the charging interface 1320 is connected to a power supply providing device and the load current corresponding to the load is greater than the charging current input by the power supply providing device, so as to supply power to the load based on the third supply voltage and the second supply voltage.
[0144] When the charging interface 1320 is not connected to the power supply device, the battery module 1310 can be in a discharging state, and the voltage conversion circuit 210 can step down the first supply voltage output by the battery module 1310 to supply power to the load. When the charging interface 1320 is connected to the power supply device, it can be determined whether the battery module 1310 needs to discharge the load according to the load condition. If the load current corresponding to the load is greater than the charging current input by the power supply device, it means that the power supply device is not sufficient to supply power to the load, then the battery module 1310 can be in a discharging state, and the battery module 1310 and the power supply device jointly supply power to the load, and the voltage conversion circuit 210 can step down the first supply voltage output by the battery module 1310, and jointly supply power to the load based on the third supply voltage and the second supply voltage.
[0145] The voltage conversion circuit 210 is also used to boost the second supply voltage to obtain a fourth supply voltage when the charging interface 1320 is connected to a power supply providing device and the load current corresponding to the load is less than the charging current input by the power supply providing device, so as to charge the battery module based on the fourth supply voltage.
[0146] When the charging interface 1320 is connected to a power supply device, if the load current corresponding to the load is less than the charging current input by the power supply device, it means that the power supply device is sufficient to supply power to the load, and the power supply device can also charge the battery module 1310. The second power supply voltage received by the charging interface 1320 can be boosted by the voltage conversion circuit 210 to charge the battery module 1310.
[0147] Diagrammatically, Fig.14 FIG. 1 is a schematic diagram of the power supply direction in an embodiment. Fig.14As shown, the battery module 1310 may include a battery cell VBAT1 and a battery cell VBAT2 connected in series. When the charging interface 1320 is connected to a power supply device, if the load current corresponding to the load Vsys is less than the charging current input by the power supply device, as shown in (a), the load current corresponding to the load Vsys is 1A (ampere), and the current input by the power supply device is 2A, then the current input by the power supply device supplies power to the load Vsys and also charges the battery terminal V2X, and the current direction is from the low voltage end to the high voltage end of the voltage conversion circuit. If the load current corresponding to the load Vsys is greater than the charging current input by the power supply device, as shown in (b), the load current corresponding to the load Vsys is 3A, and the current input by the power supply device is 2A, then the battery terminal V2X and the power supply device jointly supply power to the load Vsys, and the current direction is from the high voltage end to the low voltage end of the voltage conversion circuit.
[0148] In the embodiment of the present application, the voltage conversion cell can realize natural bidirectional current operation, there is no mode switching, and no additional pins are required for current direction switching. The current can be seamlessly switched, and the entire control loop is simple and the dynamic response is better.
[0149] In some embodiments, a chip is provided, which may include the voltage conversion device 200 described in the above embodiments, or may include the power supply circuit 1300 described in the above embodiments.
[0150] In one embodiment, an electronic device is provided, which may include the voltage conversion device 200 described in the above embodiments, or may include the power supply circuit 1300 described in the above embodiments, or may include the chip described in the above embodiments.
[0151] Electronic devices may include but are not limited to mobile phones, wearable devices (such as smart glasses, smart watches, etc.), tablets, laptops, PCs (Personal Computers), smart speakers, etc.
[0152] like Fig.15 As shown, in one embodiment, a control method for a voltage conversion circuit is provided, which can be applied to any one of the voltage conversion device 200, the power supply circuit 1300, the chip and the electronic device in the above embodiments; the method may include the following steps:
[0153] Step 1510, converting the input voltage through a voltage conversion circuit to obtain an output voltage.
[0154] Step 1520: Sample the output voltage through a first sampling module to obtain a first sampling signal.
[0155] Step 1530, generating a compensation signal according to the first sampling signal and the reference signal through the compensation module; the reference signal is determined according to the target conversion ratio corresponding to the voltage conversion circuit.
[0156] Step 1540, generating a driving signal according to the compensation signal through a driving module, wherein the driving signal is used to drive a voltage conversion circuit to convert the input voltage so that the ratio between the obtained output voltage and the input voltage approaches a target conversion ratio.
[0157] In some embodiments, step 1530 includes: generating an error signal according to the first sampling signal and the reference signal by a compensation module, and generating a compensation signal according to the error signal.
[0158] In some embodiments, the steps of generating an error signal based on a first sampling signal and a reference signal, and generating a compensation signal based on the error signal include: comparing the first sampling signal with a first reference signal to generate an error signal; wherein the first reference signal is a reference voltage generated based on a target conversion ratio and an input voltage.
[0159] In some embodiments, the first sampling module includes a first voltage-dividing resistor and a second voltage-dividing resistor; step 1520 includes: dividing the output voltage by the first voltage-dividing resistor and the second voltage-dividing resistor to obtain a first sampling signal; the first reference signal is a reference voltage generated based on the target conversion ratio, the input voltage, the resistance value of the first voltage-dividing resistor and the resistance value of the second voltage-dividing resistor.
[0160] In some embodiments, the method also includes: sampling the input voltage through a second sampling module to obtain a second sampling signal; the step of generating an error signal according to the first sampling signal and a reference signal, and generating a compensation signal according to the error signal, including: generating an error signal according to the first sampling signal, the second sampling signal and the reference signal through a compensation module, and generating a compensation signal according to the error signal.
[0161] In some embodiments, before the step of generating an error signal according to the first sampling signal, the second sampling signal and the reference signal through the compensation module, and generating the compensation signal according to the error signal, the method further comprises: calculating the ratio between the first sampling signal and the second sampling signal through the operation module to obtain a feedback signal;
[0162] The step generates an error signal through a compensation module according to the first sampling signal, the second sampling signal and the reference signal, including: comparing the feedback signal with the second reference signal through the compensation module to generate the error signal; the second reference signal is the target conversion ratio, or the second reference signal is an analog signal corresponding to the target conversion ratio.
[0163] In some embodiments, the voltage conversion circuit includes at least a first switch, a second switch and an inductor; step 1540 includes: generating a driving signal according to the inductor current of the inductor and the compensation signal through a driving module.
[0164] In some embodiments, the step of generating a driving signal through a driving module according to the inductor current of the inductor and the compensation signal includes: generating an input signal through the driving module according to the inductor current of the inductor and the ramp signal, comparing the input signal with the compensation signal, and generating a driving signal according to the comparison result.
[0165] It should be noted that the description of the control method of the voltage conversion circuit provided in the embodiment of the present application can refer to the relevant description of the voltage conversion device 200 provided in the above embodiments, and will not be repeated here.
[0166] In the embodiment of the present application, a closed-loop control method is adopted to generate a compensation signal according to the first sampling signal corresponding to the output voltage of the voltage conversion circuit and the reference signal, and then the drive signal of the voltage conversion circuit is controlled based on the compensation signal. Since the reference signal is determined according to the target conversion ratio corresponding to the voltage conversion circuit, the voltage conversion circuit is driven based on the drive signal to convert the input voltage, so that the ratio between the output voltage obtained by the voltage conversion circuit and the input voltage can be close to the target conversion ratio, so that the voltage conversion ratio between the output voltage and the input voltage of the voltage conversion circuit is relatively fixed and accurate. Moreover, in the case where the voltage conversion ratio of the voltage conversion circuit needs to be adjusted, only the reference signal needs to be adjusted accordingly, so the voltage conversion device can achieve richer and different granular voltage conversion ratios, thereby meeting the needs in different scenarios, and the control of the voltage conversion ratio is a closed-loop control, which can improve the stability and control accuracy of the loop.
[0167] An embodiment of the present application discloses an electronic device, including a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the electronic device implements the methods described in the above embodiments.
[0168] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.
[0169] The embodiments of the present application disclose a computer program product, including a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.
[0170] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0171] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0172] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0173] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0174] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0175] The above is a detailed introduction to a voltage conversion device, power supply circuit, chip and electronic device disclosed in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A voltage conversion device, characterized in that: include: A voltage conversion circuit is used to convert the input voltage to obtain an output voltage; A first sampling module, connected to the voltage conversion circuit, and configured to sample the output voltage to obtain a first sampling signal; a compensation module connected to the first sampling module, the compensation module being used to generate a compensation signal according to the first sampling signal and a reference signal, wherein the reference signal is determined according to a target conversion ratio corresponding to the voltage conversion circuit; A driving module is connected to the compensation module and the voltage conversion circuit. The driving module is used to generate a driving signal according to the compensation signal. The driving signal is used to drive the voltage conversion circuit to convert the input voltage so that the ratio between the obtained output voltage and the input voltage approaches the target conversion ratio.
2. The voltage conversion device according to claim 1, characterized in that: The compensation module is further used to generate an error signal according to the first sampling signal and a reference signal, and to generate a compensation signal according to the error signal.
3. The voltage conversion device according to claim 2, characterized in that: The compensation module is further used to compare the first sampling signal with a first reference signal to generate an error signal; The first reference signal is a reference voltage generated according to the target conversion ratio and the input voltage.
4. The voltage conversion device according to claim 3, characterized in that: The first sampling module includes a first voltage-dividing resistor and a second voltage-dividing resistor, and the first voltage-dividing resistor and the second voltage-dividing resistor are connected in series; The first sampling module is further used to divide the output voltage by the first voltage-dividing resistor and the second voltage-dividing resistor to obtain a first sampling signal; The first reference signal is a reference voltage generated according to the target conversion ratio, the input voltage, the resistance value of the first voltage-dividing resistor, and the resistance value of the second voltage-dividing resistor.
5. The voltage conversion device according to claim 2, characterized in that: The voltage conversion device also includes: A second sampling module, used for sampling the input voltage to obtain a second sampling signal; The compensation module is also connected to the second sampling module, and is further used to generate an error signal according to the first sampling signal, the second sampling signal and a reference signal, and to generate a compensation signal according to the error signal.
6. The voltage conversion device according to claim 5, characterized in that: The voltage conversion device also includes: A calculation module, connected to the first sampling module and the second sampling module respectively, and configured to calculate a ratio between the first sampling signal and the second sampling signal to obtain a feedback signal; The compensation module is connected to the operation module, and is also used to compare the feedback signal with a second reference signal to generate an error signal; the second reference signal is the target conversion ratio, or the second reference signal is an analog signal corresponding to the target conversion ratio.
7. The voltage conversion device according to any one of claims 2 to 6, characterized in that: The compensation module comprises: an error amplifier, configured to generate an error signal according to the first sampling signal and a reference signal; A regulating circuit is connected to the error amplifier, and the regulating circuit is used to generate a compensation signal based on the error signal.
8. The voltage conversion device according to claim 7, characterized in that: The error amplifier includes an operational transconductance amplifier OTA.
9. The voltage conversion device according to claim 1, characterized in that: The voltage conversion circuit at least includes a first switch, a second switch and an inductor, the first switch and the second switch form a bridge arm, a connection midpoint between the first switch and the second switch is connected to the inductor, and the drive signal is used to drive the first switch or the second switch to conduct; The driving module is used to generate a driving signal according to the inductor current of the inductor and the compensation signal.
10. The voltage conversion device according to claim 9, characterized in that: The driving module is further used to generate an input signal according to the inductor current of the inductor and the ramp signal, compare the input signal with the compensation signal, and generate a driving signal according to the comparison result.
11. A power supply circuit, characterized in that: include: A battery module, configured to output a first supply voltage; A charging interface, used to receive a second supply voltage input by a power supply device; The voltage conversion device according to any one of claims 1 to 10; The voltage conversion circuit is also used to convert the first supply voltage to obtain a third supply voltage, and the third supply voltage is used to power the load; or to convert the second supply voltage to obtain a fourth supply voltage, and the fourth supply voltage is used to charge the battery module.
12. The power supply circuit according to claim 11, characterized in that: The voltage conversion circuit is further configured to, when the charging interface is not connected to the power supply device, step down the first supply voltage to obtain a third supply voltage, so as to supply power to the load based on the third supply voltage; or The voltage conversion circuit is also used to step down the first supply voltage to obtain a third supply voltage when the charging interface is connected to the power supply providing device and the load current corresponding to the load is greater than the charging current input by the power supply providing device, so as to supply power to the load based on the third supply voltage and the second supply voltage.
13. The power supply circuit according to claim 11, characterized in that: The voltage conversion circuit is also used to boost the second supply voltage to obtain a fourth supply voltage when the charging interface is connected to the power supply providing device and the load current corresponding to the load is less than the charging current input by the power supply providing device, so as to charge the battery module based on the fourth supply voltage.
14. A chip, characterized in that: It comprises the voltage conversion device as claimed in any one of claims 1 to 10, or comprises the power supply circuit as claimed in any one of claims 11 to 13.
15. An electronic device, characterized in that: It comprises the voltage conversion device as claimed in any one of claims 1 to 10, or comprises the power supply circuit as claimed in any one of claims 11 to 13, or comprises the chip as claimed in claim 14.
16. A control method for a voltage conversion circuit, characterized in that: The method comprises: The input voltage is converted by a voltage conversion circuit to obtain an output voltage; Sampling the output voltage through a first sampling module to obtain a first sampling signal; Generate a compensation signal according to the first sampling signal and a reference signal through a compensation module; the reference signal is determined according to a target conversion ratio corresponding to the voltage conversion circuit; A driving module generates a driving signal according to the compensation signal, and the driving signal is used to drive the voltage conversion circuit to convert the input voltage so that the ratio between the obtained output voltage and the input voltage approaches the target conversion ratio.