Series-parallel output voltage detection circuit and voltage control method of output load

Through the series-parallel output voltage detection circuit and the combination of DC/DC conversion unit and voltage sampling unit, detection problems in the existing technology are solved, stable detection of the charging module output voltage and load voltage control are achieved, and the design cost is reduced.

CN118631050APending Publication Date: 2024-09-10XIAN HENGCUIYUAN NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410696948.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology cannot conveniently and effectively detect the output terminal voltage of the charging module after series-parallel switching, resulting in complex design and high cost.

Method used

A series-parallel output voltage detection circuit is designed, including a DC/DC conversion unit, a state control unit and a voltage sampling unit. By switching the series-parallel state of the DC/DC conversion unit, a combination of diodes and resistors are used for voltage sampling to achieve series detection. Or voltage detection in parallel mode, and controls the output load voltage through the sampled value.

Benefits of technology

It achieves convenient and effective detection of the output voltage of the charging module, saves design costs, and improves the stability of the output terminal voltage detection and the working stability of the output load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631050A
    Figure CN118631050A
Patent Text Reader

Abstract

The invention discloses a series-parallel connection output voltage detection circuit and a voltage control method of an output load, and aims to switch the series-parallel connection state of each conversion unit based on a state control unit. The first direct-current voltage and the second direct-current voltage which are switched in the series-parallel connection mode can be detected at the same time only by adopting the voltage sampling unit, other circuits or modules do not need to be adopted for auxiliary testing, and output voltage detection in the series-parallel connection switching mode can be achieved while the wide-range output voltage requirement is met; the design cost can be saved, and during voltage sampling, the first diode, the first resistor and the second resistor are designed, so that the stability of output end voltage detection can be improved; for the adaptive output load, the output voltage of the output load can be controlled through the sampling value of the first direct-current voltage, the sampling value of the second direct-current voltage and the series-parallel connection state of the conversion unit, and the working stability of the output load can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power electronic circuits, and in particular to a series-parallel output voltage detection circuit, an output load voltage control method, an electronic device and a computer-readable storage medium. Background Art

[0002] With the rapid development of the new energy electric vehicle industry, the demand for the DC output power of the charging module is also growing, and the output voltage range requirements are becoming wider and wider. This demand can be met by the series-parallel switching circuit, so it has been widely used. At present, although the output switching circuit in the related technology can complete the series-parallel switching of the charging module, it is not possible to conveniently and effectively detect the branch output terminal voltage in the series or parallel mode after switching. It is often necessary to use other detection circuits to complete the output voltage detection of the charging module, which is not very convenient to use and has a high cost. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the present invention proposes a series-parallel output voltage detection circuit, an output load voltage control method, an electronic device and a computer-readable storage medium, which can conveniently and effectively detect the output voltage of the charging module after series-parallel switching in an integrated manner, thereby saving design costs.

[0004] In a first aspect, an embodiment of the present invention provides a series-parallel output voltage detection circuit, comprising:

[0005] A first DC / DC conversion unit, used for converting an input DC voltage and outputting a first DC voltage;

[0006] A second DC / DC conversion unit, used for converting the input DC voltage and outputting a second DC voltage;

[0007] a state control unit, connected to the first DC / DC conversion unit and the second DC / DC conversion unit, respectively, and used to switch the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit;

[0008] The voltage sampling unit includes a first sampling unit respectively connected to the first DC / DC conversion unit, the second DC / DC conversion unit and the state control unit, the first sampling unit includes a first diode, a first resistor and a second resistor connected in series, the first diode is used to prevent the first DC voltage from feeding back into the second DC voltage, the first resistor and the second resistor are used to compensate for the voltage drop impedance of the first diode, and the first diode and the second resistor are used to cooperate to achieve simultaneous sampling of the first DC voltage and the second DC voltage.

