CN111565495B - Method, system, medium and device for correcting LED constant current control module for vehicle - Google Patents

Method, system, medium and device for correcting LED constant current control module for vehicle Download PDF

Info

Publication number
CN111565495B
CN111565495B CN201911027456.6A CN201911027456A CN111565495B CN 111565495 B CN111565495 B CN 111565495B CN 201911027456 A CN201911027456 A CN 201911027456A CN 111565495 B CN111565495 B CN 111565495B
Authority
CN
China
Prior art keywords
constant current
current control
correction
control module
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911027456.6A
Other languages
Chinese (zh)
Other versions
CN111565495A (en
Inventor
杨姚佳
姚菁
夏盛
蔡凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HASCO Vision Technology Co Ltd
Original Assignee
HASCO Vision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HASCO Vision Technology Co Ltd filed Critical HASCO Vision Technology Co Ltd
Priority to CN201911027456.6A priority Critical patent/CN111565495B/en
Publication of CN111565495A publication Critical patent/CN111565495A/en
Application granted granted Critical
Publication of CN111565495B publication Critical patent/CN111565495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Dc-Dc Converters (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a method, a system, a medium and equipment for correcting an LED constant current control module for a vehicle, wherein the method for correcting the LED constant current control module for the vehicle comprises the following steps: acquiring a real-time current value of the vehicle LED driven by the constant current control module; determining a correction inductance value of the constant current control module according to a correction formula to correct an output current of the constant current control module according to the correction inductance value; the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit. The invention provides a simple, high-efficiency and low-cost inductance correction method for obtaining high-precision output current.

Description

Method, system, medium and device for correcting LED constant current control module for vehicle
Technical Field
The invention belongs to the field of control of automotive LED signal lamps, relates to a method for correcting output current of a constant-current control module, and particularly relates to a method, a system, a medium and equipment for correcting an automotive LED constant-current control module.
Background
At present, the BUCK voltage reduction chips of many companies adopt a peak current time average control method, are low in price and simple to control, and therefore are widely applied to LED current driving modules.
However, the above application method is an open loop control method, and there is no sampling resistor as a feedback, so the accuracy of the output current mainly depends on the accuracy of several parameters such as the voltage of the conversion circuit, the LED load voltage, the off-time, the peak current, the frequency, and the inductance value. Because the voltage of the conversion circuit and the LED load voltage can be obtained by sampling through an ADC (analog to digital converter) of the chip, and the off-time, the peak current and the frequency are parameters set by a register, the five parameters have higher precision. The inductance value parameter is generally ± 20% in inductance accuracy in the market, and thus becomes the largest influence factor of output current accuracy.
Due to the manufacturing process of the inductor, there is a high cost increase to improve the accuracy of the inductor. If the mode of testing inductance before installation and then correcting is adopted, the production speed is seriously influenced. After being installed on a PCBA circuit board, the existing measuring equipment has difficulty in correctly testing inductance value due to the existence of the parallel capacitor. The above methods are either cost or time-consuming to obtain higher accuracy inductance values, which are not available, or cannot be implemented at all. The ON company officially provides a method of correcting a target current value for each load and each output current gear. Although high precision can be obtained, the method needs to record several parameters of voltage of the conversion circuit, LED load voltage, turn-off time, peak current and frequency for each load and gear, so that the workload is large, large storage resources are occupied, and the development of platform parts is not facilitated.
Therefore, how to provide a simple and efficient inductance calibration method to improve the accuracy of the output current has become a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method, a system, a medium and a device for calibrating an LED constant current control module for a vehicle, so as to solve the problem that the prior art cannot provide a simple and efficient inductance calibration method to improve the accuracy of an output current.
In order to achieve the above and other related objects, an aspect of the present invention provides a method for calibrating an LED constant current control module for a vehicle, including: acquiring a real-time current value of the vehicle LED driven by the constant current control module; when the real-time current value is not within the preset precision range, according to
Figure BDA0002244651100000021
Calculating a correction inductance value of the constant current control module to correct an output current of the constant current control module according to the correction inductance value; the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit.
In an embodiment of the present invention, the method further includes: calculating the precision of the correction inductance value by taking the nominal inductance value of the constant current control module as a reference to obtain the inductance precision; judging whether the inductance precision is within a preset range; if yes, judging that the correction is successful, and storing the corrected inductance value; if not, the correction is judged to fail.
In an embodiment of the present invention, the method further includes: and under the condition that the correction is judged to be successful, recalculating the second parameter value by taking the corrected inductance value and the real-time current value as known quantities.
In another aspect, the present invention provides a calibration system for a vehicle LED constant current control module, including: the current value acquisition module is used for acquiring a real-time current value of the vehicle LED driven by the constant current control module; a correction module for correcting the real-time current value according to the current value when the real-time current value is not within the preset precision range
Figure BDA0002244651100000022
Determining a correction inductance value of the constant current control module to correct an output current of the constant current control module according to the correction inductance value; the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit.
In an embodiment of the present invention, the method further includes: the comparison module is used for calculating the accuracy of the correction inductance value by taking the nominal inductance value of the constant current control module as a reference to obtain the inductance accuracy; the judging module is used for judging whether the inductance precision is within a preset range; if yes, judging that the correction is successful, and storing the corrected inductance value; if not, the correction is judged to fail.
Yet another aspect of the present invention provides a medium having stored thereon a computer program which, when executed by a processor, implements the method of correcting the LED constant current control module for a vehicle.
In another aspect, the present invention provides an LED constant current control apparatus for a vehicle, including: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the vehicle LED constant current control equipment to execute the correction method of the vehicle LED constant current control module.
In a final aspect of the present invention, a calibration system for a vehicle LED constant current control module is provided, which includes: an automotive LED load; the vehicle LED constant current control equipment is connected with the vehicle LED load; and the current detection device is connected with the LED load for the vehicle in series and is used for collecting the real-time current value of the LED for the vehicle driven by the constant current control module.
In an embodiment of the present invention, the method further includes: the upper computer is respectively connected with the LED constant current control equipment for the vehicle and the current detection device; the upper computer is used for sending a correction command to the LED constant current control equipment for the vehicle and receiving information of successful correction or failed correction sent by the LED constant current control equipment for the vehicle; and sending the obtained real-time current value sent by the current detection device to the LED constant current control equipment for the vehicle at regular time.
In an embodiment of the invention, the vehicle LED constant current control device is provided with a storage unit, which is used for storing the correction inductance value when the correction is determined to be successful.
As described above, the correction method, the correction system, the correction medium and the correction equipment of the LED constant current control module for the vehicle improve the accuracy of output current by correcting the inductance, have low cost and high speed, automatically finish most processes, have less manual participation, only need to store one corrected inductance value, occupy less resources, can control the output accuracy of the current within +/-6 percent through testing, and can meet the accuracy requirement of the output current of the LED driving module.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for calibrating a vehicle LED constant current control module according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a calibration method of the constant current control module for vehicle LED according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a calibration system of an LED constant current control module for a vehicle according to an embodiment of the invention.
Fig. 4 is a schematic system connection diagram of a calibration system of an LED constant current control module for a vehicle according to an embodiment of the invention.
Description of the element reference numerals
3. Correcting system of vehicle LED constant-current control module
31. Current value acquisition module
32. Correction module
33. Comparison module
34. Judging module
4. Correcting system of vehicle LED constant-current control module
41. LED load for vehicle
42. LED constant current control equipment for vehicle
421. Memory cell
43. Current detection device
44. Upper computer
S11-S16 correction method steps of vehicle LED constant current control module
S141-S146 correction procedure
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The method, the system, the medium and the equipment for correcting the LED constant current control module for the vehicle improve the precision of output current by correcting the nominal value of the inductor, have simple and convenient operation, low cost and high processing speed, reduce the manual participation degree by automatic correction, greatly reduce the occupied resources by only storing one corrected inductance value, and provide convenient conditions for the constant current control module of the LED for the vehicle to read the corrected inductance value in the actual installation and use.
The following describes in detail a method, a system, a medium, and an apparatus for calibrating an LED constant current control module for a vehicle provided in the present embodiment with reference to the drawings.
As shown in fig. 1, in an embodiment, the method for correcting the vehicle LED constant current control module is applied to a process of correcting an inductor in the constant current control module, and since an actual value of the inductor soldered in the constant current control module has an error from a nominal inductance value, the inductance value needs to be corrected and determined by correction, and the method specifically includes the following steps:
s11, setting a target current value in the BUCK voltage reduction circuit of the LED constant current control module for the vehicle, determining a correction algorithm, and starting correction according to the target current value.
Specifically, the formulas (1) and (2) can be obtained according to the official technical information of the NCV78 series chip of ON company.
Figure BDA0002244651100000041
Wherein, I BUCKavg Expressed as the output current of the BUCK circuit, I BUCKpeak Expressed as the peak current, Δ I, of the BUCK BUCK circuit BUCKpkpk Shown as the peak-to-peak current of the BUCK circuit.
△I BUCKpkpk =T OFF _V LED _i spi /L BUCK Formula (2)
Wherein, delta I BUCKpkpk Shown as the peak-to-peak current, T, of the BUCK BUCK circuit OFF _V LED _i spi Expressed as the product of the voltage of the vehicle LED load and the turn-off time of the buck circuit in the constant current control module, and in this embodiment expressed as a digital quantity in the form of SPI communication, L BUCK Indicated as the inductance value of the buck circuit.
Equation (3) can be derived from the functional relationship between the common variables in equations (1) and (2).
Figure BDA0002244651100000042
Wherein L is BUCK Expressed as the inductance value, T, of the step-down circuit OFF _V LED _i spi Expressed as the product of the voltage of the vehicle LED load and the turn-off time of the step-down circuit in the constant current control module, I BUCKpeakspi Expressed as the peak current of the BUCK circuit and in the present embodiment expressed as a digital quantity in the form of SPI communication, I BUCKavg Shown as the output current of the BUCK circuit.
In this embodiment, as can be seen from equation (3), at T OFF _V LED _i spi And I BUCKpeakspi By obtaining I in real time, in known manner BUCKavg The real output current can be used for calculating the inductance value which is closer to the actual value.
In particular, T OFF _V LED _i spi And I BUCKpeakspi Two parameters are register settings, in this embodiment, T is set OFF _V LED _i spi As a first parameter value, and BUCKpeakspi as a second parameter value, I BUCKavg The real output current is used as a real-time current value, and the inductance value which is closer to the actual value is used as a correction inductance value. Thus, equation (3) as a correction algorithm can be expressed as
Figure BDA0002244651100000051
Further, the correction inductance value is a function based on the real-time current value unique variable when the first parameter value and the second parameter value are known quantities. The real-time current value is obtained by connecting a current detection device, such as an ammeter, in series with the vehicle LED load at the constant current control module.
Further, the first parameter value T OFF _V LED _i spi Is in the range of 0 to 31, and intermediate values within this range may be selected, such as 15, 16 or 17; the method for acquiring the second parameter value comprises the following steps: replacing the nominal inductance value with the corrected inductance value, replacing the target current value with a real-time current value, and calculating the second parameter value through the functional relation of the formula (3) because the nominal inductance value and the set target current value are known quantities, and using the second parameter value as a known quantity in the subsequent correction process. Writing the first parameter value and the second parameter value to a register to be validated.
It should be noted that, in the starting step of S11, besides determining the target current value and the correction algorithm, a correction instruction of the upper computer may be received as a mark for starting the correction operation.
And S12, acquiring a real-time current value.
Specifically, a real-time current value of the vehicle LED driven by the constant current control module is obtained, and if the real-time current value is obtained, the real-time current value is 0.95A.
And S13, judging whether the precision of the real-time current value meets the requirement.
In practical application, the real-time current value is compared with a target current value for analysis so as to judge whether the precision of the real-time current value is within a preset precision range. If the set target current value is 1A, the precision of the real-time current value is calculated as follows: (1A-0.95A)/1a =5%, in this embodiment, the preset accuracy range is 6%, and the accuracy of the real-time current value is 5% < the preset accuracy range is 6%, so the accuracy meets the requirement.
And S14, determining a correction inductance value.
If the precision of the real-time current value is not within the preset precision range, according to the result
Figure BDA0002244651100000052
Determining the correction inductance value.
In practical applications, the target current value corresponding to the nominal inductance value 100uH is 1A, and since there is an error between the actual inductance value and the nominal inductance value 100uH and the inductance precision is within a range of plus or minus 20%, the precision of the real-time current value is not within a preset precision range, for example, the real-time current value is 0.9A, and at this time, the actual inductance value needs to be calculated and used as the correction inductance value.
In particular, according to
Figure BDA0002244651100000061
Determining a correction inductance value of the constant current control module to correct an output current of the constant current control module according to the correction inductance value; the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit.
As shown in fig. 2, the S14 includes:
s141, according to
Figure BDA0002244651100000062
Determining the correction inductance value.
Specifically, if the determined correction inductance value is 90uH, the correction inductance value becomes a known quantity.
And S142, calculating the precision of the correction inductance value by taking the nominal inductance value of the constant current control module as a reference, and obtaining the inductance precision.
Specifically, if the calculated correction inductance value is 110uH and the nominal inductance value is 100uH, the inductance precision is: (110 uH-100 uH)/100uH =10%, and an evaluation was made of the inductance accuracy of 10%.
And S143, judging whether the inductance precision is in a preset range.
In practical applications, the calculated corrected inductances may be unequal values of 50uH, 80uH, 90uH, 110uH, and the predetermined range is 20%, and when 100uH is used as the nominal inductance, the accuracies of the corrected inductances with respect to the nominal inductance are respectively-50%, -20%, -10%, +10%, so that the inductance accuracies of-50%, 20%, -10%, and +10% are out of the predetermined range.
And S144, if yes, judging that the correction is successful, and storing the correction inductance value, for example, writing the correction inductance value into an NVRAM storage unit.
Specifically, in combination with the above-described unequal values of the correction inductance values, which may be 50uH, 80uH, 90uH, and 110uH, the correction inductance values 80uH, 90uH, and 110uH that meet the inductance accuracy are written in the memory cells.
And S145, recalculating the second parameter value by using the corrected inductance value and the real-time current value as known quantities, thereby calculating the corrected inductance values of the other constant current control modules.
Specifically, the corrected inductance value of 90uH and the real-time current value of 0.9A are converted into digital values recognized by a computer algorithm and substituted into the digital values
Figure BDA0002244651100000063
At this time, since the second parameter value becomes the only unknown quantity, a new second parameter value can be obtained and used as a known quantity for solving the next correction inductance value.
And S146, if not, determining that the correction fails.
Specifically, in combination with the above-mentioned unequal values of the correction inductance values, which may be 50uH, 80uH, 90uH, and 110uH, the correction inductance value 50uH that does not meet the inductance accuracy is determined as a correction failure. Furthermore, the inductor on the constant current control module is a defective product, and the constant current control module has circuit faults or other problems to cause correction failure, and at the moment, production personnel are informed to verify information and troubleshoot faults. Furthermore, the information of successful correction and the information of failed correction are sent to the upper computer so as to carry out the development of subsequent production work.
And S15, storing the numerical value.
And if the precision of the real-time current value is within a preset precision range, storing the nominal inductance value as the correction inductance value.
It should be noted that, besides the correction inductance value, the stored content may also include the real-time current value and the corresponding nominal inductance value, the first parameter value, the second parameter value, and other parameters related to the correction algorithm and the acquired variable value. The above memory contents may be stored in the same or different memory areas, such as an address memory, an NVRAM storage unit, or other storable areas.
And S16, finishing the correction.
Specifically, if the precision of the real-time current value is within a preset precision range, the nominal inductance value welded to the constant current control module can be normally used, and the inductance value does not need to be corrected after the nominal inductance value is stored, and then the correction is finished.
It should be noted that the protection scope of the calibration method for the vehicle LED constant current control module according to the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the solutions implemented by adding, subtracting, and replacing steps in the prior art according to the principle of the present invention are included in the protection scope of the present invention.
As shown in fig. 3, in an embodiment, the calibration system 3 of the automotive LED constant current control module includes: a current value acquisition module 31, a correction module 32, a comparison module 33 and a judgment module 34.
The current value obtaining module 31 is configured to obtain a real-time current value of the vehicle LED driven by the constant current control module.
The correction module 32 is configured to correct the real-time current value according to the current value when the real-time current value is not within the preset accuracy range
Figure BDA0002244651100000071
Figure BDA0002244651100000072
Determining a correction inductance value of the constant current control module to correct an output current of the constant current control module according to the correction inductance value; the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit.
The comparison module 33 is configured to calculate the accuracy of the corrected inductance value by using the nominal inductance value of the constant current control module as a reference, and obtain the inductance accuracy.
The judging module 34 is configured to judge whether the inductance precision is within a preset range; if yes, judging that the correction is successful, and storing the corrected inductance value; if not, the correction is judged to fail.
It should be noted that the division of each module of the correction system of the automotive LED constant current control module is only a division of a logic function, and all or part of the division may be integrated on a physical entity or may be physically separated in actual implementation. And the modules can be realized in a form that all software is called by the processing element, or in a form that all the modules are realized in a form that all the modules are called by the processing element, or in a form that part of the modules are called by the hardware. For example: the x module can be a separately established processing element, and can also be integrated in a certain chip of the system. The x-module may be stored in the memory of the system in the form of program codes, and may be called by a processing element of the system to execute the following functions of the x-module. The other modules are implemented similarly. All or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, the steps of the above method or the following modules may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
The following modules may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), etc. When some of the following modules are implemented in the form of a program code called by a Processing element, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling the program code. These modules may be integrated together and implemented in the form of a System-on-a-chip (SOC).
It should be noted that the calibration system of the automotive LED constant current control module according to the present invention can implement the calibration method of the automotive LED constant current control module according to the present invention, but the implementation apparatus of the calibration method of the automotive LED constant current control module according to the present invention includes, but is not limited to, the structure of the calibration system of the automotive LED constant current control module, and all structural modifications and substitutions in the prior art made according to the principle of the present invention are included in the protection scope of the present invention.
In an embodiment, the computer storage medium of the present invention stores a computer program, and the computer program is executed by a processor to implement the calibration method for the vehicle LED constant current control module.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned computer-readable storage media comprise: various computer storage media that can store program codes, such as ROM, RAM, magnetic or optical disks.
In one embodiment, the vehicle LED constant current control device includes: a processor, a memory, a transceiver, a communication interface, or/and a system bus. The memory and the communication interface are connected with the processor and the transceiver through a system bus and complete mutual communication, the memory is used for storing a computer program, the communication interface is used for communicating with other equipment, and the processor and the transceiver are used for operating the computer program to enable the LED constant current control equipment for the vehicle to execute all steps of the correction method of the LED constant current control module for the vehicle.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may include a Random Access Memory (RAM), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component.
As shown in fig. 4, in an embodiment, the calibration system 4 of the vehicle LED constant current control module includes: the system comprises a vehicle LED load 41, a vehicle LED constant current control device 42, a current detection device 43 and an upper computer 44. It should be noted that the calibration system 4 of the automotive LED constant current control module can be used as a calibration tool, and the produced constant current control modules are connected to the calibration tool one by one to perform precision evaluation of output current and calibration of inductance. The vehicular LED constant current control device 42 is equivalent to the constant current control modules to be detected one by one. The correction inductance value is stored in the constant current control module, so that when the constant current control module is actually applied to the vehicle LED circuit, the stored correction inductance value can be read through software, and correction and compensation are performed in a software manner, so that the accuracy of the output current compared with the target current is ensured.
The vehicle LED constant current control device 42 is connected with the vehicle LED load 41. Specifically, the LED constant current control device for a vehicle is provided with a storage unit 421, for storing the corrected inductance value or storing a corresponding nominal inductance value when the real-time current value meets a preset precision range, such as an NVRAM storage unit, when the correction is determined to be successful. The LED constant current control equipment for the vehicle is provided with a communication line and is communicated with the upper computer or the current detection device to obtain the real-time current value. It should be noted that the communication line may be a UART, LIN, CAN, or other common communication lines, and the pairing is performed according to the communication line actually provided by the automotive LED constant current control device.
The current detection device 43 is connected in series with the vehicle LED load 41 and is configured to collect a real-time current value of the vehicle LED driven by the constant current control module, and the current detection device 43 is connected in common with the vehicle LED constant current control device 42. For example, the current detection device 43 is an ammeter.
The upper computer 44 is respectively connected with the vehicular LED constant current control equipment 42 and the current detection device 43; the upper computer 43 is used for sending a correction command to the automotive LED constant current control equipment 42 and receiving information of successful correction or failed correction sent by the automotive LED constant current control equipment 42; and sending the acquired real-time current value sent by the current detection device 43 to the vehicular LED constant current control device 42 in a timing manner.
In this embodiment, the operation mechanism of the correction system 4 of the vehicle LED constant current control module is as follows: the upper computer 44 sends a correction command to the vehicle LED constant current control device 42, the vehicle LED constant current control device 42 and the vehicle LED load 41 form a detection loop, and outputs a current according to an inductor welded thereon, the current detection device 43 detects the real-time current value and sends the real-time current value to the upper computer 44, the upper computer 44 sends the real-time current value to the vehicle LED constant current control device 42 at regular time, for example, the real-time current value is sent at a frequency of once 200ms, the vehicle LED constant current control device 42 determines the current precision and calculates and stores a corresponding correction inductance value, and after the correction is successful, the vehicle LED constant current control device 42 sends information of successful correction to the upper computer 44. If the correction fails, the vehicle LED constant current control equipment 42 sends information of the failure of the correction to the upper computer 44 so as to inform production personnel.
In summary, according to the correction method, the system, the medium and the equipment for the automotive LED constant current control module, the accuracy of the output current is improved by correcting the inductance, the cost is low, the speed is high, most processes are automatically completed, the manual participation is less, only one corrected inductance value needs to be stored, the occupied resources are less, the output accuracy of the correction method can be controlled within +/-6% through testing the current output accuracy, and the accuracy requirement of the output current of the LED driving module can be met. The invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which may be made by those skilled in the art without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims (8)

1. A correction method of an LED constant current control module for a vehicle is characterized by comprising the following steps:
acquiring a real-time current value of the vehicle LED driven by the constant current control module;
when the real-time current value is not within the preset precision range, correcting according to the correction
Figure FDA0003598351660000011
Calculating a correction inductance value of the constant current control module to correct an output current of the constant current control module according to the correction inductance value; calculating the precision of the correction inductance value by taking the nominal inductance value of the constant current control module as a reference to obtain the inductance precision; judging whether the inductance precision is within a preset range; if yes, judging that the correction is successful, and storing the corrected inductance value; if not, judging that the correction fails;
the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit.
2. The method for correcting the LED constant current control module for the vehicle according to claim 1, further comprising:
and under the condition that the correction is judged to be successful, recalculating the second parameter value by taking the corrected inductance value and the real-time current value as known quantities.
3. The utility model provides a correction system of automobile-used LED constant current control module which characterized in that includes:
the current value acquisition module is used for acquiring a real-time current value of the vehicle LED driven by the constant current control module;
a correction module for correcting the real-time current value when the real-time current value is not in the preset precision range
Figure FDA0003598351660000012
Figure FDA0003598351660000013
Determining a correction inductance value of the constant current control module to correct an output current of the constant current control module according to the correction inductance value;
the comparison module is used for calculating the accuracy of the correction inductance value by taking the nominal inductance value of the constant current control module as a reference to obtain the inductance accuracy;
the judging module is used for judging whether the inductance precision is within a preset range; if yes, judging that the correction is successful, and storing the corrected inductance value; if not, judging that the correction fails;
the first parameter value is the product of the voltage of the vehicle LED load and the turn-off time of a voltage reduction circuit in the constant current control module; the second parameter value is a peak current of the buck circuit.
4. A medium on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of correcting a vehicle LED constant current control module according to one of claims 1 to 2.
5. An LED constant current control device for a vehicle, comprising: a processor and a memory;
the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory so as to enable the vehicle LED constant current control device to execute the correction method of the vehicle LED constant current control module according to one of claims 1 to 2.
6. The utility model provides a correction system of automobile-used LED constant current control module which characterized in that includes:
an automotive LED load;
the LED constant current control device for the vehicle as claimed in claim 5, connected to the LED load for the vehicle;
and the current detection device is connected with the LED load for the vehicle in series and is used for collecting the real-time current value of the LED for the vehicle driven by the constant current control module.
7. The correction system of the LED constant current control module for the vehicle of claim 6, further comprising:
the upper computer is respectively connected with the LED constant current control equipment for the vehicle and the current detection device;
the upper computer is used for sending a correction command to the LED constant current control equipment for the vehicle and receiving information of successful correction or failed correction sent by the LED constant current control equipment for the vehicle; and sending the obtained real-time current value sent by the current detection device to the LED constant current control equipment for the vehicle at regular time.
8. The correction system of the LED constant current control module for the vehicle of claim 6,
the LED constant current control equipment for the vehicle is provided with a storage unit used for storing the correction inductance value under the condition of judging the successful correction.
CN201911027456.6A 2019-10-23 2019-10-23 Method, system, medium and device for correcting LED constant current control module for vehicle Active CN111565495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911027456.6A CN111565495B (en) 2019-10-23 2019-10-23 Method, system, medium and device for correcting LED constant current control module for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911027456.6A CN111565495B (en) 2019-10-23 2019-10-23 Method, system, medium and device for correcting LED constant current control module for vehicle

Publications (2)

Publication Number Publication Date
CN111565495A CN111565495A (en) 2020-08-21
CN111565495B true CN111565495B (en) 2022-10-28

Family

ID=72072899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911027456.6A Active CN111565495B (en) 2019-10-23 2019-10-23 Method, system, medium and device for correcting LED constant current control module for vehicle

Country Status (1)

Country Link
CN (1) CN111565495B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562397A (en) * 2009-05-27 2009-10-21 成都芯源系统有限公司 Dual-mode constant current control method based on third winding detection and circuit thereof
CN205160398U (en) * 2015-11-25 2016-04-13 上海晶丰明源半导体有限公司 Self -adaptation sampling circuit , printed circuit board , former limit feedback constant voltage system and switching power supply system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834256B (en) * 2018-06-06 2020-05-01 华域视觉科技(上海)有限公司 Constant current control system for automobile LED signal lamp and circuit board structure thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562397A (en) * 2009-05-27 2009-10-21 成都芯源系统有限公司 Dual-mode constant current control method based on third winding detection and circuit thereof
CN205160398U (en) * 2015-11-25 2016-04-13 上海晶丰明源半导体有限公司 Self -adaptation sampling circuit , printed circuit board , former limit feedback constant voltage system and switching power supply system

Also Published As

Publication number Publication date
CN111565495A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN110196404A (en) A kind of metering chip calibration method, device and the terminal device of charging pile
CN109960241B (en) Automatic test method and system for automobile ECU internal calibration meter
CN103455078B (en) A kind of current-limiting circuit, device
CN109738778B (en) Inverter open circuit diagnosis method and device, terminal equipment and computer readable medium
CN111565495B (en) Method, system, medium and device for correcting LED constant current control module for vehicle
CN104852743B (en) Absolute value encoder signal processing apparatus and method
CN116736792B (en) Logic control programming method and device embedded in CNC system
CN117033855A (en) Filter mask generation method, device, electronic equipment and storage medium
CN109947639B (en) Automatic test method for ESB interface
CN117057284A (en) Conversion data processing equivalent adjustment method and device for electromagnetic transient model
CN114625107B (en) Automatic ECU calibration method and system based on STARS measurement and control system
CN115218943A (en) Sensor external parameter calibration method, device, vehicle, equipment and medium
CN102621518A (en) Electricity meter automatic calibrating method
CN112560393B (en) Comparison verification method and device of EDA software tool
CN110941877A (en) Analysis method for motor working area of pure electric vehicle
CN114942745A (en) Automatic configuration method for UDS protocol stack of motor controller
CN111331597B (en) Control method and device of industrial robot
US20210149782A1 (en) Test method, system, readable storage medium and electronic device for process control
CN114837835B (en) Method, device, equipment and medium for determining fuel injection compensation quantity of multi-cylinder engine
CN112804169B (en) High-speed signal equalization parameter optimization method, system and related components
CN112804709B (en) Method and device for determining overlapping coverage condition between serving cells
CN115373648A (en) A2L file generation method, device, equipment and medium
CN118276841A (en) CAN configuration file and code generation method, device, equipment and medium
CN113778395A (en) Software automatic integration control method based on software development platform
CN116150001A (en) MCU configuration file verification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant