Disclosure of Invention
Technical problem to be solved
The invention provides an intelligent multi-high-side switch backflow prevention device and method, aiming at solving the problem that in the prior art, under the condition that a plurality of high-side switches are applied, one or more paths of high-side switches have power supply backflow, and other high-side switches do not know that the backflow exists, so that the high-side switches are turned on to cause the problem that diodes in the one or more paths of backflow high-side switches are burnt due to overcurrent.
(II) technical scheme
In order to achieve the purpose, the invention adopts the main technical scheme that:
in a first aspect, the present invention provides an intelligent multi-high-side switch backflow prevention device, including:
the device comprises a control device, a voltage acquisition device, a high-side switch load driving device and a first external battery UEE for providing power for the control device;
the high-side switching load driving apparatus includes: a plurality of load branches, a second external battery UBB1 for providing power supply signals for all the load branches, each load branch being connected in series with a high-side switch for controlling the output of the power supply signals to the load;
the signal input ends of all the high-side switches are connected with the second external battery UBB1, and the output ends of all the high-side switches are connected with a third power supply UBB 2;
the control device is connected with a signal control end of each high-side switch of the high-side switch load driving device;
the voltage acquisition device is used for periodically acquiring voltage information of the first external battery and the second external battery;
the control device judges whether the first external battery is powered off or not according to the voltage information of the first external battery periodically acquired by the voltage acquisition device, and judges whether the second external battery has power supply backward flow or not according to the voltage information of the second external battery periodically acquired by the voltage acquisition device;
the control device is further used for controlling all high-side switches in the high-side switch load driving device to be switched off to prohibit the output of the high-side switches when the first external battery is powered off or the second external battery has power supply reverse flow.
As a further improvement of the invention, the method also comprises the following steps: and the direct-current voltage reduction circuit is connected between the first external battery UEE and the control device in series and is used for converting the voltage of the first external battery UEE into the voltage used by the control device.
Further, many high limit switches of intelligent prevent flowing backward the device and include: and the control device is connected with a signal control end of a high-side switch without a load branch in the high-side switch load driving device through the first switch K.
As a further improvement of the present invention, the control device includes:
the system comprises a micro control unit, a reset unit and a crystal oscillator unit;
the reset unit and the crystal oscillator unit are both connected with the micro control unit;
the control device also comprises an alarm unit which is used for sending out an alarm signal through the alarm unit when all the high-side switches in the high-side switch load driving device are controlled to be switched off.
As a further improvement of the present invention, the dc step-down circuit includes:
the first direct current voltage reduction circuit and the second direct current voltage reduction circuit are connected in series;
the output voltage of the first direct current voltage reduction circuit is 5V, and the second direct current voltage reduction circuit is used for converting the output voltage of the first direct current voltage reduction circuit into 3.3V to be output;
the first dc-dc voltage step-down circuit includes:
the full-control type switch tube, the fly-wheel diode and the inductance-capacitance filter circuit;
the B pole of the full-control type switch tube is connected with pulse driving equipment, the C pole of the full-control type switch tube is connected with the anode of the first external battery, and the E pole of the full-control type switch tube is connected with the input end of the inductance-capacitance filter circuit;
the anode of the freewheeling diode is connected with the cathode of the first external battery, and the cathode of the freewheeling diode is connected with the input end of the inductance-capacitance filter circuit; the output end of the inductance-capacitance filter circuit is connected with the control device;
the second direct current voltage reduction circuit and the first direct current voltage reduction circuit have the same structure.
As a further improvement of the invention, the intelligent multi-high side switch anti-backflow device is positioned in an on-board control device, and the first external battery and the second external battery are both connected with an on-board battery of the on-board control device.
As a further improvement of the present invention, the voltage collecting device periodically collects the voltage information of the second external battery, and includes:
the voltage acquisition device acquires the voltage of the signal input end of each high-side switch and the voltage of the output end of each high-side switch;
and taking the acquired voltage of the signal input end and the acquired voltage of the output end of each high-side switch as the voltages of two end points of the second external battery acquired by the voltage acquisition device.
As a further improvement of the present invention, the high-side switch is:
an IGBT with a body diode;
or a MOS tube with a body diode.
In a second aspect, the present invention further provides a backflow prevention method for an intelligent multi-high-side switch backflow prevention device based on the first aspect, including:
when the high-side switch is turned on, the voltage acquisition device periodically acquires the respective voltages of the first external battery UEE and the second external battery UBB 1;
the control device is used for judging whether the voltages of the first external batteries collected by the voltage collecting device are consistent or not; if not, judging whether the voltage of the first external battery collected from the current moment is the same as the voltage of the first external battery collected in the next preset time period; if the voltage values are the same, the voltage values are all smaller than the normal voltage value of the first external battery;
if the first external battery is determined to be in a power-down state, the control device sends a disconnection signal to the signal control ends of all the high-side switches in the high-side switch load driving device so as to disconnect all the high-side switches;
the control device judges whether the voltage of the second external battery collected from the current moment is the same as the voltage of the second external battery collected in the next preset time period or not according to whether the voltages of the two end points of the second external battery collected by the voltage collecting device are the same or not; if the voltage difference values are the same, the voltage difference value of the two endpoints is a first preset voltage value;
and if the second external battery is determined to be in the power supply backward flow state, the control device sends a disconnection signal to the signal control ends of all the high-side switches in the high-side switch load driving device so as to disconnect all the high-side switches.
As a further improvement of the present invention, the first preset voltage value is: 0.5-0.8V.
In a third aspect, the invention provides a vehicle-mounted control device, which comprises a vehicle-mounted battery and any one of the above intelligent multi-high-side switch backflow prevention devices, wherein a first external power supply and a second external power supply of the intelligent multi-high-side switch backflow prevention device are connected with the vehicle-mounted battery.
(III) advantageous effects
The invention focuses on the application field of the high-side switches, and under the condition that one or more high-side switches are applied, when a power supply flows backwards, the control device can control all the high-side switches to be switched off, so that the defect that the diodes in the one or more high-side switches flow backwards in the prior art are burnt due to overcurrent is overcome.
Furthermore, the reverse diode is not separately arranged in the invention, and the diode in the high-side switch is utilized to monitor the voltage, so that the cost of the product is reduced, no power consumption is increased, and the reliability of the application industrial product can be enhanced.
Detailed Description
For the purpose of better explaining the present invention, its detailed description will be given by way of specific embodiments in conjunction with the accompanying drawings.
With reference to fig. 2, a backflow prevention device of an intelligent multi-high-side switch in an embodiment of the present invention is described. The intelligent many high limit switches of this embodiment prevent flowing backward the device and include: the device comprises a control device, a voltage acquisition device, a high-side switch load driving device and a first external battery UEE for providing power for the control device;
the first external battery UEE is used for supplying power to the control device, and the control device is respectively connected with the first external battery UEE and the second external battery UBB1 through the electric tower collecting device; the control device is also used for controlling a high-side switch of the high-side switch load driving device.
The control device of the embodiment comprises a control unit MCU, a reset unit and a crystal oscillator unit; the reset unit and the crystal oscillator unit are connected with the micro control unit.
Referring to fig. 1, the high-side switching load driving apparatus in the present embodiment may include: a plurality of load branches, a second external battery UBB1 for providing power supply signals for all the load branches, each load branch being connected in series with a high-side switch for controlling the output of the power supply signals to the load;
the signal input ends of all the high-side switches are connected with the second external battery UBB1, and the output ends of all the high-side switches are connected with a third power supply UBB 2.
In fig. 1, the high-side switch may be: an IGBT with a body diode. Of course, in other embodiments, the high-side switch may also be a MOS transistor with a body diode.
In fig. 2, the control device is connected to the signal control terminal of each high-side switch of the high-side switch load driving device;
the voltage acquisition device is used for periodically acquiring voltage information of the first external battery and the second external battery;
the control device judges whether the first external battery is powered off or not according to the voltage information of the first external battery periodically acquired by the voltage acquisition device, and judges whether the second external battery has power supply backward flow or not according to the voltage information of the second external battery periodically acquired by the voltage acquisition device;
the control device is further used for controlling all high-side switches in the high-side switch load driving device to be switched off to prohibit the output of the high-side switches when the first external battery is powered off or the second external battery has power supply reverse flow.
Optionally, in practical applications, the intelligent multi-high-side switch backflow prevention device further includes: and a first switch K, through which the control device can be connected with a signal control terminal of a high-side switch without a load branch in the high-side switch load driving device, such as the signal control terminal connected with the CPU-CTR1 shown in FIG. 1.
That is, in fig. 2, the control device controls all the high-side switches in the high-side switch load driving device to be turned off, and the control device may control the first switch K to be turned off.
It should be noted that, the voltage collecting device periodically collects the voltage information of the second external battery, which is specifically understood as: the voltage acquisition device acquires the voltage of a signal input end A of each high-side switch and the voltage of an output end B of each high-side switch; namely, the voltage of the signal input end A and the voltage of the signal output end B of each high-side switch are collected as the voltages of two end points of the second external battery collected by the voltage collecting device.
That is to say, the voltage collecting device in this embodiment collects the voltage values of the two terminals a and B of the high-side switch.
In specific application, the power supply required by the MCU is relatively small, the voltage of the first external battery is relatively high, and the MCU cannot be directly supplied with power.
That is, the dc voltage step-down circuit is connected in series between the first external battery UEE and the control device, and is configured to convert the voltage of the first external battery UEE into the voltage used by the control device.
Fig. 2 shows two dc voltage-reducing circuits, such as a first dc voltage-reducing circuit and a second dc voltage-reducing circuit;
the output voltage of the first direct current voltage reduction circuit is 5V, and the second direct current voltage reduction circuit is used for converting the output voltage of the first direct current voltage reduction circuit into 3.3V to be output;
in a specific implementation, as shown in fig. 3, the first dc voltage reduction circuit may include: the full-control type switch tube, the fly-wheel diode and the inductance-capacitance (LC) filter circuit;
the B pole of the full-control type switch tube is connected with pulse driving equipment, the C pole of the full-control type switch tube is connected with the anode of the first external battery, and the E pole of the full-control type switch tube is connected with the input end of the inductance-capacitance filter circuit;
the anode of the freewheeling diode is connected with the cathode of the first external battery, and the cathode of the freewheeling diode is connected with the input end of the inductance-capacitance filter circuit; the output end of the inductance-capacitance filter circuit is connected with the control device;
input voltage ViIs the voltage of the first external battery. The fully-controlled switch in this embodiment may be a power transistor, such as a MOS transistor or a triode.
The LC filter circuit described above is primarily used to reduce harmonic voltages on the load.
Based on the first DC-DC step-down circuit shown in FIG. 3, the output voltage V0=D×Vi;
Wherein, V
iAnd D is the duty ratio/conduction ratio of an output waveform.
T
onIndicating the on-time, T, of the fully-controlled switching tube
sRepresenting one pulse period.
The second direct current voltage reduction circuit and the first direct current voltage reduction circuit have the same structure.
Further, the control device in the present embodiment may include: and the alarm unit is used for sending an alarm signal through the alarm unit when all the high-side switches in the high-side switch load driving device are controlled to be switched off.
The intelligent multi-high-side switch anti-backflow device is located in the vehicle-mounted control device, and the first external battery and the second external battery are connected with the vehicle-mounted battery of the vehicle-mounted control device.
In this embodiment, under the condition that a plurality of high-side switches are applied, when one or more of the high-side switches have power supply backflow, the control device in this embodiment can control all the high-side switches to be turned off, thereby avoiding the defect that the body diodes inside the one or more high-side switches that flow backward are burnt due to overcurrent in the prior art.
Particularly, in the embodiment, the backward diode is not separately arranged, and the diode provided in the high-side switch is used for monitoring the voltage, so that the cost of the product is reduced, the power consumption is not increased, and the reliability of the application industrial product can be enhanced.
In addition, according to another aspect of the present invention, the present invention further provides a backflow prevention method for an intelligent multi-high side switch backflow prevention device based on any of the above embodiments, as shown in fig. 4, the method may include the following steps:
s1, when the high-side switch is turned on, the voltage acquisition device periodically acquires the voltages of the first external battery UEE and the second external battery UBB 1;
s2, the control device judges whether the voltages of the first external batteries collected by the voltage collecting device are consistent; if not, judging whether the voltage of the first external battery collected from the current moment is the same as the voltage of the first external battery collected in the next preset time period; if the voltage values are the same, the voltage values are all smaller than the normal voltage value of the first external battery;
s3, if it is determined that the first external battery is in a power-down state, the control device sends a turn-off signal to the signal control terminals of all the high-side switches in the high-side switch load driving device to turn off all the high-side switches;
s4, the control device judges whether the voltage of the second external battery collected from the current moment is the same as the voltage of the second external battery collected in the next preset time period or not according to whether the voltages of the two end points of the second external battery collected by the voltage collecting device are the same or not; if the voltage difference between the two terminals is the same, the voltage difference between the two terminals is a first preset voltage value (such as 0.5-0.8V);
and S5, if the second external battery is determined to be in the power supply backflow state, the control device sends a disconnection signal to the signal control ends of all the high-side switches in the high-side switch load driving device so as to disconnect all the high-side switches.
That is, the voltage of the second external battery UBB1 may be collected in real time, and it is noted that the voltages of the second external battery UBB1 at the point a and the point B are sampled, and since the first external battery UEE and the second external battery UBB1 are both connected to the vehicle-mounted battery, the voltages are the same.
In the normal operating mode, i.e., when the high-side switch is normally open, the voltage at terminal a of the second external battery UBB1 and the voltage at terminal B of the second external battery UBB1 are substantially the same (neglecting voltage fluctuations due to internal resistance of the high-side switch).
When the connection of the third power supply UBB2 shown in fig. 1 occurs, the voltage at the terminal a of the second external battery UBB1 and the voltage at the terminal B of the second external battery UBB1 are different by about 0.5 to 0.8V, which is a junction voltage of one diode;
the MCU judges that the high-side switch has a backward flow current condition according to the voltages of the endpoint B and the endpoint A sampled by the voltage acquisition device if the endpoint B is greater than the voltage of the endpoint A by 0.5-0.8V, the MCU cuts off a control signal of the high-side switch through the high-side switch K at the moment, and a user configures the high-side switch to output invalid, so that the high-side switch is protected.
Further, as shown in fig. 5, the method of the present embodiment may include the following steps:
firstly, when the system works normally, the MCU controls the voltage acquisition device to start acquiring the voltages of a terminal A and a terminal B of a first external battery UEE and a second external battery UBB1, and the acquired voltage parameters are stored;
the sampling period in this embodiment is 200 ms.
Secondly, acquiring the voltage of the first external battery UEE and the voltage of the endpoint A and the endpoint B of the second external battery UBB1 again after 200ms, comparing the acquired voltage of the first external battery UEE with the acquired voltage stored last time, judging whether the acquired voltage is less than the acquired voltage of last time by more than 0.5V, if not, continuing parameter storage and cyclic sampling, and if so, comparing the cyclic sampling for 10 times to confirm that the acquired voltage value of the first external battery UEE is less than the UEE value sampled for the first time by more than 0.5V;
thirdly, after the result of the confirmation is 'yes', the MCU judges that the first external battery UEE is powered down and provides an alarm unit to send an alarm signal to a client;
when the result is determined as 'no', resampling and comparing to confirm whether the voltage value of the first external battery UEE sampled later is smaller than that of the first external battery UEE sampled for the first time, and after the first external battery UEE is judged to be powered off, switching off a high-side switch through a high-side switch K by a Micro Control Unit (MCU);
fourthly, whether the third power supply UBB2 is normally connected or not is judged, the values of the endpoint a and the endpoint B of the second external battery UBB1 are compared, and if the voltage value of the endpoint B is larger than the voltage value of the endpoint a and is approximately more than 0.5V, the power supply of the second external battery UBB is preliminarily judged to be in reverse flow;
and fifthly, sampling is carried out for 10 times in a circulating mode, whether the endpoint A of the second external battery is smaller than the endpoint B or not is confirmed for multiple times, if yes, it is judged that the second external battery has power supply backflow, the micro control unit MCU closes the high-side switch through the switch K, and alarm information is provided for a client. Otherwise, continuing sampling and circularly comparing.
The invention solves the problem caused by the backflow of one or a few power supplies when a plurality of high-side switches are applied in the current practical application, enhances the reliability of the product, and has low cost of the solution scheme.
In addition, according to another aspect of the invention, the invention further provides an on-board control device, which comprises an on-board battery, and the intelligent multi-high-side switch backflow prevention device, wherein the first external power supply and the second external power supply of the intelligent multi-high-side switch backflow prevention device are connected with the on-board battery.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Finally, it should be noted that: the above-mentioned embodiments are only used for illustrating the technical solution of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.