Lamp driving system and engine system
By designing a light driving system integrated into the chip in the motorcycle electronic injection system, the problem of excessively simple design of the fault indicator light driving module in the prior art is solved, and independent driving and fault detection of LED lamps are realized, which improves system reliability and reduces costs.
Patent Information
- Application Number
- CN202510188627.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-02-20
AI Technical Summary
In the existing motorcycle electronic injection system, the driving module design of the fault indicator light is too simple to effectively drive the LED light, resulting in low system reliability, high peripheral circuit complexity, and large power consumption, making it difficult to meet the requirements of modern vehicles for intelligence and reliability.
A lamp driving system integrated into the chip is designed, including an N street lamp driving module, each module is used to drive the corresponding LED lamp beads, and the wire wire width in the module is less than 120um. The integrated SPI module is used to receive SPI control signals, and the independent driving and fault detection of the LED lamp beads are realized through the lamp control unit, the driving unit and the fault detection module.
The independent driving of the fault indicator light is realized, the reliability of the system is improved, the complexity and power consumption of the peripheral circuit are reduced, and the cost of use is reduced.
Smart Images

Figure CN119967668A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of small engines, and in particular to a lamp driving system and an engine system. Background Art
[0002] As environmental regulations become increasingly stringent, motorcycle fuel supply systems are rapidly transitioning from traditional carburetor technology to electronically controlled injection (EFI) systems. EFI systems achieve efficient fuel utilization and significantly reduce pollutant emissions by precisely controlling fuel injection and ignition.
[0003] In motorcycle electronic fuel injection systems, the chip usually integrates a driver module for the fault indicator light. This module is only used to provide the corresponding switch drive function for the fault indicator light. Since it is mainly designed to support the high current requirements of traditional bulbs, the common driving capacity can reach 1.2A.
[0004] However, as LED lights gradually replace traditional bulbs and become the mainstream choice for fault indicator lights, this high current design is no longer reasonable. Obviously, the driver module has simple functions and excessive current design. In order to realize the diagnostic function of the fault indicator light, the user needs to design additional complex peripheral circuits and diagnostic circuits, which not only increases the hardware cost and design difficulty, but also reduces the reliability of the system.
[0005] Therefore, how to ensure the independent driving of the fault indicator light with good reliability, low complexity of the peripheral circuit and low power consumption has become a technical problem that urgently needs to be solved in the industry. Summary of the invention
[0006] The present invention provides a lamp driving system and an engine system, which solve the technical problems of ensuring independent driving of a fault indicator light with good reliability, low complexity of peripheral circuits and low power consumption.
[0007] According to a first aspect of the present invention, an embodiment of the present invention provides a lamp driving system, the lamp driving system is integrated inside a chip, the system comprises N street lamp driving modules, each lamp driving module is used to drive a corresponding LED lamp bead, the line width of the wire in the lamp driving module is less than 120um, wherein N is an integer greater than or equal to 1;
[0008] The chip includes an SPI module, and the SPI module is used to receive an SPI control signal and output a corresponding serial lamp driving control signal to each lamp driving module based on the SPI control signal;
[0009] The lamp driving module comprises:
[0010] a lamp control unit, receiving the serial lamp drive control signal and the fault detection signal, and configured to output a drive control signal based on the serial lamp drive control signal and the fault detection signal;
[0011] A driving unit, comprising a high-side driver, a clamping subunit and a first MOS tube, wherein an input end of the high-side driver receives the driving control signal, and an output end thereof is respectively coupled to a first end of the clamping subunit and a control end of the first MOS tube, a second end of the clamping subunit and a drain of the first MOS tube are both coupled to a first node, the first node is also coupled to a first end of a corresponding LED lamp bead, and a source of the first MOS tube is grounded;
[0012] A fault detection module, a first end of which is coupled to the source of the first MOS tube, a second end of which is coupled to the first node, and an output end of which is coupled to the lamp control unit, is used to output the fault detection signal based on the current flowing through the source of the first MOS tube and the voltage of the first node.
[0013] Optionally, the driving control signal includes an on driving signal and an off driving signal, and outputting the driving control signal based on the serial lamp driving control signal and the fault detection signal includes:
[0014] When the fault detection signal is characterized as normal and the serial lamp driving control signal is characterized as off, the lamp control unit outputs the on driving signal;
[0015] When the fault detection signal is characterized as normal and the serial lamp driving control signal is characterized as on, the lamp control unit outputs the on driving signal;
[0016] When the fault detection signal is characterized as abnormal, the lamp control unit outputs the shutoff driving signal.
[0017] Optionally, the fault detection module is further configured to:
[0018] When the lamp control unit outputs the on-drive signal, outputting the fault detection signal based on the current flowing through the source of the first MOS tube;
[0019] When the lamp control unit outputs the turn-off driving signal, the fault detection signal is output based on the voltage of the first node.
[0020] Optionally, the method for outputting the fault detection signal based on the current flowing through the source of the first MOS transistor and the voltage of the first node includes:
[0021] When the lamp control unit outputs the on-drive signal, if the current flowing through the source of the first MOS tube is greater than or equal to a first current threshold, then the fault detection signal indicating abnormality is output;
[0022] When the lamp control unit outputs the on-drive signal, if the current flowing through the source of the first MOS tube is less than the first current threshold, the fault detection signal indicating normality is output;
[0023] When the lamp control unit outputs the shutoff driving signal, if the voltage of the first node does not belong to the second threshold voltage range, then the fault detection signal indicating abnormality is output;
[0024] When the lamp control unit outputs the shutoff driving signal, if the voltage of the first node belongs to the second threshold voltage range, the fault detection signal indicating normality is output.
[0025] Optionally, the fault detection signal includes an overcurrent detection signal, and the fault detection module includes an overcurrent detection unit; the overcurrent detection unit includes a first amplifier and a detection resistor;
[0026] The first end of the detection resistor is coupled to the source of the first MOS tube, and the second end thereof is grounded;
[0027] The first input terminal of the first amplifier is coupled to the first terminal of the detection resistor, the second terminal of the first amplifier is coupled to the second terminal of the detection resistor, and the output terminal of the first amplifier is coupled to the lamp control unit for outputting the overcurrent detection signal.
[0028] Optionally, the light control unit is configured as:
[0029] Based on the overcurrent detection signal and the overcurrent filtering time, it is determined whether a circuit fault occurs, wherein:
[0030] If the overcurrent detection signal is characterized as abnormal and lasts longer than the overcurrent filtering time, it is determined that the circuit has an overcurrent and the shutdown drive signal is output.
[0031] Optionally, the fault detection signal includes an open circuit detection signal and a short circuit detection signal; the maximum value of the second threshold voltage range is a first set voltage, and the minimum value thereof is a second set voltage; the fault detection module includes an open circuit detection unit, a short circuit detection unit and a voltage setting unit;
[0032] The voltage setting unit includes a second amplifier and a first switch, wherein a first input terminal of the second amplifier receives the first setting voltage, a second input terminal of the second amplifier is coupled to an output terminal thereof, an output terminal of the second amplifier is coupled to a first terminal of the first switch, and a second terminal of the first switch is coupled to the first node;
[0033] The open circuit detection unit comprises a third amplifier, a first input terminal of the third amplifier receives a third set voltage, a second input terminal of the third amplifier is coupled to the first terminal of the first switch, and an output terminal of the third amplifier is coupled to the lamp control unit, wherein the third set voltage is greater than the first set voltage;
[0034] The short circuit detection unit includes a fourth amplifier, a first input terminal of the fourth amplifier receives the second setting voltage, a second input terminal of the fourth amplifier is coupled to the first terminal of the first switch, and an output terminal of the fourth amplifier is coupled to the lamp control unit.
[0035] Optionally, the light control unit is further coupled to a control end of the first switch, and the light control unit is configured as follows:
[0036] When the lamp control unit outputs the shutdown driving signal, the first switch is controlled to be turned on.
[0037] Optionally, the light control unit is configured as:
[0038] Based on the open circuit detection signal and the open circuit filtering time, it is determined whether a circuit fault occurs, wherein:
[0039] If the open circuit detection signal is characterized as abnormal and the duration is greater than the open circuit filtering time, it is determined that the circuit is open circuited and the shutdown drive signal is output; and
[0040] Based on the short-circuit detection signal and the short-circuit filtering time, it is determined whether a circuit fault occurs, wherein:
[0041] If the short-circuit detection signal is characterized as abnormal and lasts longer than the short-circuit filtering time, it is determined that a short circuit to ground occurs in the circuit and the shutdown drive signal is output.
[0042] Optionally, each lamp driving module is used to provide a driving current less than or equal to 70mA to the corresponding LED lamp bead.
[0043] According to a second aspect of the present invention, an embodiment of the present invention provides an engine system, comprising a main control chip and a lamp driving system as described in any one of the first aspects of the present invention;
[0044] Wherein, the chip is electrically connected to a main control chip, and the main control chip is used to send the SPI control signal.
[0045] Optionally, the chip further includes:
[0046] A power supply module, used to supply power to the chip and a sensor electrically connected to the chip;
[0047] A mode control module receives a key signal and is used to control the state of the chip to be a working mode and a standby mode based on the key signal;
[0048] an injector driving module, coupled to the injector, and configured to drive the injector when the chip is in a working mode;
[0049] a relay driving module, coupled to the relay, for driving the relay when the chip is in a working mode;
[0050] A rotation speed module, coupled to the tachometer, configured to output a rotation speed signal when the chip is in a working mode;
[0051] an oxygen heating module, for coupling to an oxygen sensor heater, for driving the oxygen sensor heater when the chip is in an operating mode;
[0052] An idle stepper motor driving module, coupled to the idle stepper motor, and used to drive the idle stepper motor when the chip is in the working mode;
[0053] a magnetoelectric signal processing module, used for converting crankshaft magnetoelectric signals when the chip is in working mode;
[0054] K-LINE communication module, used to realize OBD communication.
[0055] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:
[0056] In the lamp driving system and engine system of the technical solution of the present invention, the lamp driving system includes at least one lamp driving module, the line width of the wire in the lamp driving module is less than 120um, and each lamp driving module includes: a lamp control unit that outputs a driving control signal based on a fault detection signal and a serial lamp driving control signal from an SPI module; a driving unit that controls the working state of the corresponding LED lamp bead based on the driving control signal; and a fault detection module that performs fault detection on the lamp driving module. Therefore, the present invention integrates multiple lamp driving modules inside the chip, so that the chip can meet the independent driving and independent fault detection of each LED lamp bead, while reducing the peripheral circuit, the reliability is good, the complexity is low, and the use cost is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention 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 work.
[0058] Figure 1 It is a structural schematic diagram of an engine chip of the prior art;
[0059] Figure 2 is a schematic diagram of the structure of a chip provided by an embodiment of the present invention;
[0060] Figure 3 FIG. 1 is a schematic diagram of the structure of a lamp driving system provided by an embodiment of the present invention. Figure 1 ;
[0061] Figure 4 is corresponding to Figure 3 The working waveform diagram of the lamp driving system;
[0062] Figure 5 FIG. 1 is a schematic diagram of the structure of a lamp driving system provided by an embodiment of the present invention. Figure 2 ;
[0063] Figure 6 is corresponding to Figure 5 The working waveform diagram of the lamp driving system;
[0064] Figure 7 It is a schematic diagram of the structure of a chip provided by another embodiment of the present invention.
[0065] Reference numerals:
[0066] 11-SPI module;
[0067] 12- lamp driving system;
[0068] 13-bus;
[0069] 121-lamp driving module;
[0070] 1211-light control unit;
[0071] 12121-high side driver;
[0072] 12122-clamp subunit;
[0073] 1213-fault detection module;
[0074] 12131-first amplifier;
[0075] 12132 - second amplifier;
[0076] S1-first switch;
[0077] 12133-third amplifier;
[0078] 12134-fourth amplifier;
[0079] R sense - Sense resistor;
[0080] 1214-LED lamp beads;
[0081] M1-the first MOS tube. DETAILED DESCRIPTION
[0082] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0083] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0084] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0085] As described in the background art, it is difficult to ensure the independent driving of the fault indicator light with good reliability and low complexity of the peripheral circuit in the prior art.
[0086] Figure 1 It is a schematic diagram of the structure of an engine chip in an embodiment.
[0087] It can be seen that the chip includes:
[0088] VDD module, used to power the engine chip;
[0089] The VDD follower module is used to power external sensors. Its voltage output VDD_TR follows the voltage output VDD of the VDD module.
[0090] KEY module, used to power on the chip;
[0091] Specifically, when the KEY signal is high, the chip enters the working mode;
[0092] When the KEY signal is low, the chip enters standby mode.
[0093] The SPI module is used for communication between the main chip and the engine chip to open the ignition switch and read diagnostic information.
[0094] Stepper Driver is used to drive the engine's idle air stepper motor.
[0095] The injector driver module (INJ) is used to drive the engine's injectors.
[0096] The O2H module is used to drive the oxygen sensor heater and provide the necessary preheating function for the oxygen sensor to quickly enter the working state. The oxygen sensor is used for exhaust gas detection.
[0097] The relay driver module (Relay Driver) is used to drive the oil pump relay and other relays to realize the start and stop control of external devices (such as oil pumps, fans, etc.).
[0098] The LSD module is used to drive the fault light. When a system fault (such as overcurrent or short circuit) is detected, the fault light is turned on to prompt the user.
[0099] The speed output drive module (TACH) is used to drive the speed output. Specifically, it can drive the tachometer display to output the real-time speed signal of the engine.
[0100] K-line is used for OBD (On-Board Diagnostics) communication to transmit diagnostic information and system status.
[0101] It can be seen that the LSD module can only be used to provide a high driving current for the fault lamp, which makes it difficult to apply this driving solution in modern electronic fuel injection engines.
[0102] This is because with the rapid development of LED technology, motorcycle fault lights have gradually changed from traditional bulbs to LED lights. LED lights have become the mainstream choice for fault indicator lights due to their advantages of high brightness, low power consumption, long life and low cost.
[0103] In this case, the excessively high driving current of the LSD module will result in resource waste and increased power consumption.
[0104] Moreover, since the LSD module only has a simple switch function and lacks the ability to diagnose LED faults, it is difficult to meet the requirements of modern vehicles for intelligence and reliability. In order to realize the diagnosis function of the fault indicator light, chip users need to design additional complex peripheral circuits and diagnostic circuits, which not only increases hardware costs and design difficulty, but also reduces system reliability.
[0105] In view of this, the present invention provides a lamp driving system, which is integrated inside a chip, the chip is electrically connected to a main control chip, the system includes at least one lamp driving module, the line width of the wires in the lamp driving module is less than 120um, and each lamp driving module includes: a lamp control unit that outputs a driving control signal based on a serial lamp driving control signal and a fault detection signal; a driving unit that controls the working state of the corresponding LED lamp bead based on the driving control signal; and a fault detection module that performs fault detection on the lamp driving module. Therefore, the present invention integrates multiple lamp driving modules inside the chip, so that the chip can meet the independent driving and independent fault detection of each LED lamp bead, while reducing the peripheral circuit, the reliability is good, the complexity is low, and the use cost is reduced.
[0106] In order to make the above-mentioned objects, features and beneficial effects of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0107] In the embodiments of the present invention, please refer to Figure 2 The lamp driving system 12 is integrated inside the chip 1, and the system includes N street lamp driving modules 121. Each lamp driving module 121 is used to drive the corresponding LED lamp bead 1214. The line width of the wire in the lamp driving module 121 is less than 120um, where N is an integer greater than or equal to 1.
[0108] It can be seen that the present invention reduces the circuit area of the lamp driving module 121 by limiting the line width of the wire, thereby controlling the magnitude of the driving current flowing through the LED lamp bead 1214. In addition, since the driving current provided by the present invention is reduced, the area of the driving tube can be reduced. Generally, the circuit area provided by the present invention can be reduced by about 35% compared with the circuit of the prior art, thereby improving the utilization rate of the chip.
[0109] Taking into account the actual current demand of the LED lamp bead 1214 , in a preferred embodiment, each lamp driving module 121 is used to provide a driving current less than or equal to 70 mA to the corresponding LED lamp bead 1214 .
[0110] The chip includes an SPI module 11, and the SPI module 11 is used to receive an SPI control signal and output a corresponding serial lamp driving control signal to each lamp driving module 121 based on the SPI control signal.
[0111] In a specific implementation, please continue to refer to Figure 2 , each lamp driving module 121 can communicate with the SPI module 11 through the bus 13.
[0112] In practical applications, the SPI module 11 has a register, and each lamp driving module 121 in the register corresponds to two SPI bits, and the values of the two SPI bits are controlled by the SPI control signal.
[0113] Table 1 Status table of two SPI bits corresponding to the xth lamp driving module 121
[0114]
[0115] Table 1 shows the bit operation corresponding to the x-th lamp driving module 121 in the register provided by the embodiment of the present invention and the corresponding serial lamp driving control signal state. It can be seen that for each lamp driving module 121, the control of its working state is independent. Where x is an integer, and 1≤x≤N.
[0116] Each lamp driving module 121 of the present invention is controlled by a corresponding serial oxygen heating control signal.
[0117] The structure of a single lamp driving module 121 is now further described.
[0118] Please refer to Figure 3 In a specific implementation, the lamp driving module 121 includes:
[0119] The lamp control unit 1211 receives the serial lamp driving control signal and the fault detection signal, and is used to output a driving control signal based on the serial lamp driving control signal and the fault detection signal;
[0120] A driving unit, comprising a high-side driver 12121, a clamping subunit 12122 and a first MOS tube M1, wherein an input end of the high-side driver 12121 receives the driving control signal, and an output end thereof is respectively coupled to a first end of the clamping subunit 12122 and a control end of the first MOS tube M1, a second end of the clamping subunit 12122 and a drain of the first MOS tube M1 are both coupled to a first node, the first node is also coupled to a first end of a corresponding LED lamp bead 1214, and a source of the first MOS tube M1 is grounded;
[0121] The fault detection module 1213 has a first end coupled to the source of the first MOS tube M1, a second end coupled to the first node, and an output end coupled to the lamp control unit 1211, and is used to output the fault detection signal based on the current flowing through the source of the first MOS tube M1 and the voltage of the first node.
[0122] exist Figure 3 In the example, the clamping subunit 12122 includes a clamping diode. It should be understood that the present invention does not limit the specific structure of the clamping subunit 12122. As long as the circuit can realize the clamping function, it is within the protection scope of the present invention.
[0123] As an example, in Figure 3 The first MOS transistor M1 in the example may be a NDMOS transistor. Of course, the present invention is not limited to a specific type of MOS transistor, and may also be a BJT transistor, etc. Those skilled in the art may select a suitable element as needed.
[0124] It can be seen that the present invention integrates multiple street lamp driving modules 121 inside the chip, so that the chip can meet the independent heating and independent fault detection of each LED lamp bead 1214. While reducing the peripheral circuit, it has better reliability and low complexity, thereby reducing the cost of use.
[0125] In this case, in a specific implementation, the driving control signal includes an on driving signal and an off driving signal.
[0126] Based on the serial lamp driving control signal and the fault detection signal, outputting a driving control signal comprises:
[0127] When the fault detection signal is characterized as normal and the serial lamp driving control signal is characterized as off, the lamp control unit 1211 outputs the on driving signal;
[0128] When the fault detection signal is characterized as normal and the serial lamp driving control signal is characterized as on, the lamp control unit 1211 outputs the on driving signal;
[0129] When the fault detection signal is characterized as abnormal, the lamp control unit 1211 outputs the shutoff driving signal.
[0130] Now combined Figure 4 The change of the driving control signal is described. Figure 4 The working waveform diagram of the light control unit 1211 is shown, wherein:
[0131] SPI, which can be understood as the serial lamp driving control signal corresponding to the lamp driving module 121;
[0132] LED can be understood as a driving control signal corresponding to the lamp driving module 121.
[0133] It can be seen that, for the lamp control unit 1211, the LED lamp bead 1214 of the present invention is only controlled by the serial lamp driving control signal.
[0134] In one implementation manner, the fault detection module 12131213 performs different detections on the lamp driving module 121 when the lamp control unit 1211 outputs different driving control signals.
[0135] In this case, in a specific implementation manner, the fault detection module 1213 is further configured to:
[0136] When the lamp control unit 1211 outputs the on-drive signal, the fault detection signal is output based on the current flowing through the source of the first MOS transistor M1;
[0137] When the lamp control unit 1211 outputs the turn-off driving signal, the fault detection signal is output based on the voltage of the first node.
[0138] On this basis, the method for outputting the fault detection signal based on the current flowing through the source of the first MOS transistor M1 and the voltage of the first node includes:
[0139] When the lamp control unit 1211 outputs the on-drive signal, if the current flowing through the source of the first MOS tube M1 is greater than or equal to the first current threshold, the fault detection signal indicating abnormality is output;
[0140] When the lamp control unit 1211 outputs the on-drive signal, if the current flowing through the source of the first MOS transistor M1 is less than the first current threshold, the fault detection signal indicating normality is output;
[0141] When the lamp control unit 1211 outputs the shut-off driving signal, if the voltage of the first node does not belong to the second threshold voltage range, the fault detection signal indicating abnormality is output;
[0142] When the lamp control unit 1211 outputs the shutoff driving signal, if the voltage of the first node belongs to the second threshold voltage range, the fault detection signal indicating normality is output.
[0143] In the embodiment of the present invention, the maximum value of the second threshold voltage range is the first set voltage, and the minimum value thereof is the second set voltage.
[0144] The structure of the fault detection module 12131213 is now further explained.
[0145] In one implementation, the fault detection signal includes an overcurrent detection signal.
[0146] Please refer to Figure 5 The fault detection module 1213 includes an overcurrent detection unit; the overcurrent detection unit includes a first amplifier 12131 and a detection resistor R sense ;
[0147] The detection resistor R sense A first end of the transistor is coupled to the source of the first MOS transistor M1, and a second end of the transistor is grounded;
[0148] The first input terminal of the first amplifier 12131 is coupled to the detection resistor R sense The first end thereof is coupled to the detection resistor R sense The second end of the lamp has an output end coupled to the lamp control unit 1211 for outputting the over-current detection signal.
[0149] In this case, the light control unit 1211 is configured as follows:
[0150] Based on the overcurrent detection signal and the overcurrent filtering time, it is determined whether a circuit fault occurs, wherein:
[0151] If the overcurrent detection signal is characterized as abnormal and lasts longer than the overcurrent filtering time, it is determined that the circuit has an overcurrent and the shutdown drive signal is output.
[0152] The overcurrent filtering time is used to avoid false alarms and ensure the reliability of fault detection.
[0153] exist Figure 5 In the example, the fault detection signal also includes an open circuit detection signal and a short circuit detection signal.
[0154] The fault detection module 1213 also includes an open circuit detection unit, a short circuit detection unit and a voltage setting unit;
[0155] The voltage setting unit includes a second amplifier 12132 and a first switch S1, wherein a first input terminal of the second amplifier 12132 receives the first setting voltage, a second input terminal of the second amplifier 12132 is coupled to an output terminal thereof, an output terminal of the second amplifier 12132 is coupled to a first terminal of the first switch S1, and a second terminal of the first switch S1 is coupled to the first node;
[0156] The open circuit detection unit includes a third amplifier 12133, a first input terminal of the third amplifier 12133 receives a third set voltage, a second input terminal of the third amplifier 12133 is coupled to the first terminal of the first switch S1, and an output terminal of the third amplifier 12133 is coupled to the lamp control unit 1211, wherein the third set voltage is greater than the first set voltage;
[0157] The short circuit detection unit includes a fourth amplifier 12134 , a first input terminal of the fourth amplifier 12134 receives the second setting voltage, a second input terminal of the fourth amplifier 12134 is coupled to the first terminal of the first switch S1 , and an output terminal of the fourth amplifier 12134 is coupled to the lamp control unit 1211 .
[0158] exist Figure 5 In the example, the first set voltage is 0.5VDD, the second set voltage is 0.4VDD, and the third set voltage is 0.6VDD. The VDD can be understood as the power supply voltage of the chip.
[0159] Of course, the present invention is not limited thereto, and those skilled in the art can set the first set voltage, the second set voltage, and the third set voltage as needed.
[0160] On this basis, the voltage of the first node is detected only when the lamp control unit 1211 outputs the shutdown driving signal. Figure 5 The light control unit 1211 is also coupled to the control end of the first switch S1, and the light control unit 1211 is configured as follows:
[0161] When the lamp control unit 1211 outputs the turn-off driving signal, the first switch S1 is controlled to be turned on.
[0162] In a preferred embodiment, the light control unit 1211 is further configured to:
[0163] Based on the open circuit detection signal and the open circuit filtering time, it is determined whether a circuit fault occurs, wherein:
[0164] If the open circuit detection signal is characterized as abnormal and the duration is greater than the open circuit filtering time, it is determined that the circuit is open circuited and the shutdown drive signal is output; and
[0165] Based on the short-circuit detection signal and the short-circuit filtering time, it is determined whether a circuit fault occurs, wherein:
[0166] If the short-circuit detection signal is characterized as abnormal and lasts longer than the short-circuit filtering time, it is determined that a short circuit to ground occurs in the circuit and the shutdown drive signal is output.
[0167] The open-circuit filtering time and the short-circuit filtering time are used to avoid false alarms and ensure the reliability of fault detection.
[0168] Now combined Figure 6 The waveform of Figure 5 The working principle of the fault detection module 1213 of the present invention is described as follows. Figure 6 The working waveform diagram of the fault detection module 1213 is shown, wherein:
[0169] V_LEDx, which can be understood as the voltage of the first node;
[0170] I_LEDx can be understood as the current flowing through the source of the first MOS tube M1;
[0171] LEDx can be understood as the actual driving control signal corresponding to the lamp driving module 121 .
[0172] It can be seen that in the time period t1 to t2, the lamp driving module 121 is in a normal working state, the lamp control unit 1211 outputs the shutdown driving signal, the voltage of the first node is the system power supply voltage, and the current flowing through the source of the first MOS tube M1 is the normal diagnostic current;
[0173] In the time period from t2 to t3, the lamp control unit 1211 outputs the on-driving signal, the current flowing through the source of the first MOS tube M1 increases rapidly, and is equal to the first current threshold at time t3, and the lamp driving module 121 enters an overcurrent fault state;
[0174] In the time period t3 to t4, the lamp driving module 121 is continuously in the overcurrent fault state, and the duration is greater than the overcurrent filtering time, and the lamp control unit 1211 outputs the shutdown driving signal to control the lamp driving module 121 to stop working;
[0175] The time period from t4 to t5 can be understood as a mask time (Tmask time), which is used to ignore the noise signal during the transition period. At this time, the lamp driving module 121 is in a stopped working state, and the voltage of the first node is a clamping voltage until the voltage of the first node is restored to the system power supply voltage. The current flowing through the source of the first MOS tube M1M1 is a normal diagnostic current.
[0176] In the time period t5 to t6, the lamp driving module 121 is in a stopped working state, but the voltage of the first node drops to the third set voltage, and the lamp driving module 121 enters an open circuit fault state;
[0177] During the time period t6 to t7, the lamp driving module 121 is continuously in an open circuit fault state, the voltage of the first node is continuously greater than 0.5VDD, and the duration is greater than the open circuit filtering time, the lamp control unit 1211 determines that the circuit is in an open circuit fault state, and controls the lamp driving module 121 to stop working;
[0178] In the time period from t7 to t8, the voltage of the first node returns to the normal 0.5 VDD, and drops to 0.4 VDD at time t8, and the lamp driving module 121 enters a short-circuit fault state to ground;
[0179] During the time period t8 to t9, the lamp driving module 121 continues to be in a short-circuit fault state to the ground, the voltage of the first node continues to be less than 0.4VDD, and the duration is greater than the short-circuit filter time, the lamp control unit 1211 determines that the circuit is in a short-circuit fault state to the ground, and controls the lamp driving module 121 to stop working.
[0180] It can be seen from the above content that the fault detection signal in the present invention can inform the lamp control unit 1211 of specific fault information, so that the lamp control unit 1211 can output a corresponding drive control signal as needed.
[0181] In summary, the present invention includes at least one street lamp driving module 121 by setting the lamp driving system 12, the line width of the wire in the lamp driving module 121 is less than 120um, and each lamp driving module 121 includes: a lamp control unit that outputs a driving control signal based on a fault detection signal and a serial lamp driving control signal from an SPI module; a driving unit that controls the working state of the corresponding LED lamp bead 1214 based on the driving control signal; and a fault detection module 1213 that performs fault detection on the lamp driving module 121. Therefore, the present invention integrates multiple street lamp driving modules 121 inside the chip, so that the chip can meet the independent driving and independent fault detection of each LED lamp bead 1214, while reducing the peripheral circuit, the reliability is good, the complexity is low, and the use cost is reduced.
[0182] In addition, the present invention also provides an engine system, including a main control chip and a lamp driving system 12 as described in any one of the above items.
[0183] Since the lamp driving system 12 of the present invention is integrated in a chip, in practical applications, the chip is electrically connected to a main control chip, and the main control chip is used to send the SPI control signal.
[0184] In practical applications, the engine system may have multiple chips, and as an example, the chip of the present invention may be an engine chip. Of course, the present invention does not limit the integration position of the lamp driving system 12, and those skilled in the art may select a suitable position as needed.
[0185] As an example, see Figure 7 , the chip in the embodiment of the present invention may further include:
[0186] A power supply module 13, used to supply power to the chip and a sensor electrically connected to the chip;
[0187] A mode control module 14 receives a key signal KEY and is used to control the state of the chip to be a working mode or a standby mode based on the key signal KEY;
[0188] An injector driving module 15, coupled to the injector, for driving the injector when the chip is in working mode;
[0189] a relay driving module 16, coupled to the relay, for driving the relay when the chip is in a working mode;
[0190] A speed module 17, coupled to the tachometer, for outputting a speed signal when the chip is in working mode;
[0191] an oxygen heating module 18, for coupling to an oxygen sensor heater, and for driving the oxygen sensor heater when the chip 1 is in a working mode;
[0192] An idle stepper motor driving module 19, coupled to the idle stepper motor, for driving the idle stepper motor when the chip is in working mode;
[0193] A magnetoelectric signal processing module 20, used for converting crankshaft magnetoelectric signals when the chip is in working mode;
[0194] The K-LINE communication module 21 is used to implement OBD communication.
[0195] In summary, the embodiment of the present invention integrates multiple street lamp driving modules 121 inside the chip so that the chip can meet the independent driving and independent fault detection of each LED lamp bead 1214. While reducing the peripheral circuit, it has better reliability, lower complexity and lower use cost.
[0196] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A lamp driving system, characterized in that: The lamp driving system is integrated inside the chip, and the system includes N street lamp driving modules, each of which is used to drive the corresponding LED lamp bead, and the line width of the wire in the lamp driving module is less than 120um, where N is an integer greater than or equal to 1; The chip includes an SPI module, and the SPI module is used to receive an SPI control signal and output a corresponding serial lamp driving control signal to each lamp driving module based on the SPI control signal; The lamp driving module comprises: a lamp control unit, receiving the serial lamp drive control signal and the fault detection signal, and configured to output a drive control signal based on the serial lamp drive control signal and the fault detection signal; A driving unit, comprising a high-side driver, a clamping subunit and a first MOS tube, wherein an input end of the high-side driver receives the driving control signal, and an output end thereof is respectively coupled to a first end of the clamping subunit and a control end of the first MOS tube, a second end of the clamping subunit and a drain of the first MOS tube are both coupled to a first node, the first node is also coupled to a first end of a corresponding LED lamp bead, and a source of the first MOS tube is grounded; A fault detection module, a first end of which is coupled to the source of the first MOS tube, a second end of which is coupled to the first node, and an output end of which is coupled to the lamp control unit, is used to output the fault detection signal based on the current flowing through the source of the first MOS tube and the voltage of the first node.
2. The lamp driving system according to claim 1, characterized in that: The driving control signal includes an on driving signal and an off driving signal, and outputting a driving control signal based on the serial lamp driving control signal and the fault detection signal includes: When the fault detection signal is characterized as normal and the serial lamp driving control signal is characterized as off, the lamp control unit outputs the on driving signal; When the fault detection signal is characterized as normal and the serial lamp driving control signal is characterized as on, the lamp control unit outputs the on driving signal; When the fault detection signal is characterized as abnormal, the lamp control unit outputs the shutoff driving signal.
3. The lamp driving system according to claim 2, characterized in that: The fault detection module is further configured to: When the lamp control unit outputs the on-drive signal, outputting the fault detection signal based on the current flowing through the source of the first MOS tube; When the lamp control unit outputs the turn-off driving signal, the fault detection signal is output based on the voltage of the first node.
4. The lamp driving system according to claim 3, characterized in that: The method of outputting the fault detection signal based on the current flowing through the source of the first MOS transistor and the voltage of the first node includes: When the lamp control unit outputs the on-drive signal, if the current flowing through the source of the first MOS tube is greater than or equal to a first current threshold, then the fault detection signal indicating abnormality is output; When the lamp control unit outputs the on-drive signal, if the current flowing through the source of the first MOS tube is less than the first current threshold, the fault detection signal indicating normality is output; When the lamp control unit outputs the shutoff driving signal, if the voltage of the first node does not belong to the second threshold voltage range, then the fault detection signal indicating abnormality is output; When the lamp control unit outputs the shutoff driving signal, if the voltage of the first node belongs to the second threshold voltage range, the fault detection signal indicating normality is output.
5. The lamp driving system according to claim 4, characterized in that: The fault detection signal includes an overcurrent detection signal, and the fault detection module includes an overcurrent detection unit; the overcurrent detection unit includes a first amplifier and a detection resistor; The first end of the detection resistor is coupled to the source of the first MOS tube, and the second end thereof is grounded; The first input terminal of the first amplifier is coupled to the first terminal of the detection resistor, the second terminal of the first amplifier is coupled to the second terminal of the detection resistor, and the output terminal of the first amplifier is coupled to the lamp control unit for outputting the overcurrent detection signal.
6. The lamp driving system according to claim 5, characterized in that: The lamp control unit is configured to determine whether a circuit fails based on the overcurrent detection signal and the overcurrent filtering time, wherein: If the overcurrent detection signal is characterized as abnormal and lasts longer than the overcurrent filtering time, it is determined that the circuit has an overcurrent and the shutdown drive signal is output.
7. The lamp driving system according to claim 4, characterized in that: The fault detection signal includes an open circuit detection signal and a short circuit detection signal; the maximum value of the second threshold voltage range is a first set voltage, and the minimum value thereof is a second set voltage; the fault detection module includes an open circuit detection unit, a short circuit detection unit and a voltage setting unit; The voltage setting unit includes a second amplifier and a first switch, wherein a first input terminal of the second amplifier receives the first setting voltage, a second input terminal of the second amplifier is coupled to an output terminal thereof, an output terminal of the second amplifier is coupled to a first terminal of the first switch, and a second terminal of the first switch is coupled to the first node; The open circuit detection unit comprises a third amplifier, a first input terminal of the third amplifier receives a third set voltage, a second input terminal of the third amplifier is coupled to the first terminal of the first switch, and an output terminal of the third amplifier is coupled to the lamp control unit, wherein the third set voltage is greater than the first set voltage; The short circuit detection unit includes a fourth amplifier, a first input terminal of the fourth amplifier receives the second setting voltage, a second input terminal of the fourth amplifier is coupled to the first terminal of the first switch, and an output terminal of the fourth amplifier is coupled to the lamp control unit.
8. The lamp driving system according to claim 7, characterized in that: The light control unit is also coupled to the control end of the first switch, and the light control unit is configured as follows: When the lamp control unit outputs the shutdown driving signal, the first switch is controlled to be turned on.
9. The lamp driving system according to claim 7, characterized in that: The lamp control unit is configured to determine whether a circuit fails based on the open circuit detection signal and the open circuit filtering time, wherein: If the open circuit detection signal is characterized as abnormal and lasts longer than the open circuit filtering time, it is determined that the circuit is open circuited and the shutdown drive signal is output; and Based on the short-circuit detection signal and the short-circuit filtering time, it is determined whether a circuit fault occurs, wherein: If the short-circuit detection signal is characterized as abnormal and lasts longer than the short-circuit filtering time, it is determined that a short circuit to ground occurs in the circuit and the shutdown drive signal is output.
10. The lamp driving system according to claim 1, characterized in that: Each lamp driving module is used to provide a driving current less than or equal to 70mA to the corresponding LED lamp bead.
11. An engine system, characterized in that: It comprises a main control chip and a lamp driving system as claimed in any one of claims 1 to 10; Wherein, the chip is electrically connected to a main control chip, and the main control chip is used to send the SPI control signal.
12. The engine system according to claim 11, characterized in that The chip further comprises: A power supply module, used to supply power to the chip and a sensor electrically connected to the chip; A mode control module receives a key signal and is used to control the state of the chip to be a working mode and a standby mode based on the key signal; an injector driving module, coupled to the injector, and configured to drive the injector when the chip is in a working mode; a relay driving module, coupled to the relay, for driving the relay when the chip is in a working mode; A rotation speed module, coupled to the tachometer, configured to output a rotation speed signal when the chip is in a working mode; an oxygen heating module, for coupling to an oxygen sensor heater, for driving the oxygen sensor heater when the chip is in an operating mode; An idle stepper motor driving module, coupled to the idle stepper motor, and used to drive the idle stepper motor when the chip is in the working mode; a magnetoelectric signal processing module, used for converting crankshaft magnetoelectric signals when the chip is in working mode; K-LINE communication module, used to realize OBD communication.
Citation Information
Patent Citations
Fault detection system and method for LED lamp panel
CN108770138A
LED railway signal lamp system and intelligent lighting unit thereof
CN114802349A
Fluorescent lamp drive and a protection circuit therein
US20120235574A1
LED driver with comprehensive fault protections
WO2014204871A1