CN110879369A - Device and method for detecting periodic irregular change current of car lamp - Google Patents

Device and method for detecting periodic irregular change current of car lamp Download PDF

Info

Publication number
CN110879369A
CN110879369A CN201811037333.6A CN201811037333A CN110879369A CN 110879369 A CN110879369 A CN 110879369A CN 201811037333 A CN201811037333 A CN 201811037333A CN 110879369 A CN110879369 A CN 110879369A
Authority
CN
China
Prior art keywords
current
module
main controller
resistor
capacitor
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.)
Pending
Application number
CN201811037333.6A
Other languages
Chinese (zh)
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.)
Changzhou Xingyu Automotive Lighting Systems Co Ltd
Original Assignee
Changzhou Xingyu Automotive Lighting Systems 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 Changzhou Xingyu Automotive Lighting Systems Co Ltd filed Critical Changzhou Xingyu Automotive Lighting Systems Co Ltd
Priority to CN201811037333.6A priority Critical patent/CN110879369A/en
Publication of CN110879369A publication Critical patent/CN110879369A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/44Testing lamps
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a device and a method for detecting periodic irregular change current of a car lamp, wherein the device comprises a power supply module, a main controller, a square wave output module, a current acquisition module, a display, an alarm module and the car lamp; the power supply module is connected with the main controller, the square wave output module, the current acquisition module, the display and the alarm module and provides stable power supply voltage for each module; the main controller is connected with the square wave output module, the current acquisition module, the display and the alarm module; the main controller controls the square wave output module to output square waves with period and duty ratio; the current acquisition module acquires the current of the car lamp in real time, converts the current into a level signal and outputs the level signal to the main controller; the main controller outputs current waveforms to the display, and the main controller outputs judgment results to the alarm module. The invention can detect the current with periodic irregular change, can display the current waveform in real time, and has the advantages of high response speed, strong real-time property and high detection precision.

Description

