Floating power gate drive circuit with self-detection function and chip thereof

By introducing a floating power gate drive circuit with self-test function into the flash chip, and using the CEXT self-test module and PTAT reference current for hysteresis detection, the problems of undervoltage failure and detection circuit complexity of the flash chip are solved, and high-reliability and high-yield bootstrap power management is achieved.

CN123074467APending Publication Date: 2026-11-10WUXI I CORE ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611529528.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing flasher chips in the electronic turn signal systems of electric motorcycles and electric bicycles suffer from undervoltage failure risk, complex detection circuits, and a lack of process calibration methods, resulting in insufficient driving capability and low mass production yield.

Method used

A floating power gate drive circuit with self-testing function is adopted. The bootstrap capacitor voltage is monitored in real time through the CEXT self-testing module. Hysteresis detection is performed using the PTAT reference current and floating sampling current. Combined with fuse adjustment, zero temperature coefficient compensation and accurate calibration are achieved, reducing chip power consumption and area.

Benefits of technology

It achieves internal closed-loop real-time monitoring and autonomous power replenishment of the bootstrap capacitor voltage, improving the reliability and mass production yield of the drive circuit, reducing chip power consumption and area, and ensuring high-precision detection over a wide temperature range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123074467A_ABST
    Figure CN123074467A_ABST
Patent Text Reader

Abstract

The application relates to a floating power supply grid driving circuit with a self-detection function and a chip thereof, which comprises a high-voltage current source, two ends of an external bootstrap capacitor are connected to a first node and a second node respectively; a CEXT self-detection module, positive and negative power supply ends of which are connected to the first node and the second node respectively, which is used for detecting the voltage state at the two ends of the external bootstrap capacitor and outputting a control signal to a feedback end of the high-voltage current source, the high-voltage current source starts or stops charging the external bootstrap capacitor by judging the logic level state of the control signal; a driving module, positive and negative power supply ends of which are connected to the first node and the second node respectively, and an output end of which is connected to a gate of an external NMOS driving tube, a drain of the external NMOS driving tube is connected to a power supply VIN, and a source is connected to the second node; the application realizes internal closed-loop real-time monitoring and self-power supply of the bootstrap capacitor voltage, reduces the chip power consumption and area, and realizes high-precision detection with zero temperature coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of integrated circuit technology, and in particular to a floating power gate drive circuit and its chip with self-detection function. Background Technology

[0002] In the electronic turn signal systems of electric motorcycles and electric bicycles, single-wire communication (such as SWIM communication) flasher chips are widely used due to the requirement of simplifying the overall vehicle wiring harness design. These chips typically integrate a high-voltage NMOS driver transistor, using an external bootstrap capacitor to construct a high-side floating power supply to drive high-power LEDs or bulbs. In practical applications, these flasher chips often need to control multiple loads simultaneously (such as left turn signals, right turn signals, and even hazard lights). Because of the large fluctuations in vehicle power supply and drastic changes in ambient temperature, extremely high reliability requirements are placed on the internal drive circuitry.

[0003] In the high-side gate drive circuit integrated inside the flash chip, the source potential of the external NMOS drive transistor fluctuates drastically between high voltage and ground with the load. Traditional fixed ground power supply cannot directly power the drive module. Therefore, an external bootstrap capacitor is commonly used to provide floating power to the drive module.

[0004] However, the following defects and shortcomings still exist in practical applications: (1) Risk of undervoltage failure: When the bootstrap capacitor has leakage, the external duty cycle is too large, resulting in a long period of no charging, or the capacitor is not pre-charged during the startup phase, the voltage across the bootstrap capacitor (V) will be affected. CEXT The voltage will drop below the threshold required for the normal operation of the drive module, resulting in insufficient drive capability. In severe cases, it may cause the external NMOS transistor to operate in the amplification region, leading to overheating or even burnout.

[0005] (2) Increased complexity of detection circuit: If the existing technology is to detect the voltage of the bootstrap capacitor, it usually requires the design of an additional voltage comparator and an independent reference voltage source (such as a bandgap reference circuit in the floating voltage domain), which increases the chip area and static power consumption.

[0006] (3) Lack of process calibration methods: In actual chip manufacturing, there are process deviations in the absolute accuracy of devices such as resistors and transistors. If there are no effective adjustment methods, the dispersion of the detection threshold will be extremely large, which will seriously affect the mass production yield of the product.

[0007] Therefore, there is an urgent need to propose a floating power gate drive circuit and its chip with self-detection function to solve the above-mentioned technical defects. Summary of the Invention

