Light source driver, light source driving method, computer storage medium and controller
By designing a light source driver including a driving module, a voltage regulation module and a controller, the contradiction between efficiency and accuracy in the prior art is solved, and efficient and accurate light emitting diode driving is achieved.
Patent Information
- Application Number
- CN202311248199.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
When driving light emitting diodes, there is a contradiction between efficiency and output current accuracy. The switching type has high efficiency but large ripple, and the linear type has high accuracy but low efficiency.
A light source driver including a driving module, a voltage regulation module and a controller is designed, and the driving voltage is determined according to the target light emitting brightness of the light emitting diode through the controller, and the power supply voltage is adjusted according to the working parameters through the voltage regulation module to achieve efficient driving.
It improves the efficiency of the light source driver and the accuracy of the output current, meets the different working parameters of the light emitting diode, and improves the working efficiency of the overall circuit.
Smart Images

Figure CN119729941A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of light source driving technology, and in particular to a light source driver, a light source driving method, a computer storage medium and a controller. Background Art
[0002] Light-Emitting Diode (LED) is widely used in lighting due to its high efficiency, small size and long life. LED needs to be driven by a light source driver to emit light to achieve lighting function.
[0003] There are two main types of current light source drivers: switching and linear. Switching light source drivers have higher efficiency, but larger output current ripple and lower output current accuracy; while linear light source drivers have higher output current accuracy but lower efficiency.
[0004] It can be seen from this that there is room for improvement in the light source driver. Summary of the invention
[0005] In a first aspect, the present application provides a light source driver for driving a light emitting diode to emit light;
[0006] The light source driver comprises a driving module, a voltage regulating module and a controller, wherein the controller is electrically connected to the driving module and the voltage regulating module respectively;
[0007] The controller is used to determine the driving voltage according to the target light emitting brightness of the light emitting diode;
[0008] The driving module is electrically connected to the light emitting diode and is used to drive the light emitting diode to emit light according to the driving voltage;
[0009] The voltage regulating module is used to receive the power supply voltage and output the power supply voltage after converting the power supply voltage. The controller is also used to control the voltage regulating module to convert the power supply voltage according to the working parameters of the light-emitting diode when emitting light, so as to adjust the size of the power supply voltage.
[0010] In at least one embodiment of the present application, the operating parameter includes an operating voltage drop, and the controller is used to control the voltage regulation module to perform voltage reduction processing on the power supply voltage to lower the supply voltage.
[0011] In at least one embodiment of the present application, the voltage regulation module includes a voltage control circuit and a voltage conversion circuit;
[0012] The voltage control circuit is electrically connected to the controller and the voltage conversion circuit respectively, and the voltage conversion circuit receives the power supply voltage;
[0013] The controller is used to adjust the resistance value of the voltage control circuit to adjust the way in which the voltage conversion circuit converts the power supply voltage, thereby adjusting the magnitude of the power supply voltage output by the voltage conversion circuit.
[0014] In at least one embodiment of the present application, the voltage control circuit is a digital potentiometer.
[0015] In at least one embodiment of the present application, the driving module includes an operational amplifier and a MOS tube, and the light source driver further includes a feedback module;
[0016] The non-inverting input terminal of the operational amplifier is connected to the controller, the output terminal of the operational amplifier is electrically connected to the gate of the MOS tube, the source and drain of the MOS tube are electrically connected to the light-emitting diode and the feedback module respectively, and the feedback module is also electrically connected to the inverting input terminal of the operational amplifier;
[0017] The operational amplifier drives the MOS tube according to the driving voltage input to the non-inverting input terminal, and the MOS tube drives the light-emitting diode to emit light according to the driving voltage. The feedback module is used to output a feedback signal to the inverting input terminal of the operational amplifier according to the working current when the light-emitting diode emits light.
[0018] In at least one embodiment of the present application, the feedback circuit includes a Hall current sensor for outputting a feedback voltage to the inverting input terminal of the operational amplifier according to an operating current when the light emitting diode emits light.
[0019] In at least one embodiment of the present application, the feedback module also includes a voltage conversion circuit connected between the inverting input terminal and the Hall current sensor, and the voltage conversion circuit is used to convert the feedback voltage output by the Hall sensor into a voltage range controllable by the operational amplifier.
[0020] A second aspect of the present application provides a light source driving method for driving a light emitting diode to emit light; the light source driving method comprises:
[0021] According to the target light emitting brightness of the light emitting diode, determining and outputting a driving voltage to drive the light emitting diode to emit light;
[0022] Obtaining operating parameters of the light emitting diode when emitting light; and
[0023] According to the working parameters, the conversion mode of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after the power supply voltage is converted.
[0024] In at least one embodiment of the present application, the step of obtaining the operating parameters of the light emitting diode when emitting light specifically includes:
[0025] Collecting the positive and negative voltages of the light emitting diode when it emits light to obtain the working voltage drop of the light emitting diode;
[0026] The step of controlling the conversion mode of the received power supply voltage according to the working parameters to adjust the magnitude of the power supply voltage output after converting the power supply voltage specifically includes:
[0027] According to the working voltage drop, the conversion mode of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after the power supply voltage is converted.
[0028] In at least one embodiment of the present application, the step of controlling the conversion mode of the received power supply voltage according to the operating voltage drop to adjust the magnitude of the power supply voltage output after converting the power supply voltage specifically includes:
[0029] According to the working voltage drop, the reduction range of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after converting the power supply voltage.
[0030] In at least one embodiment of the present application, after the step of obtaining the positive and negative voltages of the light emitting diode when emitting light to obtain the working voltage drop of the light emitting diode, the step further includes:
[0031] Calculating the difference between the operating voltage drop and the rated voltage drop of the light emitting diode;
[0032] The step of controlling the conversion mode of the received power supply voltage according to the working voltage drop to adjust the magnitude of the power supply voltage output after converting the power supply voltage specifically includes:
[0033] When the difference is greater than a preset difference, the conversion method of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after the power supply voltage is converted.
[0034] In at least one embodiment of the present application, when the difference is less than or equal to the preset difference, controlling the conversion of the power supply voltage is stopped.
[0035] In at least one embodiment of the present application, after the step of determining and outputting a driving voltage to drive the light emitting diode to emit light, the method further includes:
[0036] The operating current of the light emitting diode when emitting light is collected, and the driving voltage is controlled according to the operating current feedback.
[0037] A third aspect of the present application provides a storage medium storing a computer program, wherein the computer program can execute the steps of the light source driving method described above when loaded.
[0038] A fourth aspect of the present application provides a controller, comprising a processor and a memory, wherein the memory stores a computer program, and when the processor loads the computer program, the processor causes the light source driver to execute the steps of the above-mentioned light source driving method.
[0039] The above-mentioned light source driver is used to drive the light-emitting diode to emit light. The voltage regulation module in the light source driver receives the power supply voltage, converts the power supply voltage and outputs the power supply voltage to power the circuit. When the light-emitting diode emits light, the voltage regulation module is controlled to convert the power supply voltage by obtaining the working parameters of the light-emitting diode to obtain power supply voltages of different sizes; this makes the size of the power supply voltage match the working parameters of the light-emitting diode, which is beneficial to improving the working efficiency of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 Schematic diagram of the module structure of the light source driver according to an embodiment of the present application.
[0041] Figure 2 FIG. 4 is a circuit structure diagram of a light source driver in a comparative embodiment.
[0042] Figure 3 It is a flow chart of a step of the light source driving method according to an embodiment of the present application.
[0043] Figure 4 for Figure 1 Circuit diagram of the voltage regulation module in the light source driver.
[0044] Figure 5 for Figure 1 Structural diagram of the conversion control circuit.
[0045] Figure 6 for Figure 1 Circuit structure diagram of the first sampling module in the light source driver.
[0046] Main component symbols
[0047] Light source driver 100
[0048] Controller 10
[0049] Memory 11
[0050] Processor 12
[0051] Driver module 20
[0052] Operational amplifier 21, A0
[0053] Positive input terminal a
[0054] Inverting input terminal b
[0055] Output terminal c
[0056] MOS tube 22, T0
[0057] Gate g
[0058] Source
[0059] Drain
[0060] DA circuit 23
[0061] Voltage regulator module 30
[0062] Conversion control circuit 31
[0063] Voltage conversion circuit 32
[0064] Feedback module 40
[0065] Hall current sensor 41
[0066] Voltage conversion circuit 42
[0067] Sampling module 50
[0068] First AD circuit 51
[0069] Second AD circuit 52
[0070] LED 200
[0071] Steps S1, S2, S3, S4, S5
[0072] The following specific implementation methods will further illustrate the present application in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0073] The present application provides a light source driver for driving an LED to emit light. The light source driver of the present application can be used to drive one or more LEDs (in series or in parallel) to emit light at the same time. When the light source driver drives the LED to emit light, the LED can be used for lighting sources, display device backlights, etc. During the operation of the LED (that is, during normal light emission), a stable driving current is usually required. The light source driver of the present application is used to provide a stable driving current for the LED. On this basis, by dynamically adjusting the system power supply voltage according to the operating parameters of the LED, it is beneficial to improve the circuit efficiency.
[0074] See also Figure 1The light source driver 100 of this embodiment includes a controller 10, a driving module 20, a voltage regulating module 30, a feedback module 40 and a sampling module 50. The controller 10 is electrically connected to the driving module 20, the voltage regulating module 30, the feedback module 40 and the sampling module 50, respectively, and is used to control the working process of the driving module 20, the voltage regulating module 30, the feedback module 40 and the sampling module 50.
[0075] In this embodiment, the structure and working principle of the light source driver 100 are described by taking the light source driver 100 driving a single LED 200 to emit light as an example. The LED 200 is electrically connected to the driving module 20, the voltage regulating module 30, the feedback module 40 and the sampling module 50 respectively.
[0076] Different LEDs have different working curves (including curves representing the relationship between working current and working voltage when the LED is working, curves representing the relationship between working current and luminous brightness, etc.), so the working voltage and working current of different LEDs may be different, and the working current required for different LED luminous brightness is also different. In this embodiment, the controller 10 determines the size of the driving voltage to be output according to the target luminous brightness of the LED 200. The driving module 20 is used to drive the LED 200 to emit light according to the driving voltage output by the controller 10.
[0077] During the light emission of LED 200 , in order to ensure that the circuit in which LED 200 is located has a stable current, the feedback module 40 collects the working current of LED 200 in real time and feeds it back to the driving module 20 , so that the driving voltage value is stabilized through feedback control.
[0078] When LED 200 is emitting light, sampling module 50 collects working parameters of LED 200 in real time and transmits them back to controller 10. Controller 10 is used to control the conversion mode of power supply voltage by voltage regulating module 30 according to the working parameters, so as to obtain different power supply voltages for powering the circuit.
[0079] In this embodiment, the collected working parameter of LED200 is the working voltage drop (that is, the voltage difference between the positive and negative electrodes when LED200 emits light). The controller 10 is used to control the reduction amplitude of the power supply voltage by the voltage regulation module 30 according to the above working voltage drop, thereby obtaining power supply voltages of different sizes to power the circuit.
[0080] See also Figure 2In a pair of ratios, the light source driving circuit includes an operational amplifier A0, a metal-oxide-semiconductor field-effect transistor (MOSFET), referred to as MOS tube T0 and a reference resistor Rref. The light source driving circuit is used to drive a load Rx. The light source driving circuit is connected to a power supply terminal to receive a power supply voltage Vs. The non-inverting input terminal of the operational amplifier A0 has an input voltage U(t), and the load Rx has an operating current i(t) when working, wherein:
[0081]
[0082] The efficiency η of the light source driving circuit can be expressed by formula (2), where V RX It is known from formula (2) that when the power supply voltage Vs is the same, the voltage V across the load Rx is RX The smaller the value, the lower the efficiency η of the light source driving circuit, and the voltage V across the load Rx RX The larger it is, the higher the efficiency η of the light source driving circuit.
[0083]
[0084] To ensure the normal operation of the load Rx, the voltage V across the load Rx RX It needs to be ensured to be less than the power supply voltage Vs. The voltage V RX The closer it is to the power supply voltage Vs, the higher the efficiency η of the light source driving circuit. For different loads, the working voltage drop (i.e., the voltage difference across the load) required for operation may be different. Therefore, in the light source driver 100 of the present application, the controller 10 controls the voltage regulating module 30 to reduce the power supply voltage according to the working voltage drop of LED 200, and on the basis of ensuring that the output power supply voltage can enable the normal operation of LED 200, the power supply voltage is close to the value of the working voltage drop of LED 200, and the power supply voltage is mainly borne by LED 200, which is conducive to improving the circuit efficiency.
[0085] The circuit structure and working process of the light source driver 100 according to the embodiment of the present application are described in detail below.
[0086] Please refer to Figure 1In this embodiment, the driving module 20 includes an operational amplifier 21, a MOS tube 22 and a DA circuit 23. The operational amplifier 21 has a positive input terminal a, an inverting input terminal b and an output terminal c. The MOS tube 22 has a gate g as a control terminal and a source s and a drain d as connection terminals. The positive input terminal a of the operational amplifier 21 is connected to the controller 10 through the DA circuit 23, the inverting input terminal b is connected to the feedback module 40, and the output terminal c is connected to the gate g of the MOS tube 22. The drain d of the MOS tube 22 is connected to the cathode of the LED 200, and the source s is connected to the feedback module 40.
[0087] The voltage regulating module 30 includes a conversion control circuit 31 and a voltage conversion circuit 32. The conversion control circuit 31 is connected to the controller 10 and the voltage conversion circuit 32 respectively, and the voltage conversion circuit 32 is also connected to the positive electrode of the LED 200 and is used to receive the power supply voltage.
[0088] The feedback module 40 includes a Hall current sensor 41 and a voltage conversion circuit 42. The Hall current sensor 41 is electrically connected to the source s of the MOS tube 22 and the voltage conversion circuit 42 respectively, and the voltage conversion circuit 42 is also connected to the inverting input terminal b of the operational amplifier 21.
[0089] The sampling module 50 includes a first AD circuit 51 and a second AD circuit 52. The first AD circuit is connected to the positive electrode of the LED 200 and the controller 10 respectively, and the second AD circuit 52 is connected to the negative electrode of the LED 200 and the controller respectively.
[0090] The present application also provides a light source driving method, which is applied to the controller 10 of the light source driver 100. Figure 3 , the light source driving method of the embodiment of the present application includes:
[0091] Step S1, determining and outputting a driving voltage to drive the light emitting diode to emit light according to the target light emitting brightness of the light emitting diode;
[0092] Step S2, controlling the output of the initial supply voltage;
[0093] Step S3, obtaining the operating voltage drop of the light emitting diode when emitting light, and calculating the difference between the operating voltage drop and the rated voltage drop of the LED;
[0094] Step S4, determining whether the difference is greater than a preset difference;
[0095] If the answer in step S4 is yes, then step S5 is executed: controlling the conversion mode of the power supply voltage to reduce the power supply voltage;
[0096] If the answer in step S4 is no, the supply voltage adjustment is terminated.
[0097] Please refer to Figure 1 During operation, the LED 200 may need to emit light of different brightnesses, and the brightness of the light that the LED 200 needs to emit is defined as the target luminous brightness. In step S1, the controller 10 calculates the magnitude of the driving voltage required to achieve the target luminous brightness according to the target luminous brightness, and outputs the driving voltage of the corresponding magnitude to the non-inverting input terminal a of the operational amplifier 21.
[0098] In this embodiment, the driving voltage output by the controller 10 is a digital signal, which is converted into an analog signal recognizable by the operational amplifier 21 by the DA circuit 23 and then output to the non-inverting input terminal a. In other embodiments of the present application, the controller 10 itself can convert the driving voltage into an analog signal and then output it, and the driving module 20 may not include the DA circuit 23.
[0099] The operational amplifier 21 applies the driving voltage to the gate g of the MOS tube 22 to control the current when the source s and the drain d of the MOS tube 22 are turned on, that is, controls the magnitude of the driving current that drives the LED 200 to emit light, so that the LED 200 reaches the target light brightness.
[0100] See also Figure 4 In the voltage regulation module 30 of this embodiment, the conversion control circuit 31 is equivalent to a variable resistor R4, and the voltage conversion circuit 32 uses the Lm3150 synchronous buck chip to convert the power supply voltage to output the power supply voltage. The value of the power supply voltage Vout output after voltage conversion can be expressed by formula (3):
[0101]
[0102] U0 is a chip parameter, which is a fixed value. R3 and R5 are both fixed resistors. It can be seen that the power supply voltage Vout can be adjusted by adjusting the resistance value of resistor R4.
[0103] See also Figure 5 In this embodiment, the conversion control circuit 31 is implemented by a digital potentiometer AD5270. By changing the position of the W point connected to the circuit, the resistance between the A point and the W point can be adjusted. The maximum resistance between the A point and the W point is 20 kΩ, and the adjustable resolution is 1024. The resistance of the equivalent resistor R4 of the conversion control circuit 31 can be expressed by formula (4):
[0104]
[0105] The controller 10 is used to control the position of the W point. Therefore, it can be known that the controller 10 can adjust the magnitude of the supply voltage output by the voltage conversion circuit 32 by adjusting the resistance value of the equivalent resistor of the conversion control circuit 31. In step S2, the controller 10 first controls the position of the W point so that the resistor R4 is at the minimum value, so that the supply voltage output is at the maximum value at this time, and the circuit is powered, so that the LED 200 emits light normally.
[0106] Please refer to Figure 1 , when LED200 is working (that is, when it emits light normally), it has working parameters, such as working current, working voltage drop, etc. In step S3 of this embodiment, the controller 10 controls the first AD circuit 51 and the second AD circuit 52 to respectively collect the positive and negative voltages of LED200, so as to obtain the working voltage drop (that is, the positive and negative voltage difference) of LED200 when it emits light. In this embodiment, the first AD circuit 51 and the second AD circuit 52 have the same structure. In step S3, the controller 10 also calculates the difference between the working voltage drop and the rated voltage drop (the working voltage drop is greater than the rated voltage drop) based on the working voltage drop of LED200 in the current circuit obtained.
[0107] The LED 200 has a rated voltage drop (i.e., the voltage drop required to ensure normal operation of the LED 200 according to its own characteristics). The controller 10 is set with a preset difference, which is, for example, 100 mV. In step S4, the controller 10 is used to determine the relationship between the difference between the operating voltage drop and the rated voltage drop and the preset difference.
[0108] If the controller 10 determines that the difference between the aforementioned working voltage drop and the rated voltage drop is greater than the preset difference, it is considered that a higher supply voltage is output at this time. Although it can ensure that LED 200 emits light normally, but except for the working voltage drop shared by LED 200, the additional voltage is mainly borne by MOS tube 22, and the efficiency of the entire circuit is low (see the aforementioned formula 2).
[0109] At this time, the controller 10 executes step S5 to control the conversion mode of the power supply voltage to reduce the supply voltage. In this embodiment, the controller 10 controls the position of point W to increase the resistance of the equivalent resistor R4 and reduce the output supply voltage.
[0110] If the controller 10 determines that the difference between the aforementioned working voltage drop and the rated voltage drop is less than or equal to the preset difference, it is considered that the current supply voltage can ensure that the LED 200 emits light normally, and the efficiency of the circuit under the current supply voltage is also high, meeting the efficiency requirement. At this time, the controller 10 controls to end the adjustment of the supply voltage.
[0111] In this embodiment, the controller 10 gradually reduces the supply voltage to a suitable value by reducing the supply voltage in small increments for multiple times. The controller 10 controls the first AD circuit 51 and the second AD circuit 52 to collect the positive and negative voltages of the LED 200 in real time to obtain the working voltage drop of the LED 200 in real time. Whenever it is determined that the difference between the working voltage drop and the rated voltage drop is greater than the preset difference, the supply voltage is controlled to be reduced once.
[0112] In this embodiment, the controller 10 is a single chip microcomputer, which has a relatively high data processing speed, is beneficial to shortening the time for lowering the power supply voltage, and is beneficial to reducing heat generation.
[0113] exist Figure 2 In the comparative example shown, the current i(t) during the operation of the load Rx is collected through the reference resistor Rref. Figure 6 The Hall current sensor 41 shown replaces the reference resistor Rref. Since the resistance at both ends of the Hall current sensor 41 is small, compared with the use of the reference resistor Rref, the resistance is greatly reduced (the resistance of the reference resistor Rref is in the Ω level, while the resistance at both ends of the Hall current sensor 41 is in the mΩ level), the power consumption is small when detecting the working current, which is conducive to fully reducing the power consumption of the circuit.
[0114] In this embodiment, the Hall current sensor 41 outputs a feedback voltage based on the working current. Due to the inaccurate linear correspondence between the received working current and the output feedback voltage, the value of the output feedback voltage is not within the controllable range of the operational amplifier 21. The feedback voltage output by the Hall current sensor 41 can be linearly converted by the voltage conversion circuit 42 so that the converted voltage value is within the controllable range of the operational amplifier 21.
[0115] The light source driver 100 of the embodiment of the present application is used to drive the LED 200 to emit light. The voltage regulating module 30 in the light source driver 100 receives the power supply voltage, converts the power supply voltage and outputs the power supply voltage to power the circuit. When the LED 200 emits light, the voltage regulating module 30 is controlled to convert the power supply voltage by obtaining the working parameters of the LED to obtain power supply voltages of different sizes; this makes the size of the power supply voltage match the working parameters of the LED 200, which is conducive to improving the working efficiency of the circuit; and the light source driver 100 of the embodiment of the present application, based on the high amplification factor of the operational amplifier 21, can better ensure the accuracy of the driving current of the MOS tube 22, and has the characteristics of high current accuracy; and in this embodiment, the actuation mode of the entire light source driver is controlled by the single-chip microcomputer (controller 10), the calculation speed is fast, the working time is short, and it is conducive to reducing heat. Therefore, the light source driver 100 of the embodiment of the present application is conducive to taking into account the requirements of circuit efficiency, current accuracy and heat dissipation.
[0116] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program includes at least one section of code, and the at least one section of code can be executed by a processor to implement any step of the above-mentioned light source driving method.
[0117] An embodiment of the present application provides a program or a computer program product including the program, and when the program is executed by a processor, the program is used to execute any step of the above-mentioned light source driving method.
[0118] Please refer to Figure 1 , the controller 10 includes a memory 11 and a processor 12 .
[0119] It should be understood that the memory 11 can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a ROM, a programmable read-only memory (ProgrammableROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. The volatile memory can be a RAM, which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (EnhancedSDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and direct memory bus random access memory (DirectRambus RAM, DR RAM).
[0120] The processor 12 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0121] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present application and are not intended to be limiting of the present application. As long as they are within the spirit and scope of the present application, appropriate changes and modifications to the above embodiments are within the scope of protection claimed in the present application.
Claims
1. A light source driver, characterized in that: Used to drive the light-emitting diode to emit light; The light source driver comprises a driving module, a voltage regulating module and a controller, wherein the controller is electrically connected to the driving module and the voltage regulating module respectively; The controller is used to determine the driving voltage according to the target light emitting brightness of the light emitting diode; The driving module is electrically connected to the light emitting diode and is used to drive the light emitting diode to emit light according to the driving voltage; The voltage regulating module is used to receive the power supply voltage and output the power supply voltage after converting the power supply voltage. The controller is also used to control the voltage regulating module to convert the power supply voltage according to the working parameters of the light-emitting diode when emitting light, so as to adjust the size of the power supply voltage.
2. The light source driver according to claim 1, characterized in that: The operating parameters include an operating voltage drop, and the controller is used to control the voltage regulation module to perform voltage reduction processing on the power supply voltage so as to lower the supply voltage.
3. The light source driver according to claim 1, characterized in that: The voltage regulation module includes a voltage control circuit and a voltage conversion circuit; The voltage control circuit is electrically connected to the controller and the voltage conversion circuit respectively, and the voltage conversion circuit receives the power supply voltage; The controller is used to adjust the resistance value of the voltage control circuit to adjust the way in which the voltage conversion circuit converts the power supply voltage, thereby adjusting the magnitude of the power supply voltage output by the voltage conversion circuit.
4. The light source driver according to claim 1, wherein: The driving module includes an operational amplifier and a MOS tube, the light source driver also includes a feedback module, and the feedback circuit includes a Hall current sensor; The non-inverting input terminal of the operational amplifier is connected to the controller, the output terminal of the operational amplifier is electrically connected to the gate of the MOS tube, the source and drain of the MOS tube are electrically connected to the light-emitting diode and the feedback module respectively, and the feedback module is also electrically connected to the inverting input terminal of the operational amplifier; The operational amplifier drives the MOS tube according to the driving voltage input to the non-inverting input terminal, and the MOS tube drives the light-emitting diode to emit light according to the driving voltage. The Hall current sensor is used to output a feedback voltage to the inverting input terminal of the operational amplifier according to the working current when the light-emitting diode emits light.
5. A light source driving method, characterized in that: Used to drive the light-emitting diode to emit light; The light source driving method comprises: According to the target light emitting brightness of the light emitting diode, determining and outputting a driving voltage to drive the light emitting diode to emit light; Obtaining operating parameters of the light emitting diode when emitting light; and According to the working parameters, the conversion mode of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after the power supply voltage is converted.
6. The light source driving method according to claim 5, characterized in that: The step of obtaining the working parameters of the light emitting diode when emitting light specifically includes: Collecting the positive and negative voltages of the light emitting diode when it emits light to obtain the working voltage drop of the light emitting diode; The step of controlling the conversion mode of the received power supply voltage according to the working parameters to adjust the magnitude of the power supply voltage output after converting the power supply voltage specifically includes: According to the working voltage drop, the conversion mode of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after the power supply voltage is converted.
7. The light source driving method according to claim 6, characterized in that: The step of controlling the conversion mode of the received power supply voltage according to the working voltage drop to adjust the magnitude of the power supply voltage output after converting the power supply voltage specifically includes: According to the working voltage drop, the reduction range of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after converting the power supply voltage.
8. The light source driving method according to claim 6, wherein: After the step of obtaining the positive and negative voltages of the light emitting diode when emitting light to obtain the working voltage drop of the light emitting diode, the method further includes: Calculating the difference between the operating voltage drop and the rated voltage drop of the light emitting diode; The step of controlling the conversion mode of the received power supply voltage according to the working voltage drop to adjust the magnitude of the power supply voltage output after converting the power supply voltage specifically includes: When the difference is greater than a preset difference, the conversion method of the received power supply voltage is controlled to adjust the magnitude of the power supply voltage output after the power supply voltage is converted.
9. A computer storage medium storing a computer program, characterized in that: When loaded, the computer program can execute the steps of the light source driving method according to any one of claims 5 to 8.
10. A controller, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor loads the computer program, the processor executes the steps of the light source driving method according to any one of claims 5 to 8.