[0009] Optionally, in one embodiment of the present invention, the state control unit includes a first switching element and a second switching element, the first switching element is arranged between the negative output end of the first DC / DC conversion unit and the negative output end of the second DC / DC conversion unit, and the second switching element is arranged between the negative output end of the first DC / DC conversion unit and the positive output end of the second DC / DC conversion unit, wherein when the first switching element is closed and the second switching element is opened, the first DC / DC conversion unit and the second DC / DC conversion unit are connected in parallel; when the first switching element is opened and the second switching element is closed, the first DC / DC conversion unit and the second DC / DC conversion unit are connected in series.

[0010] Optionally, in one embodiment of the present invention, the state control unit further includes a second diode and a third diode, the positive output end of the first DC / DC conversion unit is used to connect to an input end of an external load through the second diode, and the positive output end of the second DC / DC conversion unit is used to connect to an input end of an external load through the third diode.

[0011] Optionally, in one embodiment of the present invention, the voltage sampling unit further includes a second sampling unit, and the second sampling unit includes a third resistor and a fourth resistor as sampling resistors;

[0012] When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a series connection state, the negative output end of the first DC / DC conversion unit and the positive output end of the second DC / DC conversion unit are both connected to the second resistor and the first resistor connected in series through the first diode, the cathode of the first diode is connected to one end of the second resistor, and the other end of the second resistor is connected in series to the third resistor and the fourth resistor;

[0013] When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a parallel connection state, the positive output end of the second DC / DC conversion unit is connected to the second resistor and the first resistor connected in series through the first diode, the cathode of the first diode is connected to one end of the second resistor, and the other end of the second resistor is connected in series to the third resistor and the fourth resistor; the positive output end of the second DC / DC conversion unit is also connected to the anode of the third diode, and the positive output end of the first DC / DC conversion unit is connected to the cathode of the third diode through the second diode.

[0014] Optionally, in one embodiment of the present invention, the first switch element / the second switch element includes at least one of the following:

[0015] MOSFET;

[0016] IGBT;

[0017] Relay.

[0018] In a second aspect, an embodiment of the present invention provides a method for controlling a voltage of an output load, wherein the output end of the series-parallel output voltage detection circuit as described in the first aspect is connected to the output load; the method comprises:

[0019] Acquire sample values ​​of the first DC voltage and the second DC voltage;

[0020] The output voltage of the output load is controlled according to the sampling value of the first DC voltage, the sampling value of the second DC voltage, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit.

[0021] Optionally, in one embodiment of the present invention, controlling the output voltage of the output load according to the sampled value of the first DC voltage, the sampled value of the second DC voltage, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit includes:

[0022] When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a series connection state, the output voltage of the output load is controlled to be the sum of the sampling value of the first DC voltage and the sampling value of the second DC voltage.

[0023] Optionally, in one embodiment of the present invention, controlling the output voltage of the output load according to the sampled value of the first DC voltage, the sampled value of the second DC voltage, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit includes:

[0024] When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a parallel connection state, a magnitude relationship between a sampling value of the first DC voltage and a sampling value of the second DC voltage is determined;

[0025] When it is determined that the sampling value of the first DC voltage is the same as the sampling value of the second DC voltage, the output voltage of the output load is controlled to be the sampling value of the first DC voltage; or, when it is determined that the sampling value of the first DC voltage is different from the sampling value of the second DC voltage, the output voltage of the output load is controlled to be the larger of the sampling value of the first DC voltage and the sampling value of the second DC voltage.

[0026] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0027] at least one processor;

[0028] at least one memory for storing at least one program;

[0029] When at least one of the programs is executed by at least one of the processors, the method for controlling the voltage of the output load as described in the second aspect is implemented.

[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a program executable by a processor, and when the program executable by the processor is executed by the processor, it is used to implement the voltage control method of the output load as described in the second aspect.

[0031] The present invention proposes a series-parallel output voltage detection circuit, an output load voltage control method, an electronic device and a computer-readable storage medium. When the series-parallel state of a first DC / DC conversion unit and a second DC / DC conversion unit are switched based on a state control unit, only a voltage sampling unit is needed to simultaneously detect the first DC voltage and the second DC voltage of the conversion unit in the switched series or parallel mode, without the need to use other circuits or modules for auxiliary testing, that is, the output terminal voltage detection in the series-parallel switching mode can be realized while meeting the wide range of output voltage requirements, which can save design costs, and when sampling the voltage, a first diode, a first resistor and a second resistor are designed to improve the stability of the output terminal voltage detection; in addition, for a corresponding output load, the output voltage of the output load can be controlled to be a corresponding value through the sampling value of the first DC voltage, the sampling value of the second DC voltage and the series-parallel state of the conversion unit, which is conducive to improving the working stability of the output load. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The diagram is a principle block diagram of a series-parallel output voltage detection circuit provided in accordance with an embodiment of the present invention.

[0033] Figure 2 is a circuit schematic diagram of a series-parallel output voltage detection circuit provided by an embodiment of the present invention;

[0034] Figure 3This is the circuit principle of a series-parallel output voltage detection circuit provided by another embodiment of the present invention;

[0035] Figure 4 is a circuit schematic diagram of a series-parallel output voltage detection circuit provided by another embodiment of the present invention;

[0036] Figure 5 is a flow chart of a method for controlling a voltage of an output load provided by an embodiment of the present invention;

[0037] Figure 6 yes Figure 5 A flow chart of step S2000 in FIG.

[0038] Figure 7 yes Figure 5 Another flow chart of step S2000 in FIG.

[0039] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.

[0042] The present invention provides a series-parallel output voltage detection circuit, a voltage control method for an output load, an electronic device and a computer-readable storage medium, wherein the series-parallel output voltage detection circuit comprises: a first DC / DC conversion unit, used for converting an input DC voltage and outputting a first DC voltage; a second DC / DC conversion unit, used for converting an input DC voltage and outputting a second DC voltage; a state control unit, connected to the first DC / DC conversion unit and the second DC / DC conversion unit, respectively, and used for switching the series-parallel states of the first DC / DC conversion unit and the second DC / DC conversion unit; a voltage sampling unit, comprising a first sampling unit connected to the first DC / DC conversion unit, the second DC / DC conversion unit and the state control unit, respectively, the first sampling unit comprising a first diode, a first resistor and a second resistor connected in series, the first diode being used for preventing the first DC voltage from feeding back into the second DC voltage, the first resistor and the second resistor being used for compensating for the voltage drop impedance of the first diode, and the first diode and the second resistor being used for cooperating to implement simultaneous sampling of the first DC voltage and the second DC voltage. In the present invention, when the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit is switched based on the state control unit, only the voltage sampling unit is needed to simultaneously detect the first DC voltage and the second DC voltage of the conversion unit in the switched series or parallel mode, without the need to use other circuits or modules for auxiliary testing, that is, the detection of the output terminal voltage in the series-parallel switching mode can be realized while meeting the wide range of output voltage requirements, which can save design costs, and when sampling the voltage, the first diode, the first resistor and the second resistor are designed to improve the stability of the output terminal voltage detection; in addition, for the corresponding output load, the output voltage of the output load can be controlled to be a corresponding value through the sampling value of the first DC voltage, the sampling value of the second DC voltage and the series-parallel state of the conversion unit, which is beneficial to improving the working stability of the output load.

[0043] Figure 1 A principle block diagram of a series-parallel output voltage detection circuit provided by an embodiment of the present invention, Figure 2 A circuit schematic diagram of a series-parallel output voltage detection circuit provided in one embodiment of the present invention.

[0044] like Figure 1 As shown, the series-parallel output voltage detection circuit specifically includes but is not limited to:

[0045] The first DC / DC conversion unit 100 is used to convert the input DC voltage and output a first DC voltage V1;

[0046] The second DC / DC conversion unit 200 is used to convert the input DC voltage and output a second DC voltage V2;

[0047] The state control unit 300 is connected to the first DC / DC conversion unit 100 and the second DC / DC conversion unit 200 respectively, and is used to switch the series-parallel state of the first DC / DC conversion unit 100 and the second DC / DC conversion unit 200;

[0048] The voltage sampling unit 400 includes a first sampling unit 410 connected to the first DC / DC conversion unit 100, the second DC / DC conversion unit 200 and the state control unit 300, respectively. Figure 2 As shown, the first sampling unit 410 includes a first diode D1, a first resistor R1 and a second resistor R2 connected in series, the first diode D1 is used to prevent the first DC voltage V1 from feeding back into the second DC voltage V2, the first resistor R1 and the second resistor R2 are used to compensate for the voltage drop impedance of the first diode D1, and the first diode D1 and the second resistor R2 are used to cooperate to achieve simultaneous sampling of the first DC voltage V1 and the second DC voltage V2.

[0049] It can be seen that, when the series-parallel state of the first DC / DC conversion unit 100 and the second DC / DC conversion unit 200 is switched based on the state control unit 300, only the voltage sampling unit 400 is needed to simultaneously detect the first DC voltage V1 and the second DC voltage V2 of the conversion unit in the switched series or parallel mode, without the need to use other circuits or modules for auxiliary testing, that is, the output terminal voltage detection in the series-parallel switching mode can be realized while meeting the wide range of output voltage requirements, which can save design costs, and when sampling the voltage, the first diode D1, the first resistor R1 and the second resistor R2 are designed, the first diode D1 is used to prevent the first DC voltage V1 from back-injecting the second DC voltage V2, so as to ensure that the accuracy of the voltage sampling is not affected, the first resistor R1 and the second resistor R2 are used to compensate for the voltage drop impedance of the first diode D1, and at the same time, the stability of the output terminal voltage detection can be improved.

[0050] In one embodiment, the specific models, parameters, etc. of the first DC / DC conversion unit 100 and the second DC / DC conversion unit 200 can be set by those skilled in the art according to different application scenarios. For example, in addition to the DC / DC converter, other types of charging modules can also be considered, which is not limited here.

[0051] In one embodiment, if Figure 2As shown, the state control unit includes a first switch element K1 and a second switch element K2. The first switch element K1 is arranged between the negative output end of the first DC / DC conversion unit and the negative output end of the second DC / DC conversion unit, and the second switch element K2 is arranged between the negative output end of the first DC / DC conversion unit and the positive output end of the second DC / DC conversion unit. When the first switch element K1 is closed and the second switch element K2 is disconnected, the first DC / DC conversion unit and the second DC / DC conversion unit are connected in parallel; when the first switch element K1 is disconnected and the second switch element K2 is closed, the first DC / DC conversion unit and the second DC / DC conversion unit are connected in series. It can be seen that by controlling the on-off state of the first switch element K1 and the second switch element K2, the series-parallel state switching of the first DC / DC conversion unit and the second DC / DC conversion unit can be realized conveniently and effectively. Specifically, the first switch element K1 / the second switch element K2 includes at least one of the following:

[0052] MOSFET;

[0053] IGBT;

[0054] Relay.

[0055] That is to say, the first switch element K1 / the second switch element K2 can be any one of the above elements, or a corresponding combination of the above elements. Those skilled in the art can make corresponding settings according to the specific application scenario, but in either case, it should act as a switch element.

[0056] In one embodiment, if Figure 2 As shown, the state control unit further includes a second diode D2 and a third diode D3. The positive output terminal of the first DC / DC conversion unit is used to connect an input terminal of an external load through the second diode D2. The positive output terminal of the second DC / DC conversion unit is used to connect an input terminal of an external load through the third diode D3. The input terminal and specific type of the external load are not limited. For example, refer to Figure 2 If the input end of the external load can be a positive input end and a negative input end respectively, then the positive output end of the first DC / DC conversion unit is used to connect the positive input end of the external load through the second diode D2, and the positive output end of the second DC / DC conversion unit is used to connect the negative input end of the external load through the third diode D3, thereby realizing the input of the first DC voltage V1 and the second DC voltage V2 to the external load.

[0057] In one embodiment, the voltage sampling unit further includes a second sampling unit, and the second sampling unit includes a third resistor R3 and a fourth resistor R4 as sampling resistors.

[0058] Specifically, Figure 3As shown, when the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a series connection state, the negative output end of the first DC / DC conversion unit and the positive output end of the second DC / DC conversion unit are both connected to the second resistor R2 and the first resistor R1 connected in series through the first diode D1, the cathode of the first diode D1 is connected to one end of the second resistor R2, and the other end of the second resistor R2 is connected in series to the third resistor R3 and the fourth resistor R4. At this time, the third diode D3 is cut off, and the first diode D1 is used to prevent the first DC voltage V1 from feeding back the second DC voltage V2. In this case, after sampling and detection, the sum of the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2 can be the output voltage of the external load.

[0059] like Figure 4 As shown, when the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a parallel connection state, the positive output end of the second DC / DC conversion unit is connected to the second resistor R2 and the first resistor R1 connected in series through the first diode D1, the cathode of the first diode D1 is connected to one end of the second resistor R2, and the other end of the second resistor R2 is connected in series to the third resistor R3 and the fourth resistor R4; the positive output end of the second DC / DC conversion unit is also connected to the anode of the third diode D3, and the positive output end of the first DC / DC conversion unit is connected to the cathode of the third diode D3 through the second diode D2. At this time, the third diode D3 is turned on. In this case, the first resistor R1 and the second resistor R2 are used to compensate for the voltage drop impedance of the first diode D1 in the parallel mode. After sampling and detection, it is obtained that if the first DC voltage V1 is equal to the sampling value of the second DC voltage V2, then the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2 can be equal to the output voltage of the external load, otherwise, the larger of the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2 can be equal to the output voltage of the external load. It can be seen that if the second resistor R2 and the first diode D1 are not designed, then when the sampling value of the second DC voltage V2 is greater than the sampling value of the first DC voltage V1, the output voltage of the external load is equal to the sampling value of the second DC voltage V2, but not equal to the sampling value of the first DC voltage V1. At this time, the output power passes through one end of the second DC voltage V2, resulting in uneven current, and the output voltage output of the external load is uncontrollable, and the second DC voltage V2 will be cut off by the first DC voltage V1, resulting in its voltage cannot be sampled.

[0060] It should be noted that the series-parallel output voltage detection circuit and application scenario described in the embodiment of the present invention are for the purpose of more clearly illustrating the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Those skilled in the art will know that with the evolution of the series-parallel output voltage detection circuit and the emergence of new application scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.

[0061] Figure 5 The flowchart of the voltage control method of the output load provided by one embodiment of the present invention. The output load is connected to the output end of the series-parallel output voltage detection circuit shown in any of the above embodiments, such as Figure 5 As shown, the output load voltage control method may include but is not limited to steps S1000 to S2000.

[0062] Step S1000: acquiring sampling values ​​of the first DC voltage V1 and the second DC voltage V2;

[0063] Step S2000: controlling the output voltage VO of the output load according to the sampling value of the first DC voltage V1, the sampling value of the second DC voltage V2, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit.

[0064] In this step, for the output load adapted to the series-parallel output voltage detection circuit, the output voltage VO of the output load can be controlled to be a corresponding value through the sampling value of the first DC voltage V1, the sampling value of the second DC voltage V2 and the series-parallel state of each conversion unit, so that the output load can work well based on this output voltage, ensuring the optimal matching between the output load and the series-parallel output voltage detection circuit, which is conducive to further improving the working stability of the output load; Figure 2 As shown, a corresponding sampling point can be set on the series-parallel output voltage detection circuit, such as a sampling point between the third resistor R3 and the fourth resistor R4, and the output voltage VO of the output load is controlled based on the sampling result.

[0065] One embodiment of the present invention, as Figure 6 As shown, step S2000 may include but is not limited to step S2100.

[0066] Step S2100: When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a series connection state, the output voltage VO of the output load is controlled to be the sum of the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2.

[0067] In this step, when it is confirmed that each conversion unit is switched to a series connection state, it means that each conversion unit is in a circuit voltage division state, then the output voltage VO of the output load is controlled to be the sum of the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2, which can ensure the optimal matching between the output load and the series-parallel output voltage detection circuit, which is conducive to further improving the working stability of the output load; Figure 3 As shown, a corresponding sampling point can be set on the series-parallel output voltage detection circuit, such as a sampling point between the third resistor R3 and the fourth resistor R4, and the output voltage VO of the output load is controlled accordingly based on the sampling result.

[0068] One embodiment of the present invention, as Figure 7 As shown, step S2000 may include but is not limited to steps S2200 to S2300.

[0069] Step S2200: when the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a parallel connection state, determining the magnitude relationship between the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2;

[0070] Step S2300: When it is determined that the sampling value of the first DC voltage V1 is the same as the sampling value of the second DC voltage V2, the output voltage VO of the output load is controlled to be the sampling value of the first DC voltage V1; or, when it is determined that the sampling value of the first DC voltage V1 is different from the sampling value of the second DC voltage V2, the output voltage VO of the output load is controlled to be the larger of the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2.

[0071] In this step, when it is confirmed that each conversion unit is switched to a parallel connection state, it means that each conversion unit is in circuit shunting. At this time, it is necessary to take into account the voltage requirements of each conversion unit. Then, by judging the size relationship between the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2, and then, when judging that the sampling value of the first DC voltage V1 is the same as the sampling value of the second DC voltage V2, the output voltage VO of the output load is set to the sampling value of the first DC voltage V1 / the second DC voltage V2, or, when the two sampling values ​​are different, the larger one of the sampling value of the first DC voltage V1 and the sampling value of the second DC voltage V2 is set as the output voltage VO of the output load, which can ensure the optimal matching between the output load and the series-parallel output voltage detection circuit, which is conducive to further improving the working stability of the output load; Figure 4 As shown, a corresponding sampling point can be set on the series-parallel output voltage detection circuit, for example, between the third resistor R3 and the fourth resistor R4, and the output voltage VO of the output load is controlled accordingly based on the sampling result.

[0072] A specific example is given below for illustration.

[0073] The voltage drop of the first diode D1 is 0.7V, V 31 for Figure 4 The sampling value of the first DC voltage V1 at the sampling point 3 is shown as V 32 is the sampling value of the second DC voltage V2 at sampling point 3, V3 is the voltage at sampling point 3, that is, the output voltage VO of the corresponding output load, then according to the circuit, we can get:

[0074]

[0075]

[0076]

[0077] It can be seen that when the resistance of the first resistor is the same as that of the second resistor, if V1>V2, then V 31 >V 32 , V3 is taken from V 31 and V 32 The larger voltage, V3 = V 31 ; If V2>V1, then V 32 >V 31 , V3 is taken from V 31 and V 32 The larger voltage, V3 = V 32 ; If V1=V2, then V 31 =V 32 =V3.

[0078] Figure 8 FIG. 1 is a schematic diagram of the structure of an electronic device 1000 provided by an embodiment of the present invention. Figure 8 As shown, the electronic device 1000 includes a memory 1100 and a processor 1200. The number of the memory 1100 and the processor 1200 may be one or more. Figure 8 In the embodiment, a memory 1100 and a processor 1200 are taken as an example; the memory 1100 and the processor 1200 in the device may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0079] The memory 1100 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the voltage control method of the output load provided in any embodiment of the present invention. The processor 1200 implements the voltage control method of the output load by running the software programs, instructions and modules stored in the memory 1100.

[0080] The memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. In addition, the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1100 may further include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0081] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method for controlling the voltage of an output load provided in any embodiment of the present invention.

[0082] An embodiment of the present invention further provides a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the voltage control method of the output load provided in any embodiment of the present invention.

[0083] The electronic devices and application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art will appreciate that with the evolution of electronic devices and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

[0084] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0085] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0086] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).

Claims

1. A series-parallel output voltage detection circuit, characterized in that: include: A first DC / DC conversion unit, used for converting an input DC voltage and outputting a first DC voltage; A second DC / DC conversion unit, used for converting the input DC voltage and outputting a second DC voltage; a state control unit, connected to the first DC / DC conversion unit and the second DC / DC conversion unit, respectively, and used to switch the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit; The voltage sampling unit includes a first sampling unit respectively connected to the first DC / DC conversion unit, the second DC / DC conversion unit and the state control unit, the first sampling unit includes a first diode, a first resistor and a second resistor connected in series, the first diode is used to prevent the first DC voltage from feeding back into the second DC voltage, the first resistor and the second resistor are used to compensate for the voltage drop impedance of the first diode, and the first diode and the second resistor are used to cooperate to achieve simultaneous sampling of the first DC voltage and the second DC voltage.

2. The series-parallel output voltage detection circuit according to claim 1, characterized in that: The state control unit includes a first switch element and a second switch element, wherein the first switch element is arranged between the negative output end of the first DC / DC conversion unit and the negative output end of the second DC / DC conversion unit, and the second switch element is arranged between the negative output end of the first DC / DC conversion unit and the positive output end of the second DC / DC conversion unit, wherein when the first switch element is closed and the second switch element is opened, the first DC / DC conversion unit and the second DC / DC conversion unit are connected in parallel; when the first switch element is opened and the second switch element is closed, the first DC / DC conversion unit and the second DC / DC conversion unit are connected in series.

3. The series-parallel output voltage detection circuit according to claim 2, characterized in that: The state control unit also includes a second diode and a third diode, the positive output end of the first DC / DC conversion unit is used to connect to an input end of an external load through the second diode, and the positive output end of the second DC / DC conversion unit is used to connect to an input end of an external load through the third diode.

4. The series-parallel output voltage detection circuit according to claim 3, characterized in that: The voltage sampling unit further includes a second sampling unit, wherein the second sampling unit includes a third resistor and a fourth resistor as sampling resistors; When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a series connection state, the negative output end of the first DC / DC conversion unit and the positive output end of the second DC / DC conversion unit are both connected to the second resistor and the first resistor connected in series through the first diode, the cathode of the first diode is connected to one end of the second resistor, and the other end of the second resistor is connected in series to the third resistor and the fourth resistor; When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a parallel connection state, the positive output end of the second DC / DC conversion unit is connected to the second resistor and the first resistor connected in series through the first diode, the cathode of the first diode is connected to one end of the second resistor, and the other end of the second resistor is connected in series to the third resistor and the fourth resistor; the positive output end of the second DC / DC conversion unit is also connected to the anode of the third diode, and the positive output end of the first DC / DC conversion unit is connected to the cathode of the third diode through the second diode.

5. The series-parallel output voltage detection circuit according to any one of claims 2 to 4, characterized in that: The first switching element / the second switching element includes at least one of the following: MOSFET; IGBT; Relay.

6. A method for controlling a voltage of an output load, characterized in that: The output end of the series-parallel output voltage detection circuit according to any one of claims 1 to 5 is connected to the output load; the method comprises: Acquire sample values ​​of the first DC voltage and the second DC voltage; The output voltage of the output load is controlled according to the sampling value of the first DC voltage, the sampling value of the second DC voltage, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit.

7. The method for controlling the voltage of an output load according to claim 6, characterized in that: The controlling the output voltage of the output load according to the sampling value of the first DC voltage, the sampling value of the second DC voltage, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit comprises: When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a series connection state, the output voltage of the output load is controlled to be the sum of the sampling value of the first DC voltage and the sampling value of the second DC voltage.

8. The method for controlling the voltage of an output load according to claim 6, characterized in that: The controlling the output voltage of the output load according to the sampling value of the first DC voltage, the sampling value of the second DC voltage, and the series-parallel state of the first DC / DC conversion unit and the second DC / DC conversion unit comprises: When the state control unit switches the first DC / DC conversion unit and the second DC / DC conversion unit to a parallel connection state, a magnitude relationship between a sampling value of the first DC voltage and a sampling value of the second DC voltage is determined; When it is determined that the sampling value of the first DC voltage is the same as the sampling value of the second DC voltage, the output voltage of the output load is controlled to be the sampling value of the first DC voltage; or, when it is determined that the sampling value of the first DC voltage is different from the sampling value of the second DC voltage, the output voltage of the output load is controlled to be the larger of the sampling value of the first DC voltage and the sampling value of the second DC voltage.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the method for controlling the voltage of the output load according to any one of claims 6 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: A program executable by a processor is stored therein, and when the program executable by the processor is executed by the processor, it is used to implement the voltage control method of the output load as described in any one of claims 6 to 8.