Power supply control circuit, vehicle controller and vehicle
By using a single circuit and an output terminal to switch between constant current and constant voltage modes, the problem of large space occupation and complex wiring in existing technologies is solved, achieving simple and efficient power control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, constant voltage and constant current outputs require two separate power supply circuits, resulting in large space occupation and complex wiring.
A single circuit and an output terminal are used to achieve switchable output in constant current and constant voltage modes. The current and voltage are adjusted by an output quantity control module and an output mode switching module, and real-time monitoring and closed-loop control are performed by a current detection module and a voltage detection module. Signal control is performed in conjunction with an MCU module.
It achieves switchable output in both constant current and constant voltage modes, reducing space occupation and wiring complexity, and improving the simplicity and reliability of the circuit.
Smart Images

Figure CN224054107U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to power supply technical field, concretely relates to a power control circuit, vehicle controller and vehicle. BACKGROUND
[0002] In some power supply occasions, for example, the power supply of some electric appliances of vehicles, both constant voltage source and constant current source can be needed. The most commonly used scheme at present is to adopt two separate power supply circuits, one of which is used to provide constant voltage output, and the other of which is used to provide constant current output.
[0003] In the above scheme, two independent output circuits are needed for constant voltage and constant current output, and the power supply needs to be input through two ports of the electric terminal, which has disadvantages in space occupation and circuit wiring complexity. SUMMARY
[0004] The utility model provides a power control circuit, vehicle controller and vehicle to solve the above-mentioned technical problem, can realize the switchable output of two modes of constant current and constant voltage through one circuit and one output end, and has small space occupation and simple wiring.
[0005] The utility model adopts the technical scheme as follows:
[0006] The power control circuit of the utility model relates to one aspect, which comprises: an output quantity control module connected to the output end of a power supply, the output quantity control module is used to adjust the output current size or output voltage size of the output end of the power supply; an output mode switching module connected to the output end of the power supply, the output mode switching module is used to control the output end of the power supply to output in constant current mode or constant voltage mode.
[0007] According to the power control circuit of the utility model, the output quantity control module connected to the output end of the power supply adjusts the output current size or output voltage size of the output end of the power supply, and the output mode switching module connected to the output end of the power supply controls the output end of the power supply to output in constant current mode or constant voltage mode, so that the switchable output of two modes of constant current and constant voltage can be realized through one circuit and one output end, the space occupation is small, and the wiring is simple and convenient.
[0008] Further, the power control circuit further comprises: a current detection module connected to the power supply and the output quantity control module respectively, the current detection module is used to detect the output current of the output end of the power supply.
[0009] Further, the power supply control circuit further comprises a voltage detection module connected with the power supply and the output quantity control module respectively, and the voltage detection module is used to detect the output voltage of the output end of the power supply.
[0010] By the current detection module and the voltage detection module, the current and voltage output by the output end of the power supply can be monitored in real time, and the closed-loop control of the output current and voltage can be realized based on the same.
[0011] Further, the power supply control circuit further comprises an overvoltage protection module connected with the power supply and the output mode switching module respectively, and the overvoltage protection module is used to perform overvoltage protection of the output end of the power supply in the constant voltage output mode.
[0012] Further, the power supply control circuit further comprises an MCU (Microcontroller Unit) module connected with the output quantity control module, the output mode switching module, the current detection module and the voltage detection module respectively, and the MCU module is used to send corresponding control signals to the output quantity control module and the output mode switching module and receive the detection results of the current detection module and the voltage detection module.
[0013] Specifically, the current detection module comprises a first resistor, one end of the first resistor is connected to the power supply, and the other end of the first resistor is connected with the output quantity control module; a first amplification circuit, a first input end of the first amplification circuit is connected with the other end of the first resistor, a second input end of the first amplification circuit is connected to the power supply, and an output end of the first amplification circuit is connected with a current sampling pin of the MCU module to output the detection result of the current detection module to the MCU module.
[0014] Specifically, the first amplification circuit comprises: a second resistor, one end of the second resistor serving as a first input end of the first amplification circuit; a third resistor, one end of the third resistor being connected to the other end of the second resistor; a fourth resistor, one end of the fourth resistor being connected to one end of the third resistor, and the other end of the fourth resistor being grounded; a fifth resistor, one end of the fifth resistor serving as a second input end of the first amplification circuit; a sixth resistor, one end of the sixth resistor being connected to the other end of the fifth resistor, and the other end of the sixth resistor being grounded; a seventh resistor, one end of the seventh resistor being connected to the other end of the third resistor, and the other end of the seventh resistor serving as an output end of the first amplification circuit; a first operational amplifier, a first input end of the first operational amplifier being connected to the other end of the second resistor, a second input end of the first operational amplifier being connected to the other end of the fifth resistor, and an output end of the first operational amplifier being connected to the other end of the third resistor.
[0015] Specifically, the output quantity control module comprises: a first switch tube, a first pole of the first switch tube being connected to the power supply, a second pole of the first switch tube serving as an output end of the power supply, and a control pole of the first switch tube being used to receive a control signal.
[0016] Specifically, the output quantity control module further comprises: a second amplification circuit, a first input end of the second amplification circuit being connected to a first control pin of an MCU module to receive an original control signal, a second input end of the second amplification circuit being connected to the power supply, and an output end of the second amplification circuit being connected to the control pole of the first switch tube to output an amplified control signal to the control pole of the first switch tube.
[0017] Specifically, the second amplification circuit comprises: an eighth resistor, one end of the eighth resistor being connected with the first pole of the first switch tube; a ninth resistor, one end of the ninth resistor being used as a first input end of the second amplification circuit; a first capacitor, one end of the first capacitor being connected with the other end of the ninth resistor, and the other end of the first capacitor being grounded; a tenth resistor, one end of the tenth resistor being connected with the other end of the ninth resistor, and the other end of the tenth resistor being connected with the other end of the eighth resistor; an eleventh resistor, one end of the eleventh resistor being used as a second input end of the second amplification circuit; a twelfth resistor, one end of the twelfth resistor being connected with the other end of the eleventh resistor, and the other end of the twelfth resistor being grounded; a thirteenth resistor, one end of the thirteenth resistor being used as an output end of the second amplification circuit; a second operational amplifier, a first input end of the second operational amplifier being connected with the other end of the eighth resistor, a second input end of the second operational amplifier being connected with the other end of the eleventh resistor, and an output end of the second operational amplifier being connected with the other end of the thirteenth resistor.
[0018] Specifically, the output mode switching module comprises: a fourteenth resistor, one end of the fourteenth resistor being connected with an output end of the power supply; a second switch tube, a first pole of the second switch tube being connected with the other end of the fourteenth resistor, a second pole of the second switch tube being grounded, and a control pole of the second switch tube being connected with a second control pin of the MCU module to receive a control signal.
[0019] Specifically, the voltage detection module comprises: a fifteenth resistor, one end of the fifteenth resistor being connected with an output end of the power supply, and the other end of the fifteenth resistor being connected with a voltage sampling pin of the MCU module to output a detection result of the voltage detection module to the MCU module; and a sixteenth resistor, one end of the sixteenth resistor being connected with the other end of the fifteenth resistor, and the other end of the sixteenth resistor being grounded.
[0020] Specifically, the overvoltage protection module comprises: a comparator unit, a first input end of the comparator unit being connected with an output end of the power supply, a second input end of the comparator unit being connected to a preset power supply, and an output end of the comparator unit being connected with the output mode switching module; and a diode, an anode of the diode being connected with the output mode control module, and a cathode of the diode being connected with the first input end of the comparator unit.
[0021] The utility model discloses a second aspect of a kind of vehicle controller, comprising the power control circuit.
[0022] The utility model discloses a third aspect of a kind of vehicle, comprising the vehicle controller. BRIEF DESCRIPTION OF DRAWINGS
[0023] Figure 1 A block schematic diagram of the power control circuit according to an embodiment of the present application;
[0024] Figure 2 A block schematic diagram of the power control circuit according to another embodiment of the present application;
[0025] Figure 3 A block schematic diagram of the power control circuit according to yet another embodiment of the present application;
[0026] Figure 4 A block schematic diagram of the power control circuit according to still another embodiment of the present application;
[0027] Figure 5 A topological structure diagram of the power control circuit according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0029] As shown in Figure 1 the power control circuit according to an embodiment of the present application comprises an output quantity control module 10 and an output mode switching module 20. The output quantity control module 10 is connected to the output end of the power supply, and is used to adjust the output current or output voltage of the output end of the power supply. The output mode switching module 20 is connected to the output end of the power supply, and is used to control the output end of the power supply to output in constant current mode or constant voltage mode.
[0030] In an embodiment of the present application, the output quantity control module 10 and the output mode switching module 20 can both be composed of switching tubes. The switching tubes of the output quantity control module 10 are connected to the output circuit of the power supply. By adjusting the duty cycle of the PWM (Pulse Width Modulation) wave driving the switching tubes, the output current or output voltage of the output end of the power supply can be adjusted. The switching tubes of the output mode switching module 20 can be connected in series with resistors to form branches. One end of the branch is connected to the output end of the power supply, and the other end is grounded. By controlling the switching tubes to be off or on, the output end of the power supply can be controlled to output in constant current mode or constant voltage mode.
[0031] According to the power control circuit of this utility model embodiment, the output current or output voltage of the power supply is adjusted by the output quantity control module connected to the output terminal of the power supply, and the output mode switching module connected to the output terminal of the power supply controls the output terminal of the power supply to output in constant current mode or constant voltage mode. Thus, the switchable output of constant current and constant voltage modes can be achieved through one circuit and one output terminal, which occupies little space and is simple and convenient to wire.
[0032] Furthermore, such as Figure 2 As shown, the power control circuit of this embodiment may further include a current detection module 30 and a voltage detection module 40. The current detection module 30 is connected to both the power supply and the output quantity control module 10, and is used to detect the output current at the output terminal of the power supply. The voltage detection module 40 is connected to both the power supply and the output quantity control module 10, and is used to detect the output voltage at the output terminal of the power supply.
[0033] In one embodiment of this utility model, the current detection module 30 and the voltage detection module 40 can employ any feasible circuit structure to implement the detection function, including but not limited to detection based on resistance circuits. Through the current detection module 30 and the voltage detection module 40, the current and voltage output from the power supply output terminal can be monitored in real time, and closed-loop control of the output current and voltage can be implemented based on this.
[0034] Furthermore, such as Figure 3 As shown, the power control circuit of this embodiment may further include an overvoltage protection module 50. The overvoltage protection module 50 is connected to the power supply and the output mode switching module 20 respectively, and is used to provide overvoltage protection for the output terminal of the power supply in constant voltage output mode.
[0035] Furthermore, such as Figure 4 As shown, the power control circuit of this embodiment may further include an MCU module 60. The MCU module 60 is connected to the output quantity control module 10, the output mode switching module 20, the current detection module 30, and the voltage detection module 40, respectively. The MCU module 60 is used to send corresponding control signals to the output quantity control module 10 and the output mode switching module 20, and to receive the detection results from the current detection module 30 and the voltage detection module 40.
[0036] The power control circuit of this utility model will be described in detail below with a feasible specific circuit topology.
[0037] In one embodiment of this utility model, such as Figure 5As shown, the current detection module 30 can include a first resistor R1 and a first amplification circuit. One end of the first resistor R1 is connected to the power supply Power1, and the other end of the first resistor R1 is connected to the output quantity control module 10. The first input end of the first amplification circuit is connected to the other end of the first resistor R1, the second input end of the first amplification circuit is connected to the power supply Power1, and the output end of the first amplification circuit is connected to the current sampling pin of the MCU module 60 to output the detection result of the current detection module 30 to the MCU module 60. The first amplification circuit can include a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, and a first operational amplifier A1. One end of the second resistor R2 serves as the first input end of the first amplification circuit. One end of the third resistor R3 is connected to the other end of the second resistor R2. One end of the fourth resistor R4 is connected to one end of the third resistor R3, and the other end of the fourth resistor R4 is grounded. One end of the fifth resistor R5 serves as the second input end of the first amplification circuit. One end of the sixth resistor R6 is connected to the other end of the fifth resistor R5, and the other end of the sixth resistor R6 is grounded. One end of the seventh resistor R7 is connected to the other end of the third resistor R3, and the other end of the seventh resistor R7 serves as the output end of the first amplification circuit. The first input end of the first operational amplifier A1 is connected to the other end of the second resistor R2, the second input end of the first operational amplifier A1 is connected to the other end of the fifth resistor R5, and the output end of the first operational amplifier A1 is connected to the other end of the third resistor R3. Through the first amplification circuit, the current at the other end of the first resistor R1, i.e., the current at the node 3, i.e., the current I o at the output end of the power supply, is amplified and output to the current sampling pin of the MCU module, thereby achieving detection of the current I o at the output end of the power supply.
[0038] As shown in FIG. 1, Figure 5 the output quantity control module 10 can include a first switch tube Q1. The first pole of the first switch tube Q1 is connected to the power supply, the second pole of the first switch tube Q1 serves as the output end of the power supply, and the control pole of the first switch tube Q1 is used to receive a control signal. In the figure, the first switch tube Q1 is taken as an example of a PMOS tube, and the first pole, the second pole, and the control pole of the PMOS tube are respectively the drain, the source, and the gate of the PMOS tube.
[0039] Further, as shown in FIG. 1, Figure 5As shown, the output quantity control module 10 can further include a second amplification circuit, a first input end of the second amplification circuit is connected to a first control pin, i.e. a PWM pin, of the MCU module 60 to receive an original control signal, i.e. an original PWM signal, a second input end of the second amplification circuit is connected to a power supply, and an output end of the second amplification circuit is connected to a control electrode of the first switch tube Q1 to output an amplified control signal, i.e. an amplified PWM signal, to the control electrode of the first switch tube Q1. The second amplification circuit can include an eighth resistor R8, a ninth resistor R9, a first capacitor C1, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13 and a second operational amplifier A2. One end of the eighth resistor R8 is connected to a first electrode of the first switch tube Q1; one end of the ninth resistor R9 serves as the first input end of the second amplification circuit; one end of the first capacitor C1 is connected to the other end of the ninth resistor R9, and the other end of the first capacitor C1 is grounded; one end of the tenth resistor R10 is connected to the other end of the ninth resistor R9, and the other end of the tenth resistor R10 is connected to the other end of the eighth resistor R8; one end of the eleventh resistor R11 serves as the second input end of the second amplification circuit; one end of the twelfth resistor R12 is connected to the other end of the eleventh resistor R11, and the other end of the twelfth resistor R12 is grounded; one end of the thirteenth resistor R13 serves as the output end of the second amplification circuit; a first input end of the second operational amplifier A2 is connected to the other end of the eighth resistor R8, a second input end of the second operational amplifier A2 is connected to the other end of the eleventh resistor R11, and an output end of the second operational amplifier A2 is connected to the other end of the thirteenth resistor R13. Through the second amplification circuit, the PWM wave output by the PWM pin of the MCU module 60 can be amplified to better drive the first switch tube Q1.
[0040] As shown in the figure, Figure 5 The output mode switching module 20 can include a fourteenth resistor R14 and a second switch tube Q2. One end of the fourteenth resistor R14 is connected to an output end of a power supply; a first electrode of the second switch tube Q2 is connected to the other end of the fourteenth resistor R14, a second electrode of the second switch tube Q2 is grounded, and a control electrode of the second switch tube Q2 is connected to a second control pin, i.e. a high-low level pin, of the MCU module 60 to receive a control signal, i.e. a high-low level signal. In an embodiment of the utility model, a seventeenth resistor R17 can be further connected between the control electrode of the second switch tube Q2 and the second control pin of the MCU module 60. In the figure, the second switch tube Q2 is taken as an example of an NMOS tube, and the first electrode, the second electrode and the control electrode thereof are respectively the drain, the source and the gate of the NMOS tube.
[0041] As shown in the figure, Figure 5As shown, the voltage detection module 40 may include a fifteenth resistor R15 and a sixteenth resistor R16. One end of the fifteenth resistor R15 is connected to the output terminal of the power supply, and the other end is connected to the voltage sampling pin of the MCU module 60 to output the detection result of the voltage detection module to the MCU module 60. One end of the sixteenth resistor R16 is connected to the other end of the fifteenth resistor R15, and the other end of the sixteenth resistor R16 is grounded. By sampling the voltage at the other end of the fifteenth resistor R15, i.e., the voltage at node 2, the output voltage V of the power supply can be obtained based on basic circuit principles. o .
[0042] like Figure 5 As shown, the overvoltage protection module 50 may include a comparator unit and a diode D1. The first input terminal of the comparator unit is connected to the output terminal of the power supply, the second input terminal of the comparator unit is connected to the preset power supply Power2, and the output terminal of the comparator unit is connected to the output mode switching module 20. The anode of the diode D1 is connected to the output quantity control module 10, and the cathode of the diode D1 is connected to the first input terminal of the comparator unit. The comparator unit may include an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, a twenty-first resistor R21, and a comparator A3. One end of the eighteenth resistor R18 is grounded; one end of the nineteenth resistor R19 is connected to the other end of the eighteenth resistor R18, and the other end of the nineteenth resistor R19 serves as the second input terminal of the comparator unit; one end of the twentieth resistor R20 serves as the first input terminal of the comparator unit; one end of the twenty-first resistor R21 is connected to the other end of the twentieth resistor R20, and the other end of the twenty-first resistor R21 is grounded; the first input terminal of comparator A3 is connected to the other end of the twentieth resistor R20, the second input terminal of comparator A3 is connected to the other end of the eighteenth resistor R18, and the output terminal of comparator A3 serves as the output terminal of the comparator unit, connected to the control electrode of the second switch Q2.
[0043] The following is a pair Figure 5 The circuit diagram shown illustrates the specific principles behind the functions implemented by each module.
[0044] according to From the circuit shown, we can see that U1 = R3 × (U Power1 / R5-U3 / R2), U2=R 16 / (R 15 +R 16 )×V O U4 = U5 = R 12 / (R 11 +R 12 )×U Power1 (U3-U4) / R8 = (U4-U6) / R 10Where U1 is the voltage at node 1, that is, the voltage at the output terminal of the first amplifier circuit, U Power1 U3 is the voltage of the power supply, U2 is the voltage at node 3 (the other end of the first resistor R1), and U2 is the voltage at node 2 (the other end of the fifteenth resistor R15). o U4 is the voltage at the output terminal of the power supply, U5 is the voltage at node 4, i.e., the voltage at the first input terminal of the second operational amplifier A2, U6 is the voltage at node 5, i.e., the voltage at the second input terminal of the second operational amplifier A2, and R6 is the voltage at node 6, i.e., the voltage at the other end of the ninth resistor R9. x This represents the resistance value of resistor Rx (the same applies below). Assume R1 = 56Ω, R2 = R5 = 100KΩ, R3 = 215KΩ, R... 15 =10KΩ, R 16 =100KΩ, R8=R 10 =56.2KΩ, R 11 =10KΩ, R 12 =20KΩ, then: U3 = U Power1 -U1 / 2.15, U4=U5=2 / 3×U Power1 U3 = 4 / 3 × U Power1 -U6, U1 = 2.15 × U6 - 43 / 60 × U Power1 Therefore, the MCU module 60 can control the voltage V at the output terminal of the power supply by controlling the voltage U2. o The closed-loop control allows for the adjustment of the PWM wave duty cycle to control the voltage U1. In constant current mode, the MCU module 60 configures the voltage U7 at node 7 to a low level of 0V via the high / low level pin (i.e., the voltage / current output mode switching control pin), turning off the second switch Q2. This is achieved at R8+R... 10 R2, R 16 When the resistance is relatively high, for example, not less than 100KΩ, the current flowing through the eighth resistor R8, the second resistor R2, and the sixteenth resistor R16 is close to zero. Therefore, the current flowing through the first resistor R1 is equal to the output current I of the power supply. o Therefore I o =(U Power1 -U3) / R1, combined with U3=U Power1 -U1 / 2.15, we can get I o =U1 / 120.4. In constant voltage mode, V o =(R 15 +R 16 ) / R 16XU2=1.1XU2, MCU module 60 configures the voltage U7 of node 7 through high and low level pins as 5V high level, so that the second switch tube Q2 is turned on, and the output end of the power supply is connected in parallel with the fourteenth resistor R14, and the resistance value of the fourteenth resistor R14 can be 270Ω, so that the output current is large enough, and the influence of the current flowing through the eighth resistor R8, the second resistor R2 and the sixteenth resistor R16 on the accuracy of the PWM wave regulation output voltage size is avoided.
[0045] As for the overvoltage protection module 50, in the constant voltage mode, the voltage of the output end of the power supply is input to the inverting input end of the comparator unit, if the voltage is higher than the threshold voltage provided by the preset power supply Power2, then the comparator unit outputs a low level, and the second switch tube Q2 is turned off from the on state, and in combination with the one-way conduction characteristic of the diode D1, the overvoltage protection of the output end of the power supply can be realized. When the output end of the power supply is short-circuited, the diode D1 is reversely cut off, and the circuit is not damaged, and after the short-circuit fault disappears, the circuit can work normally; when the output end of the power supply is short-circuited to the ground, the MCU module 60 can read the voltages U1 and U2 respectively, if U2 is always 0V and U1 is greater than 0V, then it can be judged that the output end of the power supply is short-circuited to the ground, the ground short-circuit detection is realized, and thus corresponding protection measures can be taken.
[0046] Based on the power supply control circuit in the above embodiment, the utility model also proposes a vehicle controller.
[0047] The vehicle controller in the embodiment of the utility model, including the power supply control circuit of any one embodiment of the utility model, its specific implementation can refer to the above embodiment, and here will not be repeated.
[0048] The vehicle controller in the embodiment of the utility model can realize the switchable output of the constant current and constant voltage two modes through one circuit and one output end, has small space occupation, and wiring is simple and convenient
[0049] Based on the vehicle controller in the above embodiment, the utility model also proposes a vehicle.
[0050] The vehicle in the embodiment of the utility model includes the vehicle controller in the above embodiment of the utility model, and the specific implementation can refer to the above embodiment, and here will not be repeated.
[0051] The vehicle in the embodiment of the utility model can realize the switchable output of the constant current and constant voltage two modes through one circuit and one output end under the control of the vehicle controller, has small space occupation, and wiring is simple and convenient.
[0052] In the description of the utility model, the terms "first", "second" are only used for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited by "first", "second" can explicitly or implicitly include one or more of the features. The meaning of "multiple" is two or more, unless otherwise specifically limited.
[0053] In the utility model, unless otherwise specifically defined and limited, the terms "mounting", "connection", "connection", "fixing" and the like should be understood broadly, for example, it can be fixed connection, or detachable connection, or integrated; it can be mechanical connection, or electrical connection; it can be directly connected, or indirectly connected through intermediate medium, or the communication or interaction relationship between two elements. For ordinary skilled in the art, the specific meaning of the above terms in the utility model can be understood according to the specific circumstances.
[0054] In the utility model, unless otherwise specifically defined and limited, the first feature is "on" or "under" the second feature, which can be direct contact between the first and second features, or indirect contact between the first and second features through intermediate medium. Moreover, the first feature "above", "above" and "above" the second feature can be directly above or obliquely above the first feature, or only indicate that the horizontal height of the first feature is higher than that of the second feature. The first feature "below", "below" and "below" the second feature can be directly below or obliquely below the first feature, or only indicate that the horizontal height of the first feature is less than that of the second feature.
[0055] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In the specification, the illustrative description of the above terms is not necessarily for the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, the skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of different embodiments or examples without contradiction.
[0056] Although the embodiments of the utility model have been shown and described above, it can be understood that the above embodiments are exemplary, and cannot be understood as limiting the utility model, and the skilled in the art can change, modify, replace and modify the above embodiments within the scope of the utility model.
Claims
1. A power supply control circuit, characterized in that, include: An output quantity control module is connected to the output terminal of the power supply and is used to adjust the output current or output voltage of the power supply. An output mode switching module is connected to the output terminal of the power supply. The output mode switching module is used to control the output terminal of the power supply to output in constant current mode or constant voltage mode.
2. The power control circuit according to claim 1, characterized in that, Also includes: A current detection module is connected to both the power supply and the output control module. The current detection module is used to detect the output current at the output terminal of the power supply.
3. The power control circuit according to claim 2, characterized in that, Also includes: A voltage detection module is connected to both the power supply and the output control module. The voltage detection module is used to detect the output voltage at the output terminal of the power supply.
4. The power control circuit according to claim 1, characterized in that, Also includes: An overvoltage protection module is connected to both the power supply and the output mode switching module. The overvoltage protection module is used to provide overvoltage protection for the output terminal of the power supply in the constant voltage output mode.
5. The power control circuit according to claim 3, characterized in that, Also includes: The MCU module is connected to the output quantity control module, the output mode switching module, the current detection module, and the voltage detection module. The MCU module is used to send corresponding control signals to the output quantity control module and the output mode switching module, and to receive the detection results from the current detection module and the voltage detection module.
6. The power control circuit according to claim 2, characterized in that, The current detection module includes: A first resistor, one end of which is connected to the power supply, and the other end of which is connected to the output control module; A first amplifier circuit has a first input terminal connected to the other end of the first resistor, a second input terminal connected to the power supply, and an output terminal connected to the current sampling pin of the MCU module to output the detection result of the current detection module to the MCU module.
7. The power control circuit according to claim 6, characterized in that, The first amplifier circuit includes: The second resistor, one end of which serves as the first input terminal of the first amplifier circuit; A third resistor, one end of which is connected to the other end of the second resistor; A fourth resistor, one end of which is connected to one end of the third resistor, and the other end of which is grounded; The fifth resistor, one end of which serves as the second input terminal of the first amplifier circuit; A sixth resistor, one end of which is connected to the other end of the fifth resistor, and the other end of the sixth resistor is grounded; A seventh resistor, one end of which is connected to the other end of the third resistor, and the other end of the seventh resistor serves as the output terminal of the first amplifier circuit; A first operational amplifier, wherein the first input terminal of the first operational amplifier is connected to the other end of the second resistor, the second input terminal of the first operational amplifier is connected to the other end of the fifth resistor, and the output terminal of the first operational amplifier is connected to the other end of the third resistor.
8. The power control circuit according to claim 1, characterized in that, The output control module includes: The first switching transistor has its first terminal connected to the power supply, its second terminal serving as the output terminal of the power supply, and its control terminal used to receive control signals.
9. The power control circuit according to claim 8, characterized in that, The output control module also includes: The second amplifier circuit has a first input terminal connected to the first control pin of the MCU module to receive the original control signal, a second input terminal connected to the power supply, and an output terminal connected to the control electrode of the first switching transistor to output the amplified control signal to the control electrode of the first switching transistor.
10. The power control circuit according to claim 9, characterized in that, The second amplifier circuit includes: The eighth resistor, one end of which is connected to the first terminal of the first switching transistor; The ninth resistor, one end of which serves as the first input terminal of the second amplifier circuit; A first capacitor, one end of which is connected to the other end of the ninth resistor, and the other end of the first capacitor is grounded; The tenth resistor has one end connected to the other end of the ninth resistor, and the other end of the tenth resistor is connected to the other end of the eighth resistor. The eleventh resistor, one end of which serves as the second input terminal of the second amplifier circuit; The twelfth resistor has one end connected to the other end of the eleventh resistor, and the other end of the twelfth resistor is grounded. The thirteenth resistor, one end of which serves as the output terminal of the second amplifier circuit; The second operational amplifier has its first input terminal connected to the other end of the eighth resistor, its second input terminal connected to the other end of the eleventh resistor, and its output terminal connected to the other end of the thirteenth resistor.
11. The power control circuit according to claim 1, characterized in that, The output mode switching module includes: The fourteenth resistor, one end of which is connected to the output terminal of the power supply; The second switch has its first terminal connected to the other end of the fourteenth resistor, its second terminal grounded, and its control terminal connected to the second control pin of the MCU module to receive control signals.
12. The power control circuit according to claim 3, characterized in that, The voltage detection module includes: The fifteenth resistor has one end connected to the output terminal of the power supply and the other end connected to the voltage sampling pin of the MCU module to output the detection result of the voltage detection module to the MCU module. The sixteenth resistor has one end connected to the other end of the fifteenth resistor, and the other end of the sixteenth resistor is grounded.
13. The power control circuit according to claim 4, characterized in that, The overvoltage protection module includes: A comparator unit, wherein the first input terminal of the comparator unit is connected to the output terminal of the power supply, the second input terminal of the comparator unit is connected to a preset power supply, and the output terminal of the comparator unit is connected to the output mode switching module; A diode, the anode of which is connected to the output control module, and the cathode of which is connected to the first input terminal of the comparator unit.
14. A vehicle controller, characterized in that, Includes the power control circuit according to any one of claims 1-13.
15. A vehicle, characterized in that, Includes the vehicle controller as described in claim 14.