Conversion circuits, power supply devices and related products
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-26
- Publication Date
- 2026-08-14
Smart Images

Figure CN115912897B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging technology, and in particular to a conversion circuit, a power supply device, and related products. Background Technology
[0002] With the development and innovation of power electronics technology, the technology of switching power supplies has also developed. Switching power supplies are widely used in many electronic devices due to their small size, light weight and high efficiency. They are an indispensable power supply method for the rapid development of today's electronic information industry.
[0003] For example, a DC-DC power supply utilizes modern power electronics technology to control the on and off time ratio of switching transistors to maintain a stable output voltage. In related technologies, the input voltage of a DC-DC power supply is a stable DC voltage, and DC-DC power supplies are typically in regulated output mode or constant current output mode. Summary of the Invention
[0004] Therefore, it is necessary to provide a conversion circuit, a power supply device, and related products that address the aforementioned technical problems, enabling the output voltage to change accordingly with changes in the input voltage.
[0005] In a first aspect, embodiments of this application provide a conversion circuit, the conversion circuit comprising:
[0006] A voltage conversion circuit is used to convert the input voltage into an output voltage.
[0007] The control circuit is used to control the output voltage of the voltage conversion circuit to a preset output voltage when the input voltage is less than a preset value, and to control the output voltage of the voltage conversion circuit to a first voltage higher than the preset output voltage when the input voltage is greater than the preset value.
[0008] Secondly, embodiments of this application provide a conversion circuit, the conversion circuit comprising:
[0009] A voltage conversion circuit is used to convert the input voltage into an output voltage.
[0010] The control circuit is used to control the output voltage of the voltage conversion circuit to a preset output voltage when the input voltage is greater than a preset value, and to control the output voltage of the voltage conversion circuit to a second voltage lower than the preset output voltage when the input voltage is less than the preset value.
[0011] Thirdly, embodiments of this application provide a power supply device, including the conversion circuit provided in any one of the embodiments of the first and second aspects described above.
[0012] Fourthly, embodiments of this application provide a terminal including the conversion circuit provided in any one of the embodiments of the first and second aspects described above.
[0013] Fifthly, embodiments of this application provide a voltage conversion method, the method comprising:
[0014] The output is obtained by voltage transformation of the input voltage;
[0015] When the input voltage is less than the preset value, the output voltage after conversion is controlled to be the preset output voltage; when the input voltage is greater than the preset value, the output voltage after conversion is controlled to be a first voltage higher than the preset output voltage.
[0016] Sixthly, embodiments of this application provide a voltage conversion method, the method comprising:
[0017] The output is obtained by voltage transformation of the input voltage;
[0018] When the input voltage is greater than the preset value, the output voltage after conversion is controlled to be the preset output voltage; when the input voltage is less than the preset value, the output voltage after conversion is controlled to be a second voltage that is lower than the preset output voltage.
[0019] Seventhly, embodiments of this application provide a voltage conversion device, the device comprising:
[0020] The first conversion module is used to convert the input voltage and output it.
[0021] The first control module is used to control the transformed output voltage to a preset output voltage when the input voltage is less than a preset value; and to control the transformed output voltage to a first voltage higher than the preset output voltage when the input voltage is greater than the preset value.
[0022] Eighthly, embodiments of this application provide a voltage conversion device, the device comprising:
[0023] The second conversion module is used to convert the input voltage and output the result.
[0024] The second control module is used to control the transformed output voltage to a preset output voltage when the input voltage is greater than a preset value; and to control the transformed output voltage to a second voltage lower than the preset output voltage when the input voltage is less than a preset value.
[0025] Ninthly, embodiments of this application provide an electronic device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor performs the method steps provided in the embodiments of the fifth and sixth aspects described above.
[0026] In a tenth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the method steps provided in the embodiments of the fifth and sixth aspects described above.
[0027] This application provides a conversion circuit, a power supply device, and related products. The conversion circuit includes a voltage conversion circuit and a control circuit. The voltage conversion circuit converts the input voltage and outputs a voltage. When the input voltage is less than a preset value, the control circuit controls the output voltage of the voltage conversion circuit to a preset output voltage. When the input voltage is greater than the preset value, the control circuit controls the output voltage of the voltage conversion circuit to a first voltage higher than the preset output voltage. Thus, when the input voltage is less than the preset value, a stable voltage output is maintained at the preset output voltage. When the input voltage Vin is greater than the preset value, the output voltage is controlled to be a first voltage higher than the preset output voltage. In other words, the final output voltage of the voltage conversion circuit is increased based on the original regulated output voltage. This achieves a situation where the output voltage of the voltage conversion circuit increases with the increase of the input voltage, causing the output voltage to change accordingly with the change of the input voltage. Attached Figure Description
[0028] Figure 1a This is a schematic diagram of the operating state parameter curves of a DC-DC converter in one embodiment.
[0029] Figure 1b This is a schematic diagram of the operating state parameter curves of a DC-DC converter in another embodiment;
[0030] Figure 1c This is a schematic diagram of the operating state parameter curves of a DC-DC converter in another embodiment;
[0031] Figure 1d This is a schematic diagram of the operating state parameter curves of a DC-DC converter in another embodiment;
[0032] Figure 2 This is a schematic diagram of the conversion circuit in one embodiment;
[0033] Figure 3 This is a schematic diagram of voltage changes in another embodiment;
[0034] Figure 4 This is a schematic diagram of the conversion circuit in another embodiment;
[0035] Figure 5 This is a schematic diagram of the conversion circuit in another embodiment;
[0036] Figure 6 This is a schematic diagram of the conversion circuit in another embodiment;
[0037] Figure 7 This is a schematic diagram of the conversion circuit in another embodiment;
[0038] Figure 8 This is a schematic diagram of the conversion circuit in another embodiment;
[0039] Figure 9 This is a schematic diagram of the conversion circuit in another embodiment;
[0040] Figure 10 This is a schematic diagram of the conversion circuit in another embodiment;
[0041] Figure 11 This is a schematic diagram of voltage changes in another embodiment;
[0042] Figure 12 This is a schematic diagram of the conversion circuit in another embodiment;
[0043] Figure 13 This is a schematic diagram of the conversion circuit in another embodiment;
[0044] Figure 14 This is a schematic diagram of the conversion circuit in another embodiment;
[0045] Figure 15 This is a schematic diagram of the conversion circuit in another embodiment;
[0046] Figure 16 This is a schematic diagram of the operating state parameter curves of the conversion circuit in one embodiment;
[0047] Figure 17 This is a schematic diagram of the operating state parameter curves of the conversion circuit in one embodiment;
[0048] Figure 18 This is a schematic diagram of the operating state parameter curves of the conversion circuit in one embodiment;
[0049] Figure 19 This is a schematic diagram of the operating state parameter curves of the conversion circuit in one embodiment;
[0050] Figure 20 This is a schematic diagram of the internal structure of a power supply device in one embodiment;
[0051] Figure 21 A schematic diagram of the internal structure of the power supply device in another embodiment;
[0052] Figure 22 This is a schematic diagram of the internal structure of the terminal in one embodiment;
[0053] Figure 23 This is a schematic diagram of a voltage conversion method in one embodiment;
[0054] Figure 24 This is a schematic diagram of the voltage conversion method in another embodiment.
[0055] Explanation of reference numerals in the attached figures:
[0056] 01: Conversion circuit; 10: Voltage conversion circuit;
[0057] 20: Control circuit; 201: Feedforward circuit;
[0058] 202: Feedback circuit; 2011: Sampling resistor;
[0059] 2012: Switching circuit; 110: Input interface;
[0060] 120: First rectifier and filter module; 130: Switching power supply;
[0061] 140: Transformer; 150: Second rectifier and filter module;
[0062] 160: Output interface; 210: Filtering circuit;
[0063] 220: Wireless transmitting circuit; 310: Charging interface;
[0064] 320: Battery; 330: Control module. Detailed Implementation
[0065] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0066] It is understood that the serial numbers assigned to components in this application, such as "first" and "second," are merely used to distinguish the described objects and do not have any sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages). In the description of this application, it should be understood that directional terms such as "upper" and "lower" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These are merely for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. In this application, unless otherwise expressly specified and limited, "upper" or "lower" of the first feature and the second feature can mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. In this application, the difference in name is not used as a method of distinguishing components; rather, the difference in function of the components is used as the distinguishing principle.
[0067] In related technologies, DC-DC power supply solutions typically operate in either regulated or constant-current output mode. Furthermore, the input voltage of a DC-DC converter is usually a stable DC voltage. This limits the applicable scenarios for DC-DC converters in these technologies, making them inflexible. When two of the output voltage, output current, and output resistance are fixed, the third can be calculated using I = U / R. For DC-DC products, when the output is a constant voltage output (regulated output), the load can be either a constant current load (CC) or a constant resistance load (CR), and these two load methods are equivalent in this case. Similarly, when the output is a constant current output, the load can be either a constant voltage load (CV) or a constant resistance load (CR), and these two load methods are also equivalent.
[0068] For the DC-DC converter operating with regulated input and regulated output, and connected to a CC (CR) load, please refer to the input voltage / current and output voltage / current curves. Figure 1a As shown. According to Figure 1a As can be seen from the schematic diagram of the input voltage / current and output voltage / current changes, in this case, the output voltage / current does not change with the input voltage / current; both remain at a fixed value as time changes.
[0069] For the DC-DC converter operating with regulated input, constant current output, and connected to a CV (CR) load, please refer to the input voltage / current and output voltage / current curves. Figure 1b As shown. According to Figure 1bFrom the schematic diagram of the changes in input voltage / current and output voltage / current, it can be seen that in this case, the same as in case (1) above, the output voltage / current does not change with the input voltage / current, and both remain at a fixed value as time changes.
[0070] For the DC-DC converter operating with unregulated input, regulated output, and connected to a CC (CR) load, please refer to the input voltage / current and output voltage / current curves. Figure 1c As shown. According to Figure 1c As shown in the schematic diagram of the input voltage / current and output voltage / current changes, in this case, the output voltage / current does not change with the input voltage / current and remains at a fixed value. At the same time, the input current changes in the opposite direction to the input voltage.
[0071] For the DC-DC converter operating with unregulated input, constant current output, and connected to a CV (CR) load, please refer to the input voltage / current and output voltage / current curves. Figure 1d As shown. According to Figure 1d From the schematic diagram of the input voltage / current and output voltage / current changes, it can be seen that in this case, the same as in case (3) above, the output voltage / current does not change with the input voltage / current and remains at a fixed value. Meanwhile, the input current changes in the opposite direction to the input voltage.
[0072] in, Figures 1a-1d In the diagram, the horizontal axis represents time t, the left vertical axis represents voltage, and the right vertical axis represents current.
[0073] As can be seen from the four scenarios above, the output voltage or current is not affected by the input voltage; that is, there is no correlation between the output power and the input voltage. This means that DC-DC converters in related technologies are unsuitable for scenarios where the input voltage is not regulated and the output power needs to be adjusted according to changes in the input voltage. For example, taking solar panels as an example, weather conditions can cause insufficient power generation from the solar panels, resulting in a sudden drop in the input voltage of the DC-DC converter. In this case, it is necessary to reduce the output power of the DC-DC converter to prevent damage to some system circuits in products containing the DC-DC converter. However, in this scenario, because the DC-DC converters in related technologies operate on a regulated output or constant current output mode, they cannot reduce the output power when the input voltage decreases, making them unsuitable for such scenarios.
[0074] Therefore, DC-DC converters in related technologies suffer from limited applicability and lack of flexibility. To address this, this application proposes a control method that incorporates the input voltage into the control loop to achieve a "regulated + small-amplitude ripple" output voltage. This adds a "small-amplitude ripple" to the "regulated output," meaning that the output voltage (power) changes in the same way (e.g., positively correlated) as the input voltage changes.
[0075] The process of achieving "voltage stabilization + small amplitude ripple" output is explained below through specific examples.
[0076] like Figure 2 As shown, in one embodiment, this application provides a conversion circuit 01, which includes: a voltage conversion circuit 10 for converting an input voltage and outputting it; and a control circuit 20 for controlling the output voltage of the voltage conversion circuit 10 to a preset output voltage when the input voltage is less than a preset value, and controlling the output voltage of the voltage conversion circuit 10 to a first voltage higher than the preset output voltage when the input voltage is greater than the preset value.
[0077] Please continue reading Figure 2 The following example illustrates the connection relationship between voltage conversion circuit 10 and control circuit 20 in a conversion circuit 01. The first terminal of control circuit 20 is connected to the input voltage Vin, corresponding to the input voltage. The first terminal of voltage conversion circuit 10 is also connected to the input voltage Vin. The second terminal of control circuit 20 is connected to the second terminal of voltage conversion circuit 10. The output terminal Vout of voltage conversion circuit 10 outputs the aforementioned preset output voltage, or the output terminal Vout of voltage conversion circuit 10 outputs the aforementioned first voltage.
[0078] The voltage conversion circuit 10 can realize voltage conversion, such as boost, buck, or buck-boost, and can be applied to boost, buck, and buck-boost circuits.
[0079] Taking the voltage conversion circuit 10 as an example of a DC / DC converter, a DC / DC converter transforms a DC power supply of a certain voltage level into a DC power supply of another voltage level. For example, it can first convert the input DC power into AC power through a self-excited oscillation circuit, then change the voltage through a transformer before converting it back into DC power for output, or it can convert AC power into high-voltage DC power output through a voltage doubler rectifier circuit. This application does not limit the internal circuit structure and specific conversion process of the DC / DC converter; as long as the input voltage is converted to a different voltage level to obtain the output voltage, it is acceptable.
[0080] In practical applications, the input voltage of a DC-DC converter may increase or decrease in some scenarios. To address the issue of an increased input voltage, if the input voltage exceeds a preset value, the output voltage of the DC-DC converter can be compensated, causing the output voltage to increase in line with the increase in the input voltage.
[0081] Specifically, after the voltage conversion circuit 10 converts the input voltage Vin to output voltage Vout, the control circuit 20 controls the output voltage Vout to a preset output voltage Vout_S when the input voltage Vin is less than a preset value; and controls the output voltage Vout to a first voltage Vout_m higher than the preset output voltage Vout_S when the input voltage Vin is greater than the preset value. For the case where the input voltage Vin equals the preset value, this is a critical situation. The case where the input voltage Vin equals the preset value can be classified as a scenario where the input voltage Vin is less than the preset value, meaning that when the input voltage Vin equals the preset value, the control circuit 20 controls the output voltage Vout to the preset output voltage Vout_S. Alternatively, the case where the input voltage Vin equals the preset value can be classified as a scenario where the input voltage Vin is greater than the preset value, meaning that when the input voltage Vin equals the preset value, the control circuit 20 controls the output voltage Vout to a first voltage Vout_m higher than the preset output voltage Vout_S.
[0082] It should be noted that in the subsequent embodiments involving the distinction between sizes, the critical cases of equality can be classified into the greater than scenario and processed in the manner of the greater than scenario. Alternatively, the critical cases of equality can be classified into the less than scenario and processed in the manner of the less than scenario. This application will not elaborate further.
[0083] The preset value is a value set according to the actual situation. For example, the preset value can be a fixed voltage value set in advance, the voltage value corresponding to the lowest point of the input voltage, or a value determined according to the DC component of the input voltage. The specific method of determining the preset value is not limited in the embodiments of this application.
[0084] In one embodiment, the preset value is determined based on the output power of the voltage conversion circuit 10 and the output current of the pre-stage circuit of the conversion circuit 01.
[0085] That is, when setting the preset value, the output power of the voltage conversion circuit 10 and the output current of the pre-stage circuit of the conversion circuit 01 should be considered together.
[0086] For example, in the process of controlling the output current of the voltage conversion circuit 10 according to the input voltage, the output power of the voltage conversion circuit 10 needs to be considered. When the input voltage of the voltage conversion circuit 10 is greater than the preset value, the output current of the voltage conversion circuit 10 is controlled to follow the input voltage. When the input voltage of the voltage conversion circuit 10 is less than the preset value, the voltage conversion circuit 10 is controlled to maintain constant current output.
[0087] At this point, the voltage conversion circuit 10 has its minimum output power when it outputs a constant current. Therefore, the selected preset value must satisfy the condition that the voltage conversion circuit 10 can achieve its minimum output power as the output current changes with the input voltage. For example, the preset value could be the voltage value corresponding to the minimum output power of the voltage conversion circuit 10.
[0088] Furthermore, in practical applications, the current that the pre-amplifier circuit of conversion circuit 01 can withstand is also limited. Naturally, the output voltage of the pre-amplifier circuit of conversion circuit 01 will also be limited, and the output voltage of the pre-amplifier circuit is the input voltage of voltage conversion circuit 10. Therefore, when selecting the preset value, the output voltage of the pre-amplifier circuit of conversion circuit 01 needs to be considered to ensure that the output current of voltage conversion circuit 10 follows the input voltage. For example, the selected preset value can be any voltage value within the range of variation of the output voltage of the pre-amplifier circuit. Considering the output voltage of the pre-amplifier circuit in this way is equivalent to considering the output current of the pre-amplifier circuit of conversion circuit 01.
[0089] Of course, in some scenarios, when setting the preset value, it is not necessary to consider both the output power of the voltage conversion circuit 10 and the output current of the pre-stage circuit of the conversion circuit 01. Only one of them can be considered as a factor, as long as the preset value meets the requirements. This application embodiment does not limit this.
[0090] Based on the aforementioned preset values, this means that when the input voltage Vin is less than the preset value, the voltage output by the voltage conversion circuit 10 is a fixed voltage Vout_S, i.e., maintaining a regulated output; while when the input voltage Vin is greater than the preset value, the voltage output by the voltage conversion circuit 10 is Vout_m, Vout_m is greater than Vout_S, and the change Δ between Vout_m and Vout_S is equivalent to adding a small amplitude ripple to the regulated output Vout_S.
[0091] The preset output voltage can be a fixed voltage value output by the voltage conversion circuit 10. This fixed voltage value can be determined based on the input voltage value, or it can be set as a preset output voltage according to actual needs. For example, if the input voltage Vin is 9V, the preset output voltage can be a fixed voltage of 5V.
[0092] Optionally, the preset output voltage is the product of the input voltage and a coefficient. This coefficient can be a preset scaling factor. For example, if the scaling factor is 0.5, then if the input voltage is 9V, the preset output voltage is 4.5V.
[0093] like Figure 3 As shown, specific data will be used for explanation. For example, if the preset value is 9V and the current input voltage Vin is 9V, meaning the input voltage is less than the preset value of 9V, the output voltage of the voltage conversion circuit 10 is the preset output voltage of 5V, which is a fixed value. However, if the current input voltage is A, and A is greater than 9V, meaning the input voltage is greater than the preset value of 9V, then the output voltage of the voltage conversion circuit 10 is a first voltage B, which is greater than the preset output voltage of 5V. It can be understood that A is only a representation of being greater than the input voltage of 9V; for different A values, the corresponding first voltage may also be different. For example, when A is 9.1V, the first voltage is 5.5V; if A is 9.2V, the first voltage is 5.7V. This application embodiment does not limit the specific values of the preset value, the preset output voltage, or the first voltage.
[0094] The conversion circuit in this application includes a voltage conversion circuit and a control circuit. The voltage conversion circuit converts the input voltage and outputs a new voltage. When the input voltage is less than a preset value, the control circuit controls the output voltage of the voltage conversion circuit to a preset output voltage. When the input voltage is greater than the preset value, the control circuit controls the output voltage of the voltage conversion circuit to a first voltage higher than the preset output voltage. Thus, when the input voltage is less than the preset value, a stable voltage output is maintained at the preset output voltage. When the input voltage Vin is greater than the preset value, the output voltage is controlled to be a first voltage higher than the preset output voltage. In other words, the final output voltage of the voltage conversion circuit is increased based on the original regulated output voltage. This achieves the effect that as the input voltage of the voltage conversion circuit increases, the output voltage of the voltage conversion circuit also increases, making the output voltage change accordingly with the change in input voltage.
[0095] An embodiment for determining the preset value in the above embodiments is provided for illustration. This embodiment includes: detecting the input voltage of the voltage conversion circuit at a preset frequency; the preset frequency is less than a preset frequency threshold; and taking the minimum value of the input voltage detected within the period corresponding to the preset frequency as the preset value.
[0096] The preset frequency is used to detect the lowest point of the input voltage within a certain period. In order to ensure that the lowest point can be detected, the preset frequency is set as low as possible. For example, the preset frequency can be 1Hz, that is, the input voltage Vin of the voltage conversion circuit is detected once every 1 second.
[0097] For example, every 1 second, the input voltage Vin of the voltage conversion circuit 10 is detected. When a corresponding minimum value Vin_min is detected, in one way, Vin_min can be continuously determined as a preset value; in another way, the minimum value of the input voltage detected in each cycle corresponding to the preset frequency is taken as the preset value in the corresponding cycle. The preset value in each cycle may be different, that is, the preset value can change with the change of the input voltage.
[0098] In this embodiment, the input voltage of the voltage conversion circuit is detected at a preset frequency. Since the preset frequency is less than the preset frequency threshold, the lowest point of the input voltage of the voltage conversion circuit can be detected more accurately.
[0099] Based on the above embodiments, the method for determining the first voltage will be explained below through embodiments.
[0100] In one embodiment, the first voltage is the sum of a preset output voltage and a compensation voltage, wherein the compensation voltage is related to the input voltage.
[0101] When the input voltage is greater than a preset value, the output voltage of the voltage conversion circuit 10 is a first voltage, which can be the sum of a preset output voltage and a compensation voltage. By adding a compensation voltage to the preset output voltage as the first voltage, which is the final output voltage value of the voltage conversion circuit after the input voltage increases, the compensation voltage is added to the preset output voltage as the final output voltage value of the voltage conversion circuit when the input voltage increases. This causes the final output voltage of the voltage conversion circuit to increase with the increase of the input voltage, thereby achieving a "regulated + small-amplitude ripple" output voltage.
[0102] Based on the above embodiments, in one embodiment of this application, the above process is described using the example that the input voltage Vin in the voltage conversion circuit 10 includes a DC component Vin_dc and an AC component Vin_ac.
[0103] Specifically, for the input voltage Vin, the lowest point of the input voltage Vin is detected at a preset low frequency, for example, the detection frequency is 1Hz, that is, every 1 second, the value of the lowest point of Vin is updated as Vin_dc, that is, Vin_dc is the above preset value, and the part Vin_ac greater than Vin_dc is regarded as the AC component Vin_ac of Vin, Vin_ac = Vin - Vin_dc.
[0104] When the input voltage Vin is higher than Vin_dc, Vin_ac is obtained by subtracting Vin_dc from Vin. Vin_ac is then reduced to obtain the compensation voltage Vout_ac. For example, Vin_ac is proportionally reduced to Vout_ac. This compensation voltage Vout_ac is then added to the preset output voltage Vout_dc of the voltage conversion circuit 10, so that the final output voltage of the DC-DC converter is Vout = Vout_dc + Vout_ac.
[0105] When the input voltage Vin has only a DC component Vin_dc, the AC component Vin_ac does not exist. Therefore, there is no Vout_ac obtained by proportionally reducing Vin_ac. So the final output voltage Vout of the voltage conversion circuit 10 is equal to Vout_dc.
[0106] However, when the input voltage has an AC component Vin_ac, the AC component Vin_ac of Vin exists, and naturally there is also Vout_ac, which is obtained by proportionally reducing Vin_ac. The final output voltage Vout of the voltage conversion circuit 10 is Vout_dc + Vout_ac. That is, in addition to the preset output voltage Vout_dc, the final output voltage Vout of the voltage conversion circuit 10 also contains a certain AC component Vout_ac. This AC component Vout_ac is equivalent to realizing "small amplitude ripple" on the preset output voltage Vout_dc, thereby realizing the "voltage regulation + small amplitude ripple" output of the voltage conversion circuit 10.
[0107] In one embodiment, the compensation voltage can be a preset fixed voltage value. For example, the range greater than the input voltage can be divided into levels, and a compensation voltage of a fixed value can be set for each level. Specifically, assuming that greater than 0.5V is a level and the preset value is 9V, then if the input voltage is between 9.5V and 9V, the compensation voltage is set to a fixed voltage value X1; if the input voltage is between 10V and 9.5V, the compensation voltage is set to a fixed voltage value X2, and so on, setting corresponding fixed compensation voltage values for different levels of input voltage.
[0108] In another embodiment, a mapping table can be pre-established based on big data. This mapping table stores different compensation voltage values corresponding to different input voltage values. For example, 9.1V corresponds to a compensation voltage X1, 9.2V corresponds to a compensation voltage X2, and so on. In application, the compensation voltage value corresponding to the current input voltage is directly queried from this mapping table, and then the sum of the queried compensation voltage value and the preset output voltage is determined as the first voltage.
[0109] In another embodiment, the compensation voltage is obtained by reducing the difference between the input voltage and a preset value.
[0110] The difference between the input voltage and a preset value represents the increase in the current input voltage. Based on this increase, a voltage value can be obtained by reducing it through some calculations, serving as the compensation voltage. For example, the difference between the input voltage and the preset value can be transformed using a preset algorithm model. That is, the difference between the input voltage and the preset value is input into the preset algorithm model, and the output voltage value after reduction by the algorithm model is determined as the compensation voltage. Alternatively, devices such as operational amplifiers can be used to reduce the difference between the input voltage and the preset value to obtain the compensation voltage value. Or, the difference between the input voltage and the preset value can be reduced according to a preset scaling factor to obtain the compensation voltage value. Alternatively, in some embodiments, a preset change amount can be set, and the difference between the input voltage and the preset value can be further subtracted from the change amount to obtain the compensation voltage value.
[0111] The compensation voltage value is obtained by performing a reduction calculation on the difference between the input voltage and the preset value. This reduction calculation, based on the difference between the input voltage and the preset value, can be tailored to actual needs, resulting in more accurate compensation of the output voltage of the voltage conversion circuit. Furthermore, it avoids overcompensation, thus protecting the voltage conversion circuit.
[0112] In one embodiment, the compensation voltage can also be implemented through a circuit structure. The control circuit 20 samples the input voltage to obtain a sampled voltage, and performs calculations on the sampled voltage to obtain the compensation voltage. Optionally, the control circuit 20 can compare the sampled voltage with a preset value, and when the sampled voltage is greater than the preset value, perform calculations on the sampled voltage to obtain the compensation voltage.
[0113] like Figure 4 As shown, a schematic diagram of the internal structure of a control circuit is provided. The control circuit 20 includes a feedforward circuit 201 and a feedback circuit 202. The feedforward circuit 201 includes a switching circuit 2011 and a sampling resistor 2012. The switching circuit 2011 is turned on when the input voltage is greater than a preset value, so as to sample the input voltage through the sampling resistor to obtain a compensation voltage.
[0114] The control circuit 20 can sample the input voltage by setting a sampling resistor. For example, a switch circuit 2011 and a sampling resistor 2012 can be set in the control circuit 20. When the input voltage is greater than a preset value, the switch circuit 2011 is turned on, and the input voltage enters the sampling resistor 2012 through the switch circuit 2011. The sampling resistor 2012 will sample the input voltage to obtain the sampled voltage.
[0115] Based on the sampled voltage, the control circuit 20 can compare the sampled voltage with a preset value. If the sampled voltage is greater than the preset value, a calculation can be performed based on the sampled voltage to obtain a compensation voltage. For example, the calculation of the sampled voltage can be a reduction operation to obtain the compensation voltage. The degree of reduction operation is related to the size, number, and connection method of the selected sampling resistors, which are not listed in detail in this embodiment.
[0116] The feedback circuit 201 generates a feedback signal based on the output voltage of the voltage conversion circuit 10; the feedback signal is used to indicate the adjustment of the output voltage of the voltage conversion circuit 10 to obtain a preset output voltage.
[0117] Please continue reading Figure 4 The first terminal of the feedforward circuit 201 is connected to the input voltage Vin. The second terminal of the feedforward circuit 201 is connected between the voltage conversion circuit 10 and the feedback circuit 202. The first terminal of the voltage conversion circuit 10 is also connected to Vin. The second terminal and the output terminal Vout of the voltage conversion circuit 10 are both connected to the feedback circuit 202. It should be noted that in practical applications, the second terminal of the voltage conversion circuit 10 may include multiple connection pins, all of which are connected to the feedback circuit 202. The feedback circuit 202 and the voltage conversion circuit 10 are connected in a closed loop, meaning that the input and output of the feedback circuit 202 are both connected to the voltage conversion circuit 10 through these multiple connection pins.
[0118] For example, in one scenario, the voltage conversion circuit 10 converts the input voltage to a voltage level to obtain an output voltage, which is to be output to the electrical device. The feedback point of the output voltage of the voltage conversion circuit 10 is located on the trace near the voltage output terminal of the voltage conversion circuit 10, while the usage point of the output voltage of the voltage conversion circuit 10 is located on the trace near the voltage input terminal of the electrical device. That is to say, in actual applications, there is a certain distance between the feedback point and the usage point on the trace of the voltage conversion circuit 10. The equivalent impedance formed by this trace distance will cause useless line loss, and the voltage drop caused by useless line loss will cause the final output voltage of the voltage conversion circuit 10 to be unstable. Therefore, a feedback circuit is needed to perform voltage regulation and adjustment to achieve a stable output voltage. The stable output voltage value here is the preset output voltage mentioned above.
[0119] In other words, both the feedforward circuit 201 and the feedback circuit 202 act on the output voltage of the voltage conversion circuit 10. When the input voltage is less than the preset value, the switching circuit 2012 in the feedforward circuit 201 is not turned on, and the sampling resistor 2011 does not sample the input voltage. Therefore, the output voltage of the voltage conversion circuit 10 is still the preset output voltage after being adjusted by the feedback circuit 202.
[0120] When the input voltage is greater than the preset value, the switching circuit 2012 in the feedforward circuit 201 is turned on, and the sampling resistor 2011 samples the input voltage to obtain the sampled voltage. The sampled voltage is then processed to obtain the compensation voltage. The compensation voltage and the preset output voltage are used together as the first voltage and output from the output terminal of the voltage conversion circuit 10.
[0121] Specifically, in conjunction with the aforementioned "voltage regulation + small amplitude ripple" explanation, "voltage regulation" refers to the regulated output voltage after the feedback circuit 202 regulates and adjusts the output voltage of the voltage conversion circuit 10, which is the preset output voltage. "Small amplitude ripple" refers to the compensation voltage generated by the feedforward circuit 201 after passing through the sampling resistor and the switching circuit when the input voltage is greater than the preset value. This compensation voltage acts on the regulated output voltage after voltage regulation and adjustment, which is equivalent to adding a "small amplitude ripple" to the regulated output voltage. As a result, the output voltage of the voltage conversion circuit 10 increases with the increase of the input voltage, that is, when the input voltage Vin increases, the output voltage Vout also increases.
[0122] The following describes the process by which the control circuit 20 obtains a sampled voltage through the sampled resistor and obtains a compensation voltage based on the sampled voltage, using different switching circuits and sampling resistors as specific implementation structures. It also explains how the compensation voltage enables the output voltage of the voltage conversion circuit 10 to increase as the input voltage increases.
[0123] First, the connection pins between the feedback circuit 202 and the voltage conversion circuit 10 mentioned in the previous embodiment will be introduced.
[0124] As mentioned earlier, the voltage conversion circuit 10 and the feedback network 30 are connected via multiple pins. These pins typically include the FB (feedback) pin and the COMP (compensation) pin, where FB is the feedback pin and COMP is the compensation pin. In practical applications, the voltages at the FB and COMP pins are logically opposite to the output voltage of the voltage conversion circuit. Specifically, an increase in the voltage VFB at the FB pin will cause a decrease in the output voltage Vout of the voltage conversion circuit 10, while a decrease in the voltage VCOMP at the COMP pin will cause a decrease in Vout of the voltage conversion circuit 10. Therefore, the logic of FB and COMP is opposite.
[0125] Based on this, in the embodiments of this application, different implementation structures of the control circuit 20 are provided for the FB pin and the COMP pin, respectively.
[0126] like Figure 5 The figure shows a specific implementation structure of a switching circuit and sampling resistor based on the FB pin.
[0127] In this embodiment, the sampling resistor 2011 includes a first resistor R1 and a second resistor R2. The first end of the first resistor R1 is connected to the power supply corresponding to the input voltage. The second end of the first resistor R1 and the first end of the second resistor R2 are both connected to the first end of the switching circuit 2012. The second end of the second resistor R2 and the second end of the switching circuit 2012 are both connected to the output end of the voltage conversion circuit 10. The third end of the switching circuit 2012 is connected to the feedback pin FB of the feedback circuit 202. When the switching circuit 2012 is turned on, the voltage of the second resistor R2 is the compensation voltage.
[0128] Figure 5 In the diagram, the voltage across R2 is the sampling voltage, which can be expressed as (Vin-Vout)*[R2 / (R1+R2)]. Since R2 is connected in parallel with the switching circuit 2012, the voltage across the switching circuit 2012 is also (Vin-Vout)*[R2 / (R1+R2)].
[0129] When the input voltage is less than the preset value, the voltage on R2 (Vin-Vout)*[R1 / (R1+R2)] is less than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned off. In this case, the control circuit 20 will not generate a compensation voltage from the sampled voltage of R2, so the output of the voltage conversion circuit 10 is still the preset output voltage, that is, it maintains a regulated output.
[0130] When the input voltage is greater than the preset value, the voltage on R2 (Vin-Vout)*[R1 / (R1+R2)] is greater than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned on. In this case, the control circuit 20 will perform some calculations on the sampled voltage of R2 to generate a compensation voltage. This compensation voltage and the preset output voltage are output from the output terminal of the voltage conversion circuit 10 to obtain the first voltage.
[0131] like Figure 6 The diagram shows an implementation structure of a switching circuit and sampling resistor based on the COMP pin.
[0132] In this embodiment, the sampling resistor 2011 includes a third resistor R3 and a fourth resistor R4. The first end of the third resistor R3 is connected to the power supply corresponding to the input voltage and the second end of the switching circuit 2012, respectively. The second end of the third resistor R3 and the first end of the fourth resistor R4 are both connected to the first end of the switching circuit 2012. The second end of the fourth resistor R4 is connected to the output end of the voltage conversion circuit 10. The third end of the switching circuit 2012 is connected to the compensation pin COMP of the feedback circuit 202. When the switching circuit 2012 is turned on, the voltage of the third resistor R3 is the compensation voltage.
[0133] Figure 6In the circuit, the voltage across R3 is the sampling voltage, which can be expressed as (Vin-Vout)*[R3 / (R3+R4)]. Since R3 is connected in parallel with the switching circuit 2012, the voltage across the switching circuit 2012 is also (Vin-Vout)*[R3 / (R3+R4)].
[0134] When the input voltage is less than the preset value, the voltage on R3 (Vin-Vout)*[R3 / (R3+R4)] is less than the turn-on voltage of the switching circuit 2012, so the switching circuit 2012 is turned off. In this case, the control circuit 20 will not generate a compensation voltage from the sampled voltage of R3, so the output of the voltage conversion circuit 10 is still the preset output voltage, that is, it maintains a regulated output.
[0135] When the input voltage is greater than the preset value, the voltage on R3 (Vin-Vout)*[R3 / (R3+R4)] is greater than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned on. In this case, the control circuit 20 will perform some calculations on the sampled voltage of R3 to generate a compensation voltage. This compensation voltage and the preset output voltage are output from the output terminal of the voltage conversion circuit 10 to obtain the first voltage.
[0136] Based on the above Figure 5 and Figure 6 Different embodiments are provided for illustration, taking into account the internal structure of the switching circuit 2012 and the internal structure of the feedback circuit 202.
[0137] like Figure 7 As shown, firstly, regarding the case based on the FB pin, in the above... Figure 5 Based on this, an internal implementation structure of a switching circuit 2012 is provided.
[0138] In this embodiment, the switching circuit 2012 is schematically implemented by including a first transistor Q1 and a fifth resistor R5. The sampling resistor 2011 includes a first resistor R1 and a second resistor R2. The first terminal of the first resistor R1 is connected to the input voltage Vin, and the second terminals of both the first resistor R1 and the first terminals of both the first and second resistors R2 are connected to the first terminal of the first transistor Q1 in the switching circuit 2012. The second terminals of the second resistor R2 and the first transistor Q1 are both connected to the output terminal Vout of the voltage conversion circuit 10. The third terminal of the first transistor Q1 is connected to the first terminal of the fifth resistor R5, and the second terminal of the fifth resistor R5 is connected to the feedback pin FB of the feedback circuit 202. When the first transistor Q1 in the switching circuit 2012 is turned on, the voltage across the second resistor R2 is a compensation voltage. Furthermore, the feedback pin FB, the fifth resistor R5, the first transistor Q1, and the output terminal Vout of the voltage conversion circuit 10 form a loop.
[0139] Figure 5In this circuit, the turn-on voltage of Q1 is 0.5V. The voltage across R2 can be expressed as (Vin - Vout) * [R2 / (R1 + R2)]. Since R2 is connected in parallel with Q1, the compensation voltage across Q1 is also (Vin - Vout) * [R2 / (R1 + R2)]. Therefore, when (Vin - Vout) * [R1 / (R1 + R2)] < 0.5V, Q1 is off; when (Vin - Vout) * [R1 / (R1 + R2)] > 0.5V, Q1 is on. After Q1 is on, the current in R5 flows upward, so Q1 conducts the path between R5 and Vout. That is, when the input voltage Vin of the first transistor Q1 is greater than the preset value, the voltage across R2 can be greater than the voltage across Q1 by 0.5V, so Q1 is on, thus opening the path between the third resistor 2022 and the output terminal of the voltage conversion circuit 10.
[0140] Specifically, when the input voltage Vin is less than the preset value, the voltage across R2 = (Vin-Vout)*[R2 / (R1+R2)] < 0.5V, Q1 is turned off, and the current across R5 is 0. This means that no compensation voltage is generated in the control circuit 20, which is equivalent to no compensation effect. For the entire conversion circuit, the output is still regulated in steady state, that is, the output is still the preset output voltage.
[0141] However, if the input voltage Vin is greater than the preset value, the voltage across R2 (Vin-Vout)*R1 / (R1+R5)>0.5V. At this time, Q1 turns on, and the current in R5 flows upward. The larger Vin is, the larger the current in R5. Thus, the current from R5 to Q1 and then to Vout is equivalent to compensating for the current in the path of Vout. Therefore, the voltage at the Vout terminal will increase. The larger Vin is, the greater the voltage rise at the Vout terminal, which makes the output voltage Vout increase with the increase of the input voltage Vin.
[0142] like Figure 8 As shown, in the case based on the FB pin, in the above... Figure 7 Based on this, an internal implementation structure of the feedback circuit 202 is provided. In this embodiment, the switching circuit 2012 further includes a first diode D1.
[0143] Figure 8 In this circuit, the first terminal of the sixth resistor R6 is connected to the output terminal Vout of the voltage conversion circuit 10, the second terminal of the second resistor R2, the cathode of the first diode D1, and the second terminal (e-terminal) of the first transistor Q1. The second terminal of the sixth resistor R6 is connected to the second terminal of the third resistor, the first terminal of the seventh resistor R7, and the FB pin. The second terminal of the seventh resistor R7 is grounded. The FB pin is a feedback pin of the feedback circuit and also a feedback pin of the voltage conversion circuit 10.
[0144] The first diode D1 is used to prevent the first transistor Q1 from being broken down. A diode D1 is connected between the first terminal and the second terminal (between base and emitter) of the first transistor Q1. If, during application, the reverse voltage of the first transistor Q1 is too large due to misoperation, the reverse current will increase rapidly. By connecting the diode D1, the first transistor Q1 can be prevented from being broken down, thereby protecting the stability of the compensation circuit.
[0145] Based on the previous examples, we can see that: if the turn-on voltage of Q1 is 0.5V, the voltage across R2 can be expressed as (Vin-Vout)*[R2 / (R1+R2)]. Since R2 is connected in parallel with Q1, the voltage across Q1 is also (Vin-Vout)*[R2 / (R1+R2)]. Therefore, when (Vin-Vout)*[R1 / (R1+R2)] < 0.5V, Q1 is off; when (Vin-Vout)*[R1 / (R1+R2)] > 0.5V, Q1 is on.
[0146] Therefore, when the input voltage Vin is less than the preset value, the voltage across R2 is (Vin-Vout)*[R2 / (R1+R2)]<0.5V, Q1 is turned off, the current across R5 is 0, and in steady state (Vout-VFB) / R6=VFB / R7, there is no compensation voltage to the output terminal at this time, so the output voltage of Vout is the regulated value = the preset output voltage.
[0147] When the input voltage Vin is greater than the preset value, the voltage across R2 = (Vin - Vout) * [R2 / (R1 + R2)] > 0.5V, Q1 turns on, and the current in R5 flows upward. The larger Vin is, the larger the current in R5. Therefore, in steady state, (Vout - VFB) / R6 = VFB / R7 + I(R5), where Vout = VFB + VR5. This is equivalent to compensating for the voltage corresponding to I(R5) in the steady-state output voltage. Specifically:
[0148] Before compensation: VR6 = R6 * ((Vout - VFB) / R6 = VFB / R7), and after compensation: VR6 = R6 * ((Vout - VFB) / R6 = VFB / R7 + I(R5)). That is, the current in VR6 increases, which increases VR6, and thus the output voltage also increases. This means that the output voltage increases with the increase of the input voltage.
[0149] Optionally, to ensure that there is no noise in the signal, the feedback circuit 202 may also include a filter capacitor. In a specific implementation, the first end of the filter capacitor may be connected to the feedback pin FB, and the second end of the filter capacitor may be grounded. The filter capacitor can filter out high-frequency signals in the output signal of the feedback pin FB.
[0150] After adding a filter capacitor, since the function of a capacitor is to pass AC and block DC, its impedance to current is related to the frequency of the current; the higher the frequency, the lower the impedance. Therefore, when a first filter capacitor is connected in parallel, the high-frequency signal will form a loop through the filter capacitor with very low impedance. When the filter capacitor is large enough, the impedance to this frequency is very small, which is equivalent to a short circuit. Therefore, the signal at this frequency cannot be transmitted to the subsequent circuits. For the subsequent circuits, the high-frequency signal is gone and has been filtered out, ensuring that there is no high-frequency signal in the output signal of the feedback pin FB.
[0151] like Figure 9 As shown, in the case based on the COMP pin, in the above... Figure 6 Based on this, an internal implementation structure of a switching circuit 2012 is provided.
[0152] In this embodiment, the switching circuit 2012 is schematically implemented by including a second transistor Q2 and an eighth resistor R8. The first terminal of the third resistor R3 is connected to the input voltage Vin and the second terminal (e) of the second transistor Q2. The second terminal of the third resistor R3 and the first terminal of the fourth resistor R4 are both connected to the first terminal (b) of the second transistor Q2. The second terminal of the fourth resistor R4 is connected to the output terminal Vout of the voltage conversion circuit 10. The third terminal (c) of the second transistor Q2 is connected to the first terminal of the eighth resistor R8. The second terminal of the eighth resistor R8 is connected to the compensation pin COMP of the feedback circuit 202. When the second transistor Q2 in the switching circuit 2012 is turned on, the voltage across the fourth resistor R4 is the compensation voltage. A loop is formed from the second transistor Q2 to the eighth resistor R8, to the compensation pin COMP, and then to the output terminal Vout of the voltage conversion circuit 10.
[0153] Figure 9 In the diagram, let the turn-on voltage of Q2 be 0.5V. The voltage across R3 can be expressed as (Vin - Vout) * [R3 / (R3 + R4)]. Since R3 is connected in parallel with Q2, the voltage across Q2 is also (Vin - Vout) * [R3 / (R3 + R4)]. Therefore, when (Vin - Vout) * [R3 / (R3 + R4)] < 0.5V, Q2 is off; when (Vin - Vout) * [R3 / (R3 + R4)] > 0.5V, Q2 is on.
[0154] After Q2 is turned on, the current in R8 flows downward. Therefore, Q2 conducts the path from Q2 to R8 to the compensation pin to Vout. In other words, the second transistor Q2 is used to conduct the path between the eighth resistor R8 and the output terminal of the voltage conversion circuit 10 when the input voltage Vin is greater than the preset value.
[0155] Specifically, when the input voltage Vin is less than the preset value, the voltage across R3 = (Vin-Vout)*[R3 / (R3+R4)] < 0.5V, Q2 is turned off, and the current across R8 is 0. This means that no compensation voltage is generated in the control circuit 20, which is equivalent to no compensation effect. For the entire conversion circuit, the output is still regulated in steady state, that is, the output is still the preset output voltage.
[0156] However, the input voltage Vin is greater than the preset value, and the voltage across R3 (Vin-Vout)*[R3 / (R3+R4)]>0.5V. At this time, Q2 is turned on, and the current in R8 is upward. The larger Vin is, the larger the current in R8 is. Thus, current flows from Q2 to R8, then to the COMP node, and finally to Vout. The voltage at the COMP node tends to increase, which is equivalent to compensating for the current in the path of Vout. Therefore, the voltage at Vout will increase. The larger Vin is, the more the voltage at Vout will increase, thus causing the output voltage Vout to increase with the increase of the input voltage Vin.
[0157] like Figure 10 As shown, in the case based on the COMP pin, in the above... Figure 9 Based on this, an internal implementation structure of the feedback circuit 202 is provided. In this embodiment, the switching circuit 2012 further includes a second diode D2.
[0158] In this embodiment, the feedback circuit 202 is illustrated by including the ninth resistor R9 and the tenth resistor R10. Meanwhile, the switching circuit 2012 also includes the second diode D2.
[0159] Among them, the first end of the ninth resistor R9 is connected to the output terminal Vout of the voltage conversion circuit 10 and the second end of the fourth resistor R4 respectively; the second end of the ninth resistor R9 is connected to the first end of the tenth resistor R10 and the FB pin respectively; the second end of the tenth resistor R10 is grounded.
[0160] The second diode D2 is used to prevent the second transistor Q2 from being broken down. A diode D2 is connected between the first and second terminals (be and base) of the second transistor Q2. If, during application, a misoperation causes an excessively large reverse voltage in the second transistor Q2, the reverse current will increase rapidly. Connecting diode D2 prevents the second transistor Q2 from being broken down, thus protecting the stability of the compensation circuit.
[0161] Based on the previous examples, we know that if the turn-on voltage of Q2 is 0.5V, the voltage across R3 can be expressed as (Vin - Vout) * [R3 / (R3 + R4)]. Since R3 is connected in parallel with Q2, the voltage across Q2 is also (Vin - Vout) * [R3 / (R3 + R4)]. Therefore, when (Vin - Vout) * [R3 / (R3 + R4)] < 0.5V, Q2 is off; when (Vin - Vout) * [R3 / (R3 + R4)] > 0.5V, Q2 is on.
[0162] Therefore, when the input voltage Vin is less than the preset value, the voltage across R3 is (Vin-Vout)*[R3 / (R3+R4)]<0.5V, Q2 is turned off, the current across R8 is 0, and in steady state (Vout-VFB) / R9=VFB / R10. At this time, there is no compensation voltage to the output terminal, so the output voltage of Vout is the regulated value = the preset output voltage.
[0163] When the input voltage Vin is greater than the preset value, the voltage across R3 = (Vin - Vout) * [R3 / (R3 + R4)] > 0.5V, Q2 turns on, and the current in R8 flows upward. The larger Vin is, the larger the current in R8. Therefore, in steady state, (Vout - VFB) / R9 = VFB / R10 + I(R3), where Vout = VFB + VR9. This is equivalent to compensating for the voltage corresponding to I(R8) in the steady-state output voltage. Specifically:
[0164] Before compensation: VR9 = R9 * ((Vout - VFB) / R9 = VFB / R10), and after compensation: VR9 = R9 * ((Vout - VFB) / R9 = VFB / R10 + I(R8)). That is, the current in VR9 increases, which increases VR9, and thus the output voltage also increases. This means that the output voltage increases with the increase of the input voltage.
[0165] Similarly, in the case of the COMP pin, in order to ensure that there is no noise in the signal, the feedback circuit 202 can also include a filter capacitor. The specific implementation method is the same as that in the case of the FB pin, and will not be described again here.
[0166] It should be noted that in the above embodiments, the first transistor Q1 and the second transistor Q2 are NPN transistors. In practical applications, the first transistor Q1 and the second transistor Q2 described in the above embodiments are only illustrative. Optionally, the first transistor Q1 and the second transistor Q2 can also be implemented as discrete devices such as bipolar junction transistors (BJTs), MOSFETs, and operational amplifiers (OPAs). This application does not limit this.
[0167] In the description of the increase in output voltage Vout of the voltage conversion circuit 10 as the input voltage Vin increases, the provided embodiments of the conversion circuit are all described with the voltage conversion circuit and the control circuit connected together. However, it should be noted that in one embodiment, the voltage conversion circuit and the control circuit can be integrated. That is, in the actual product implementation, the control circuit can be integrated into the voltage conversion circuit. In this way, integrating the control circuit into the voltage conversion circuit saves a lot of wiring space and the space occupied by additional components, which can greatly reduce the size of the final conversion circuit product.
[0168] The preceding embodiment described how the output voltage Vout of the voltage conversion circuit 10 increases as the input voltage Vin increases. The following description describes how the output voltage Vout of the voltage conversion circuit 10 decreases as the input voltage Vin decreases.
[0169] Please refer to the above. Figure 2 As shown, in one embodiment, this application provides a conversion circuit 01, which includes: a voltage conversion circuit 10 for converting an input voltage and outputting it; and a control circuit 20 for controlling the output voltage of the voltage conversion circuit to a preset output voltage when the input voltage is greater than a preset value, and controlling the output voltage of the voltage conversion circuit to a second voltage lower than the preset output voltage when the input voltage is less than the preset value.
[0170] In response to the situation where the input voltage of the voltage conversion circuit 10 decreases, if the input voltage of the voltage conversion circuit 10 is less than the preset voltage value, the output voltage of the voltage conversion circuit 10 can be negatively compensated, so that the output voltage of the voltage conversion circuit 10 decreases as the input voltage decreases.
[0171] Specifically, after the voltage conversion circuit 10 converts the input voltage Vin to output voltage Vout, the control circuit 20 controls the output voltage Vout to a preset output voltage Vout_S1 when the input voltage Vin is greater than a preset value; and controls the output voltage Vout to a second voltage Vout_m1, which is lower than the preset output voltage Vout_S1, when the input voltage Vin is less than the preset value. For the case where the input voltage Vin equals the preset value, this is a critical situation. The case where the input voltage Vin equals the preset value can be classified as a scenario where the input voltage Vin is greater than the preset value, i.e., when the input voltage Vin equals the preset value, the control circuit 20 controls the output voltage Vout to a preset output voltage Vout_S. Alternatively, the case where the input voltage Vin equals the preset value can be classified as a scenario where the input voltage Vin is less than the preset value, i.e., when the input voltage Vin equals the preset value, the control circuit 20 controls the output voltage Vout to a first voltage Vout_m, which is higher than or lower than the preset output voltage Vout_S.
[0172] It should be noted that in the subsequent embodiments involving the distinction between sizes, the critical cases of equality can be classified into the greater than scenario and processed in the manner of the greater than scenario. Alternatively, the critical cases of equality can be classified into the less than scenario and processed in the manner of the less than scenario. This application will not elaborate further.
[0173] The preset value is a value set according to the actual situation. For example, the preset value can be a fixed voltage value set in advance, the voltage value corresponding to the highest point of the input voltage, or a value determined according to the DC component of the input voltage. The specific method of determining the preset value is not limited in the embodiments of this application.
[0174] In one embodiment, the preset value is determined based on the output power of the voltage conversion circuit 10 and the output current of the pre-stage circuit of the conversion circuit 01.
[0175] That is, when setting the preset value, the output power of the voltage conversion circuit 10 and the output current of the pre-stage circuit of the conversion circuit 01 should be considered together.
[0176] For example, in the process of controlling the output current of the voltage conversion circuit 10 according to the input voltage, the output power of the voltage conversion circuit 10 needs to be considered. When the input voltage of the voltage conversion circuit 10 is less than the preset value, the output current of the voltage conversion circuit 10 is controlled to follow the input voltage. When the input voltage of the voltage conversion circuit 10 is greater than the preset value, the voltage conversion circuit 10 is controlled to maintain constant current output.
[0177] At this point, the voltage conversion circuit 10 has its maximum output power when it outputs a constant current. Therefore, the selected preset value must satisfy the condition that the voltage conversion circuit 10 can achieve its maximum output power as the output current changes with the input voltage. For example, the preset value could be the voltage value corresponding to the maximum output power of the voltage conversion circuit 10.
[0178] Furthermore, in practical applications, the current that the pre-amplifier circuit of conversion circuit 01 can withstand is also limited. Naturally, the output voltage of the pre-amplifier circuit of conversion circuit 01 will also be limited, and the output voltage of the pre-amplifier circuit is the input voltage of voltage conversion circuit 10. Therefore, when selecting the preset value, the output voltage of the pre-amplifier circuit of conversion circuit 01 needs to be considered to ensure that the output current of voltage conversion circuit 10 follows the input voltage. For example, the selected preset value can be any voltage value within the range of variation of the output voltage of the pre-amplifier circuit. Considering the output voltage of the pre-amplifier circuit in this way is equivalent to considering the output current of the pre-amplifier circuit of conversion circuit 01.
[0179] Of course, in some scenarios, when setting the preset value, it is not necessary to consider both the output power of the voltage conversion circuit 10 and the output current of the pre-stage circuit of the conversion circuit 01. Only one of them can be considered as a factor, as long as the preset value meets the requirements. This application embodiment does not limit this.
[0180] Based on the above preset values, this means that when the input voltage Vin is greater than the preset value, the voltage output by the voltage conversion circuit 10 is a fixed voltage Vout_S1, that is, it maintains a regulated output; while when the input voltage Vin is less than the preset value, the voltage output by the voltage conversion circuit 10 is Vout_m1, and Vout_m1 is less than Vout_S1.
[0181] The preset output voltage can be a fixed voltage value output by the voltage conversion circuit 10. This fixed voltage value can be determined based on the input voltage value, or it can be set as a preset output voltage according to actual needs. For example, if the input voltage Vin is 9V, the preset output voltage can be a fixed voltage of 5V.
[0182] Optionally, the preset output voltage is the product of the input voltage and a coefficient. This coefficient can be a preset scaling factor. For example, if the scaling factor is 0.5, then if the input voltage is 9V, the preset output voltage is 4.5V.
[0183] like Figure 11As shown, specific data will be used for explanation. For example, if the preset value is 9V and the current input voltage Vin is 9V, meaning the input voltage is greater than the preset value of 9V, the output voltage of the voltage conversion circuit 10 is the preset output voltage of 5V, which is a fixed value. However, if the current input voltage is A1, where A is less than 9V, meaning the input voltage is less than the preset value of 9V, then the output voltage of the voltage conversion circuit 10 is a second voltage B1, which is less than the preset output voltage of 5V. It is understood that A1 is merely a designation indicating that the input voltage is less than 9V; for different A1 values, the corresponding second voltage may also be different. For example, when A1 is 8.9V, the first voltage is 4.8V; if A is 8.8V, the first voltage is 4.5V. This application embodiment does not limit the specific values of the preset value, the preset output voltage, or the first voltage.
[0184] The conversion circuit in this application includes a voltage conversion circuit and a control circuit. The voltage conversion circuit converts the input voltage and outputs a new voltage. When the input voltage is greater than a preset value, the control circuit controls the output voltage of the voltage conversion circuit to a preset output voltage; when the input voltage is less than the preset value, the control circuit controls the output voltage of the voltage conversion circuit to a second voltage lower than the preset output voltage. Thus, when the input voltage is greater than the preset value, a stable voltage output is maintained at the preset output voltage; when the input voltage Vin is less than the preset value, the output voltage is controlled to be a second voltage lower than the preset output voltage. In other words, the final output voltage of the voltage conversion circuit is reduced from the original regulated output voltage, thereby achieving a situation where the output voltage of the voltage conversion circuit decreases as the input voltage decreases, making the output voltage change accordingly with the change in input voltage.
[0185] An embodiment for determining the preset value in the above embodiments is provided for illustration. This embodiment includes: detecting the input voltage of the voltage conversion circuit at a preset frequency; the preset frequency is less than a preset frequency threshold; and taking the maximum value of the input voltage detected within the period corresponding to the preset frequency as the preset value.
[0186] The preset frequency is used to detect the lowest point of the input voltage within a certain period. In order to ensure that the lowest point can be detected, the preset frequency is set as low as possible. For example, the preset frequency can be 1Hz, that is, the input voltage Vin of the voltage conversion circuit is detected once every 1 second.
[0187] For example, every 1 second, the input voltage Vin of the voltage conversion circuit 10 is detected. When a corresponding maximum value Vin_max is detected, in one way, Vin_max can be continuously determined as a preset value; in another way, the maximum value of the input voltage detected in each cycle corresponding to the preset frequency is taken as the preset value in the corresponding cycle. The preset value in each cycle may be different, that is, the preset value can change with the change of the input voltage.
[0188] In this embodiment, the input voltage of the voltage conversion circuit is detected at a preset frequency. Since the preset frequency is less than the preset frequency threshold, the highest point of the input voltage of the voltage conversion circuit can be detected more accurately.
[0189] Based on the above embodiments, the method for determining the second voltage will be explained below through embodiments.
[0190] In one embodiment, the second voltage is the difference between a preset output voltage and a compensation voltage, wherein the compensation voltage is related to the input voltage.
[0191] When the input voltage is greater than a preset value, the output voltage of the voltage conversion circuit 10 is a second voltage, which can be the difference between the preset output voltage and a compensation voltage.
[0192] By subtracting a compensation voltage from the preset output voltage to obtain the second voltage, which is the final output voltage value of the voltage conversion circuit after the input voltage decreases, the final output voltage of the voltage conversion circuit decreases as the input voltage decreases.
[0193] Based on the above embodiments, in one embodiment of this application, the above process will be described using the example that the input voltage Vin in the voltage conversion circuit 10 includes a DC component Vin_dc and an AC component Vin_ac.
[0194] Specifically, for the input voltage Vin, the highest point of the input voltage Vin is detected at a preset low frequency, for example, the detection frequency is 1Hz, that is, every 1 second, the value of the highest point of Vin is updated as Vin_dc, that is, Vin_dc is the above preset value, and the part Vin_ac less than Vin_dc is regarded as the AC component Vin_ac of Vin, Vin_ac = Vin - Vin_dc.
[0195] When the input voltage Vin is lower than Vin_dc, Vin_dc is subtracted from Vin to obtain Vin_ac. Vin_ac is then reduced to obtain the compensation voltage Vout_ac. For example, Vin_ac is proportionally reduced to Vout_ac. This compensation voltage Vout_ac is then subtracted from the preset output voltage Vout_dc of the voltage conversion circuit 10, so that the final output voltage of the voltage conversion circuit 10 is Vout = Vout_dc - Vout_ac.
[0196] When the input voltage Vin has only a DC component Vin_dc, the AC component Vin_ac does not exist. Therefore, there is no Vout_ac obtained by proportionally reducing Vin_ac. So the final output voltage Vout of the voltage conversion circuit 10 is equal to Vout_dc.
[0197] However, when the input voltage has an AC component Vin_ac, the AC component Vin_ac of Vin exists, and naturally there is also Vout_ac, which is obtained by proportionally reducing Vin_ac. The final output voltage of the voltage conversion circuit 10 is Vout = Vout_dc - Vout_ac. That is, the final output voltage Vout of the voltage conversion circuit 10 is the preset output voltage Vout_dc minus the AC component Vout_ac.
[0198] In one embodiment, the compensation voltage can be a preset fixed voltage value. For example, the range greater than the input voltage can be divided into levels, and a fixed compensation voltage can be set for each level. Specifically, assuming that a range greater than 0.5V is a level, and the preset value is 9V, then if the input voltage is between 8.5V and 9V, the compensation voltage is set to a fixed voltage value x1; if the input voltage is between 7V and 8.5V, the compensation voltage is set to a fixed voltage value x2, and so on, setting corresponding fixed compensation voltages for different levels of input voltage.
[0199] In another embodiment, a mapping table can be pre-established based on big data. This mapping table stores different compensation voltage values corresponding to different input voltage values. For example, 8.9V corresponds to a compensation voltage X1, 8.8V corresponds to a compensation voltage X2, and so on. In application, the compensation voltage value corresponding to the current input voltage is directly queried from this mapping table, and then the difference between the queried compensation voltage value and the preset output voltage is determined as the second voltage.
[0200] In another embodiment, the compensation voltage is obtained by reducing the difference between the input voltage and a preset value.
[0201] The difference between the input voltage and the preset value represents the reduction in the current input voltage. Based on this reduction, a voltage value can be obtained by performing some calculations to reduce it as a compensation voltage.
[0202] For example, the difference between the input voltage and the preset value can be transformed using a preset algorithm model. That is, the difference between the input voltage and the preset value is input into the preset algorithm model, and the output voltage value after being reduced by the algorithm model is determined as the compensation voltage. Alternatively, a device such as an operational amplifier can be used to reduce the difference between the input voltage and the preset value to obtain the compensation voltage value. Or, the difference between the input voltage and the preset value can be reduced according to a preset scaling factor to obtain the compensation voltage value. Or, in some embodiments, a preset change amount can be set, and the difference between the input voltage and the preset value can be further subtracted from the change amount to obtain the compensation voltage value.
[0203] The compensation voltage value is obtained by reducing the difference between the input voltage and the preset value. This reduction calculation, based on the difference between the input voltage and the preset value, allows for adjustments according to actual needs, resulting in more accurate compensation of the output voltage of the voltage conversion circuit. Furthermore, it avoids over-reduction, thus protecting the voltage conversion circuit.
[0204] In one embodiment, the compensation voltage can also be implemented through a circuit structure. The control circuit 20 samples the input voltage to obtain a sampled voltage, and performs calculations on the sampled voltage to obtain the compensation voltage. Optionally, the control circuit 20 can compare the sampled voltage with a preset value, and when the sampled voltage is greater than the preset value, perform calculations on the sampled voltage to obtain the compensation voltage.
[0205] As mentioned above Figure 4 Taking the internal structure of the control circuit shown as an example, the control circuit 20 includes a feedforward circuit 201 and a feedback circuit 202. The feedforward circuit 201 includes a switching circuit 2011 and a sampling resistor 2012. The switching circuit 2011 is turned on when the input voltage is less than a preset value, so as to sample the input voltage through the sampling resistor and obtain the compensation voltage.
[0206] The control circuit 20 can sample the input voltage by setting a sampling resistor. For example, a switch circuit 2011 and a sampling resistor 2012 can be set in the control circuit 20. When the input voltage is less than the preset value, the switch circuit 2011 is turned on, and the input voltage enters the sampling resistor 2012 through the switch circuit 2011. The sampling resistor 2012 will sample the input voltage to obtain the sampled voltage.
[0207] Based on the sampled voltage, the control circuit 20 can compare the sampled voltage with a preset value. If the sampled voltage is less than the preset value, a compensation voltage can be obtained by performing calculations based on the sampled voltage. For example, the calculation of the sampled voltage can be a reduction operation to obtain the compensation voltage. The degree of reduction operation is related to the size, number, and connection method of the selected sampling resistors, which are not listed in detail in this embodiment.
[0208] The feedback circuit 201 generates a feedback signal based on the output voltage of the voltage conversion circuit 10; the feedback signal is used to indicate the adjustment of the output voltage of the voltage conversion circuit 10 to obtain a preset output voltage.
[0209] Please continue reading Figure 4 The first terminal of the feedforward circuit 201 is connected to the input voltage Vin. The second terminal of the feedforward circuit 201 is connected between the voltage conversion circuit 10 and the feedback circuit 202. The first terminal of the voltage conversion circuit 10 is also connected to Vin. The second terminal and the output terminal Vout of the voltage conversion circuit 10 are both connected to the feedback circuit 202. It should be noted that in practical applications, the second terminal of the voltage conversion circuit 10 may include multiple connection pins, all of which are connected to the feedback circuit 202. The feedback circuit 202 and the voltage conversion circuit 10 are connected in a closed loop, meaning that the input and output of the feedback circuit 202 are both connected to the voltage conversion circuit 10 through these multiple connection pins.
[0210] For example, in one scenario, the voltage conversion circuit 10 converts the input voltage to a voltage level to obtain an output voltage, which is to be output to the electrical device. The feedback point of the output voltage of the voltage conversion circuit 10 is located on the trace near the voltage output terminal of the voltage conversion circuit 10, while the usage point of the output voltage of the voltage conversion circuit 10 is located on the trace near the voltage input terminal of the electrical device. That is to say, in actual applications, there is a certain distance between the feedback point and the usage point on the trace of the voltage conversion circuit 10. The equivalent impedance formed by this trace distance will cause useless line loss, and the voltage drop caused by useless line loss will cause the final output voltage of the voltage conversion circuit 10 to be unstable. Therefore, a feedback circuit is needed to perform voltage regulation and adjustment to achieve a stable output voltage. The stable output voltage value here is the preset output voltage mentioned above.
[0211] In other words, both the feedforward circuit 201 and the feedback circuit 202 act on the output voltage of the voltage conversion circuit 10. When the input voltage is greater than the preset value, the switching circuit 2012 in the feedforward circuit 201 is not turned on, and the sampling resistor 2011 does not sample the input voltage. Therefore, the output voltage of the voltage conversion circuit 10 is still the preset output voltage after being adjusted by the feedback circuit 202.
[0212] When the input voltage is less than the preset value, the switching circuit 2012 in the feedforward circuit 201 is turned on, and the sampling resistor 2011 samples the input voltage to obtain a sampled voltage. This sampled voltage is then processed to obtain a compensation voltage. The difference between the preset output voltage and the compensation voltage is used as the second voltage and output from the output terminal of the voltage conversion circuit 10. This causes the output voltage of the voltage conversion circuit 10 to decrease as the input voltage decreases; that is, as the input voltage Vin decreases, the output voltage Vout also decreases.
[0213] The following describes the process by which the control circuit 20 obtains a sampled voltage through the sampled resistor and obtains a compensation voltage based on the sampled voltage, using different switching circuits and sampling resistors as specific implementation structures. It also explains how the compensation voltage enables the output voltage of the voltage conversion circuit 10 to decrease as the input voltage decreases.
[0214] The description of the connection pins between the feedback circuit 202 and the voltage conversion circuit 10 can be found in the description of the foregoing embodiments, and will not be repeated here. That is, in the embodiments of this application, when describing the process of the output voltage of the voltage conversion circuit 10 decreasing as the input voltage decreases, different implementation structures of the control circuit 20 are still provided for the FB pin and the COMP pin respectively.
[0215] The specific implementation structure of the switching circuit and sampling resistor based on the FB pin is the same as described above. Figure 5 The implementation structure shown is the same as the schematic diagram, the difference being that the control circuit calculates the compensation voltage by analyzing the sampled voltage on R2 under different conditions. This compensation is the same as... Figure 5 The compensation directions in the embodiment are opposite, thus achieving the effect of reducing the final output voltage of the voltage conversion circuit 10.
[0216] Please continue reading Figure 5 The structural diagram shows that in this embodiment, the voltage across R2 is the sampling voltage, which can be expressed as (Vin-Vout)*[R2 / (R1+R2)]. Since R2 is connected in parallel with the switching circuit 2012, the voltage across the switching circuit 2012 is also (Vin-Vout)*[R2 / (R1+R2)].
[0217] When the input voltage is greater than the preset value, the voltage on R2 (Vin-Vout)*[R1 / (R1+R2)] is less than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned off. In this case, the control circuit 20 will not generate a compensation voltage from the sampled voltage of R2, so the output of the voltage conversion circuit 10 is still the preset output voltage, that is, it maintains a regulated output.
[0218] When the input voltage is less than the preset value, the voltage on R2 (Vin-Vout)*[R1 / (R1+R2)] is greater than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned on. In this case, the control circuit 20 will perform some calculations on the sampled voltage of R2 to generate a compensation voltage. This compensation voltage and the preset output voltage are output from the output terminal of the voltage conversion circuit 10 to obtain the first voltage.
[0219] Similarly, the specific implementation structure of the switching circuit and sampling resistor based on the COMP pin is the same as described above. Figure 6 The implementation structure shown is the same, the difference being that the control circuit calculates the compensation voltage by measuring the sampled voltage on R3 under different conditions. This compensation is the same as... Figure 6 The compensation directions in the embodiment are opposite, thus achieving the effect of reducing the final output voltage of the voltage conversion circuit 10.
[0220] Please continue reading Figure 6 The structural diagram shows that in this embodiment, the voltage across R3 is the sampling voltage, which can be expressed as (Vin-Vout)*[R3 / (R3+R4)]. Since R3 is connected in parallel with the switching circuit 2012, the voltage across the switching circuit 2012 is also (Vin-Vout)*[R3 / (R3+R4)].
[0221] When the input voltage is greater than the preset value, the voltage on R3 (Vin-Vout)*[R3 / (R3+R4)] is less than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned off. In this case, the control circuit 20 will not generate a compensation voltage from the sampled voltage of R3, so the output of the voltage conversion circuit 10 is still the preset output voltage, that is, it maintains a regulated output.
[0222] When the input voltage is less than the preset value, the voltage on R3 (Vin-Vout)*[R3 / (R3+R4)] is greater than the conduction voltage of the switching circuit 2012, so the switching circuit 2012 is turned on. In this case, the control circuit 20 will perform some calculations on the sampled voltage of R3 to generate a compensation voltage. This compensation voltage and the preset output voltage are output from the output terminal of the voltage conversion circuit 10 to obtain the first voltage.
[0223] Based on the above Figure 5 and Figure 6 Different embodiments are provided for illustration, taking into account the internal structure of the switching circuit 2012 and the internal structure of the feedback circuit 202.
[0224] like Figure 12 As shown, firstly, regarding the case based on the FB pin, in the above... Figure 5 Based on this, an internal implementation structure of a switching circuit 2012 is provided.
[0225] In this embodiment, the switching circuit 2012 is schematically implemented with a third transistor Q3 and a fifth resistor R5. The sampling resistor 2011 includes a first resistor R1 and a second resistor R2. The first terminal of the first resistor R1 is connected to the input voltage Vin, and the second terminals of both the first and second resistors R2 are connected to the first terminal of the third transistor Q3 in the switching circuit 2012. The second terminals of both the second resistor R2 and the third transistor Q3 are connected to the output terminal Vout of the voltage conversion circuit 10. The third terminal of the third transistor Q3 is connected to the first terminal of the fifth resistor R5, and the second terminal of the fifth resistor R5 is connected to the feedback pin FB of the feedback circuit 202. When the third transistor Q3 in the switching circuit 2012 is turned on, the voltage across the second resistor R2 is the compensation voltage. Furthermore, the feedback pin FB, the fifth resistor R5, the third transistor Q3, and the output terminal Vout of the voltage conversion circuit 10 form a loop.
[0226] Figure 5 In the circuit, the turn-on voltage of Q3 is 0.5V. The voltage across R2 can be expressed as (Vin - Vout) * [R2 / (R1 + R2)]. Since R2 is connected in parallel with Q3, the compensation voltage across Q3 is also (Vin - Vout) * [R2 / (R1 + R2)]. Therefore, when (Vin - Vout) * [R1 / (R1 + R2)] < 0.5V, Q3 is off; when (Vin - Vout) * [R1 / (R1 + R2)] > 0.5V, Q3 is on. After Q3 is on, the current across R5 flows downwards, so Q3 conducts the path between R5 and Vout. That is, when the input voltage Vin is less than a preset value, the voltage across R2 can make the voltage across Q3 greater than the turn-on voltage of 0.5V, so Q3 is on, thus opening the path between the third resistor 2022 and the output terminal of the voltage conversion circuit 10.
[0227] Specifically, when the input voltage Vin is greater than the preset value, the voltage across R2 = (Vin-Vout)*[R2 / (R1+R2)] < 0.5V, Q3 is turned off, and the current across R5 is 0. This means that no compensation voltage is generated in the control circuit 20, which is equivalent to no compensation effect. For the entire conversion circuit, the output is still regulated in steady state, that is, the output is still the preset output voltage.
[0228] However, if the input voltage Vin is less than the preset value, the voltage across R2 (Vin-Vout)*R1 / (R1+R5)>0.5V. At this time, Q3 is turned on, and the current in R5 is downward. The smaller Vin is, the larger the current in R5. Thus, from R5 to Q3 and then to Vout, it is equivalent to negatively compensating for the current in the path of Vout. Therefore, the voltage at the Vout terminal will decrease. The smaller Vin is, the smaller the voltage at the Vout terminal will decrease. As a result, the output voltage Vout decreases as the input voltage Vin decreases.
[0229] like Figure 13 As shown, in the case based on the FB pin, in the above... Figure 12 Based on this, an internal implementation structure of the feedback circuit 202 is provided. In this embodiment, the switching circuit 2012 further includes a first diode D1.
[0230] Figure 13 In this circuit, the first terminal of the sixth resistor R6 is connected to the output terminal Vout of the voltage conversion circuit 10, the second terminal of the second resistor R2, the positive terminal of the first diode D1, and the second terminal (e-terminal) of the first transistor Q3. The second terminal of the sixth resistor R6 is connected to the second terminal of the third resistor, the first terminal of the seventh resistor R7, and the FB pin. The second terminal of the seventh resistor R7 is grounded. The FB pin is a feedback pin of the feedback circuit and also a feedback pin of the voltage conversion circuit 10.
[0231] The first diode D1 is used to prevent the first transistor Q3 from being broken down. A diode D1 is connected between the first terminal and the second terminal (between base and emitter) of the first transistor Q3. If, during application, the reverse voltage of the first transistor Q3 is too large due to misoperation, the reverse current will increase rapidly. By connecting the diode D1, the first transistor Q3 can be prevented from being broken down, thereby protecting the stability of the compensation circuit.
[0232] Based on the previous examples, we know that if the turn-on voltage of Q3 is 0.5V, the voltage across R2 can be expressed as (Vin-Vout)*[R2 / (R1+R2)]. Since R2 is connected in parallel with Q3, the voltage across Q3 is also (Vin-Vout)*[R2 / (R1+R2)]. Therefore, when (Vin-Vout)*[R1 / (R1+R2)] < 0.5V, Q3 is off; when (Vin-Vout)*[R1 / (R1+R2)] > 0.5V, Q3 is on.
[0233] Therefore, when the input voltage Vin is greater than the preset value, the voltage across R2 is (Vin-Vout)*[R2 / (R1+R2)]<0.5V, Q3 is turned off, the current across R5 is 0, and in steady state (Vout-VFB) / R6=VFB / R7, there is no compensation voltage to the output terminal at this time, so the output voltage of Vout is the regulated value = the preset output voltage.
[0234] When the input voltage Vin is less than the preset value, the voltage across R2 = (Vin - Vout) * [R2 / (R1 + R2)] > 0.5V, Q3 turns on, and the current in R5 flows downwards. The smaller Vin is, the larger the current in R5. Therefore, in steady state, (Vout - VFB) / R6 = VFB / R7 - I(R5), where Vout = VFB - VR5. This is equivalent to negatively compensating for the voltage corresponding to I(R5) in the steady-state output voltage. Specifically:
[0235] Before compensation: VR6 = R6 * ((Vout - VFB) / R6 = VFB / R7), while after negative compensation: VR6 = R6 * ((Vout - VFB) / R6 = VFB / R7 - I(R5)), thus reducing the output voltage, which means that the output voltage decreases as the input voltage decreases.
[0236] Optionally, to ensure that there is no noise in the signal, the feedback circuit 202 may also include a filter capacitor. In a specific implementation, the first end of the filter capacitor may be connected to the feedback pin FB, and the second end of the filter capacitor may be grounded. The filter capacitor can filter out high-frequency signals in the output signal of the feedback pin FB.
[0237] After adding a filter capacitor, since the function of a capacitor is to pass AC and block DC, its impedance to current is related to the frequency of the current; the higher the frequency, the lower the impedance. Therefore, when a first filter capacitor is connected in parallel, the high-frequency signal will form a loop through the filter capacitor with very low impedance. When the filter capacitor is large enough, the impedance to this frequency is very small, which is equivalent to a short circuit. Therefore, the signal at this frequency cannot be transmitted to the subsequent circuits. For the subsequent circuits, the high-frequency signal is gone and has been filtered out, ensuring that there is no high-frequency signal in the output signal of the feedback pin FB.
[0238] like Figure 14 As shown, in the case based on the COMP pin, in the above... Figure 6 Based on this, an internal implementation structure of a switching circuit 2012 is provided.
[0239] In this embodiment, the switching circuit 2012 is schematically implemented by including a fourth transistor Q4 and an eighth resistor R8. The first terminal of the third resistor R3 is connected to the input voltage Vin and the second terminal (e-pole) of the fourth transistor Q4. Both the second terminal of the third resistor R3 and the first terminal of the fourth resistor R4 are connected to the first terminal (b-pole) of the fourth transistor Q4. The second terminal of the fourth resistor R4 is connected to the output terminal Vout of the voltage conversion circuit 10. The third terminal (c-pole) of the fourth transistor Q4 is connected to the first terminal of the eighth resistor R8. The second terminal of the eighth resistor R8 is connected to the compensation pin COMP of the feedback circuit 202. When the fourth transistor Q4 in the switching circuit 2012 is turned on, the voltage across the fourth resistor R4 is the compensation voltage. A loop is formed from the fourth transistor Q4 to the eighth resistor R8, to the compensation pin COMP, and then to the output terminal Vout of the voltage conversion circuit 10.
[0240] Figure 7 In the diagram, let the turn-on voltage of Q4 be 0.5V. The voltage across R3 can be expressed as (Vin - Vout) * [R3 / (R3 + R4)]. Since R3 is connected in parallel with Q4, the voltage across Q4 is also (Vin - Vout) * [R3 / (R3 + R4)]. Therefore, when (Vin - Vout) * [R3 / (R3 + R4)] < 0.5V, Q4 is off; when (Vin - Vout) * [R3 / (R3 + R4)] > 0.5V, Q4 is on.
[0241] After Q4 is turned on, the current in R8 flows upward. Therefore, Q4 conducts the path from Q4 to R8 to the compensation pin to Vout. In other words, the fourth transistor Q4 is used to conduct the path between the eighth resistor R8 and the output terminal of the voltage conversion circuit 10 when the input voltage Vin is less than the preset value.
[0242] Specifically, when the input voltage Vin is greater than the preset value, the voltage across R3 = (Vin-Vout)*[R3 / (R3+R4)] < 0.5V, Q4 is turned off, and the current across R8 is 0. This means that no compensation voltage is generated in the control circuit 20, which is equivalent to no compensation effect. For the entire conversion circuit, the output is still regulated in steady state, that is, the output is still the preset output voltage.
[0243] However, the input voltage Vin is less than the preset value, and the voltage across R3 (Vin-Vout)*[R3 / (R3+R4)]>0.5V. At this time, Q4 is turned on, and the current in R8 is downward. The lower Vin is, the greater the current in R8. Thus, the current flows from Q4 to R8, then to the COMP node, and finally to Vout. The current flows out from the COMP node, and the voltage at the COMP node tends to decrease. This is equivalent to a negative compensation current in the path of Vout. Therefore, the voltage at Vout will decrease. The smaller Vin is, the greater the decrease in the voltage at Vout. As a result, the output voltage Vout decreases as the input voltage Vin decreases.
[0244] like Figure 15 As shown, in the case based on the COMP pin, in the above... Figure 14 Based on this, an internal implementation structure of the feedback circuit 202 is provided. In this embodiment, the switching circuit 2012 further includes a second diode D2.
[0245] In this embodiment, the feedback circuit 202 is illustrated by including the ninth resistor R9 and the tenth resistor R10. Meanwhile, the switching circuit 2012 also includes the second diode D2.
[0246] Among them, the first end of the ninth resistor R9 is connected to the output terminal Vout of the voltage conversion circuit 10 and the second end of the fourth resistor R4 respectively; the second end of the ninth resistor R9 is connected to the first end of the tenth resistor R10 and the FB pin respectively; the second end of the tenth resistor R10 is grounded.
[0247] The second diode D2 is used to prevent the fourth transistor Q4 from being broken down. Connecting diode D2 between the first and second terminals (between base and emitter) of the fourth transistor Q4 prevents breakdown of the transistor Q4, thus protecting the stability of the compensation circuit, should an error occur during operation that causes excessive reverse voltage and a rapid increase in reverse current.
[0248] Based on the previous examples, we know that if the turn-on voltage of Q4 is 0.5V, the voltage across R3 can be expressed as (Vin - Vout) * [R3 / (R3 + R4)]. Since R3 is connected in parallel with Q4, the voltage across Q4 is also (Vin - Vout) * [R3 / (R3 + R4)]. Therefore, when (Vin - Vout) * [R3 / (R3 + R4)] < 0.5V, Q4 is off; when (Vin - Vout) * [R3 / (R3 + R4)] > 0.5V, Q4 is on.
[0249] Therefore, when the input voltage Vin is greater than the preset value, the voltage across R3 is (Vin-Vout)*[R3 / (R3+R4)]<0.5V, Q4 is turned off, the current across R8 is 0, and in steady state (Vout-VFB) / R9=VFB / R10. At this time, there is no compensation voltage to the output terminal, so the output voltage of Vout is the regulated value = the preset output voltage.
[0250] When the input voltage Vin is less than the preset value, the voltage across R3 = (Vin - Vout) * [R3 / (R3 + R4)] > 0.5V, Q4 turns on, and the current in R8 flows downwards. The smaller Vin is, the larger the current in R8. Therefore, in steady state, (Vout - VFB) / R9 = VFB / R10 - I(R3), where Vout = VFB + VR9. This is equivalent to negatively compensating for the voltage corresponding to I(R8) in the steady-state output voltage. Specifically:
[0251] Before compensation: VR9 = R9 * ((Vout - VFB) / R9 = VFB / R10), while after compensation: VR9 = R9 * ((Vout - VFB) / R9 = VFB / R10 - I(R8)), thus reducing the output voltage, which means that the output voltage decreases as the input voltage decreases.
[0252] Similarly, in the case of the COMP pin, in order to ensure that there is no noise in the signal, the feedback circuit 202 can also include a filter capacitor. The specific implementation method is the same as that in the case of the FB pin, and will not be described again here.
[0253] It should be noted that in the above embodiments, the third transistor Q3 and the fourth transistor Q4 are PNP transistors. In practical applications, the third transistor Q3 and the fourth transistor Q4 described in the above embodiments are merely illustrative. Optionally, the third transistor Q3 and the fourth transistor Q4 can also be implemented as discrete devices such as bipolar junction transistors (BJTs), MOSFETs, and operational amplifiers (OPAs). This application does not limit this implementation.
[0254] Similarly, in the above description of the process where the output voltage Vout of the voltage conversion circuit 10 decreases as the input voltage Vin decreases, the provided embodiments of the conversion circuit are all described with a structure in which the voltage conversion circuit and the control circuit are connected. In one embodiment, the voltage conversion circuit and the control circuit can be integrated. That is, in actual product implementation, the control circuit can be integrated into the voltage conversion circuit. In this way, integrating the control circuit into the voltage conversion circuit saves a lot of wiring space and the space occupied by additional components, which can greatly reduce the size of the final conversion circuit product.
[0255] It should be noted that in practical applications, there are some scenarios where it is possible to achieve both the function of the output voltage Vout of the voltage conversion circuit 10 increasing with the increase of the input voltage Vin, and the function of the output voltage Vout of the voltage conversion circuit 10 decreasing with the decrease of the input voltage Vin.
[0256] Specifically, different values can be set for the preset values. For example, continuing with... Figure 2 Taking the circuit block diagram shown as an example, let's assume two preset values: a first preset value and a second preset value. If the first preset value is greater than the second preset value, then if the input voltage is greater than the first preset value, the control circuit 20 controls the output voltage of the voltage conversion circuit to be a first voltage higher than the preset output voltage; if the input voltage is less than the first preset value, the control circuit 20 controls the output voltage of the voltage conversion circuit to be a second voltage lower than the preset output voltage; if the input voltage is between the first and second preset values, the control circuit 20 controls the output voltage of the voltage conversion circuit to be the preset output voltage.
[0257] For the conversion circuit provided in the above embodiments, different operating states are analyzed in combination with different load conditions. For ease of understanding, the "input voltage ripple" in this analysis can be exemplarily set as a function: Vin_ac=VinAC*|sin(2πf*t)|, where VinAC is the amplitude of the input voltage ripple and f is the frequency of the ripple. The specific analysis is as follows:
[0258] (1) For the case of regulated input, regulated output, and connected CC (CR) load, please refer to the curves showing the changes in input voltage / current and output voltage / current. Figure 16 As shown. According to Figure 16 As can be seen from the schematic diagram of the input voltage / current and output voltage / current changes, in this case, the output voltage / current does not change with the input voltage / current; both remain at a fixed value as time changes.
[0259] (2) Unregulated input, "regulated + small amplitude ripple" output, with CC load connected. For the input voltage / current and output voltage / current variation curves, please refer to [link to relevant documentation]. Figure 17 As shown. According to Figure 17 As shown in the schematic diagram of the input voltage / current and output voltage / current changes, in this case, when the input voltage changes, the output voltage will also change with the input voltage (i.e., there is a small amplitude ripple).
[0260] (3) Unregulated input, "regulated + small amplitude ripple" output, with CR load connected. For the input voltage / current and output voltage / current variation curves, please refer to [link to relevant documentation]. Figure 18 As shown. According to Figure 18As shown in the schematic diagram of the input voltage / current and output voltage / current changes, in this case, when the input voltage changes, the output voltage will also change with the input voltage (i.e., there is a small amplitude ripple).
[0261] (4) Unregulated input, "regulated + small amplitude ripple" output, with CV load (this case is closer to a battery in actual application). Please refer to the curves of input voltage / current and output voltage / current variation. Figure 19 As shown. According to Figure 19 As shown in the schematic diagram of the input voltage / current and output voltage / current variation curves, in this case, when the input voltage changes, the output voltage changes slightly with the input voltage (i.e., there is a small ripple), while the output current changes significantly with the input voltage.
[0262] Therefore, in this embodiment, the input voltage signal is introduced to the FB or COMP pin through a feedback circuit to control the output voltage of the voltage conversion circuit via Vin. When Vin is high, a larger voltage is output; when Vin is low, a smaller voltage is output, preventing the voltage conversion circuit from overloading the preceding system. Of course, in practical applications, the feedforward circuit can also be integrated into the IC during the IC design stage, as long as its essence and the function to be implemented are the same. Furthermore, the voltage conversion circuit provided in this embodiment, which increases the output voltage as the input voltage increases and decreases as the input voltage decreases, can be used in photovoltaic systems, solar charging units, and battery charging systems, where output power control based on input voltage is required. This expands the applicable scenarios and provides superior functionality in practical applications.
[0263] In addition, in conjunction with the above Figures 1a to 1dThe curves show that when the input voltage of a voltage converter circuit is not regulated and the output power is fixed, the magnitude of the input current is affected by the input voltage: the larger the input voltage, the smaller the input current, and vice versa. This conclusion leads to the inability to achieve the characteristic that the input current changes in the same direction as the input voltage. For example, the phase difference between the current and voltage in the voltage converter circuit will cause a loss of exchange power, increase the burden on the power supply line, and reduce the efficiency of the power supply line. For the power grid, if it is possible to reduce the input voltage while making the input voltage and input current in phase, this is equivalent to performing power factor correction. The function of "power factor correction" is to control the waveform of the input current to synchronize it with the waveform of the input voltage. The power factor refers to the relationship between effective power and total power consumption (apparent power), that is, the ratio of effective power to total power consumption (apparent power). Basically, the power factor can measure the degree to which electricity is used effectively. The higher the power factor value, the higher the power utilization rate, which means that the power supply line efficiency of the power grid structure can be increased, thereby saving power resources to a certain extent. However, because the input voltage and input current of the voltage conversion circuit in the relevant technology are not in phase, the input voltage and input current of the voltage conversion circuit in the relevant technology cannot change in the same direction, which cannot meet this requirement.
[0264] In view of this situation, based on the conversion circuit structure provided in the embodiments of this application, when the load is a CV load, it can achieve a characteristic that is not present in the voltage conversion circuit of the related technology: when the input voltage is low, the input current is small, and when the input voltage is high, the input current is large, that is, it can realize that the input voltage and the input current change in the same direction as the input current.
[0265] In one embodiment, the parameters of each component (resistance, output voltage, etc.) can be set based on the power conversion circuit structure provided in the embodiments of this application.
[0266] For example, suppose a voltage conversion circuit including the conversion circuit provided in the embodiments of this application has a conversion power of 100%, that is, the output power = the input power.
[0267] So, assuming the input voltage Vin = 5 and the input current Iin = 1, then the output voltage Vout = 5 and the output current Iout = 1. If the output voltage Vout is increased to 10, and the resistance remains unchanged, the output current Iout = 2. At this time, the output power becomes 20, and the input power is also 20. Therefore, by setting the parameters, it is possible to make the input voltage Vin = 10 and the input current Iin = 2, thus achieving a large input current when the input voltage is high.
[0268] Similarly, assuming the input voltage Vin = 5 and the input current Iin = 1, then the output voltage Vout = 5 and the output current = 1. However, if the output voltage Vout is increased to 6, while the resistance remains constant, the output current Iout = 1.2, and the output power becomes 7.2W, while the input power is also 7.2W. Therefore, by setting parameters, it is possible to make the input voltage Vin = 10 and the input current Iin = 0.72, thus achieving the characteristic of a high input voltage and a low input current.
[0269] In other words, based on the conversion circuit provided in this application embodiment, the input voltage and input current can change in both the same direction and opposite directions. However, voltage conversion circuits in related technologies can only change in opposite directions and cannot achieve reverse change. This gives the conversion circuit provided in this application embodiment a characteristic that voltage conversion circuits in related technologies do not have. This characteristic can bring a very high guiding effect on saving losses in power grid structures. The characteristic that the input current changes positively correlated with the input voltage is the same as the characteristic of PFC (power factor correction) circuit. That is to say, this characteristic gives the voltage conversion circuit PFC function, that is, making the input voltage and input current have the same waveform and phase.
[0270] Therefore, based on the power conversion circuit provided in the embodiments of this application, the input voltage and input current of the voltage conversion circuit can have a certain in-phase relationship, which can greatly reduce the increase of harmonics in the preceding stage and easily achieve a high PF value without the need to add additional PFC circuits and losses.
[0271] In addition, this application embodiment also provides a power supply device, which includes any of the conversion circuits 01 provided in the preceding embodiments.
[0272] The conversion circuit 01 in the above embodiment is designed with a feedforward circuit. The feedforward circuit can compensate the adjusted voltage output by the voltage conversion circuit 01 according to the input voltage. This compensation makes the output voltage of the voltage conversion circuit 01 increase as the input voltage increases and decrease as the input voltage decreases, so that the output voltage changes accordingly with the change of the input voltage.
[0273] In one embodiment, such as Figure 20 As shown, the power supply device includes an input interface 110, a first rectifier and filter module 120, a switching power supply 130, a transformer 140, a second rectifier and filter module 150, a conversion circuit 01, and an output interface 160.
[0274] In this embodiment, AC voltage can be input to the power supply device through input interface 110. The first rectifier and filter module 120 can receive the AC voltage transmitted through input interface 110 and rectify and filter the AC voltage to obtain a pulsating DC voltage with a first waveform; optionally, the first waveform can be a swirl waveform. The switching power supply 130 can chop and modulate the pulsating DC voltage output by the first rectifier and filter module 120 to obtain a pulsating voltage with a second waveform; optionally, the second waveform can be a square wave waveform. The transformer 140 can transform the pulsating voltage obtained after chopping and modulation by the switching power supply 130. The transformed voltage is filtered by the second rectifier and filter module 150. The filtered voltage is then adjusted by the conversion circuit 0110 provided in this embodiment to output the adjusted voltage, thereby obtaining a relatively stable DC voltage.
[0275] In another embodiment, such as Figure 21 As shown, the power supply device includes a rectifier and filter circuit 210, a conversion circuit 01, and a wireless transmission circuit 220.
[0276] In this embodiment, after the AC voltage is input to the power supply device, it first enters the rectifier and filter circuit 210, where it is converted into a stable DC voltage. Then, the conversion circuit 01 provided in this embodiment adjusts the voltage to a fixed value and supplies it to the wireless transmission circuit 220. The wireless transmission circuit inverts the DC voltage provided by the conversion circuit 01 into AC voltage that can be coupled to the transmitting coil, so that the transmitting coil converts the AC voltage into an electromagnetic signal for transmission.
[0277] For example, taking the rectifier and filter circuit as AC / DC, and the conversion circuit 01 provided in this application embodiment as DC / DC, the 220V AC power output from the power grid is converted into stable DC power by AC / DC, and then the DC / DC conversion circuit adjusts the voltage to a fixed value to supply the wireless transmission circuit. The wireless transmission circuit inverts the DC power provided by DC / DC into AC power that can be coupled to the transmitting coil, and the transmitting coil converts the AC power into an electromagnetic signal for transmission.
[0278] In one embodiment, a terminal is also provided, which includes any type of conversion circuit 01.
[0279] like Figure 22 As shown, the terminal includes a charging interface 310, a conversion circuit 01, a battery 320, and a control module 330. The conversion circuit 01 is connected between the charging interface 310 and the battery 320 to convert the voltage input from the charging interface 310, and then provides the converted voltage to the battery 320 for charging. The control module 330 controls the conversion circuit 01 to convert the input voltage.
[0280] In this embodiment, "terminal" refers to any electronic device that requires an external power source or has a built-in power source, such as various personal computers, laptops, mobile phones (smart mobile terminals), tablets, and portable wearable devices. This embodiment does not limit the scope of the application. If it is an external power source, the power source can be a power adapter, a power bank (portable charger, travel charger), etc., and this embodiment does not limit the scope of the application. Of course, in addition to a terminal, it can also be any device that requires a power source, such as electric vehicles, drones, e-readers, e-cigarettes, smart electronic devices (including watches, bracelets, smart glasses, robot vacuum cleaners, etc.), small electronic products (including wireless headphones, Bluetooth speakers, electric toothbrushes, rechargeable wireless mice, etc.), or a (5G) communication module power supply, etc. This embodiment does not limit the scope of the application.
[0281] In addition, in one embodiment, this application also provides an embodiment of a voltage conversion method, such as... Figure 20 As shown, this embodiment relates to the specific process of implementing an output voltage that increases as the input voltage increases by running a computer program. This embodiment includes:
[0282] S101 is used to convert the input voltage and output the result.
[0283] S102, when the input voltage is less than the preset value, controls the transformed output voltage to be the preset output voltage; when the input voltage is greater than the preset value, controls the transformed output voltage to be a first voltage higher than the preset output voltage.
[0284] The system can be pre-programmed with instructions to indicate voltage conversion. Upon receiving this instruction, the computer executes the corresponding operation: according to the preset configuration, it converts the input voltage to a different level and outputs the converted voltage. The computer can then execute further preset instructions to adjust the converted output voltage, ensuring that the adjustment is based on the output voltage obtained after the entire voltage conversion process. For example, the adjustment could involve obtaining the offset between the converted output voltage and a preset output voltage, outputting a feedback signal based on this offset to adjust the converted output voltage and ensure it matches the preset output voltage. Subsequently, the adjusted voltage is compensated based on the input voltage. This compensation ensures that the final output voltage can be considered "regulated voltage + small-amplitude ripple," where the "small-amplitude ripple" is the compensated voltage, thus achieving the function of increasing the output voltage as the input voltage increases.
[0285] Specifically, the input voltage is first transformed into an output voltage. When the input voltage is less than a preset value, the program controls the transformed output voltage to be the preset output voltage. However, if the input voltage is greater than the preset value, the program controls the transformed output voltage to be a first voltage higher than the preset output voltage. This first voltage is the compensated voltage based on the preset output voltage, and it is also the final output voltage. This achieves the effect that as the input voltage increases, the final output voltage also increases.
[0286] It is understood that, similar to the aforementioned embodiments, when the input voltage is equal to the preset value, this is a critical situation. The case where the input voltage is equal to the preset value can be classified as a scenario where the input voltage is less than the preset value. That is, when the input voltage is equal to the preset value, the output voltage after transformation is controlled by the program to be the preset output voltage. Of course, the case where the input voltage is equal to the preset value can also be classified as a scenario where the input voltage is greater than the preset value. That is, when the input voltage is equal to the preset value, the output voltage after transformation is controlled by the program to be a first voltage higher than the preset output voltage.
[0287] It is understood that the above process is implemented through computer program instructions provided to the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device, such that the instructions executed by the processor of the computer or other programmable data processing device enable the output voltage to increase with the increase of the input voltage in this embodiment. Of course, these computer program instructions may also be stored in a computer-readable storage medium that can direct the computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means. Alternatively, these computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby executing the computer program instructions on the computer or other programmable device to achieve the above-described function.
[0288] In addition, in one embodiment, this application also provides an embodiment of a voltage conversion method, such as... Figure 21 As shown, this embodiment relates to the specific process of implementing a computer program that causes the output voltage to decrease as the input voltage decreases. This embodiment includes:
[0289] S201 performs voltage transformation on the input voltage and then outputs the result.
[0290] S202: When the input voltage is greater than a preset value, the output voltage after conversion is controlled to be the preset output voltage; when the input voltage is less than the preset value, the output voltage after conversion is controlled to be a second voltage lower than the preset output voltage.
[0291] This system can pre-set a program instruction to indicate voltage conversion. Upon receiving this instruction, the computer device executes the corresponding operation: according to the preset configuration, it converts the input voltage to a different level and outputs the converted voltage. For the converted output voltage, the computer device can continue to execute preset program instructions to adjust it. This adjustment is based on the output voltage obtained after the entire voltage level conversion process. For example, the adjustment method could be to obtain the offset between the converted output voltage and the preset output voltage, output a feedback signal based on the offset, and adjust the converted output voltage to ensure it ultimately matches the preset output voltage. Then, negative compensation is applied to the adjusted voltage based on the input voltage; that is, negative compensation is applied to the adjusted regulated voltage, causing the output voltage to decrease as the input voltage decreases.
[0292] Specifically, the input voltage is first transformed into an output voltage. When the input voltage is greater than a preset value, the program controls the transformed output voltage to be the preset output voltage. However, if the input voltage is less than the preset value, the program controls the transformed output voltage to be a second voltage, lower than the preset output voltage. This second voltage is the preset output voltage minus a portion of the voltage, equivalent to negative compensation, and is also the final output voltage. This achieves the effect that when the input voltage decreases, the final output voltage also decreases.
[0293] Similarly, as in the aforementioned embodiments, when the input voltage is equal to the preset value, this is a critical situation. The case where the input voltage is equal to the preset value can be classified into the scenario where the input voltage is greater than the preset value. That is, when the input voltage is equal to the preset value, the output voltage after transformation is controlled by the program to be the preset output voltage. Of course, the case where the input voltage is equal to the preset value can also be classified into the scenario where the input voltage is less than the preset value. That is, when the input voltage is equal to the preset value, the output voltage after transformation is controlled by the program to be a second voltage lower than the preset output voltage.
[0294] It is understood that the above process is implemented through computer program instructions provided to the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device, such that the instructions executed by the processor of the computer or other programmable data processing device enable the output voltage to decrease as the input voltage decreases, as described in this embodiment. Alternatively, these computer program instructions may also be stored in a computer-readable storage medium that can direct the computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means. Alternatively, these computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby executing the computer program instructions on the computer or other programmable device to achieve the above-described function.
[0295] In addition, this application also provides an electronic device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor performs any of the voltage conversion method steps provided in the above embodiments.
[0296] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements any of the voltage conversion method steps provided in the above embodiments.
[0297] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0298] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above 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.
[0299] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A conversion circuit, characterized in that, The conversion circuit includes: A voltage conversion circuit is used to convert the input voltage into an output voltage. The control circuit includes a closed-loop connected feedback circuit and a feedforward circuit; the feedforward circuit includes a switching circuit and a sampling resistor; the switching circuit and the sampling resistor form a series branch; the first terminal of the feedforward circuit is connected to the input voltage, the second terminal of the feedforward circuit is connected between the voltage conversion circuit and the feedback circuit, the first terminal of the voltage conversion circuit is connected to the input voltage, and the second terminal and the output terminal of the voltage conversion circuit are both connected to the feedback circuit; The switching circuit turns off when the input voltage is less than a preset value, and the feedback circuit generates a feedback signal based on the output voltage of the voltage conversion circuit. The feedback signal is used to indicate the adjustment of the output voltage of the voltage conversion circuit and control the output voltage of the voltage conversion circuit to a preset output voltage. The switching circuit is used to turn on when the input voltage is greater than the preset value, so as to sample the input voltage through the sampling resistor to obtain a compensation voltage. The compensation voltage and the preset output voltage are used together as a first voltage to be output from the output terminal of the voltage conversion circuit, thereby controlling the output voltage of the voltage conversion circuit to be a first voltage higher than the preset output voltage.
2. The conversion circuit according to claim 1, characterized in that, The compensation voltage is obtained by reducing the difference between the input voltage and the preset value.
3. The conversion circuit according to claim 1, characterized in that, The switching circuit is used to sample the input voltage to obtain a sampled voltage, and to perform calculations on the sampled voltage to obtain the compensation voltage.
4. The conversion circuit according to claim 3, characterized in that, The switching circuit is further configured to compare the sampled voltage with the preset value, and when the sampled voltage is greater than the preset value, to perform calculations on the sampled voltage to obtain the compensation voltage.
5. The conversion circuit according to claim 1, characterized in that, The sampling resistor includes a first resistor and a second resistor. The first end of the first resistor is connected to the power supply corresponding to the input voltage. The second end of the first resistor and the first end of the second resistor are both connected to the first end of the switching circuit. The second end of the second resistor and the second end of the switching circuit are both connected to the output end of the voltage conversion circuit. The third end of the switching circuit is connected to the feedback pin of the feedback circuit. When the switching circuit is turned on, the voltage across the second resistor is the compensation voltage.
6. The conversion circuit according to claim 1, characterized in that, The sampling resistor includes a third resistor and a fourth resistor. The first end of the third resistor is connected to the power supply corresponding to the input voltage and the second end of the switching circuit, respectively. The second end of the third resistor and the first end of the fourth resistor are both connected to the first end of the switching circuit. The second end of the fourth resistor is connected to the output end of the voltage conversion circuit. The third end of the switching circuit is connected to the compensation pin of the feedback circuit. When the switching circuit is turned on, the voltage across the third resistor is the compensation voltage.
7. The conversion circuit according to any one of claims 1-4, characterized in that, The preset output voltage is the product of the input voltage and a coefficient.
8. The conversion circuit according to any one of claims 1-4, characterized in that, The voltage conversion circuit and the control circuit can be integrated.
9. The conversion circuit according to any one of claims 1-4, characterized in that, The preset value is determined based on the output power of the voltage conversion circuit and the output current of the preceding circuit of the conversion circuit.
10. A conversion circuit, characterized in that, The conversion circuit includes: A voltage conversion circuit is used to convert the input voltage into an output voltage. The control circuit includes a feedback circuit and a feedforward circuit; the feedforward circuit includes a switching circuit and a sampling resistor; the switching circuit and the sampling resistor form a series branch; the first terminal of the feedforward circuit is connected to the input voltage, the second terminal of the feedforward circuit is connected between the voltage conversion circuit and the feedback circuit, the first terminal of the voltage conversion circuit is connected to the input voltage, and the second terminal and the output terminal of the voltage conversion circuit are both connected to the feedback circuit; The switching circuit turns off when the input voltage is greater than a preset value, and the feedback circuit generates a feedback signal based on the output voltage of the voltage conversion circuit. The feedback signal is used to indicate the adjustment of the output voltage of the voltage conversion circuit and control the output voltage of the voltage conversion circuit to a preset output voltage. The switching circuit is used to turn on when the input voltage is less than the preset value, so as to sample the input voltage through the sampling resistor to obtain a compensation voltage. The compensation voltage is subtracted from the preset output voltage to obtain a second voltage, which is output from the output terminal of the voltage conversion circuit, thereby controlling the output voltage of the voltage conversion circuit to be a second voltage lower than the preset output voltage.
11. The conversion circuit according to claim 10, characterized in that, The compensation voltage is obtained by reducing the difference between the input voltage and the preset value.
12. The conversion circuit according to claim 10, characterized in that, The switching circuit is used to sample the input voltage to obtain a sampled voltage, and to perform calculations on the sampled voltage to obtain the compensation voltage.
13. The conversion circuit according to claim 12, characterized in that, The control circuit is also used to compare the sampled voltage with the preset value, and to perform calculations on the sampled voltage when the sampled voltage is less than the preset value.
14. The conversion circuit according to claim 10, characterized in that, The sampling resistor includes a first resistor and a second resistor. The first end of the first resistor is connected to the power supply corresponding to the input voltage. The second end of the first resistor and the first end of the second resistor are both connected to the first end of the switching circuit. The second end of the second resistor and the second end of the switching circuit are both connected to the output end of the voltage conversion circuit. The third end of the switching circuit is connected to the feedback pin of the feedback circuit. When the switching circuit is turned on, the voltage across the second resistor is the compensation voltage.
15. The conversion circuit according to claim 10, characterized in that, The sampling resistor includes a third resistor and a fourth resistor. The first end of the third resistor is connected to the power supply corresponding to the input voltage and the second end of the switching circuit, respectively. The second end of the third resistor and the first end of the fourth resistor are both connected to the first end of the switching circuit. The second end of the fourth resistor is connected to the output end of the voltage conversion circuit. The third end of the switching circuit is connected to the compensation pin of the feedback circuit. When the switching circuit is turned on, the voltage across the third resistor is the compensation voltage.
16. The conversion circuit according to any one of claims 10-15, characterized in that, The preset output voltage is the product of the input voltage and a coefficient.
17. The conversion circuit according to any one of claims 10-15, characterized in that, The voltage conversion circuit and the control circuit can be integrated.
18. The conversion circuit according to any one of claims 10-15, characterized in that, The preset value is determined based on the output power of the voltage conversion circuit and the output current of the preceding circuit of the conversion circuit.
19. An electrical power supply device, characterized in that, Includes the conversion circuit as described in any one of claims 1-18.
20. A terminal, characterized in that, Includes the conversion circuit as described in any one of claims 1-18.
21. A voltage conversion method, characterized in that, The method includes: The output is obtained by voltage transformation of the input voltage; When the input voltage is less than a preset value, a feedback signal is generated based on the transformed output voltage; the feedback signal is used to indicate that the transformed output voltage is adjusted to control the transformed output voltage to a preset output voltage; when the input voltage is greater than the preset value, the input voltage is sampled to obtain a compensation voltage, and the transformed output voltage is controlled to be a first voltage higher than the preset output voltage; the first voltage is the sum of the preset output voltage and the compensation voltage.
22. A voltage conversion method, characterized in that, The method includes: The output is obtained by voltage transformation of the input voltage; When the input voltage is greater than a preset value, a feedback signal is generated based on the transformed output voltage; the feedback signal is used to indicate that the transformed output voltage is adjusted to control the transformed output voltage to a preset output voltage; when the input voltage is less than the preset value, the input voltage is sampled to obtain a compensation voltage, and the transformed output voltage is controlled to be a second voltage lower than the preset output voltage; the second voltage is the difference between the preset output voltage and the compensation voltage.
23. A voltage conversion device, characterized in that, The device includes: The first conversion module is used to convert the input voltage and output it. A first control module is configured to generate a feedback signal based on the transformed output voltage when the input voltage is less than a preset value; the feedback signal is used to indicate that the transformed output voltage is adjusted to control the transformed output voltage to a preset output voltage; when the input voltage is greater than the preset value, the input voltage is sampled to obtain a compensation voltage, and the transformed output voltage is controlled to be a first voltage higher than the preset output voltage; the first voltage is the sum of the preset output voltage and the compensation voltage.
24. A voltage conversion device, characterized in that, The device includes: The second conversion module is used to convert the input voltage and output the result. The second control module is used to generate a feedback signal based on the transformed output voltage when the input voltage is greater than a preset value; the feedback signal is used to indicate that the transformed output voltage is adjusted to control the transformed output voltage to a preset output voltage; when the input voltage is less than the preset value, the input voltage is sampled to obtain a compensation voltage, and the transformed output voltage is controlled to be a second voltage lower than the preset output voltage; the second voltage is the difference between the preset output voltage and the compensation voltage.
25. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the computer program is executed by the processor, it causes the processor to perform the steps of the method as described in claim 21 or 22.
26. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in claim 21 or 22.
Citation Information
Patent Citations
A power converter control circuit with adaptive voltage position control function and method thereof
TW201114151A
Power supply controller with an input voltage compensation circuit
US20110050188A1