Device and method for detecting periodic irregular change current of car lamp
Technical Field
The invention belongs to the technical field of automatic detection, and particularly relates to a device and a method for detecting periodic irregular change current of a car lamp.
Background
Along with the rapid development of the automobile electronic industry, the automobile lamp is continuously upgraded and updated along with the development of modern science and technology, the core of the automobile lamp is changed from the past bulb to the current LED, and the lighting mode of the automobile lamp is changed accordingly. People have higher and higher aesthetic value and requirements on the car lamp, the car lamp is changed from single flicker into various dynamic effects, the independent function is changed into a multifunctional combined lighting mode, and accordingly, the detection on the car lamp is more and more important.
The existing vehicle lamp current detection method can only test the current value of the vehicle lamp after being stably lighted, the current vehicle lamp requires a dynamic and multifunctional combined lighting mode, and the existing detection method cannot test the lighting process of the vehicle lamp.
Technical problem to be solved
The invention aims to provide a device and a method for detecting the periodic irregular change current of a car lamp, which can acquire the current of the car lamp in real time and display the current, the duration and the judgment result through a display.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme:
a current detection device for periodic irregular change of a car lamp comprises a power supply module, a main controller, a square wave output module, a current acquisition module, a display, an alarm module and the car lamp; the power supply module is connected with the main controller, the square wave output module, the current acquisition module, the display and the alarm module and provides stable power supply voltage for each module; the main controller is connected with the square wave output module, the current acquisition module, the display and the alarm module; the main controller controls the square wave output module to output square waves with period and duty ratio and provides input voltage for the vehicle lamp; the current acquisition module acquires the current value of the periodic irregular change of the car lamp in real time, converts the current value into a level signal and outputs the level signal to the main controller; the main controller outputs current waveforms to the display, and the main controller outputs judgment results to the alarm module.
According to an embodiment of the invention, the power module comprises an input terminal H2, a diode D1, a voltage regulator tube T1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4 and a three-terminal regulator U1, wherein the input terminal H2 is connected with an input power supply, a pin 1 of an input terminal H2 is connected with an anode of the diode D1 and a cathode of the voltage regulator tube T1, and a pin 2 of the input terminal H2 and an anode of the voltage regulator tube T1 are grounded; the cathode of the diode D1 is connected with one end of a capacitor C1, one end of a capacitor C2 and a pin 1 of a three-terminal regulator U1, the other end of the capacitor C1, the other end of the capacitor C2 and a pin 2 of the three-terminal regulator U1 are grounded, a pin 3 of the three-terminal regulator U1 is connected with one end of the capacitor C3 and one end of a capacitor C4 and outputs +5V power, and the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.
According to an embodiment of the invention, the diode D1 adopts an ISMB28CAT3 anti-reverse diode; the three-terminal voltage stabilizer U1 adopts an LM2940S low-dropout three-terminal voltage-stabilizing chip.
According to an embodiment of the invention, the square wave output module comprises resistors R9, R10, R11, R12, R13, R14, a MOS transistor Q3, a transistor Q4, a photocoupler U6, +5V power supply, and +12V power supply, one end of a resistor R9 is connected with the control signal T-SIN, the other end of the resistor R9 is connected with one end of a resistor R10 and a base of the transistor Q4, and the other end of the resistor R10 and an emitter of the transistor Q4 are grounded; a collector of the transistor Q4 is connected with a pin 2 of a photoelectric coupler U6, a pin 1 of the photoelectric coupler U6 is connected with one end of a resistor R11, the other end of the resistor R11 is connected with a +5V power supply, a pin 3 of the photoelectric coupler U6 is connected with one end of a resistor R12, the other end of the resistor R12 is grounded, and a pin 4 of the photoelectric coupler U6 is connected with one end of a resistor R13 and a grid electrode of an MOS (metal oxide semiconductor) tube Q3; the other end of the resistor R13 is connected with the source electrode of the MOS transistor Q3 and the +12V power supply, the drain electrode of the MOS transistor Q3 is connected with one end of the resistor R14 and outputs a PWM signal, and the other end of the resistor R14 is grounded.
According to an embodiment of the invention, the photocoupler U6 is a PS2561 photocoupler; the transistor Q4 is an NPN triode, and the NPN triode is 9013; the MOS tube Q3 is a P-MOS.
A periodic irregular change current detection method for a vehicle lamp comprises the following steps:
s1, the main controller controls the square wave output module to generate square waves of 2 periods, and the current acquisition module acquires the current of the car lamp to enable the car lamp to have a current waveform of a complete period;
s2, the main controller converts all the level signals acquired by the current acquisition module into actual current values, and sends the current waveforms to the display for display;
s3, the main controller performs screening judgment on the current value, firstly determines the initial position of the current waveform according to the minimum value, and then determines the size and duration of each section of current according to the set value;
s4, the main controller judges the magnitude and duration of each section of current value, the magnitude, duration and judgment result of the current are sent to the display to be displayed, OK signals are output when all the sections are qualified, and NG signals are output to the alarm module as long as one section is unqualified;
and S5, the alarm module alarms by adopting light and sound at the same time, when an OK signal is received, the green light is turned on, and when an NG signal is received, the red light is turned on and an audible alarm prompt is given.
(III) advantageous effects
The invention has the beneficial effects that: a current detection device and its detection method used for periodic irregular change of the car light, carry on the data analysis through the acquisition current, judge every group of magnitude of current, duration, can calculate the lamp current waveform of the car out accurately and meet the requirements; collecting all current data in two periods for analysis, and calculating the time of delay according to the length of the current waveform of the last section if the current waveform of the car lamp delays relative to the rising edge of the voltage; the current of the car lamp can be collected in real time, and the current size, the duration and the judgment result are displayed through the display.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic block diagram of a detection apparatus of the present invention;
FIG. 2 is a schematic circuit diagram of a power module;
FIG. 3 is a circuit schematic of a square wave output module;
FIG. 4 is a flow chart of the detection method of the present invention.
Description of reference numerals:
1. a power supply module; 2. a main controller; 3. a square wave output module; 4. a current collection module; 5. a display; 6. an alarm module; 7. a vehicular lamp.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the device for detecting the periodic irregular change current of the car lamp comprises a power module 1, a main controller 2, a square wave output module 3, a current acquisition module 4, a display 5, an alarm module 6 and a car lamp 7. The power supply module 1 is connected with the main controller 2, the square wave output module 3, the current acquisition module 4, the display 5 and the alarm module 6, and provides stable power supply voltage for each module; the main controller 2 is connected with the square wave output module 3, the current acquisition module 4, the display 5 and the alarm module 6; the main controller 2 controls the square wave output module 3 to output square waves with a period and a duty ratio and provides input voltage for the vehicle lamp 7; the current acquisition module 4 acquires the current value of the vehicle lamp 7 which changes irregularly periodically in real time, converts the current value into a level signal and outputs the level signal to the main controller 2; the main controller 2 outputs a current waveform to the display 5, and the main controller 2 outputs a judgment result to the alarm module 6.
With reference to fig. 2, the power module includes an input terminal H2, a diode D1, a voltage regulator tube T1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, and a three-terminal regulator U1, the input terminal H2 is connected to an input power supply, a pin 1 of the input terminal H2 is connected to an anode of the diode D1 and a cathode of the voltage regulator tube T1, and a pin 2 of the input terminal H2 and an anode of the voltage regulator tube T1 are grounded; the cathode of the diode D1 is connected with one end of a capacitor C1, one end of a capacitor C2 and a pin 1 of a three-terminal regulator U1, the other end of the capacitor C1, the other end of the capacitor C2 and a pin 2 of the three-terminal regulator U1 are grounded, a pin 3 of the three-terminal regulator U1 is connected with one end of the capacitor C3 and one end of a capacitor C4 and outputs +5V power, and the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.
The diode D1 adopts an ISMB28CAT3 reverse connection prevention diode to prevent the short circuit caused by the reverse connection of the power supply at the input end of the power supply module 1; the three-terminal voltage stabilizer U1 adopts an LM2940S low-dropout three-terminal voltage-stabilizing chip, can convert 10-20V voltage of an input end into 5V voltage, starts an overvoltage protection function when the voltage of the input end is larger than 30V, and changes the output voltage into 0V.
With reference to fig. 3, the square wave output module includes resistors R9, R10, R11, R12, R13, R14, a MOS transistor Q3, a transistor Q4, a photocoupler U6, +5V power supply, and +12V power supply, one end of a resistor R9 is connected to the control signal T-SIN, the other end of the resistor R9 is connected to one end of a resistor R10 and a base of the transistor Q4, and the other end of the resistor R10 and an emitter of the transistor Q4 are grounded; a collector of the transistor Q4 is connected with a pin 2 of a photoelectric coupler U6, a pin 1 of the photoelectric coupler U6 is connected with one end of a resistor R11, the other end of the resistor R11 is connected with a +5V power supply, a pin 3 of the photoelectric coupler U6 is connected with one end of a resistor R12, the other end of the resistor R12 is grounded, and a pin 4 of the photoelectric coupler U6 is connected with one end of a resistor R13 and a grid electrode of an MOS (metal oxide semiconductor) tube Q3; the other end of the resistor R13 is connected with the source electrode of the MOS transistor Q3 and the +12V power supply, the drain electrode of the MOS transistor Q3 is connected with one end of the resistor R14 and outputs a PWM signal, and the other end of the resistor R14 is grounded.
The photoelectric coupler U6 is a PS2561 photoelectric coupler. The transistor Q4 is an NPN transistor, and the NPN transistor is 9013. The MOS transistor Q3 is a P-MOS.
When the control signal T-SIN outputs a high level, the transistor Q4 is conducted, the light emitting diode of the photoelectric coupler U6 emits light, the photoelectric triode is conducted, a voltage of-12V is added between the grid electrode and the source electrode of the MOS transistor Q3, the MOS transistor Q3 is a P-MOS transistor, the MOD transistor Q3 is conducted, and the PWM signal output end outputs a high level which is consistent with the control signal T-SIN. When the control signal T-SIN outputs low level, the transistor Q4 has no base current, the photoelectric coupler U6 is not conducted, no voltage difference exists between the grid and the source of the MOS transistor Q4, the MOS transistor Q4 is not conducted, and the PWM signal output end outputs low level which is consistent with the control signal T-SIN.
The main controller 2 can output 5V square wave signals with specified period and duty ratio to the square wave output module 3, and the square wave output module 3 converts the 5V square wave signals into 12V square wave levels, so that lighting requirements of different types of vehicle lamps are met.
The current acquisition module 4 acquires the current value of the vehicle lamp 7 which changes periodically and irregularly in real time and converts the current value into a level signal. The main controller 2 converts these level signals into the actual current value of the lamp 7 by calculation.
The display 5 receives the current signal sent by the main controller 2 in real time and displays the current signal on an interface to generate a current waveform of the vehicle lamp 7.
With reference to the flowchart of fig. 4, a method for detecting a periodic irregular change current of a vehicle lamp includes the following steps:
s1, the main controller 2 controls the square wave output module 3 to generate square waves of 2 periods, and the current of the car lamp is collected through the current collection module 4, so that the car lamp has a current waveform of a complete period;
s2, the main controller 2 converts all the level signals collected by the current collection module 4 into actual current values, and sends the current waveforms to the display for display;
s3, the main controller 2 carries out screening judgment on the current value, firstly, the initial position of the current waveform is determined according to the minimum value, and then, the size and the duration of each section of current are determined according to the set value;
s4, the main controller 2 judges the magnitude and duration of each section of current value, the magnitude, duration and judgment result of the current are sent to the display 5 to be displayed, OK signals are output when all the sections are qualified, and NG signals are output to the alarm module 6 as long as one section is unqualified;
s5, the alarm module 6 alarms by light and sound at the same time, when receiving OK signal, the green light is lighted, when receiving NG signal, the red light is lighted and there is sound alarm prompt.
In summary, the embodiment of the invention is used for the detection device and the detection method for the periodic irregular change current of the car lamp, and the current waveform of the car lamp can be accurately calculated to meet the requirements by collecting the current to perform data analysis and judging the magnitude and duration of each group of current; collecting all current data in two periods for analysis, and calculating the time of delay according to the length of the current waveform of the last section if the current waveform of the car lamp delays relative to the rising edge of the voltage; the current of the car lamp can be collected in real time, and the current size, the duration and the judgment result are displayed through the display.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A periodic irregular change current detection device for a vehicle lamp is characterized in that: the intelligent control system comprises a power supply module, a main controller, a square wave output module, a current acquisition module, a display, an alarm module and a vehicle lamp; the power supply module is connected with the main controller, the square wave output module, the current acquisition module, the display and the alarm module and provides stable power supply voltage for each module; the main controller is connected with the square wave output module, the current acquisition module, the display and the alarm module; the main controller controls the square wave output module to output square waves with period and duty ratio and provides input voltage for the vehicle lamp; the current acquisition module acquires the current value of the periodic irregular change of the car lamp in real time, converts the current value into a level signal and outputs the level signal to the main controller; the main controller outputs current waveforms to the display, and the main controller outputs judgment results to the alarm module.
2. A periodic and irregular variation current detection device for a vehicular lamp according to claim 1, characterized in that: the power supply module comprises an input terminal H2, a diode D1, a voltage regulator tube T1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4 and a three-terminal voltage regulator U1, wherein the input terminal H2 is connected with an input power supply, a pin 1 of an input terminal H2 is connected with an anode of the diode D1 and a cathode of the voltage regulator tube T1, and a pin 2 of the input terminal H2 and an anode of the voltage regulator tube T1 are grounded; the cathode of the diode D1 is connected with one end of a capacitor C1, one end of a capacitor C2 and a pin 1 of a three-terminal regulator U1, the other end of the capacitor C1, the other end of the capacitor C2 and a pin 2 of the three-terminal regulator U1 are grounded, a pin 3 of the three-terminal regulator U1 is connected with one end of the capacitor C3 and one end of a capacitor C4 and outputs +5V power, and the other end of the capacitor C3 and the other end of the capacitor C4 are grounded.
3. The device for detecting the periodic irregular change current of the vehicle lamp as claimed in claim 2, wherein the diode D1 adopts an ISMB28CAT3 anti-reverse diode; the three-terminal voltage stabilizer U1 adopts an LM2940S low-dropout three-terminal voltage-stabilizing chip.
4. The device as claimed in claim 1, wherein the square wave output module comprises resistors R9, R10, R11, R12, R13, R14, a MOS transistor Q3, a transistor Q4, a photocoupler U6, a +5V power supply, and a +12V power supply, one end of a resistor R9 is connected to the control signal T-SIN, the other end of the resistor R9 is connected to one end of a resistor R10 and the base of the transistor Q4, and the other end of the resistor R10 and the emitter of the transistor Q4 are grounded; a collector of the transistor Q4 is connected with a pin 2 of a photoelectric coupler U6, a pin 1 of the photoelectric coupler U6 is connected with one end of a resistor R11, the other end of the resistor R11 is connected with a +5V power supply, a pin 3 of the photoelectric coupler U6 is connected with one end of a resistor R12, the other end of the resistor R12 is grounded, and a pin 4 of the photoelectric coupler U6 is connected with one end of a resistor R13 and a grid electrode of an MOS (metal oxide semiconductor) tube Q3; the other end of the resistor R13 is connected with the source electrode of the MOS transistor Q3 and the +12V power supply, the drain electrode of the MOS transistor Q3 is connected with one end of the resistor R14 and outputs a PWM signal, and the other end of the resistor R14 is grounded.
5. The device for detecting the periodically and irregularly changing current of the vehicle lamp as claimed in claim 4, characterized in that the photocoupler U6 is a PS2561 photocoupler; the transistor Q4 is an NPN triode, and the NPN triode is 9013; the MOS tube Q3 is a P-MOS.
6. The periodic irregular change current detection method for the vehicular lamp according to claim 1, comprising the steps of:
s1, the main controller controls the square wave output module to generate square waves of 2 periods, and the current acquisition module acquires the current of the car lamp to enable the car lamp to have a current waveform of a complete period;
s2, the main controller converts all the level signals acquired by the current acquisition module into actual current values, and sends the current waveforms to the display for display;
s3, the main controller performs screening judgment on the current value, firstly determines the initial position of the current waveform according to the minimum value, and then determines the size and duration of each section of current according to the set value;
s4, the main controller judges the magnitude and duration of each section of current value, the magnitude, duration and judgment result of the current are sent to the display to be displayed, OK signals are output when all the sections are qualified, and NG signals are output to the alarm module as long as one section is unqualified;
and S5, the alarm module alarms by adopting light and sound at the same time, when an OK signal is received, the green light is turned on, and when an NG signal is received, the red light is turned on and an audible alarm prompt is given.
CN201811037333.6A 2018-09-06 2018-09-06 Device and method for detecting periodic irregular change current of car lamp Pending CN110879369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811037333.6A CN110879369A (en) 2018-09-06 2018-09-06 Device and method for detecting periodic irregular change current of car lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811037333.6A CN110879369A (en) 2018-09-06 2018-09-06 Device and method for detecting periodic irregular change current of car lamp

Publications (1)

Publication Number Publication Date
CN110879369A true CN110879369A (en) 2020-03-13

Family

ID=69727004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811037333.6A Pending CN110879369A (en) 2018-09-06 2018-09-06 Device and method for detecting periodic irregular change current of car lamp

Country Status (1)

Country Link
CN (1) CN110879369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064370A (en) * 2021-03-23 2021-07-02 苏州申博电子科技有限公司 System and method for testing driving of automobile lamp

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064370A (en) * 2021-03-23 2021-07-02 苏州申博电子科技有限公司 System and method for testing driving of automobile lamp

Similar Documents

Publication Publication Date Title
US9456475B2 (en) LED light source with reduced flicker
CN103605090A (en) Demagnetization detection method, demagnetization detection circuit and constant current driver using circuit
CN108156690B (en) LED dimming method and system based on ambient brightness
CN106370130B (en) A kind of infrared light curtain is parallel to the detection device and method of large screen
US11403978B2 (en) Chip programming voltage detection circuit and detection method
CN113691711A (en) Endoscope image transmission delay measurement system and method
CN110879369A (en) Device and method for detecting periodic irregular change current of car lamp
CN107315122B (en) Fill electric pile testing arrangement
CN101634720A (en) Metal detecting device and method
CN204903740U (en) Power detecting circuit
CN108628426A (en) Operation mode decision circuitry and its method
CN202121699U (en) Ambient light brightness detection remote controller
CN209148855U (en) One kind is for the periodically irregular variable-current detection device of car light
CN104735887B (en) Method for automatically detecting streetlamp electric leakage
CN112014763A (en) Vehicle lamp detection device based on CAN bus control and detection method thereof
CN104515968B (en) A kind of capacitor moment open-short circuit tester calibrating installation and calibration method
CN101187734B (en) Liquid crystal display manufacture method
CN213986767U (en) Circuit for detecting light flicker
CN111489671B (en) Self-checking circuit for vehicle-mounted LVDS signal output
CN203872385U (en) System for collecting information of lamp post corresponding to light control terminal
CN209345426U (en) Abnormal detector and circuit
CN205027421U (en) Diesel oil filter level sensor detector
CN2694288Y (en) Switch cabinet leakage current checking and warning device
CN105430852A (en) High-efficiency illumination energy-saving module and method
CN205645206U (en) A device for detecting display screen current overload

Legal Events

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