[0008] The purpose of this invention is to provide a floating power gate drive circuit and its chip with self-detection function, so as to realize the internal closed-loop real-time monitoring and autonomous power replenishment of the bootstrap capacitor voltage, reduce chip power consumption and area, achieve high-precision detection with zero temperature coefficient, and improve mass production yield through fuse adjustment.

[0009] To achieve the above objectives, the present invention provides a floating power gate drive circuit with self-detection function, comprising: A high-voltage current source, powered by power supply VIN, is used to charge an external bootstrap capacitor; the two ends of the external bootstrap capacitor are respectively connected to the first node CEXT and the second node OUT. The CEXT self-test module has its positive and negative power supply terminals connected to the first node CEXT and the second node OUT, respectively. It is used to detect the voltage state across the external bootstrap capacitor and output a control signal DETECT to the feedback terminal of the high-voltage current source. The high-voltage current source starts or stops charging the external bootstrap capacitor by judging the logic level state of the control signal DETECT. At the same time, the feedback injection node inside the CEXT self-test module receives the feedback of the control signal DETECT to change the voltage division ratio K of the resistor, thereby performing hysteresis detection on the voltage state across the external bootstrap capacitor to obtain the hysteresis detection voltage. The driving module has its positive and negative power supply terminals connected to the first node CEXT and the second node OUT, respectively, forming a floating ground structure. Its output terminal is connected to the gate of an external NMOS driving transistor. The drain of the external NMOS driving transistor is connected to the power supply VIN, and the source is connected to the second node OUT. The floating ground structure enables the reference ground potential of the driving module to change synchronously with the floating potential of the source of the external NMOS driving transistor.

[0010] Preferably, the CEXT self-detection module includes: The voltage divider sampling and adjustment module is used to sample the voltage of the first node CEXT by a proportional voltage divider and output the sampled voltage to the PTAT reference current generation and comparison module. The PTAT reference current and floating sampling current generation module is used to generate a constant PTAT reference current and generate a floating sampling current based on the sampling voltage. The output stage module is used to mirror the PTAT reference current and the floating sampling current into the system, compare the current magnitudes, and output a detection signal. The detection signal is then shaped and output as the control signal DETECT.

[0011] Preferably, the voltage divider sampling and adjustment module includes: resistors R0~R5, adjustment fuses FUSE0~FUSE1, and NMOS transistor NM5; the resistors R0~R5 are connected in series to form a voltage divider network, and the first and last ends of the voltage divider network are connected to the first node CEXT and the second node OUT, respectively; the two ends of resistor R1 are connected in parallel with adjustment fuse FUSE0, and the two ends of resistor R2 are connected in parallel with adjustment fuse FUSE1; the series connection point between resistors R3 and R4 serves as the output terminal to output the sampling voltage. By controlling the blowing of adjustment fuses FUSE0~FUSE1, the connection resistance value of resistors R1~R2 is adjusted to adjust the equivalent total resistance value of the voltage divider network, thereby controlling the voltage division ratio K value of the voltage extracted from the first node CEXT; the two ends of resistor R5 are connected in parallel with the source and drain of NMOS transistor NM5, and the gate of NMOS transistor NM5 is connected to the control signal DETECT.

[0012] Preferably, the PTAT reference current and floating sampling current generation module includes: a PMOS transistor PM1, NMOS transistors NM1~NM3, transistors Q1~Q2, and resistors R6~R7; the source of the PMOS transistor PM1 and one end of resistor R6 are connected to the first node CEXT, and the gate and drain are connected to the drain of the NMOS transistor NM1 and the input terminal of the output stage module; the gate of the NMOS transistor NM1 is connected to the gate and drain of the NMOS transistor NM2 and the collector of transistor Q1, and the source of the NMOS transistors NM1~NMOS transistor NM3 is connected to the second node OUT; the base of transistors Q1~Q2 is connected to the output terminal of the voltage divider sampling and adjustment module, the emitter of transistor Q1 is connected to one end of resistor R7, and the other end of resistor R7 is connected to the other end of resistor R6 and the emitter of transistor Q2; the collector of transistor Q2 is connected to the drain and gate of the NMOS transistor NM3 and the input terminal of the output stage module.

[0013] Preferably, the emitter area ratio of the transistors Q1 to Q2 is 8:1, and the base-emitter voltage difference ΔV of the transistors Q1 to Q2 is utilized. BE A constant PTAT reference current is generated across the resistor R7; the emitter current of the transistor Q2 varies with the sampling voltage, generating the floating sampling current; The formula for calculating the PTAT reference current is as follows: The formula for calculating the floating sampling current is as follows: ;where ΔV BE =V BE1 -V BE2 V BE1 V BE2 These are the base-emitter voltages of transistors Q1 to Q2, V.BE1 It has a negative temperature coefficient, ΔV BE It has a positive temperature coefficient; V CEXT K is the voltage of the first node CEXT, where K is V. CEXT The partial pressure ratio.

[0014] Preferably, when the PTAT reference current is equal to the floating sampling current, the voltage of the external bootstrap capacitor is the voltage V of the first node CEXT. CEXT As the voltage at the detection point, its calculation formula is: ; By adjusting the resistance ratio of resistor R6 and resistor R7, using V BE1 negative temperature coefficient and ΔV BE The positive temperature coefficients cancel each other out to achieve zero temperature coefficient compensation for the voltage at the detection point; and the magnitude of the voltage at the detection point is adjusted by adjusting the value of K of the voltage division ratio.

[0015] Preferably, the output stage module includes: a PMOS transistor PM2, an NMOS transistor NM4, and a Schmitt trigger unit SMIT; the source of the PMOS transistor PM2 is connected to the first node CEXT, the gate is used to input the PTAT reference current, the drain is connected to the drain of the NMOS transistor NM4 and the input terminal of the Schmitt trigger unit SMIT, the output terminal of the Schmitt trigger unit SMIT outputs the control signal DETECT, the positive and negative power supply terminals of the Schmitt trigger unit SMIT are respectively connected to the first node CEXT and the second node OUT, the gate of the NMOS transistor NM4 is used to input the floating sampling current, and the source is connected to the second node OUT.

[0016] Preferably, when the voltage of the external bootstrap capacitor is lower than the hysteresis detection voltage, the floating sampling current is less than the PTAT reference current. At this time, the logic level of the control signal DETECT is pulled high to initiate the charging action of the external bootstrap capacitor. When the voltage of the external bootstrap capacitor is higher than the voltage at the detection point, the floating sampling current is greater than the PTAT reference current. At this time, the logic level of the control signal DETECT is pulled low to stop charging the external bootstrap capacitor.

[0017] Preferably, the adjustment fuses FUSE0~FUSE1 adopt a 2-bit adjustment structure. By selectively blowing the adjustment fuses FUSE0~FUSE1, four voltage division ratios K values ​​can be obtained, thereby achieving fine adjustment and calibration of the detection point voltage of the first node CEXT.

[0018] This invention also provides a single-line communication electric vehicle flasher chip, which integrates a floating power gate drive circuit with self-detection function as described above. The flasher chip has dual-channel output ports OUT1~OUT2 and two floating ground structures. The flasher chip receives control commands transmitted from an external MCU through a single communication data pin SWIM. Before the control command indicates that the external load drive is turned on, the floating power gate drive circuit actively determines and replenishes the voltage of the external bootstrap capacitor. After the voltage of the external bootstrap capacitor reaches the detection point voltage, a high-level gate drive signal is output.

[0019] Compared with the prior art, the present invention has the following beneficial effects: 1. High reliability: The internal CEXT self-test module monitors the voltage status of the bootstrap capacitor in real time. When the capacitor voltage is low, it can automatically trigger the high-voltage current source to charge through the feedback signal DETECT, thus avoiding damage to the NMOS power transistor due to undervoltage.

[0020] 2. Simplified Circuit Structure: This flasher circuit has dual-channel output, meaning it has two floating points. If a traditional power supply voltage detection circuit were used, separate references and comparators for the two voltage domains would be required due to their different voltage domains. However, the floating power gate drive circuit with self-detection function of this invention can effectively reduce chip power consumption and area.

[0021] 3. Zero Temperature Coefficient Compensation Mechanism: By carefully designing the resistance ratio of R6 and R7, the negative temperature coefficient of the transistor cancels out its positive temperature coefficient, achieving near-zero temperature drift of the detection point voltage over a wide temperature range with extremely high accuracy; the magnitude of the detection point voltage is precisely adjusted by controlling the voltage divider ratio K.

[0022] 4. High yield and manufacturability: By using a 2-bit fuse adjustment structure to perform binary adjustment of the voltage divider ratio K, the absolute parameter deviation caused by the chip manufacturing process can be effectively compensated, so that the detection point voltage can be calibrated to the target value when the chip leaves the factory, which greatly improves the product yield. Attached Figure Description

[0023] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0024] Figure 1 This invention provides a schematic block diagram of a floating power supply gate drive circuit with self-detection function.

[0025] Figure 2 The circuit diagram of the CEXT self-test module provided by this invention.

[0026] Figure 3 The system charge / discharge timing diagram provided by the present invention.

[0027] Figure 4 The present invention provides a circuit for the peripheral application of a single-wire communication electric vehicle flasher chip. Figure 1 .

[0028] Figure 5 The present invention provides a circuit for the peripheral application of a single-wire communication electric vehicle flasher chip. Figure 2 . Detailed Implementation

[0029] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0030] like Figure 1 As shown, this embodiment of the invention specifically discloses a floating power gate driving circuit with self-detection function, including: A high-voltage current source, powered by power supply VIN, is used to charge an external bootstrap capacitor; the two ends of the external bootstrap capacitor are respectively connected to the first node CEXT and the second node OUT. The CEXT self-test module has its positive and negative power supply terminals connected to the first node CEXT and the second node OUT, respectively. It is used to detect the voltage state across the external bootstrap capacitor and output a control signal DETECT to the feedback terminal of the high-voltage current source. The high-voltage current source starts or stops charging the external bootstrap capacitor by judging the logic level state of the control signal DETECT. At the same time, the feedback injection node inside the CEXT self-test module receives the feedback of the control signal DETECT to change the voltage division ratio K of the resistor, thereby performing hysteresis detection on the voltage state across the external bootstrap capacitor to obtain the hysteresis detection voltage. The driving module has its positive and negative power supply terminals connected to the first node CEXT and the second node OUT, respectively, forming a floating ground structure. Its output terminal is connected to the gate of an external NMOS driving transistor. The drain of the external NMOS driving transistor is connected to the power supply VIN, and the source is connected to the second node OUT. The floating ground structure enables the reference ground potential of the driving module to change synchronously with the floating potential of the source of the external NMOS driving transistor.

[0031] like Figure 2 As shown, the CEXT self-testing module includes: The voltage divider sampling and adjustment module is used to sample the voltage of the first node CEXT by a proportional voltage divider and output the sampled voltage to the PTAT reference current generation and comparison module. The PTAT reference current and floating sampling current generation module is used to generate a constant PTAT reference current and generate a floating sampling current based on the sampling voltage. The output stage module is used to mirror the PTAT reference current and the floating sampling current into the system, compare the current magnitudes, and output a detection signal. The detection signal is then shaped and output as the control signal DETECT.

[0032] Continue reading Figure 2 The voltage divider sampling and adjustment module includes: resistors R0~R5, adjustment fuses FUSE0~FUSE1, and NMOS transistor NM5; the resistors R0~R5 are connected in series to form a voltage divider network, and the first and last ends of the voltage divider network are connected to the first node CEXT and the second node OUT, respectively; the two ends of resistor R1 are connected in parallel with adjustment fuse FUSE0, and the two ends of resistor R2 are connected in parallel with adjustment fuse FUSE1; the series connection point between resistors R3 and R4 serves as the output terminal to output the sampling voltage. By controlling the blowing of adjustment fuses FUSE0~FUSE1, the connection resistance value of resistors R1~R2 is adjusted to adjust the equivalent total resistance value of the voltage divider network, thereby controlling the voltage division ratio K value of the voltage extracted from the first node CEXT; the two ends of resistor R5 are connected in parallel with the source and drain of NMOS transistor NM5, and the gate of NMOS transistor NM5 is connected to the control signal DETECT.

[0033] Continue reading Figure 2The PTAT reference current and floating sampling current generation module includes: PMOS transistor PM1, NMOS transistors NM1~NM3, transistors Q1~Q2, and resistors R6~R7; the source of PMOS transistor PM1 and one end of resistor R6 are connected to the first node CEXT, and the gate and drain of PMOS transistor PM1 are connected to the drain of NMOS transistor NM1 and the input terminal of the output stage module; the gate of NMOS transistor NM1 is connected to the gate and drain of NMOS transistor NM2 and the collector of transistor Q1, and the source of NMOS transistors NM1~NMOS transistor NM3 is connected to the second node OUT; the base of transistors Q1~Q2 is connected to the output terminal of the voltage divider sampling and adjustment module, the emitter of transistor Q1 is connected to one end of resistor R7, and the other end of resistor R7 is connected to the other end of resistor R6 and the emitter of transistor Q2; the collector of transistor Q2 is connected to the drain and gate of NMOS transistor NM3 and the input terminal of the output stage module.

[0034] As a further description of the embodiments of the present invention, the emitter area ratio of the transistors Q1~Q2 is 8:1, and the base-emitter voltage difference ΔV of the transistors Q1~Q2 is utilized. BE A constant PTAT reference current is generated across the resistor R7; the emitter current of the transistor Q2 varies with the sampling voltage, generating the floating sampling current; The formula for calculating the PTAT reference current is as follows: The formula for calculating the floating sampling current is as follows: ;where ΔV BE =V BE1 -V BE2 V BE1 V BE2 These are the base-emitter voltages of transistors Q1 to Q2, V. BE1 It has a negative temperature coefficient, ΔV BE It has a positive temperature coefficient; V CEXT K is the voltage of the first node CEXT, where K is V. CEXT The partial pressure ratio.

[0035] When the PTAT reference current is equal to the floating sampling current, the voltage of the external bootstrap capacitor is the voltage V of the first node CEXT. CEXT As the voltage at the detection point, its calculation formula is: ; By adjusting the resistance ratio of resistor R6 and resistor R7, using V BE1 negative temperature coefficient and ΔV BEThe positive temperature coefficients cancel each other out to achieve zero temperature coefficient compensation for the voltage at the detection point; and the magnitude of the voltage at the detection point is adjusted by adjusting the value of K of the voltage division ratio.

[0036] Continue reading Figure 2 The output stage module includes: a PMOS transistor PM2, an NMOS transistor NM4, and a Schmitt trigger unit SMIT; the source of the PMOS transistor PM2 is connected to the first node CEXT, the gate is used to input the PTAT reference current, the drain is connected to the drain of the NMOS transistor NM4 and the input terminal of the Schmitt trigger unit SMIT, the output terminal of the Schmitt trigger unit SMIT outputs the control signal DETECT, the positive and negative power supply terminals of the Schmitt trigger unit SMIT are connected to the first node CEXT and the second node OUT respectively, the gate of the NMOS transistor NM4 is used to input the floating sampling current, and the source is connected to the second node OUT.

[0037] When the voltage of the external bootstrap capacitor is lower than the hysteresis detection voltage, the floating sampling current is less than the PTAT reference current. At this time, the logic level of the control signal DETECT is pulled high to start charging the external bootstrap capacitor. When the voltage of the external bootstrap capacitor is higher than the voltage at the detection point, the floating sampling current is greater than the PTAT reference current. At this time, the logic level of the control signal DETECT is pulled low to stop charging the external bootstrap capacitor.

[0038] The adjustment fuses FUSE0~FUSE1 adopt a 2-bit adjustment structure. By selectively blowing the adjustment fuses FUSE0~FUSE1, four voltage division ratios K values ​​can be obtained, thereby achieving fine adjustment and calibration of the detection point voltage of the first node CEXT.

[0039] The present invention also includes the following working principle: For the loop formed by resistor R7, transistors Q1 and Q2, the current flowing through the emitter of transistor Q1, which is also the current through resistor R7, can be approximated as constant. The current flowing through the emitter of transistor Q2 is K represents the CEXT voltage division ratio; the two current components are output through 1:1 current mirrors; NM2 and NM1 form an NMOS current mirror, and PM2 and PM1 form a PMOS current mirror. The mirrored PTAT reference current serves as the pull-up current, and is compared with the mirrored floating sampling current (which serves as the pull-down current) to output a detection signal (simple current comparison is achieved due to the parasitic capacitance at this output node). The detection signal is shaped by the Schmitt trigger (SMIT) unit and output as a DETECT signal. The feedback of the DETECT signal controls the high-voltage current source to charge and discharge while simultaneously feeding back to the gate of NM5 on the voltage division sampling and adjustment module. By changing the voltage division ratio K, a hysteresis detection effect is achieved. The detection point voltage is set to V... CEXT The hysteresis detection voltage is V' CEXT Ultimately, by coordinating whether or not the high-voltage current source is charging, the power supply voltage of the drive module can be controlled at V'. CEXT To V CEXT between.

[0040] As analyzed above, when the CEXT node voltage is low, the current flowing through transistor Q2 is less than the current flowing through transistor Q1. The currents from transistors Q1 and Q2 are mirrored to the output transistors PM2 and NM4, meaning the current in NM4 is less than the current in PM2, and the output is pulled high. When the CEXT node voltage increases to a certain value, the current in NM4 exceeds the current in PM2, and the output is pulled low. This achieves the function of detecting the CEXT node voltage. The CEXT voltage detection point is the CEXT voltage when the currents of the two transistors Q1 and Q2 are equal. The formula for calculating the voltage at this detection point is: Where V BE1 It has a negative temperature coefficient, ΔV BE With a positive temperature coefficient, during the chip design stage, only the resistance ratio of resistors R6 and R7 needs to be adjusted to perfectly cancel out the positive and negative temperature coefficients, achieving a near-zero temperature drift effect. Furthermore, the detection point voltage can be set by adjusting the K value. Specifically, by setting the FUSE0 and FUSE1 fuses of the 2-bit trimming structure, the K value can be finely adjusted in four levels (corresponding to four different K values), achieving precise fine-tuning of the final undervoltage detection threshold. This effectively eliminates errors caused by process variations in the resistor network, ensuring that the detection threshold of each mass-produced chip is accurate and consistent.

[0041] The output of the CEXT self-test module is connected to a high-voltage current source. The level of the control signal DETECT determines whether the high-voltage current source charges the external bootstrap capacitor. When the CEXT voltage is low, the control signal DETECT outputs high, controlling the bootstrap capacitor to charge, and the CEXT node voltage continuously rises. When the CEXT node voltage is high, the control signal DETECT outputs low, the high-voltage current source stops charging, and because the drive module consumes current, the external bootstrap capacitor discharges, and the CEXT node voltage drops. This cycle stabilizes the CEXT node voltage at V'. CEXT To V CEXT Within a certain range, ensure that the power supply to the drive module is normal.

[0042] like Figure 3 As shown, when an external load is connected, OUT is connected to ground through the load, the DETECT signal is 1, and the bootstrap capacitor continuously charges until the set V is reached. CEXT When the DETECT signal flips, it acts as the system drive enable signal, the drive module starts working, the bootstrap capacitor stops charging, and the drive module consumes current until the bootstrap capacitor voltage drops to the set hysteresis detection point V'. CEXT The DETECT signal flips again, controlling the bootstrap capacitor to charge. This cycle repeats, which can control the power supply voltage of the drive module within the set range and has good temperature characteristics.

[0043] It should be noted that the charging phase only occurs during the low-level period of the PWM gate drive signal. During the high-level period, the OUT voltage is approximately equal to VIN, and the high-voltage current source is powered by VIN, so charging cannot be performed at this time.

[0044] like Figure 4 and Figure 5 As shown in the figure, this embodiment of the invention also provides a single-line communication electric vehicle flasher chip. The flasher chip integrates a floating power gate drive circuit with self-detection function as described above. The flasher chip has dual-channel output ports OUT1~OUT2 and two floating ground structures. The flasher chip receives control commands transmitted from an external MCU through a single communication data pin SWIM. Before the control command indicates that the external load drive is turned on, the floating power gate drive circuit actively determines and replenishes the voltage of the external bootstrap capacitor. After the voltage of the external bootstrap capacitor reaches the detection point voltage, a high-level gate drive signal is output.

[0045] As a further description of the embodiments of the present invention, the flash chip proposed in the embodiments of the present invention includes 10 pins, and the peripheral circuit connection method is as follows: The VIN pin serves as the power input pin, connecting to the high-voltage power supply of the electric vehicle.

[0046] The VDD pin serves as the external low-voltage power input pin for the MCU, providing a stable low-voltage power supply to the internal logic circuits of the chip.

[0047] GND pin, system ground pin.

[0048] The SWIM pin serves as a single-wire data communication pin for MCU data transmission, used to receive flashing commands and mode switching commands (such as left / right turn, double flash on) sent by an external MCU.

[0049] The LD and RD pins are used as multiplexed pins for detecting the status of the left / right turn signals. One end of the left / right turn switch is connected to OUT1, and the other end is connected to LD or RD. LD / RD is connected in series with the left / right turn signal and then grounded.

[0050] The OUT1 and CEXT1 pins serve as the connection points for the first channel's floating drive output and the bootstrap capacitor. An external bootstrap capacitor is connected between these two pins to drive the left / right turn signals.

[0051] The OUT2 and CEXT2 pins serve as the connection points for the second channel's floating drive output and the bootstrap capacitor. A second external bootstrap capacitor is connected between them. Figure 4 In the middle, the OUT2 pin is connected to the left and right turn signals respectively, while... Figure 5 In this configuration, the second channel, namely the OUT2 pin, can be used to drive the independent "double hazard left light" and "double hazard right light" to achieve the double hazard warning function.

[0052] Taking OUT1 / CEXT1 driving as an example: Before PWM driving, the internal CEXT self-detection module immediately samples and judges the voltage across the external bootstrap capacitor connected to the CEXT1 / OUT1 pins. If the external bootstrap capacitor voltage is lower than the hysteresis detection point voltage (i.e., undervoltage), the floating sampling current generated by the transistor inside the CEXT self-detection module is less than the PTAT reference current, and the internal DETECT signal is pulled high (DETECT=1). This high-level signal is immediately fed back to the high-voltage current source, driving the chip to open the internal charging circuit and quickly charge the external bootstrap capacitor between the CEXT1 / OUT1 pins. As the bootstrap capacitor voltage rises and exceeds the detection point voltage, the internal DETECT signal flips low (DETECT=0), and the high-voltage current source stops charging.

[0053] Once the external bootstrap capacitor is fully charged and the drive module has sufficient energy, the drive module outputs a high-level PWM gate drive signal, turns on the internal NMOS power transistor, and outputs drive current through the OUT1 or OUT2 pin to light up the corresponding left or right turn signals or hazard lights.

[0054] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.

Claims

1. A floating power supply gate drive circuit with self-detection function, characterized in that, include: A high-voltage current source, powered by power supply VIN, is used to charge an external bootstrap capacitor; the two ends of the external bootstrap capacitor are respectively connected to the first node CEXT and the second node OUT. The CEXT self-test module has its positive and negative power supply terminals connected to the first node CEXT and the second node OUT, respectively. It is used to detect the voltage state across the external bootstrap capacitor and output a control signal DETECT to the feedback terminal of the high-voltage current source. The high-voltage current source starts or stops charging the external bootstrap capacitor by judging the logic level state of the control signal DETECT. At the same time, the feedback injection node inside the CEXT self-test module receives the feedback of the control signal DETECT to change the voltage division ratio K of the resistor, thereby performing hysteresis detection on the voltage state across the external bootstrap capacitor to obtain the hysteresis detection voltage. The driving module has its positive and negative power supply terminals connected to the first node CEXT and the second node OUT, respectively, forming a floating ground structure. Its output terminal is connected to the gate of an external NMOS driving transistor. The drain of the external NMOS driving transistor is connected to the power supply VIN, and the source is connected to the second node OUT. The floating ground structure enables the reference ground potential of the driving module to change synchronously with the floating potential of the source of the external NMOS driving transistor.

2. The floating power gate drive circuit with self-detection function as described in claim 1, characterized in that, The CEXT self-detection module includes: The voltage divider sampling and adjustment module is used to sample the voltage of the first node CEXT by a proportional voltage divider and output the sampled voltage to the PTAT reference current generation and comparison module. The PTAT reference current and floating sampling current generation module is used to generate a constant PTAT reference current and generate a floating sampling current based on the sampling voltage. The output stage module is used to mirror the PTAT reference current and the floating sampling current into the system, compare the current magnitudes, and output a detection signal. The detection signal is then shaped and output as the control signal DETECT.

3. A floating power gate drive circuit with self-detection function as described in claim 2, characterized in that, The voltage divider sampling and adjustment module includes: resistors R0~R5, adjustment fuses FUSE0~FUSE1, and NMOS transistor NM5; the resistors R0~R5 are connected in series to form a voltage divider network, and the first and last ends of the voltage divider network are connected to the first node CEXT and the second node OUT, respectively; the two ends of resistor R1 are connected in parallel with adjustment fuse FUSE0, and the two ends of resistor R2 are connected in parallel with adjustment fuse FUSE1; the series connection point between resistors R3 and R4 serves as the output terminal to output the sampling voltage. By controlling the blowing of adjustment fuses FUSE0~FUSE1, the connection resistance value of resistors R1~R2 is adjusted to adjust the equivalent total resistance value of the voltage divider network, thereby controlling the voltage division ratio K value of the voltage extracted from the first node CEXT; the two ends of resistor R5 are connected in parallel with the source and drain of NMOS transistor NM5, and the gate of NMOS transistor NM5 is connected to the control signal DETECT.

