Nothing Special   »   [go: up one dir, main page]

CN214150842U - Detection circuit for voltage and current of light source - Google Patents

Detection circuit for voltage and current of light source Download PDF

Info

Publication number
CN214150842U
CN214150842U CN202023326941.4U CN202023326941U CN214150842U CN 214150842 U CN214150842 U CN 214150842U CN 202023326941 U CN202023326941 U CN 202023326941U CN 214150842 U CN214150842 U CN 214150842U
Authority
CN
China
Prior art keywords
module
light source
voltage
led
current
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
CN202023326941.4U
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.)
Guangdong OPT Machine Vision Co Ltd
Original Assignee
Guangdong OPT Machine Vision 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 Guangdong OPT Machine Vision Co Ltd filed Critical Guangdong OPT Machine Vision Co Ltd
Priority to CN202023326941.4U priority Critical patent/CN214150842U/en
Application granted granted Critical
Publication of CN214150842U publication Critical patent/CN214150842U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The utility model belongs to the technical field of semiconductor integrated circuit, concretely relates to detection circuitry of light source voltage electric current, including light source controller, light source and three-core line, light source controller is provided with host system, parametric resistance identification module and light source drive module, the light source includes parametric resistance and LED module, three-core line is provided with the RES end, LED + end and LED-end, parametric resistance's one end and parametric resistance identification module all are connected with the RES end, parametric resistance's the other end, parametric resistance identification module, light source drive module and LED module all are connected with LED + end, light source drive module and LED module all are connected with LED-end. The utility model discloses can accurately detect out the voltage and current of light source to can accurately be according to the corresponding voltage and current of the voltage and current output that detects out, it not only can reduce the volume of light source effectively, can also improve the efficiency of wiring effectively.

Description

Detection circuit for voltage and current of light source
Technical Field
The utility model belongs to the technical field of semiconductor integrated circuit, concretely relates to detection circuitry of light source voltage electric current.
Background
The light source is a core component of the machine vision industry, and along with the development of the machine vision industry, the requirements of people on the light source in the machine vision equipment become higher and higher, and meanwhile, the voltage and the current of the light source also become diversified, so that the types of the light source controller are increased due to the diversity of the voltage and the current of the light source, and the light sources with various different voltage and current can meet the requirements only by needing a plurality of light source controllers.
The inventor finds that in the prior art, in order to automatically identify the voltage and the current of the light source at the same time, a plurality of sensing devices are required to be placed on the light source by using a multi-core wire rod for realization many times, so that the diameter of the light source wire is increased, the outlet of the light source is increased, the volume of the light source is affected, and the difficulty of field wiring is increased.
Therefore, a new detection circuit is needed to solve the above problems.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide a: aiming at the defects of the prior art, the light source voltage and current detection circuit is provided, the voltage and current of a light source can be accurately detected, the corresponding voltage and current can be accurately output according to the detected voltage and current, the size of the light source can be effectively reduced, the wiring efficiency can be effectively improved, and the light source voltage and current detection circuit has the advantages of simplifying light source wires and expanding the application range of a light source controller.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
a detection circuit for voltage and current of a light source comprises a light source controller, a light source and a three-core wire, wherein the light source controller is provided with a main control module, a parameter resistance identification module and a light source driving module, the parameter resistance identification module and the light source driving module are electrically connected with the main control module, the light source comprises a parameter resistance and an LED module, the parameter resistance is electrically connected with the LED module, the three-core wire is provided with an RES end, an LED + end and an LED-end, the LED + end is used for providing an anode of electric energy for the LED module, the LED-end is used for providing a cathode of electric energy for the LED module, one end of the parameter resistance and the parameter resistance identification module are connected with the RES end, the other end of the parameter resistance, the parameter resistance identification module, the light source driving module and the LED module are connected with the LED + end, the light source driving module and the LED module are both connected with the LED-end.
Furthermore, the main control module is provided with a control unit, the control unit is provided with a control chip and a control circuit connected to the control chip, and the parameter resistance identification module and the light source driving module are electrically connected to the control unit.
Further, the parameter resistance identification module comprises a resistance voltage detection module and a constant current source module, the resistance voltage detection module is electrically connected to the control unit and the constant current source module respectively, one end of the parameter resistance, the resistance voltage detection module and the constant current source module are all connected with the RES end, and the other end of the parameter resistance and the resistance voltage detection module are all connected with the LED + end.
Further, the resistance voltage detection module is provided with a first differential amplification unit, the first differential amplification unit is provided with an operational amplifier and a differential amplification circuit connected to the operational amplifier, and the first differential amplification unit is electrically connected to the control unit and the parameter resistor respectively.
Further, the light source driving module comprises a voltage adjusting module, a current adjusting module and a light source voltage detecting module, and the voltage adjusting module, the current adjusting module and the light source voltage detecting module are all electrically connected to the control unit and the LED module.
Further, the voltage regulation module, the light source voltage detection module and the LED module are all connected with the LED + end, and the current regulation module, the light source voltage detection module and the LED module are all connected with the LED-end.
Further, the voltage regulation module is provided with a normal phase amplification unit, the normal phase amplification unit is provided with an operational amplifier and a normal phase amplification circuit connected to the operational amplifier, and the normal phase amplification unit is respectively and electrically connected to the control unit and the LED module.
Furthermore, the current regulation module is provided with a negative feedback constant current circuit, and the control unit and the LED module are respectively and electrically connected to the negative feedback constant current circuit.
Further, the light source voltage detection module is provided with a second differential amplification unit, and the second differential amplification unit is electrically connected to the control unit and the LED module respectively.
Further, the resistance value of the parameter resistor is 0.8K Ω -1.2K Ω, and the resistance values include, but are not limited to, 0.9K Ω, 1K Ω and 1.1K Ω.
The beneficial effects of the utility model reside in that: the utility model discloses a light source controller is connected with the light source through three heart yearns, just can accurately detect out the voltage current of light source, and accurately according to the corresponding voltage current of the voltage current output that detects out, make the application scope of controller strengthen greatly, under host system's control, parameter resistance identification module can detect the voltage value of the parameter resistance of discernment light source, thereby effectively differentiate the connection condition of light source, and simultaneously, light source drive module is used for detecting and adjusts the voltage and the electric current of light source, thereby the normal high-efficient operation of LED module has been ensured, and make detection circuitry have controllability and high security concurrently.
Drawings
Fig. 1 is a schematic diagram of the present invention.
Fig. 2 is a schematic circuit diagram of the main control module of the present invention.
Fig. 3 is a schematic circuit diagram of the parameter resistance recognition module of the present invention.
Fig. 4 is a schematic circuit diagram of the light source driving module of the present invention.
Fig. 5 is a schematic circuit diagram of the voltage regulation module of the present invention.
Fig. 6 is a schematic circuit diagram of the current regulation module of the present invention.
Fig. 7 is a schematic circuit diagram of the light source voltage detection module of the present invention.
Wherein: 1-a light source controller; 2-a light source; 3-three core wire; 11-a main control module; 12-a parametric resistance identification module; 13-a light source driving module; 21-parameter resistance; 22-LED module.
Detailed Description
As used in this specification and the appended claims, certain terms are used to refer to particular components, and it will be appreciated by those skilled in the art that a manufacturer may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", horizontal "and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can include, for example, fixed connections, detachable connections, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood according to specific situations by those skilled in the art.
The present invention will be described in further detail with reference to the accompanying drawings 1 to 7 and the specific embodiments, but the present invention is not limited thereto.
A detection circuit for voltage and current of a light source is disclosed, as shown in figure 1, and comprises a light source controller 1, a light source 2 and a three-core wire 3, wherein the light source controller 1 is provided with a main control module 11, a parameter resistance identification module 12 and a light source driving module 13, the parameter resistance identification module 12 and the light source driving module 13 are both electrically connected to the main control module 11, the light source 2 comprises a parameter resistance 21 and an LED module 22, the parameter resistance 21 is electrically connected to the LED module 22, the three-core wire 3 is provided with an RES end, an LED + end and an LED-end, both ends of the RES wire of the three-core wire 3 are RES ends, both ends of the LED + wire of the three-core wire 3 are LED + ends, both ends of the LED-wire of the three-core wire 3 are LED-ends, the LED + end is used for providing a positive pole of electric energy to the LED module 22, the LED-end is used for providing a negative pole of electric energy to the LED module 22, one end of the parameter resistance 21 and the parameter resistance identification module 12 are both connected to the RES ends, the other end of the parameter resistor 21, the parameter resistor identification module 12, the light source driving module 13 and the LED module 22 are all connected with the LED + end, and the light source driving module 13 and the LED module 22 are all connected with the LED-end, so that the light source wire is effectively simplified, and the application range of the light source controller 1 is expanded.
In the light source controller 1, the main control module 11 is provided with a control unit, the control unit has an STM32F103 control chip and a control circuit connected to the control chip, as shown in fig. 2, the control chip is driven by a voltage of 3.3V, the parameter resistance identification module 12 is electrically connected to the RES Volat signal terminal of the control unit, and the light source driving module 13 is electrically connected to the Volat DAC signal terminal, the Curr DAC signal terminal, and the LED Volat signal terminal of the control unit.
Furthermore, as shown in fig. 3, the parameter resistance identification module 12 includes a resistance voltage detection module and a constant current source module, the resistance voltage detection module is electrically connected to the control unit and the constant current source module, the resistance voltage detection module is connected to the ADC channel 1 of the STM32F103 control chip, one end of the parameter resistance 21, the resistance voltage detection module and the constant current source module are all connected to the RES end, the other end of the parameter resistance 21 and the resistance voltage detection module are all connected to the LED + end, and the resistance voltage detection module is configured to detect and identify the voltage value of the parameter resistance 21 of the light source 2.
The resistance voltage detection module is provided with a first differential amplification unit, the first differential amplification unit is provided with an LM258 operational amplifier, a resistor R49 of 20K omega and a C67 with the capacitance value of 1nF, the amplification coefficient K1 of the first differential amplification unit is 0.5, the ratio of the output to the input of the resistance voltage detection module is K1, and the first differential amplification unit is electrically connected with the control unit and the parameter resistor 21 respectively.
Meanwhile, the constant current source module is provided with an NPN triode S9014 and a potentiometer WR1, and the WR1 is adjusted to enable the constant current source module to constantly output 1mA current.
As shown in fig. 4 to 7, in the light source controller 1, the light source driving module 13 includes a voltage regulation module, a current regulation module and a light source voltage detection module, the voltage regulation module, the current regulation module and the light source voltage detection module are all electrically connected to the control unit and the LED module 22, the voltage regulation module, the light source voltage detection module and the LED module 22 are all connected to the LED + terminal, and the current regulation module, the light source voltage detection module and the LED module 22 are all connected to the LED-terminal.
The voltage regulation module is connected with a DAC channel 1 of the STSTSTTM 32F103 control chip, the voltage regulation module is provided with a normal phase amplification unit, the normal phase amplification unit is provided with an LM258 operational amplifier, a triode S9014 and a triode BU406, the amplification factor of the normal phase amplification unit is 10, and the normal phase amplification unit is electrically connected with a Volat DAC signal end of the control unit and an LED + signal end of the LED module 22 respectively.
In the light source driving module 13, the current regulation module is connected to the DAC channel 2 of the STSTM32F103 control chip, the current regulation module is provided with a negative feedback constant current circuit, the negative feedback constant current circuit is provided with an LM258 operational amplifier and an MOS transistor 50N06, and a Curr DAC signal end of the control unit and an LED-signal end of the LED module 22 are electrically connected to the negative feedback constant current circuit, respectively.
In addition, in the light source driving module 13, the light source voltage detection module is connected to the ADC channel 2 of the STM32F103 control chip, the light source voltage detection module is provided with a second differential amplification unit, the second differential amplification unit is provided with an LM258 operational amplifier, a 100K Ω resistor R69, and a C74 with a capacitance of 1nF, an amplification factor K3 of the second differential amplification unit is 0.1, a ratio of output to input of the light source voltage detection module is K3, and the second differential amplification unit is electrically connected to an LED Volat signal terminal of the control unit, an LED + signal terminal of the LED module 22, and an LED-signal terminal, respectively.
After the detection circuit is connected, the detection operation process is as follows:
(1) when the light source controller 1 is powered on, the constant current source module of the parameter resistance identification module 12 outputs a constant current Ires of 1mAs, the main control module 11 outputs 1.2V through the DAC1, so that the voltage regulation module in the light source driving module 13 outputs a constant standby voltage Vsb of 12V, and the main control module 11 outputs 5mV through the DAC2, so that the current regulation module outputs a constant standby current Isb of 10 mA.
(2) The main control module 11 of the light source controller 1 reads the output voltage of the resistance voltage detection module of the parameter resistance identification module 12 at regular time, when the read voltage is zero, it indicates that the light source 2 is not inserted, and when the read voltage is greater than zero, it indicates that the light source 2 is inserted.
(3) When the light source 2 is detected to be inserted, the main control module 11 of the light source controller 1 reads the output voltage Vres of the resistance voltage detection module of the parameter resistance identification module 12 to be 0.5V. The main control module 11 calculates the resistance value of the parameter resistor in the light source to be 1K Ω by Vres ÷ (K1 × Ires), i.e., 0.5 ÷ (0.5 × 0.001). The ratio K2 of the current of the light source 2 to the parameter resistor 21 is specified to be 1 in the main control module 11, the light source current Iled calculated by the main control module 11 through K2 × R, i.e. 1 × 1000, is 1000mA, the current of the light source 2 calculated by the main control module 11 is 1000mA, and 0.5V is output through the DAC2, so that the current regulating module in the light source driving module 13 outputs the current of 1000 mA. At this time, the main control module 11 outputs 2.5V through the DAC1, so that the maximum voltage Vmax output by the voltage adjustment module in the light source driving module 13 is 25V, at this time, the main control module 11 reads the output voltage Vout of the light source voltage detection module in the light source driving module 13 to be 1.2V, and the main control module 11 calculates the voltage Vled of the light source to be 12V through Vout ÷ K3, i.e., 1.2 ÷ 0.1. The current regulation module in the light source driving module 13 outputs 1000mA, and requires that the voltage difference of VDS of the MOS transistor 50N06 be maintained above 0.2V, and the minimum voltage difference Δ V required is (Iled × R67) + VDS, that is, (1 × 0.5) +0.2 is equal to 0.7V. Finally, the main control module 11 calculates the required output voltage of the voltage regulation module in the light source driving module 13 as (Vled + Δ V), i.e., 12.7V, according to the light source voltage Vled as 12V and the minimum voltage difference Δ V required by the current regulation module in the light source driving module 13 as 0.7V, and outputs 1.27V through the DAC1 to enable the voltage regulation module in the light source driving module 13 to output 12.7 voltage, so that the light source 2 operates in safe voltage and current.
(4) After the third step is executed, the main control module 11 of the light source controller 1 reads the output voltage of the resistance voltage detection module of the parameter resistance identification module 12 at regular time, and when the read voltage is zero, it indicates that the light source 2 is not inserted. At this time, the main control module 11 outputs 1.2V through the DAC1 so that the voltage regulation module in the light source driving module 13 outputs a constant standby voltage Vsb of 12V, and the main control module 11 outputs 5mV through the DAC2 so that the current regulation module outputs a constant standby current Isb of 10 mA. And (4) continuing to execute the step (2).
Obviously, the utility model discloses a light source controller is connected with the light source only through three-core wire rod, and the controller just can accurately detect out the voltage and current of light source to the accurate corresponding voltage and current of voltage and current output according to detecting out not only makes the effective increase of application scope of controller, has still reduced the volume of light source effectively and has improved the efficiency of wiring.
Variations and modifications to the above-described embodiments may become apparent to those skilled in the art from the disclosure and teachings of the above description. Therefore, the present invention is not limited to the above-mentioned embodiments, and any obvious modifications, replacements or variations made by those skilled in the art on the basis of the present invention belong to the protection scope of the present invention. Furthermore, although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.

