DCDC circuit with bypass function and bypass control method

By designing the bypass function and control method in the DCDC circuit, the bypass operating state is entered when the voltage difference between the low-voltage side and the high-voltage side is less than the preset value, which improves the stability of the circuit and solves the problem of unstable operation in boost mode.

CN118381293BActive Publication Date: 2024-10-25SHENZHEN YUNT DIGITAL POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410816216.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-25
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

When the DCDC circuit has a small deviation between the low-voltage side voltage and the high-voltage side voltage given value in the boost mode, the switching action dead zone and the control variable saturation state are frequently switched, resulting in unstable operation.

Method used

Design a DCDC circuit with a bypass function, which is composed of a first capacitor, a second capacitor, an inductor and a switch tube. The bypass control method is used to enter the bypass working state when the voltage difference is less than the preset value, so that the low-voltage side voltage is equal to the preset value. The high-voltage side voltages are equal to avoid unstable operation.

Benefits of technology

It effectively avoids the unstable operation of the DCDC circuit caused by the small deviation between the voltage setting value and the low-voltage side voltage, and improves the stability of the circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381293B_ABST
    Figure CN118381293B_ABST
Patent Text Reader

Abstract

The present application discloses a DCDC circuit with bypass function and a bypass control method, the method comprising: obtaining a voltage value of a first side of the DCDC circuit in a first preset time to obtain a first voltage value; determining a target setting value corresponding to a second side of the DCDC circuit; determining a voltage difference between the target setting value and the first voltage value to obtain a first voltage difference; when the first voltage difference is less than the first preset voltage difference, determining a duration of time during which the first voltage difference in the DCDC circuit is less than the first preset voltage difference to obtain a first duration; when the first duration is greater than the first preset duration, controlling the DCDC circuit to enter a bypass working state. The embodiment of the present application improves the stability of the DCDC circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a DCDC circuit with a bypass function and a bypass control method. Background Art

[0002] DCDC circuits are generally used in engineering practice, and mostly operate in working modes such as boost, buck, and constant power. Among them, boost and buck are the most widely used.

[0003] When the DCDC circuit operates in the boost mode, if the voltage on the low-voltage side of the DCDC circuit is higher, that is, the voltage on the low-voltage side has a smaller deviation from the voltage set value on the high-voltage side, in order to protect the high-voltage sensitive load on the high-voltage side, it is necessary to control the voltage on the high-voltage side of the DCDC circuit to be maintained near the voltage on the low-voltage side. At this time, the output control amount of the DCDC circuit is close to the saturation state. In this process, the frequent switching between the dead zone of the switching action, the saturation state of the control amount and the normal state will cause the operation of the DCDC circuit to be unstable. Therefore, how to improve the stability of the DCDC circuit when the voltage on the low-voltage side of the DCDC circuit has a smaller deviation from the voltage set value on the high-voltage side needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a DCDC circuit with a bypass function and a bypass control method, which can control the DCDC circuit to enter a bypass working state when the deviation between the low-voltage side voltage and the high-voltage side voltage set value of the DCDC circuit is small, effectively avoiding the problem of unstable operation of the DCDC circuit caused by the small deviation between the above-mentioned voltage set value and the low-voltage side voltage, and improving the stability of the DCDC circuit.

[0005] In a first aspect, an embodiment of the present application provides a DCDC circuit with a bypass function, the DCDC circuit comprising: a first capacitor, a second capacitor, an inductor, a first switch tube, and a second switch tube;

[0006] The first side of the DCDC circuit is connected to a power supply device, and the second side of the DCDC circuit is connected to a power consumption device, wherein:

[0007] The first end of the first capacitor is connected to the first end of the inductor, and the second end of the capacitor is respectively connected to the source of the second switch tube and the second end of the second capacitor; the first capacitor is connected in parallel with the power supply device as the first side of the DCDC circuit; the second capacitor is connected in parallel with the power consumption device as the second side of the DCDC circuit;

[0008] The second end of the inductor is connected to the source of the first switch tube and the drain of the second switch tube respectively; the drain of the first switch tube is connected to the first end of the second capacitor;

[0009] The first capacitor and the second capacitor are used to store or release electrical energy; the inductor is used to store or release electrical energy; the first switch tube and the second switch tube are used to control the target operating state of the DCDC circuit according to their duty cycle changes; the target operating state includes a normal operating state or a bypass operating state.

[0010] In a second aspect, an embodiment of the present application provides a bypass control method of a DCDC circuit, which is applied to the DCDC circuit with a bypass function as described in the first aspect, and the method includes:

[0011] Acquire a voltage value of a first side of the DCDC circuit in a first preset time to obtain a first voltage value;

[0012] determining a target setting value corresponding to the second side of the DCDC circuit;

[0013] Determine a voltage difference between the target setting value and the first voltage value to obtain a first voltage difference;

[0014] When the first voltage difference is less than a first preset voltage difference, determining a duration of time in the DCDC circuit during which the first voltage difference is less than the first preset voltage difference to obtain a first duration;

[0015] When the first duration is greater than a first preset duration, the DCDC circuit is controlled to enter the bypass working state.

[0016] In a third aspect, an embodiment of the present application provides a bypass control system of a DCDC circuit, which is applied to the DCDC circuit with a bypass function as described in the first aspect. The bypass control system of the DCDC circuit includes: an acquisition unit, a determination unit, and a control unit, wherein:

[0017] The acquisition unit is used to acquire the voltage value of the first side of the DCDC circuit in a first preset time to obtain a first voltage value;

[0018] The determining unit is used to determine a target setting value corresponding to the second side of the DCDC circuit; determine a voltage difference between the target setting value and the first voltage value to obtain a first voltage difference;

[0019] The control unit is used to determine the duration of the first voltage difference in the DCDC circuit being less than the first preset voltage difference when the first voltage difference is less than the first preset voltage difference, and obtain a first duration; when the first duration is greater than the first preset duration, control the DCDC circuit to enter the bypass working state.

[0020] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute some or all of the steps described in the second aspect of the present application.

[0021] It can be seen that the bypass control method of the DCDC circuit described in the embodiment of the present application is applied to the DCDC circuit with bypass function as described in the first aspect, by obtaining the voltage value of the first side of the DCDC circuit in the first preset time, obtaining the first voltage value; determining the target setting value corresponding to the second side of the DCDC circuit; determining the voltage difference between the first voltage value and the target setting value, obtaining the first voltage difference; when the first voltage difference is less than the first preset voltage difference, determining the duration of the first voltage difference in the DCDC circuit being less than the first preset voltage difference, obtaining the first duration; when the first duration is greater than the first preset duration, controlling the DCDC circuit to enter the bypass working state, so that when the deviation between the first side voltage of the DCDC circuit (i.e., the low-voltage side voltage) and the target setting value (the voltage given value of the high-voltage side) is less than the first preset voltage difference, the DCDC circuit can be controlled to enter the bypass working state, so that the first side voltage and the second side voltage of the DCDC circuit are equal, effectively avoiding the problem of unstable operation of the DCDC circuit due to too small deviation between the target setting value and the first side voltage, and improving the stability of the DCDC circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.

[0023] Figure 1 is a circuit block diagram of a DCDC circuit with a bypass function provided in an embodiment of the present application;

[0024] Figure 2 is a flow chart of a bypass control algorithm provided in an embodiment of the present application;

[0025] Figure 3 is a flow chart of a bypass control method of a DCDC circuit provided in an embodiment of the present application;

[0026] Figure 4 It is a structural schematic diagram of a bypass control system of a DCDC circuit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0030] The following is an explanation of some professional terms involved in this application:

[0031] DCDC circuit: Direct current / direct current converter (DC / DC) circuit is also a DC conversion circuit that converts a DC base power supply into other DC voltages. DCDC circuit is a circuit with many different types, for example, a step-down DCDC circuit can convert a high voltage into a low voltage, and for another example, a step-up DCDC circuit can convert a low voltage into a high voltage.

[0032] Duty cycle: Duty cycle is equal to the high level time divided by the total cycle time, where the high level time refers to the time the high level lasts in a complete positive pulse sequence; the total cycle time refers to the total time of a complete positive pulse sequence.

[0033] PWM control algorithm: The abbreviation of Pulse Width Modulation control algorithm, which is a technology that adjusts the duty cycle by changing the pulse width at a fixed switching frequency. The basic principle of PWM control is to use a fixed frequency oscillator to generate a periodic pulse signal, and then compare the pulse signal with a reference voltage through a comparator to generate a square wave signal with adjustable duty cycle. The duty cycle of the square wave signal determines the on-time of the switch tube, thereby realizing the output voltage or power of the control circuit.

[0034] See also Figure 1 , Figure 1 is a circuit block diagram of a DCDC circuit 100 with a bypass function provided in an embodiment of the present application, such as Figure 1 As shown, the DCDC circuit 100 includes: a first capacitor C1, a second capacitor C2, an inductor L, a first switch tube S1, and a second switch tube S2;

[0035] The first side of the DCDC circuit 100 is connected to a power supply device, and the second side of the DCDC circuit 100 is connected to a power consumption device, wherein:

[0036] The first end of the first capacitor C1 is connected to the first end of the inductor L, and the second end of the capacitor is connected to the source of the second switch tube S2 and the second end of the second capacitor C2 respectively; the first capacitor C1 is connected in parallel with the power supply device as the first side of the above-mentioned DCDC circuit 100; the second capacitor C2 is connected in parallel with the power consumption device as the second side of the above-mentioned DCDC circuit 100;

[0037] The second end of the inductor L is connected to the source of the first switch tube S1 and the drain of the second switch tube S2 respectively; the drain of the first switch tube S1 is connected to the first end of the second capacitor C2;

[0038] The first capacitor C1 and the second capacitor C2 are used to store or release electric energy; the inductor L is used to store or release electric energy; the first switch tube S1 and the second switch tube S2 are used to control the target working state of the above-mentioned DCDC circuit 100 according to the change of their duty cycle; the target working state includes a normal working state or a bypass working state.

[0039] In the embodiment of the present application, the first switch tube S1 and the second switch tube S2 can be the same type of MOS tube. For example, the first switch tube S1 and the second switch tube S2 can both be N-channel enhancement type MOS tubes. The N-channel enhancement type MOS tube has the advantages of low on-resistance, fast switching speed, high input impedance, etc., and is suitable for use in the above-mentioned DCDC circuit 100.

[0040] In a specific embodiment, the above-mentioned power supply equipment can be at least one of the following: energy storage batteries, super capacitors, photovoltaic power generation equipment, etc., which are not limited here; the above-mentioned electrical equipment can be at least one of the following: charging piles, electric vehicles, energy storage equipment, DC loads, etc., which are not limited here.

[0041] Optionally, when the first duty cycle corresponding to the first switch tube S1 is 100%, and the second duty cycle corresponding to the second switch tube S2 is 0%, the target working state of the DCDC circuit 100 includes a bypass working state;

[0042] When the first duty cycle corresponding to the first switch tube S1 is not 100%, and / or the second duty cycle corresponding to the second switch tube S2 is not 0%, the target working state of the DCDC circuit 100 includes a normal working state.

[0043] Optionally, the first side of the DCDC circuit 100 is a low voltage side, and the second side of the DCDC circuit 100 is a high voltage side.

[0044] In the embodiment of the present application, the type of the above-mentioned DCDC circuit 100 may be a boost circuit (ie, a Boost circuit).

[0045] In a specific embodiment, when the DCDC circuit 100 is in a normal working state, the inductor L can store and release energy by controlling the on and off of the first switch tube S1 and the second switch tube S2 within a switching cycle, thereby achieving a boosting effect. When the first switch tube S1 and / or the second switch tube S2 are turned on, the power supply device charges the inductor L, and the inductor L stores energy; when the first switch tube S1 and / or the second switch tube S2 are turned off, the inductor L releases energy to the power-consuming device and charges the second capacitor C2 at the same time, so that the output voltage is increased; at this time, in the DCDC circuit 100, the current can flow out of the power supply device and flow into the power-consuming device through the inductor L, the first switch tube S1, and the second capacitor C2 in sequence.

[0046] When the DCDC circuit 100 is in the bypass working state, the first switch tube S1 is controlled to be always in the on state, that is, the first duty cycle corresponding to the first switch tube S1 is 100%, and at the same time, the second switch tube S2 is controlled to be always in the off state, that is, the second duty cycle corresponding to the second switch tube S2 is 0%. In this way, it is equivalent to that the second switch tube S2 does not exist in the DCDC circuit 100, the second switch tube S2 is disconnected, and the first capacitor C1 is directly connected in parallel with the second capacitor C2, that is, the first side voltage (low voltage side) U1 is equal to the second side voltage (high voltage side) U2, and there is no voltage deviation, which effectively avoids the problem of unstable operation of the DCDC circuit 100 due to the small deviation between the voltage setting value of the second side and the first side voltage U1, thereby improving the stability of the DCDC circuit 100; at this time, in the DCDC circuit 100, the current can flow out from the power-consuming device and flow into the power supply device through the first switch tube S1, the inductor L, and the first capacitor C1 in sequence.

[0047] It should be explained that the functions of the above-mentioned power supply device and the power-consuming device are not static. In practical applications, the power-consuming device may also supply power to the power supply device. For example, as mentioned above, when the above-mentioned DCDC circuit 100 is in the bypass working state, the power-consuming device may supply power to the power supply device.

[0048] See also Figure 2 , Figure 2 It is a flow chart of a bypass control algorithm provided in an embodiment of the present application, which is applied to the DCDC circuit with bypass function as described in the above embodiment. The bypass control algorithm is used to control the target working state of the above DCDC circuit according to the actual operation of the circuit.

[0049] Among them, Vdc_ref_h is the target setting value, Vdc_act_l is the first side voltage value, Vdc_err is the first voltage difference, Vdc_err_lmt1 is the first preset voltage difference, Vdc_err_lmt2 is the second preset voltage difference, Tlmt1 is the first preset duration, and Tlmt2 is the second preset duration; the first duration refers to the duration when the voltage difference between Vdc_ref_h and Vdc_act_l is less than Vdc_err_lmt1; the second duration refers to the duration when the voltage difference between Vdc_ref_h and Vdc_act_l is greater than Vdc_err_lmt1.

[0050] from Figure 2It can be seen that at the beginning, it is necessary to determine whether Vdc_ref_h and Vdc_act_l meet the condition "Vdc_ref_h-Vdc_act_l<Vdc_err_lmt1&&first duration>Tlmt1" in the first preset time. If not, the step indicated by the arrow "N" is executed to perform the next determination; if satisfied, the step indicated by the arrow "Y" is executed to control the DCDC circuit to enter the bypass working state, that is, to control the first duty cycle of the first switch tube S1 to be equal to 100%, and the second duty cycle of the second switch tube S2 to be equal to 0%. Further, the next step of determination can be performed to determine whether Vdc_ref_h and Vdc_act_l meet the condition "Vdc_ref_h-Vdc_act_l" in the second preset time. If the condition "Vdc_ref_h-Vdc_act_l>Vdc_err_lmt2&&second duration>Tlmt2" is satisfied, and the second preset time is later than the above-mentioned first preset time, if not satisfied, the step pointed to by arrow "N" is executed to continue to maintain the bypass working state; if satisfied, the step pointed to by arrow "Y" is executed to control the DCDC circuit to enter the normal working state, that is, the first duty cycle of the first switch tube S1 is controlled to be between 0 and 100%, and the second duty cycle of the second switch tube S2 is complementary to the first duty cycle. Complementary means that the states of the first switch tube S1 and the second switch tube S2 are complementary, one is turned on and the other is turned off. At this step, a complete bypass control algorithm is executed.

[0051] See also Figure 3 , Figure 3 1 is a flow chart of a bypass control method of a DCDC circuit provided in an embodiment of the present application. The bypass control method of the DCDC circuit is applied to the DCDC circuit with bypass function as described in the above embodiment. The method includes:

[0052] S301. Obtain a voltage value of a first side of the DCDC circuit in a first preset time to obtain a first voltage value.

[0053] In the embodiment of the present application, the first preset time may be preset in advance or default.

[0054] In a specific embodiment, the voltage measurement point on the first side of the above-mentioned DCDC circuit can be determined first. The voltage measurement point can be the left side of the first capacitor, that is, the output side of the power supply device. Then, a suitable voltage measuring device (for example, a voltage sensor, a voltmeter, etc.) can be selected. The circuit is measured by the voltage measuring device at the above-mentioned first preset time, and the first voltage value can be obtained.

[0055] S302: Determine a target setting value corresponding to the second side of the DCDC circuit.

[0056] In the embodiment of the present application, the second side of the DCDC circuit is a high voltage side.

[0057] In a specific embodiment, the corresponding target setting value may be determined according to the actual usage of the DCDC circuit.

[0058] Optionally, step S302, determining a target setting value corresponding to the second side of the DCDC circuit may include the following steps:

[0059] 21. Obtain a reference setting value corresponding to the second side of the DCDC circuit;

[0060] 22. Obtain a target usage time corresponding to the DCDC circuit;

[0061] 23. Obtain target operating environment data corresponding to the DCDC circuit;

[0062] 24. Determine a first optimization factor corresponding to the target usage time;

[0063] 25. Determine a second optimization factor corresponding to the target operating environment data;

[0064] 26. Optimize the reference setting value according to the first optimization factor and the second optimization factor to obtain the target setting value.

[0065] In the embodiment of the present application, the target usage time is the working time of the above-mentioned DCDC circuit from leaving the factory to the current time; the target operating environment data may include at least one of the following: ambient temperature, ambient humidity, electromagnetic interference in the environment, etc., which are not limited here.

[0066] In a specific embodiment, a reference setting value corresponding to the second side of the DCDC circuit may be obtained first. Specifically, the reference setting value may be obtained by consulting relevant technical documents, data manuals or application guides of the above-mentioned DCDC circuit; then, a target usage time corresponding to the DCDC circuit may be obtained. Specifically, a method for recording the usage time may be determined based on the circuit structure of the DCDC circuit. For example, a timing module may be built into the above-mentioned DCDC circuit. Whenever the circuit works, the timing module is started to count, thereby obtaining the above-mentioned target usage time. In actual applications, the target usage time of the DCDC circuit may also be obtained through specific electronic counting equipment, software programs, etc.

[0067] Next, the target operating environment data corresponding to the DCDC circuit can also be obtained. Specifically, the target operating environment data can be the ambient temperature. It can be determined first which positions in the above-mentioned DCDC circuit can monitor key environmental parameters, such as the power supply position, the position of key components, etc. Corresponding sensors (for example, temperature sensors) can be installed in these positions, and the operating environment of the above-mentioned DCDC circuit can be detected by the sensors to obtain the target operating environment data.

[0068] Further, the first optimization factor corresponding to the target usage time can be determined. Specifically, a mapping relationship between a preset usage time and an optimization factor can be pre-stored. The first optimization factor corresponding to the target usage time is determined based on the mapping relationship. The value range of the first optimization factor can be -0.3~0.3. Then, the second optimization factor corresponding to the target operating environment data can be determined. Specifically, a mapping relationship between preset operating environment data and the optimization factor can be pre-stored. The second optimization factor corresponding to the target operating environment data is determined based on the mapping relationship. The value range of the second optimization factor can be -0.12~0.12. Finally, the reference set value can be optimized according to the first optimization factor and the second optimization factor, as follows:

[0069] Target setting value = reference setting value × (1 + first optimization factor) × (1 + second optimization factor);

[0070] The target setting value can be obtained by calculating according to the above formula.

[0071] In this way, by obtaining the reference setting value corresponding to the second side of the DCDC circuit; obtaining the target usage time corresponding to the DCDC circuit; obtaining the target operating environment data corresponding to the DCDC circuit; determining the first optimization factor corresponding to the target usage time; determining the second optimization factor corresponding to the target operating environment data; optimizing the reference setting value according to the first optimization factor and the second optimization factor to obtain the target setting value, multiple influencing factors are comprehensively considered, not just based on a single initial setting, but combined with the changes brought about by the usage time of the circuit and the impact of the actual operating environment, by quantitatively analyzing these factors and converting them into the first optimization factor and the second optimization factor, the reference setting value can be adjusted more accurately to better adapt to the actual situation of the circuit, thereby improving the accuracy and reliability of the target setting value, so that it can better guarantee the performance and stability of the circuit, and avoid various problems caused by inaccurate settings.

[0072] S303: Determine a voltage difference between the target setting value and the first voltage value to obtain a first voltage difference.

[0073] In the embodiment of the present application, the voltage difference between the first voltage value and the target setting value can be directly calculated as follows:

[0074] First voltage difference=target setting value-first voltage value;

[0075] The first voltage difference is calculated according to the above formula.

[0076] S304: When the first voltage difference is less than a first preset voltage difference, determine a duration of time in the DCDC circuit during which the first voltage difference is less than the first preset voltage difference to obtain a first duration.

[0077] In the embodiment of the present application, the first preset voltage difference may be preset in advance or default.

[0078] In a specific embodiment, when the first voltage difference is less than the first preset voltage difference, the first voltage difference in the DCDC circuit needs to be continuously detected to determine the duration of the first voltage difference being less than the first preset voltage difference to obtain the first duration.

[0079] Optionally, step S304, determining the duration of the first voltage difference in the DCDC circuit being less than the first preset voltage difference to obtain a first duration may include the following steps:

[0080] 41. Acquire a second voltage value of the first side of the DCDC circuit within a preset time period to obtain a plurality of second voltage values; each second voltage value corresponds to an acquisition time; and the start time of the preset time period is later than the first preset time;

[0081] 42. Determine a voltage difference between each of the plurality of second voltage values ​​and the target setting value to obtain a plurality of second voltage difference values;

[0082] 43. Draw a target voltage difference curve according to the plurality of second voltage differences and the acquisition time corresponding to each of the plurality of second voltage differences; the horizontal axis of the target voltage difference curve is time, and the vertical axis is voltage difference;

[0083] 44. Extracting a portion of the voltage difference curve that is smaller than the first preset voltage difference from the target voltage difference curve;

[0084] 45. Determine the duration corresponding to the partial voltage difference curve to obtain the first duration.

[0085] In the embodiment of the present application, the preset time period may be preset in advance or default.

[0086] In a specific embodiment, the second voltage value of the first side of the DCDC circuit within a preset time period can be first obtained to obtain multiple second voltage values. Specifically, the multiple second voltage values ​​can be obtained by the method for obtaining the first voltage value described above. For example, the circuit can be detected in real time by the above-mentioned voltage measuring device within the preset time period, which can be periodic detection. The detection period can be 1 millisecond, 1 second, 1 minute, etc. In this way, the above-mentioned multiple second voltage values ​​can be obtained. Then, the voltage difference between each second voltage value in the multiple second voltage values ​​and the target setting value can be determined to obtain multiple second voltage differences. Specifically, the target setting value can be subtracted from the above-mentioned multiple second voltage values ​​respectively, and multiple calculations can be performed to obtain multiple second voltage differences.

[0087] Furthermore, a target voltage difference curve can be drawn according to a plurality of second voltage difference values ​​and the acquisition time corresponding to each second voltage difference value in the plurality of second voltage difference values. Specifically, the acquisition time corresponding to the plurality of second voltage difference values ​​can be firstly acquired, and the acquisition time is the same as the acquisition time of the corresponding second voltage value, so that a plurality of acquisition times can be obtained, and the plurality of acquisition times can be combined with the corresponding voltage difference values ​​in the plurality of second voltage difference values ​​to obtain a plurality of coordinate points, and the target voltage difference curve can be obtained by curve fitting based on the plurality of coordinate points; then, a portion of the voltage difference curve that is less than the first preset voltage difference value can be cut out from the target voltage difference curve. Specifically, First, traverse each second voltage difference on the target voltage difference curve, from the starting point to the end point. For each second voltage difference, determine whether it is less than the preset pressure value. If the condition is met, record the second voltage difference and its corresponding time point, and you can get a plurality of point coordinates. According to the recorded plurality of point coordinates, intercept the portion of the target voltage difference curve that is less than the first preset voltage difference, and get a partial voltage difference curve. Finally, determine the duration corresponding to this partial voltage difference curve, and get the first duration. Specifically, find out the start time and end time of the partial voltage difference curve, and subtract the start time from the end time to get the first duration.

[0088] It should be explained that the partial voltage difference curve may include multiple curves. Since the change of the second difference voltage may not be linear, but has ups and downs, the part smaller than the first preset voltage difference will not be directly connected as one curve, but multiple curves separated from each other. At this time, the above-mentioned first duration is equal to the end time minus the start time and the blank time in the middle (that is, the time interval between the above-mentioned multiple curves).

[0089] In this way, by acquiring the second voltage value of the first side of the DCDC circuit within a preset time period, a plurality of second voltage values ​​are obtained; the voltage difference between each second voltage value in the plurality of second voltage values ​​and the target setting value is determined to obtain a plurality of second voltage difference values; a target voltage difference curve is drawn according to the plurality of second voltage differences and the acquisition time corresponding to each second voltage difference in the plurality of second voltage differences; a portion of the voltage difference curve that is less than the first preset voltage difference is intercepted from the target voltage difference curve; and the duration corresponding to the portion of the voltage difference curve is determined to obtain a first duration. On the one hand, by acquiring a plurality of second voltage values, the voltage fluctuation of the first side of the DCDC circuit in the preset time period can be fully understood, rather than relying solely on a single data point for judgment, thereby improving the accuracy and reliability of voltage monitoring. On the other hand, by drawing the target voltage difference curve, the degree and trend of the voltage deviation from the target setting value can be intuitively displayed, thereby making it easier to discover potential abnormal conditions, such as sudden and large voltage fluctuations or continuous deviations from the normal range.

[0090] S305 . When the first duration is greater than a first preset duration, control the DCDC circuit to enter the bypass working state.

[0091] In the embodiment of the present application, the first preset duration may be preset in advance or default.

[0092] In a specific embodiment, when it is determined that the first duration is greater than a first preset duration, the working state of the DCDC circuit may be adjusted to a bypass working state.

[0093] Optionally, step S305, controlling the DCDC circuit to enter the bypass working state may include the following steps:

[0094] A1. Obtaining a target duty cycle control algorithm corresponding to the DCDC circuit;

[0095] A2. Control the first switch tube and the second switch tube according to the target duty cycle control algorithm, specifically: when the first duty cycle corresponding to the first switch tube is 100% and the second duty cycle corresponding to the second switch tube is 0%, control the DCDC circuit to enter the bypass working state.

[0096] In the embodiment of the present application, the target duty cycle control algorithm can be one of the following: PWM control algorithm, PFM (Pulse Frequency Modulation) control algorithm, PID (Proportional-Integral-Derivative) control algorithm, etc., which are not limited here.

[0097] In a specific embodiment, a suitable target duty cycle control algorithm can be selected according to the control requirements of the above-mentioned DCDC circuit. For example, assuming that the above-mentioned DCDC circuit has high requirements on efficiency and noise level, a PWM control algorithm can be selected as the target duty cycle control algorithm because it can dynamically adjust the switching frequency and duty cycle according to the load changes of the circuit, thereby providing efficient energy conversion and low noise output.

[0098] Next, the target duty cycle control algorithm can be used to control the first switch tube and the second switch tube, specifically: the first duty cycle corresponding to the first switch tube is adjusted to 100% (that is, the first switch tube is always in the on state), and at the same time, the second duty cycle corresponding to the second switch tube can be adjusted to 0% (that is, the second switch tube is always in the off state). At this time, the DCDC circuit enters the bypass working state.

[0099] In this way, it is equivalent to that the second switch tube does not exist in the above-mentioned DCDC circuit, the second switch tube is open, and the first capacitor and the second capacitor are directly connected in parallel, that is, the voltage on the first side (low-voltage side) is equal to the voltage on the second side (high-voltage side), and there is no voltage deviation, which effectively avoids the problem of unstable operation of the above-mentioned DCDC circuit due to the small voltage deviation between the above-mentioned target setting value and the first side, and improves the stability of the above-mentioned DCDC circuit; at this time, in the above-mentioned DCDC circuit, the current flow direction can be that it flows out from the electrical equipment and flows into the power supply equipment through the first switch tube, the inductor, and the first capacitor in sequence.

[0100] Optionally, the method may further include the following steps:

[0101] B1. Obtaining a voltage value of the first side of the DCDC circuit in a second preset time to obtain a third voltage value; the second preset time is later than the end time of the preset time period;

[0102] B2. determining a voltage difference between the target setting value and the third voltage value to obtain a third voltage difference;

[0103] B3. When the third voltage difference is greater than the second preset voltage difference, determining a duration for which the third voltage difference in the DCDC circuit is greater than the second preset voltage difference, and obtaining a second duration; the second preset voltage difference is greater than the first preset voltage difference;

[0104] B4. When the second duration is greater than a second preset duration, controlling the DCDC circuit to enter the normal working state.

[0105] In the embodiment of the present application, the second preset time and the second preset voltage difference can be preset in advance or default.

[0106] In a specific embodiment, the voltage value of the first side of the DCDC circuit in the second preset time can be obtained to obtain the third voltage value. Specifically, the method for obtaining the third voltage value can be the same as the method for obtaining the first voltage value described above; then, the voltage difference between the target setting value and the third voltage value can be calculated, as follows:

[0107] The third voltage difference=target setting value-third voltage value;

[0108] The third voltage difference is calculated according to the above formula; then, when the third voltage difference is greater than the second preset voltage difference, the duration that the third voltage difference in the DCDC circuit is greater than the second preset voltage difference can be determined to obtain the second duration, and the method for obtaining the second duration can be the same as the method for obtaining the first duration; finally, when the second duration is greater than the second preset duration, the DCDC circuit can be controlled to enter a normal working state.

[0109] Optionally, controlling the DCDC circuit to enter the normal working state may include the following steps:

[0110] When the first duty cycle corresponding to the first switch tube is not 100%, and / or the second duty cycle corresponding to the second switch tube is not 0%, the DCDC circuit is controlled to enter the normal working state.

[0111] In the embodiment of the present application, the first switch tube and the second switch tube can be controlled by a target duty cycle control algorithm. When the first duty cycle is controlled not to be 100% and / or the second duty cycle is controlled not to be 0%, the DCDC circuit is in a normal working state. Specifically, the first duty cycle of the first switch tube can be controlled to be in the range of 0-100%. At the same time, the conduction of the second switch tube is controlled to be complementary to the conduction of the first switch tube within a switching cycle (that is, the second switch tube is turned off when the first switch tube is turned on, and vice versa). At this time, the DCDC circuit is in a normal working state and can realize the boost function.

[0112] It can be seen that the bypass control method of the DCDC circuit described in the embodiment of the present application is applied to the DCDC circuit with bypass function as described in the above embodiment, by obtaining the voltage value of the first side of the DCDC circuit in the first preset time, obtaining the first voltage value; determining the target setting value corresponding to the second side of the DCDC circuit; determining the voltage difference between the first voltage value and the target setting value, obtaining the first voltage difference; when the first voltage difference is less than the first preset voltage difference, determining the duration of the first voltage difference in the DCDC circuit being less than the first preset voltage difference, obtaining the first duration; when the first duration is greater than the first preset duration, controlling the DCDC circuit to enter the bypass working state, so that when the deviation between the first side voltage (i.e., the low-voltage side voltage) of the DCDC circuit and the target setting value (the voltage given value of the high-voltage side) is less than the first preset voltage difference, the DCDC circuit can be controlled to enter the bypass working state, so that the first side voltage and the second side voltage of the DCDC circuit are equal, effectively avoiding the problem of unstable operation of the DCDC circuit due to too small deviation between the target setting value and the first side voltage, and improving the stability of the DCDC circuit.

[0113] See also Figure 4 , Figure 4 4 is a structural diagram of a bypass control system 400 of a DCDC circuit provided in an embodiment of the present application, which is applied to a DCDC circuit with a bypass function as described in the above embodiment. The bypass control system 400 of the DCDC circuit includes: an acquisition unit 401, a determination unit 402, and a control unit 403, wherein:

[0114] The acquisition unit 401 is used to acquire the voltage value of the first side of the DCDC circuit in a first preset time to obtain a first voltage value;

[0115] The determining unit 402 is configured to determine a target setting value corresponding to the second side of the DCDC circuit; determine a voltage difference between the target setting value and the first voltage value to obtain a first voltage difference;

[0116] The control unit 403 is used to determine the duration of the first voltage difference in the DCDC circuit being less than the first preset voltage difference when the first voltage difference is less than the first preset voltage difference, and obtain a first duration; when the first duration is greater than the first preset duration, control the DCDC circuit to enter the bypass working state.

[0117] Optionally, in terms of controlling the DCDC circuit to enter the bypass working state, the control unit 403 is specifically configured to:

[0118] Obtaining a target duty cycle control algorithm corresponding to the DCDC circuit;

[0119] The first switch tube and the second switch tube are controlled according to the target duty cycle control algorithm, specifically: when the first duty cycle corresponding to the first switch tube is 100% and the second duty cycle corresponding to the second switch tube is 0%, the DCDC circuit is controlled to enter the bypass working state.

[0120] Optionally, in determining the duration during which the first voltage difference in the DCDC circuit is less than the first preset voltage difference to obtain the first duration, the determining unit 402 is specifically configured to:

[0121] Acquire a second voltage value of the first side of the DCDC circuit within a preset time period to obtain a plurality of second voltage values; each second voltage value corresponds to an acquisition time; the start time of the preset time period is later than the first preset time;

[0122] Determine a voltage difference between each second voltage value of the plurality of second voltage values ​​and the target setting value to obtain a plurality of second voltage difference values;

[0123] Draw a target voltage difference curve according to the plurality of second voltage differences and the acquisition time corresponding to each of the plurality of second voltage differences; the horizontal axis of the target voltage difference curve is time, and the vertical axis is voltage difference;

[0124] Extracting a portion of the voltage difference curve that is smaller than the first preset voltage difference from the target voltage difference curve;

[0125] A duration corresponding to the partial voltage difference curve is determined to obtain the first duration.

[0126] Optionally, in determining the target setting value corresponding to the second side of the DCDC circuit, the determining unit 402 is specifically configured to:

[0127] Obtaining a reference setting value corresponding to the second side of the DCDC circuit;

[0128] Obtaining a target usage time corresponding to the DCDC circuit;

[0129] Acquire target operating environment data corresponding to the DCDC circuit;

[0130] Determine a first optimization factor corresponding to the target usage time;

[0131] Determining a second optimization factor corresponding to the target operating environment data;

[0132] The reference setting value is optimized according to the first optimization factor and the second optimization factor to obtain the target setting value.

[0133] Optionally, the bypass control system 400 of the DCDC circuit is further specifically used for:

[0134] Obtaining a voltage value of the first side of the DCDC circuit in a second preset time to obtain a third voltage value; the second preset time is later than the end time of the preset time period;

[0135] Determine a voltage difference between the target setting value and the third voltage value to obtain a third voltage difference;

[0136] When the third voltage difference is greater than the second preset voltage difference, determining a duration for which the third voltage difference in the DCDC circuit is greater than the second preset voltage difference to obtain a second duration; the second preset voltage difference is greater than the first preset voltage difference;

[0137] When the second duration is greater than a second preset duration, the DCDC circuit is controlled to enter the normal working state.

[0138] Optionally, in terms of controlling the DCDC circuit to enter the normal working state, the bypass control system 400 of the DCDC circuit is specifically used for:

[0139] When the first duty cycle corresponding to the first switch tube is not 100%, and / or the second duty cycle corresponding to the second switch tube is not 0%, the DCDC circuit is controlled to enter the normal working state.

[0140] In a specific implementation, the bypass control system 400 of the DCDC circuit described in the embodiment of the present application may also execute other implementations described in the bypass control method of the DCDC circuit provided in the above embodiment of the present application, which will not be described in detail here.

[0141] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.

[0142] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0143] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0144] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0145] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0146] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0147] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the above-mentioned methods in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0148] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A bypass control method for a DCDC circuit, characterized in that: Applicable to a DCDC circuit with a bypass function, the DCDC circuit comprising: a first capacitor, a second capacitor, an inductor, a first switch tube, and a second switch tube; The first side of the DCDC circuit is connected to a power supply device, and the second side of the DCDC circuit is connected to an electrical device, wherein the first end of the first capacitor is connected to the first end of the inductor, and the second end of the capacitor is respectively connected to the source of the second switch tube and the second end of the second capacitor; the first capacitor is connected in parallel with the power supply device as the first side of the DCDC circuit; the second capacitor is connected in parallel with the electrical device as the second side of the DCDC circuit; The second end of the inductor is connected to the source of the first switch tube and the drain of the second switch tube respectively; the drain of the first switch tube is connected to the first end of the second capacitor; The first capacitor and the second capacitor are used to store or release electric energy; the inductor is used to store or release electric energy; the first switch tube and the second switch tube are used to control the target working state of the DCDC circuit according to the change of their duty cycle; the target working state includes a normal working state or a bypass working state; Wherein, when the first duty cycle corresponding to the first switch tube is 100%, and the second duty cycle corresponding to the second switch tube is 0%, the target working state of the DCDC circuit includes the bypass working state; When the first duty cycle corresponding to the first switch tube is not 100%, and / or the second duty cycle corresponding to the second switch tube is not 0%, the target working state of the DCDC circuit includes the normal working state; The method comprises: Acquire a voltage value of a first side of the DCDC circuit in a first preset time to obtain a first voltage value; determining a target setting value corresponding to the second side of the DCDC circuit; Determine a voltage difference between the target setting value and the first voltage value to obtain a first voltage difference; When the first voltage difference is less than a first preset voltage difference, determining a duration of time in the DCDC circuit during which the first voltage difference is less than the first preset voltage difference to obtain a first duration; When the first duration is greater than a first preset duration, controlling the DCDC circuit to enter the bypass working state; Wherein, controlling the DCDC circuit to enter the bypass working state includes: Obtaining a target duty cycle control algorithm corresponding to the DCDC circuit; The first switch tube and the second switch tube are controlled according to the target duty cycle control algorithm, specifically: when the first duty cycle corresponding to the first switch tube is 100%, and the second duty cycle corresponding to the second switch tube is 0%, the DCDC circuit is controlled to enter the bypass working state; The step of determining a duration in which the first voltage difference in the DCDC circuit is less than the first preset voltage difference to obtain a first duration includes: Acquire a second voltage value of the first side of the DCDC circuit within a preset time period to obtain a plurality of second voltage values; each second voltage value corresponds to an acquisition time; the start time of the preset time period is later than the first preset time; Determine a voltage difference between each second voltage value of the plurality of second voltage values ​​and the target setting value to obtain a plurality of second voltage difference values; Draw a target voltage difference curve according to the plurality of second voltage differences and the acquisition time corresponding to each of the plurality of second voltage differences; the horizontal axis of the target voltage difference curve is time, and the vertical axis is voltage difference; Extracting a portion of the voltage difference curve that is smaller than the first preset voltage difference from the target voltage difference curve; A duration corresponding to the partial voltage difference curve is determined to obtain the first duration.

2. The method according to claim 1, characterized in that The determining a target setting value corresponding to the second side of the DCDC circuit includes: Obtaining a reference setting value corresponding to the second side of the DCDC circuit; Obtaining a target usage time corresponding to the DCDC circuit; Acquire target operating environment data corresponding to the DCDC circuit; Determine a first optimization factor corresponding to the target usage time; Determining a second optimization factor corresponding to the target operating environment data; The reference setting value is optimized according to the first optimization factor and the second optimization factor to obtain the target setting value.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining a voltage value of the first side of the DCDC circuit in a second preset time to obtain a third voltage value; the second preset time is later than the end time of the preset time period; Determine a voltage difference between the target setting value and the third voltage value to obtain a third voltage difference; When the third voltage difference is greater than the second preset voltage difference, determining a duration for which the third voltage difference in the DCDC circuit is greater than the second preset voltage difference to obtain a second duration; the second preset voltage difference is greater than the first preset voltage difference; When the second duration is greater than a second preset duration, the DCDC circuit is controlled to enter the normal working state.

4. The method according to claim 3, characterized in that The controlling the DCDC circuit to enter the normal working state includes: When the first duty cycle corresponding to the first switch tube is not 100%, and / or the second duty cycle corresponding to the second switch tube is not 0%, the DCDC circuit is controlled to enter the normal working state.