Vehicle-mounted controller and automobile
By using a combination of switching circuits, comparison circuits and main control circuits in the vehicle controller, combined with voltage detection and current detection, the problems of low heat generation and device with low voltage resistance in the power supply reverse protection are solved, and low loss and high Stable power protection.
Patent Information
- Application Number
- CN202420320365.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-20
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2034-02-20
AI Technical Summary
In vehicle controllers, when power supply reverse protection is used for diodes and other devices, it will generate large heat, affecting working stability. In addition, the P-channel MOSFET has a low voltage resistance level in high voltage scenarios, and the N-channel MOSFET drive circuit is complex and easy Initiate EMI.
Using a combination of switching circuit, comparison circuit and main control circuit, the working state of the switching circuit is controlled by comparing voltage and current signals, the power supply reverse protection is achieved, heat generation is reduced, and overvoltage and overvoltage are prevented through voltage detection and current detection circuits. to ensure the power supply is stable.
It realizes small losses during the reverse connection protection process of power supply, simple and reliable circuit, saves costs and space, and improves system performance and safety.
Smart Images

Figure CN221969507U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle-mounted equipment, and in particular to a vehicle-mounted controller and a car. Background Art
[0002] In the automotive industry, the safety of automobiles is related to the life and health of drivers and passengers. In order to ensure the stable operation of various systems in the automobile, the electronic components and circuits connected to the car battery are required to be strictly protected to avoid instability during operation and cause the car to lose control. In the vehicle controller, in order to achieve reverse protection of the input power of the vehicle controller, a diode, a transistor or a switch tube is usually connected in series or in parallel at the power input end to isolate the load from the negative input voltage, thereby providing reverse polarity protection for the load, and achieving the purpose of input reverse polarity protection and reverse current blocking. However, when the above devices are used for reverse power protection, a large amount of heat will be generated, affecting the stability of its operation. Utility Model Content
[0003] The main purpose of the utility model is to provide a vehicle-mounted controller, aiming to reduce the heat generated during the reverse protection of the power supply in the vehicle-mounted controller.
[0004] To achieve the above-mentioned purpose, the vehicle-mounted controller proposed by the utility model includes:
[0005] A switch circuit, wherein a first conduction end of the switch circuit is used to connect to a power supply end, and a second conduction end of the switch circuit is used to connect to a load end;
[0006] a first comparison circuit, wherein a first input terminal of the first comparison circuit is connected to the first conduction terminal, and a second input terminal of the first comparison circuit is connected to the second conduction terminal; the first comparison circuit is used to compare the voltages of the first conduction terminal and the second conduction terminal, and output a corresponding comparison result signal;
[0007] A main control circuit, the main control circuit is connected to the output end of the first comparison circuit and the control end of the switch circuit respectively; the main control circuit is used to control the working state of the switch circuit according to the comparison result signal.
[0008] In the vehicle-mounted controller as described above, the switch circuit comprises:
[0009] A switch device, wherein a first conduction end of the switch device is used to connect to a power supply end, and a second conduction end of the switch device is used to connect to a load end;
[0010] A drive circuit, wherein a control end of the drive circuit is electrically connected to the main control circuit, and an output end of the drive circuit is electrically connected to a control end of the switch device;
[0011] The main control circuit is used to control the working state of the driving circuit to drive the switching device.
[0012] In the vehicle-mounted controller as described above, the switch circuit further comprises: a voltage conversion circuit, the input end of the voltage conversion circuit is used to access the first voltage, and the output end of the voltage conversion circuit is electrically connected to the power supply end of the drive circuit;
[0013] The voltage conversion circuit is used to convert the first voltage and output it to the power supply end of the driving circuit.
[0014] The vehicle-mounted controller as described above, the vehicle-mounted controller further includes:
[0015] A voltage detection circuit, wherein the voltage detection circuit is connected to the power supply end, and an output end of the voltage detection circuit is electrically connected to the main control circuit;
[0016] The voltage detection circuit is used to detect the voltage of the power supply end and output a corresponding voltage detection signal;
[0017] The main control circuit is used to control the switch circuit to disconnect the path between the first conductive end and the second conductive end when it is determined according to the voltage detection signal that the voltage of the power supply end is greater than a preset alarm voltage.
[0018] In the vehicle-mounted controller as described above, the voltage detection circuit comprises:
[0019] A voltage divider circuit, the voltage divider circuit is electrically connected to the power supply end and is used to divide the voltage of the power supply end according to a preset voltage divider ratio and then output a second voltage;
[0020] a second comparison circuit, wherein a first input terminal of the second comparison circuit is used to access a first reference voltage, and a second input terminal of the second comparison circuit is connected to an output terminal of the voltage divider circuit;
[0021] The second comparison circuit is used to compare the second voltage with the first reference voltage and output a corresponding second comparison result signal.
[0022] In the vehicle-mounted controller as described above, the voltage detection circuit further includes:
[0023] A first reference power supply, wherein an input end of the first reference power supply is used to access a second voltage, and an output end of the first reference power supply is electrically connected to a first input end of the second comparison circuit;
[0024] The first reference power supply is used to perform voltage conversion on the second voltage and output it to the first input terminal of the second comparison circuit.
[0025] The vehicle-mounted controller as described above, the vehicle-mounted controller further includes:
[0026] A current detection circuit, the current detection circuit is used to detect a first current output to a load end, the output end of the current detection circuit is electrically connected to the main control circuit; the current detection circuit is used to output a corresponding current detection signal;
[0027] The main control circuit is used to control the switch circuit to disconnect the path between the first conduction end and the second conduction end when it is determined by the current detection signal that the first current is greater than a preset alarm current.
[0028] In the vehicle-mounted controller as described above, the current detection circuit comprises:
[0029] Current sensing device;
[0030] A sampling circuit, the sampling circuit is used to collect a first voltage drop on the current sensing element and output a corresponding third voltage, the first input end of the sampling circuit is connected to the first end of the current sensing element, and the second input end of the sampling circuit is connected to the second end of the current sensing element;
[0031] a third comparison circuit, wherein a first input terminal of the third comparison circuit is used to access a second reference voltage, and a second input terminal of the third comparison circuit is connected to an output terminal of the sampling circuit;
[0032] The third comparison circuit is used for comparing the third voltage with the second reference voltage and outputting a corresponding third comparison result signal.
[0033] In the vehicle-mounted controller as described above, the current detection circuit further includes:
[0034] a second reference power supply, wherein an input terminal of the second reference power supply is used to access a second voltage, and an output terminal of the second reference power supply is electrically connected to a first input terminal of the third comparison circuit;
[0035] The second reference power supply is used to convert the second voltage and output it to the first input terminal of the third comparison circuit.
[0036] In the vehicle-mounted controller as described above, there are multiple switch circuits, and the first conduction ends and the second conduction ends of the multiple switch circuits are connected in series in sequence.
[0037] A car comprises the on-vehicle controller as described above.
[0038] In the embodiment of the utility model, the first conductive end of the switch circuit is connected to the power supply end, and the second conductive end is connected to the load end. A first comparison circuit is used to compare the voltages of the first conductive end and the second conductive end of the switch circuit, and a corresponding comparison result signal is output. The comparison result signal is transmitted to the main control circuit so that the main control circuit outputs a control signal for controlling the working state of the switch circuit, thereby realizing reverse power protection for the vehicle-mounted controller. The loss in the implementation process is small, the circuit is simple and reliable, and it is conducive to saving cost and space. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 It is a structural schematic diagram of an embodiment of a vehicle-mounted controller of the utility model.
[0041] Figure 2 It is a structural schematic diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0042] Figure 3 This is a structural diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0043] Figure 4 It is a structural schematic diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0044] Figure 5 This is a structural diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0045] Figure 6 It is a structural schematic diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0046] Figure 7 This is a structural diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0047] Figure 8 It is a structural schematic diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0048] Fig. 9 This is a structural diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0049] Fig.10 It is a structural schematic diagram of another embodiment of the vehicle-mounted controller of the utility model.
[0050] Fig.11 This is a schematic diagram of the vehicle-mounted controller of the utility model.
[0051] Description of Figure Numbers:
[0052] Label name Label name 1 Switching Circuit 6 Voltage detection circuit 11 Drive circuit 61 Voltage divider circuit 12 Switching Devices 62 Second comparison circuit 13 Voltage conversion circuit 63 First reference power supply 2 First comparison circuit 7 Current detection circuit 21 First comparator 71 Current sensing device 3 Main control circuit 72 Sampling circuit 4 Power supply 73 Second reference power supply 5 Load end 74 The third comparison circuit
[0053] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0055] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0056] In addition, the descriptions of "first", "second", etc. in the present utility model are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0057] In the automotive industry, the safety of automobiles is related to the life and health of drivers and passengers. In order to ensure the stable operation of various systems of the automobile, the electronic components and circuits connected to the automobile battery require strict protection to avoid instability during operation and cause the automobile to lose control. The on-board controller is the brain of the automobile and bears the main control work for the stable operation of the automobile. In order to achieve reverse protection of the input power of the on-board controller, the reverse protection includes reverse polarity protection and reverse current resistance. Usually, a diode, a transistor or a switch tube is connected in series or in parallel at the power input end to isolate the load from the negative input voltage and provide reverse polarity protection for the load, while realizing input reverse polarity protection and reverse current blocking.
[0058] However, in the process of conceiving and implementing this application, the inventor found that there are at least the following problems:
[0059] Diodes have low cost and simple circuits, but the forward voltage drop of diodes will cause significant power loss under high current, and heat loss will reduce efficiency. It is often necessary to use a heat sink or design a larger heat dissipation space on the circuit board to achieve thermal management, resulting in increased space and system costs.
[0060] If a P-channel MOSFET is used for reverse connection protection, the voltage rating of the device will be lower than that of an N-channel MOSFET due to process and cost reasons, and it cannot be used in high-voltage scenarios. However, if it is replaced with an N-channel MOSFET, an independent boost circuit is required for power supply to drive the N-channel MOSFET to turn on. However, the driving circuit of the N-channel MOSFET is complex, and the EMI caused can easily cause the product to fail the test.
[0061] It can be understood that the main control circuit can be implemented by a main control chip, such as MCU (Microcontroller Unit), DSP (Digital Signal Process), FPGA (Field Programmable Gate Array), SOC (System OnChip), etc.
[0062] The utility model provides a vehicle-mounted controller. Figure 1 In one embodiment of the utility model, the vehicle-mounted controller includes a switch circuit 1, a first comparison circuit 2 and a main control circuit 3:
[0063] The switch circuit 1 has a first conduction end connected to a power supply end 4 , and a second conduction end connected to a load end 5 .
[0064] A first comparison circuit 2, wherein a first input terminal of the first comparison circuit 2 is connected to the first conduction terminal, and a second input terminal of the first comparison circuit 2 is connected to the second conduction terminal; the first comparison circuit 2 is used to compare the voltages of the first conduction terminal and the second conduction terminal, and output a corresponding comparison result signal.
[0065] A main control circuit 3, wherein the main control circuit 3 is respectively connected to the output end of the first comparison circuit 2 and the control end of the switch circuit 1; the main control circuit 3 is used to control the working state of the switch circuit 1 according to the comparison result signal.
[0066] In this embodiment, the switching circuit 1 can be composed of a single or multiple switching elements, and the switching element can be a MOS tube, an IGBT or a thyristor. Through the switching action of the switching element, the power supply can achieve stable and reliable control operation. Specifically, this embodiment adopts a back-to-back switching circuit 1. In the back-to-back switching circuit 1, the first conduction ends and the second conduction ends of multiple switching elements are connected in series in sequence. Specifically, the number of the switching elements is two, which can be linked to achieve higher control stability.
[0067] In this embodiment, the first comparison circuit 2 is used to compare the voltages of the first conduction end and the second conduction end. Specifically, the first comparison circuit 2 includes a first comparator 21, that is, a comparison chip that can realize the comparison function. The first comparator 21 can be an open collector structure, which can better realize the comparison of voltage differences. When the voltage of the second conduction end is greater than the voltage of the first conduction end, a reverse signal is output to control the switch circuit 1 to turn off.
[0068] The technical solution of the utility model adopts a first conduction end of the switch circuit 1 connected to the power supply end 4, and a second conduction end connected to the load end 5, and then adopts a first comparison circuit 2 to compare the voltages of the first conduction end and the second conduction end of the switch circuit 1, and outputs a corresponding comparison result signal, and transmits the comparison result signal to the main control circuit 3, so that the main control circuit 3 outputs a control signal for controlling the working state of the switch circuit 1, thereby realizing reverse connection protection of the vehicle controller, and the loss in the implementation process is small, the circuit is simple and reliable, which is conducive to saving cost and space, occupying less PCB space and better system performance, and realizing important characteristics such as low working quiescent current, low shutdown current, stable forward voltage and fast reverse current shutdown.
[0069] Combined with reference Figure 2 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 1 In the embodiment shown, the switch circuit 1 comprises:
[0070] A switch device 12, wherein a first conduction end of the switch device 12 is used to connect to a power supply end 4, and a second conduction end of the switch device 12 is used to connect to a load end 5;
[0071] A driving circuit 11, wherein a control end of the driving circuit 11 is electrically connected to the main control circuit 3, and an output end of the driving circuit 11 is electrically connected to a control end of the switch device 12;
[0072] The main control circuit 3 is used to control the driving circuit 11 to drive the working state of the switching device 12 .
[0073] In this embodiment, the switching device 12 can be a MOS tube, an IGBT or a thyristor. Through the switching action of the switching element, the power supply can achieve stable and reliable control operation. Specifically, the switching device 12 is a MOS tube, and the driving circuit 11 can be implemented by a driving chip, a triode amplifier circuit, etc. Through the opening signal or the closing signal sent by the main control circuit 3, the driving circuit 11 outputs a corresponding driving signal to drive the switching device 12 to turn on or off. Specifically, the driving circuit 11 can be a one-to-one corresponding setting of the switching devices 12, or a one-to-many setting, that is, one driving circuit 11 can drive one switching device 12, or one driving circuit 11 can drive multiple switching devices 12, thereby realizing reverse connection protection of the vehicle-mounted controller, and the loss in the implementation process is small, the circuit is simple and reliable, which is conducive to saving cost and space.
[0074] Combined with reference Figure 3 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 2 In the embodiment shown, the switch circuit 1 further includes: a voltage conversion circuit 13, the input end of the voltage conversion circuit 13 is used to access the first voltage, and the output end of the voltage conversion circuit 13 is electrically connected to the power supply end 4 of the drive circuit 11;
[0075] The voltage conversion circuit 13 is used for performing voltage conversion on the first voltage and outputting the converted voltage to the power supply terminal 4 of the driving circuit 11 .
[0076] In this embodiment, the voltage conversion circuit 13 includes a boost circuit, a charge pump, etc., and the first voltage of the power supply terminal 4 is boosted. Specifically, the boost circuit can be implemented by a boost circuit, an inverter circuit, etc. The charge pump is specifically a switched capacitor voltage converter. The charge pump can increase or decrease the input voltage and can also be used to generate a negative voltage. By increasing the first voltage, the power supply voltage output to the drive circuit 11 can satisfy the drive circuit 11 to drive the switch circuit 1 to be turned on or off, thereby realizing reverse power protection for the vehicle-mounted controller, and the loss in the implementation process is small, the circuit is simple and reliable, and it is conducive to saving cost and space.
[0077] Combined with reference Figure 4 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 1 In the embodiment shown, the first comparison circuit 2 includes a first comparator 21, one of the in-phase terminal and the inverting terminal of the first comparator 21 is connected to the first conductive end, and the other is connected to the second conductive end; the output terminal of the first comparator 21 is electrically connected to the main control circuit 3.
[0078] In this embodiment, the first comparator 21 can realize a comparison chip with a comparison function. The first comparator 21 can be an open collector structure, which can better realize the comparison of voltage differences. When the voltage of the second conduction end is greater than the voltage of the first conduction end, a reverse signal is output to control the switch circuit 1 to shut down. By comparing the voltage difference through the first comparator 21, the determined effect is more accurate and reliable, the detection reliability of the reverse protection is stronger, the loss in the implementation process is small, the circuit is simple and reliable, and it is conducive to saving cost and space.
[0079] Combined with reference Figure 5 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller based on the above Figure 1 In the embodiment shown, the vehicle-mounted controller further includes:
[0080] A voltage detection circuit 6, wherein the voltage detection circuit 6 is connected to the power supply terminal 4, and an output terminal of the voltage detection circuit 6 is electrically connected to the main control circuit 3;
[0081] The voltage detection circuit 6 is used to detect the voltage of the power supply terminal 4 and output a corresponding voltage detection signal;
[0082] The main control circuit 3 is used to control the switch circuit 1 to disconnect the path between the first conductive end and the second conductive end when it is determined that the voltage of the power supply end 4 is greater than a preset alarm voltage according to the voltage detection signal.
[0083] In the process of conceiving and implementing this application, the inventors discovered that the following problem still exists: the power supply can easily input too high a voltage to sensitive devices, causing the devices to be easily damaged due to the excessively high voltage, thereby causing higher risks.
[0084] In order to solve the above-mentioned problem, in the present embodiment, a voltage detection circuit 6 is provided to prevent the power supply from inputting too high a voltage to a relatively sensitive device. When the voltage on the power supply output terminal exceeds the set voltage value, the switch circuit 1 is promptly controlled to close or adjust the output PWM wave to stabilize the voltage. When the voltage is within the preset threshold value, the switch circuit 1 is fully opened to better realize power transmission and increase the service life of the switch circuit 1. Specifically, the voltage detection circuit 6 is realized by a second comparator, and the voltage value of the power supply input is collected by the comparator and compared with the reference voltage, so that the overvoltage condition of the circuit can be better determined, and the power supply can be shut down in time when the power supply is overvoltage to protect the safe operation of the circuit. The loss in the implementation process is small, the circuit is simple and reliable, less PCB space is occupied and the system performance is better.
[0085] Combined with reference Figure 6As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 5 In the embodiment shown, the voltage detection circuit 6 comprises:
[0086] A voltage divider circuit 61, the voltage divider circuit 61 is electrically connected to the power supply terminal 4, and is used to divide the voltage of the power supply terminal 4 according to a preset voltage divider ratio and then output a second voltage;
[0087] A second comparison circuit 62, wherein a first input terminal of the second comparison circuit 62 is used to access a first reference voltage, and a second input terminal of the second comparison circuit 62 is connected to an output terminal of the voltage divider circuit 61;
[0088] The second comparison circuit 62 is used for comparing the second voltage with the first reference voltage and outputting a corresponding second comparison result signal.
[0089] In this embodiment, in order to enable the voltage detection circuit 6 to perform detection work better and more accurately, a voltage divider circuit 61 is provided to divide the voltage of the power supply input, and then the divided power supply is input into the second comparison circuit 62. The voltage value of the power supply input is collected by the comparator and compared with the reference voltage, so that the overvoltage condition of the circuit can be better determined. Specifically, the voltage divider circuit 61 includes a first resistor R1 and a second resistor R2 connected in series with each other, the first end of the first resistor R1 is connected to the power supply terminal 4, the second end of the first resistor R1 is connected to the first end of the second resistor R2, the second end of the second resistor R2 is grounded, and the common node of the first resistor R1 and the second resistor R2 is connected to the first input end of the second comparison circuit 62. The first voltage is divided by the voltage divider circuit 61 to generate a second voltage, and then the second voltage is input into the second comparison circuit 62 to be compared with the voltage of the reference power supply, so that the power supply can be shut down in time when it is over-voltage to protect the safe operation of the circuit. The loss in the implementation process is small, the circuit is simple and reliable, and less PCB space is occupied and the system performance is better.
[0090] Combined with reference Figure 7 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 6 In the embodiment shown, the voltage detection circuit 6 further includes:
[0091] A first reference power supply 63, wherein an input end of the first reference power supply 63 is used to access a second voltage, and an output end of the first reference power supply 63 is electrically connected to a first input end of the second comparison circuit 62;
[0092] The first reference power supply 63 is used to convert the second voltage and output it to the first input terminal of the second comparison circuit 62 .
[0093] In this embodiment, a front bias power supply is connected to the power supply terminal 4, and then through a first voltage stabilizing circuit. Specifically, the first voltage stabilizing circuit can be a 431 chip circuit. A third resistor is connected between the bias power supply and the first voltage stabilizing circuit. The common node of the third resistor and the first voltage stabilizing circuit is connected to the first input terminal of the second comparison circuit 62, that is, the common node of the third resistor and the first voltage stabilizing circuit outputs the first reference power supply 63, so that the second comparison circuit 62 can better determine whether the voltage input to the power supply terminal 4 exceeds the threshold value. If it exceeds the threshold value, it can be shut down more timely, so that it can be shut down in time when the power supply is over-voltage to protect the safe operation of the circuit. The loss in the implementation process is small, the circuit is simple and reliable, and it occupies less PCB space and has better system performance.
[0094] Combined with reference Figure 8 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 1 In the embodiment shown, the vehicle-mounted controller further includes:
[0095] A current detection circuit 7, wherein the current detection circuit 7 is used to detect a first current output to the load terminal 5, and an output terminal of the current detection circuit 7 is electrically connected to the main control circuit 3; the current detection circuit 7 is used to output a corresponding current detection signal;
[0096] The main control circuit 3 is used to control the switch circuit 1 to disconnect the path between the first conduction end and the second conduction end when it is determined according to the current detection signal that the first current is greater than a preset alarm current.
[0097] In the process of conceiving and implementing the present application, the inventors discovered that the following problem still exists: the current value at the load terminal 5 is often too large, which may burn out circuit components and shorten the life of the load, leading to the risk of causing circuit fire.
[0098] In order to solve the above problems, in this embodiment, a current detection circuit 7 is provided to detect the current signal of the load end 5 to prevent the current of the load end 5 from being too large, thereby burning the circuit components and shortening the life of the load. When the current on the input terminal of the load end 5 exceeds the set voltage value, the switch circuit 1 is promptly controlled to close or adjust the output PWM wave to stabilize the current. When the current is within the preset threshold, the switch circuit 1 is fully opened to better realize power transmission and increase the service life of the switch circuit 1. Specifically, the current detection circuit 7 is implemented by a current sensing element 71, a sampling circuit 72 and a third comparator. The current flowing through the load end 5 is sensed by the current sensing element 71, and the voltage across the current sensing element 71 is collected by the sampling circuit 72. Finally, a signal is output to the third comparator for comparison with the reference voltage, so that the circuit can be better determined to be overcurrent. When the power supply is overcurrent, it is promptly shut down to protect the safe operation of the circuit. The loss in the implementation process is small, the circuit is simple and reliable, and less PCB space is occupied and the system performance is better.
[0099] Combined with reference Fig. 9 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller based on the above Figure 8 In the embodiment shown, the current detection circuit 7 comprises:
[0100] Current sensing element 71;
[0101] A sampling circuit 72, the sampling circuit 72 is used to collect a first voltage drop on the current sensing element 71 and output a corresponding third voltage, a first input end of the sampling circuit 72 is connected to a first end of the current sensing element 71, and a second input end of the sampling circuit 72 is connected to a second end of the current sensing element 71;
[0102] A third comparison circuit 74, wherein a first input terminal of the third comparison circuit 74 is used to access a second reference voltage, and a second input terminal of the third comparison circuit 74 is connected to an output terminal of the sampling circuit 72;
[0103] The third comparison circuit 74 is used for comparing the third voltage with the second reference voltage and outputting a corresponding third comparison result signal.
[0104] In this embodiment, the first voltage drop on the circuit is obtained by the current sensing element 71. Specifically, the current sensing element 71 can be a high-precision low-resistance resistor or a non-contact current sensor to better detect the current flowing through the load end 5. The first voltage drop on the current sensing element 71 is then collected by the sampling circuit 72. Specifically, the sampling circuit 72 can be an operational amplifier. By comparing the voltages at both ends of the current sensing element 71 and outputting a corresponding voltage signal, the current value in the circuit can be determined according to Ohm's law because the voltage and resistance are determined. Therefore, the reference power supply of the third comparison circuit 74 is determined according to the voltage value that the sampling circuit 72 can output. The output end of the sampling circuit 72 is connected to the first input end of the third comparison circuit 74, and the second input end of the third comparison circuit 74 is connected to the second reference power supply 73, so as to realize the detection of the current at the load end 5, so that the current at the load end 5 can be shut down in time when the current is too large to protect the safe operation of the circuit. The loss in the process is small, the circuit is simple and reliable, and less PCB space is occupied and the system performance is better.
[0105] Combined with reference Fig.10 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Fig. 9 In the embodiment shown, the current detection circuit 7 further includes:
[0106] A second reference power supply 73, wherein an input end of the second reference power supply 73 is used to access a second voltage, and an output end of the second reference power supply 73 is electrically connected to a first input end of the third comparison circuit 74;
[0107] The second reference power supply 73 is used for converting the second voltage and outputting the converted voltage to the first input terminal of the third comparison circuit 74 .
[0108] In this embodiment, a front bias power supply is connected to the power supply terminal 4, and then through a second voltage stabilizing circuit. Specifically, the second voltage stabilizing circuit can be a 431 chip circuit. A fourth resistor is connected between the bias power supply and the second voltage stabilizing circuit. The common node of the fourth resistor and the second voltage stabilizing circuit is connected to the first input terminal of the third comparison circuit 74, that is, the common node of the fourth resistor and the second voltage stabilizing circuit outputs the second reference power supply 73, so that the third comparison circuit 74 can better determine whether the current of the load terminal 5 exceeds the threshold value. If it exceeds the threshold value, it can be shut down more timely, so that it can be shut down in time when the current is too large to protect the operation safety of the circuit. Specifically, the bias power supply can be connected to the above Figure 7 The bias power supplies in the described embodiments may be the same or different, thereby reducing the loss during the implementation process, making the circuit simple and reliable, occupying less PCB space and achieving better system performance.
[0109] Combined with reference Fig.11 As shown, further, another embodiment of the utility model provides a vehicle-mounted controller, based on the above Figure 2 In the illustrated embodiment, there are multiple switch circuits 1, and the first conduction ends and the second conduction ends of the multiple switch circuits 1 are sequentially connected in series.
[0110] In this embodiment, in order to make the control more stable and reliable, a switch circuit 1 is provided with a plurality of first conduction terminals and second conduction terminals connected in series in sequence. The switch circuit 1 is specifically a switch element, such as Fig.11 The switch circuit 1 shown is specifically two MOS tubes connected in series, the first conduction end of the first MOS tube is connected to the power supply terminal 4, the second conduction end of the first MOS tube is connected to the first conduction end of the second MOS tube, and the second conduction end of the second MOS tube is connected to the load terminal 5. By connecting in series, the electricity at the load terminal 5 can be prevented from flowing back to the power supply terminal 4, so that the operation of the power supply is safer and more reliable.
[0111] As a preferred solution but not a specific limitation, at least two of the multiple switch circuits 1 form a back-to-back switch circuit 1 .
[0112] In this embodiment, the first conduction end of the first MOS tube is connected to the power supply terminal 4, the second conduction end of the first MOS tube is connected to the first conduction end of the second MOS tube, and the second conduction end of the second MOS tube is connected to the load terminal 5 to form a back-to-back switch circuit 1, which can prevent the electricity of the load terminal 5 from flowing back to the power supply terminal 4, so as to make the operation of the power supply safer and more reliable.
[0113] The utility model also proposes a car, which includes the above-mentioned on-board controller. The specific structure of the on-board controller refers to the above-mentioned embodiment. Since the car of this embodiment adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here one by one.
[0114] The above is an implementation method provided in combination with specific content, and it is not considered that the specific implementation of this application is limited to these descriptions. Any similarity or similarity with the method, structure, etc. of this application, or any technical deduction or replacement made on the premise of the concept of this application, shall be deemed to be within the scope of protection of this application.
Claims
1. A vehicle-mounted controller, characterized in that: include: A switch circuit, wherein a first conduction end of the switch circuit is used to connect to a power supply end, and a second conduction end of the switch circuit is used to connect to a load end; a first comparison circuit, wherein a first input terminal of the first comparison circuit is connected to the first conduction terminal, and a second input terminal of the first comparison circuit is connected to the second conduction terminal; the first comparison circuit is used to compare the voltages of the first conduction terminal and the second conduction terminal, and output a corresponding comparison result signal; A main control circuit, the main control circuit is connected to the output end of the first comparison circuit and the control end of the switch circuit respectively; the main control circuit is used to control the working state of the switch circuit according to the comparison result signal.
2. The vehicle-mounted controller according to claim 1, characterized in that: The switch circuit comprises: A switch device, wherein a first conduction end of the switch device is used to connect to a power supply end, and a second conduction end of the switch device is used to connect to a load end; A drive circuit, wherein a control end of the drive circuit is electrically connected to the main control circuit, and an output end of the drive circuit is electrically connected to a control end of the switch device; The main control circuit is used to control the working state of the driving circuit driving the switching device; A voltage conversion circuit, wherein an input end of the voltage conversion circuit is used to access a first voltage, and an output end of the voltage conversion circuit is electrically connected to a power supply end of the drive circuit; The voltage conversion circuit is used to convert the first voltage and output it to the power supply end of the driving circuit.
3. The vehicle-mounted controller according to any one of claims 1-2, characterized in that: The vehicle controller also includes: A voltage detection circuit, wherein the voltage detection circuit is connected to the power supply end, and an output end of the voltage detection circuit is electrically connected to the main control circuit; The voltage detection circuit is used to detect the voltage of the power supply end and output a corresponding voltage detection signal; The main control circuit is used to control the switch circuit to disconnect the path between the first conductive end and the second conductive end when it is determined according to the voltage detection signal that the voltage of the power supply end is greater than a preset alarm voltage.
4. The vehicle-mounted controller according to claim 3, characterized in that: The voltage detection circuit comprises: A voltage divider circuit, the voltage divider circuit is electrically connected to the power supply end and is used to divide the voltage of the power supply end according to a preset voltage divider ratio and then output a second voltage; a second comparison circuit, wherein a first input terminal of the second comparison circuit is used to access a first reference voltage, and a second input terminal of the second comparison circuit is connected to an output terminal of the voltage divider circuit; The second comparison circuit is used to compare the second voltage with the first reference voltage and output a corresponding second comparison result signal.
5. The vehicle-mounted controller according to claim 4, characterized in that: The voltage detection circuit also includes: A first reference power supply, wherein an input end of the first reference power supply is used to access a second voltage, and an output end of the first reference power supply is electrically connected to a first input end of the second comparison circuit; The first reference power supply is used to perform voltage conversion on the second voltage and output it to the first input terminal of the second comparison circuit.
6. The vehicle-mounted controller according to any one of claims 1-2, characterized in that: The vehicle controller also includes: A current detection circuit, the current detection circuit is used to detect a first current output to a load end, the output end of the current detection circuit is electrically connected to the main control circuit; the current detection circuit is used to output a corresponding current detection signal; The main control circuit is used to control the switch circuit to disconnect the path between the first conduction end and the second conduction end when it is determined by the current detection signal that the first current is greater than a preset alarm current.
7. The vehicle-mounted controller according to claim 6, characterized in that: The current detection circuit comprises: Current sensing device; A sampling circuit, the sampling circuit is used to collect a first voltage drop on the current sensing element and output a corresponding third voltage, the first input end of the sampling circuit is connected to the first end of the current sensing element, and the second input end of the sampling circuit is connected to the second end of the current sensing element; a third comparison circuit, wherein a first input terminal of the third comparison circuit is used to access a second reference voltage, and a second input terminal of the third comparison circuit is connected to an output terminal of the sampling circuit; The third comparison circuit is used for comparing the third voltage with the second reference voltage and outputting a corresponding third comparison result signal.
8. The vehicle-mounted controller according to claim 7, characterized in that: The current detection circuit also includes: a second reference power supply, wherein an input terminal of the second reference power supply is used to access a second voltage, and an output terminal of the second reference power supply is electrically connected to a first input terminal of the third comparison circuit; The second reference power supply is used to convert the second voltage and output it to the first input terminal of the third comparison circuit.
9. The vehicle-mounted controller according to any one of claims 1-2, characterized in that: There are multiple switch circuits, and the first conduction ends and the second conduction ends of the multiple switch circuits are connected in series in sequence.
10. An automobile, characterized in that: Comprising the vehicle-mounted controller as claimed in claim 9.