4. A floating power gate drive circuit with self-detection function as described in claim 2, characterized in that, The PTAT reference current and floating sampling current generation module includes: PMOS transistor PM1, NMOS transistors NM1~NM3, transistors Q1~Q2, and resistors R6~R7; the source of PMOS transistor PM1 and one end of resistor R6 are connected to the first node CEXT, and the gate and drain of PMOS transistor PM1 are connected to the drain of NMOS transistor NM1 and the input terminal of the output stage module; the gate of NMOS transistor NM1 is connected to the gate and drain of NMOS transistor NM2 and the collector of transistor Q1, and the source of NMOS transistors NM1~NMOS transistor NM3 is connected to the second node OUT; the base of transistors Q1~Q2 is connected to the output terminal of the voltage divider sampling and adjustment module, the emitter of transistor Q1 is connected to one end of resistor R7, and the other end of resistor R7 is connected to the other end of resistor R6 and the emitter of transistor Q2; the collector of transistor Q2 is connected to the drain and gate of NMOS transistor NM3 and the input terminal of the output stage module.

5. A floating power gate drive circuit with self-detection function as described in claim 4, characterized in that, The emitter area ratio of transistors Q1 to Q2 is 8:

1. This is achieved by utilizing the base-emitter voltage difference ΔV of transistors Q1 to Q2. BE A constant PTAT reference current is generated across the resistor R7; the emitter current of the transistor Q2 varies with the sampling voltage, generating the floating sampling current; The formula for calculating the PTAT reference current is as follows: The formula for calculating the floating sampling current is as follows: ;where ΔV BE =V BE1 -V BE2 V BE1 V BE2 These are the base-emitter voltages of transistors Q1 to Q2, V. BE1 It has a negative temperature coefficient, ΔV BE It has a positive temperature coefficient; V CEXT K is the voltage of the first node CEXT, where K is V. CEXT The partial pressure ratio.

6. A floating power gate drive circuit with self-detection function as described in claim 5, characterized in that, When the PTAT reference current is equal to the floating sampling current, the voltage of the external bootstrap capacitor is the voltage V of the first node CEXT. CEXT As the voltage at the detection point, its calculation formula is: ; By adjusting the resistance ratio of resistor R6 and resistor R7, using V BE1 negative temperature coefficient and ΔV BE The positive temperature coefficients cancel each other out to achieve zero temperature coefficient compensation for the voltage at the detection point; and the magnitude of the voltage at the detection point is adjusted by adjusting the value of K of the voltage division ratio.

7. A floating power gate drive circuit with self-detection function as described in claim 6, characterized in that, The output stage module includes: a PMOS transistor PM2, an NMOS transistor NM4, and a Schmitt trigger unit SMIT; the source of the PMOS transistor PM2 is connected to the first node CEXT, the gate is used to input the PTAT reference current, the drain is connected to the drain of the NMOS transistor NM4 and the input terminal of the Schmitt trigger unit SMIT, the output terminal of the Schmitt trigger unit SMIT outputs the control signal DETECT, the positive and negative power supply terminals of the Schmitt trigger unit SMIT are connected to the first node CEXT and the second node OUT respectively, the gate of the NMOS transistor NM4 is used to input the floating sampling current, and the source is connected to the second node OUT.

8. A floating power gate drive circuit with self-detection function as described in claim 7, characterized in that, When the voltage of the external bootstrap capacitor is lower than the hysteresis detection voltage, the floating sampling current is less than the PTAT reference current. At this time, the logic level of the control signal DETECT is pulled high to start charging the external bootstrap capacitor. When the voltage of the external bootstrap capacitor is higher than the voltage at the detection point, the floating sampling current is greater than the PTAT reference current. At this time, the logic level of the control signal DETECT is pulled low to stop charging the external bootstrap capacitor.

9. A floating power supply gate drive circuit with self-detection function as described in claim 3, characterized in that, The adjustment fuses FUSE0~FUSE1 adopt a 2-bit adjustment structure. By selectively blowing the adjustment fuses FUSE0~FUSE1, four voltage division ratios K values ​​can be obtained, thereby achieving fine adjustment and calibration of the detection point voltage of the first node CEXT.

10. A single-wire communication electric vehicle flasher chip, characterized in that, The flasher chip integrates a floating power gate drive circuit with self-detection function as described in any one of claims 1 to 9; the flasher chip has dual-channel output ports OUT1 to OUT2 and two floating ground structures, and the flasher chip receives control commands transmitted from an external MCU through a single communication data pin SWIM. Before the control command indicates that the external load drive is turned on, the floating power gate drive circuit actively determines and replenishes the voltage of the external bootstrap capacitor. After the voltage of the external bootstrap capacitor reaches the detection point voltage, a high-level gate drive signal is output.