Claims (10)

1. A detection circuit for voltage and current of a light source is characterized in that: the device comprises a light source controller (1), a light source (2) and a three-core wire (3);
the light source controller (1) is provided with a main control module (11), a parameter resistance identification module (12) and a light source driving module (13);
the parameter resistance recognition module (12) and the light source driving module (13) are electrically connected to the main control module (11);
the light source (2) comprises a parameter resistor (21) and an LED module (22), wherein the parameter resistor (21) is electrically connected with the LED module (22);
the three-core wire (3) is provided with an RES end, an LED + end and an LED-end;
one end of the parameter resistor (21) and the parameter resistor identification module (12) are both connected with the RES end;
the other end of the parameter resistor (21), the parameter resistor identification module (12), the light source driving module (13) and the LED module (22) are all connected with the LED + end;
the light source driving module (13) and the LED module (22) are both connected to the LED terminals.
2. The light source voltage current detection circuit according to claim 1, wherein:
the main control module (11) is provided with a control unit;
the parameter resistance identification module (12) and the light source driving module (13) are electrically connected to the control unit.
3. The light source voltage current detection circuit according to claim 2, wherein:
the parameter resistance identification module (12) comprises a resistance voltage detection module and a constant current source module;
the resistance voltage detection module is respectively and electrically connected with the control unit and the constant current source module;
one end of the parameter resistor (21), the resistor voltage detection module and the constant current source module are all connected with the RES end;
the other end of the parameter resistor (21) and the resistor voltage detection module are both connected with the LED + end.
4. The light source voltage current detection circuit according to claim 3, wherein:
the resistance voltage detection module is provided with a first differential amplification unit;
the first differential amplification unit is electrically connected to the control unit and the parameter resistor (21), respectively.
5. The light source voltage current detection circuit according to claim 2, wherein:
the light source driving module (13) comprises a voltage regulating module, a current regulating module and a light source voltage detecting module;
the voltage regulating module, the current regulating module and the light source voltage detecting module are all electrically connected to the control unit and the LED module (22).
6. The light source voltage current detection circuit according to claim 5, wherein:
the voltage adjusting module, the light source voltage detecting module and the LED module (22) are all connected with the LED + end;
the current regulation module, the light source voltage detection module and the LED module (22) are all connected with the LED-end.
7. The detection circuit for voltage and current of light source according to any one of claims 5 to 6, wherein:
the voltage regulating module is provided with a normal phase amplifying unit;
the positive phase amplification unit is respectively and electrically connected with the control unit and the LED module (22).
8. The detection circuit for voltage and current of light source according to any one of claims 5 to 6, wherein:
the current regulation module is provided with a negative feedback constant current circuit;
the control unit and the LED module (22) are respectively and electrically connected with the negative feedback constant current circuit.
9. The detection circuit for voltage and current of light source according to any one of claims 5 to 6, wherein:
the light source voltage detection module is provided with a second differential amplification unit;
the second differential amplifying unit is electrically connected to the control unit and the LED module (22), respectively.
10. The light source voltage current detection circuit according to claim 1, wherein: the resistance value of the parameter resistor (21) is 0.8-1.2K omega.
CN202023326941.4U 2020-12-31 2020-12-31 Detection circuit for voltage and current of light source Active CN214150842U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023326941.4U CN214150842U (en) 2020-12-31 2020-12-31 Detection circuit for voltage and current of light source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023326941.4U CN214150842U (en) 2020-12-31 2020-12-31 Detection circuit for voltage and current of light source

Publications (1)

Publication Number Publication Date
CN214150842U true CN214150842U (en) 2021-09-07

Family

ID=77545319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023326941.4U Active CN214150842U (en) 2020-12-31 2020-12-31 Detection circuit for voltage and current of light source

Country Status (1)

Country Link
CN (1) CN214150842U (en)

Similar Documents

Publication Publication Date Title
CN104184348B (en) Power supply system
WO2014180057A1 (en) Led backlight drive circuit, backlight module, and liquid crystal display apparatus
CN106558980B (en) A kind of enabled control circuit
CN214150842U (en) Detection circuit for voltage and current of light source
CN102404921B (en) Output current adjustable intelligent constant current power supply device
CN207586677U (en) Time switch
CN106658838A (en) Lighting device, control chip, linear dimming system and linear dimming method
WO2017197844A1 (en) Control chip for integrated system of photovoltaic inverter
CN111800906A (en) Control circuit and control method for detecting light source parameters
CN104080228B (en) The detection control circuit of light fixture electric parameter
CN112763786A (en) Detection circuit and detection method for voltage and current of light source
CN212628485U (en) Control circuit for detecting light source parameters
CN207965722U (en) The control circuit of PFC busbar voltages
CN202798460U (en) Paralleled current sharing line for voltage converter
CN207265909U (en) A kind of constant speed regulation circuit and the electric clothes airing machine including the circuit
CN204495394U (en) A kind of control circuit based on bionical atmosphere quality monitoring device
CN202818102U (en) Two-end-serial self-powered numerically-controlled high-power direct-current adjustable current stabilizer
CN208424217U (en) A kind of AC-AC conversion circuit and device
CN2214010Y (en) Gear-shifting protection type voltage-stabilized power supply
CN113357415A (en) Cut-off valve control circuit and device
CN112564050A (en) PFC undervoltage protection circuit and protection method
CN213987217U (en) Detection circuit, device and electrical equipment
CN212111730U (en) Active following voltage detection circuit
CN205901369U (en) Battery fills electrical safety controller
CN219999637U (en) Point light source control circuit and point light source system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant