CN109168230B - Using the LED drive dynamic control device and method of voltage pulse - Google Patents
Using the LED drive dynamic control device and method of voltage pulse Download PDFInfo
- Publication number
- CN109168230B CN109168230B CN201811366653.6A CN201811366653A CN109168230B CN 109168230 B CN109168230 B CN 109168230B CN 201811366653 A CN201811366653 A CN 201811366653A CN 109168230 B CN109168230 B CN 109168230B
- Authority
- CN
- China
- Prior art keywords
- voltage pulse
- voltage value
- circuit
- voltage
- pmos tube
- 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
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Electronic Switches (AREA)
Abstract
The invention discloses a kind of LED drive dynamic control device and method using voltage pulse, drive dynamic control device includes four single-chip microcontroller master control borad, reference circuit, comparison amplifier circuit and digital information parser circuitry parts.Data controlling signal is stored in single-chip microcontroller master control borad with voltage pulse pattern, it is output in reference circuit after connecting external power and obtains a reference voltage value and voltage pulse partial pressure and be input in comparison amplifier circuit to be compared, obtained output voltage pulse input parse simultaneously output driving LED light into digital information parser circuitry.Power supply signal and data controlling signal are combined into one by the present invention using voltage pulse, reduce the complexity of chip design, the complexity of periphery circuit design, and reduce the cost of laying out pattern design, are convenient for the later period integrated and cascade to use.
Description
Technical field
The invention belongs to electronic technology fields, further relate to one of technical field of electronic devices and use voltage arteries and veins
Light-emitting diode LED (the Light Emitting Diode) drive dynamic control device and method of punching.LED drive control of the invention
Circuit can be used in Digital Analog Hybrid Circuits design driving LED matrix.
Background technique
In decorative lighting LED drive control circuit, Digital Analog Hybrid Circuits design LED drive control circuit has widely
Using, such as by using digital control logic signal control LED light string etc..Power supply signal sum number in traditional LED drive circuit
Word control data-signal is respectively two-way input, and this Design of Drive and Control Circuit is simple, and power supply signal is directly provided by outside,
It is used alone as circuit power, and data controlling signal is used by parsing after external world's input into drive control circuit.
Patent document " driving chip, LED constant current drive control of the Bright Power Semiconductor Co., Ltd. in its application
One kind is disclosed in circuit and LED driving method " (application number: 201510893776.5 Authorization Notice No.: CN105430794 B)
Driving chip, LED drive control circuit and LED driving method.The LED drive control circuit of the patent document includes for generating
The voltage control module of VCC voltage;For generating a reference source relative to the reference voltage of the CS pin of the driving chip;
For exporting the sampling hold circuit of a constant voltage;For comparing the ratio of sampling hold circuit output and the source electrode of a metal-oxide-semiconductor
Compared with device;It drains for the control logic module of circuit control and the DRAIN pin for detecting driving chip and the metal-oxide-semiconductor
Zero crossing detection module, the circuit realize LED constant current drive control.But the shortcoming that the circuit still has is: the electricity
Circuit design is realized by independent voltage control module and circuit control logic module in road, so that circuit structure is more multiple
It is miscellaneous.The LED driving method of the patent document connects an external power supply, control logic module hair by the VCC pin of driving chip
Send Continuity signal to metal-oxide-semiconductor, control logic module sends cut-off signals to switching, so that metal-oxide-semiconductor is connected, switch is disconnected.It should
Shortcoming existing for method is that the control logic module for circuit control needs external input, Continuity signal and shutdown letter
It number is used separately, increases circuit design cost.
A kind of patent document " LED drive power circuit " (application of the Guangzhou Da Sen light limited liability company in its application
Number: 201511034938.6 Authorization Notice No.: CN105657891 B) in disclose a kind of LED drive power circuit.The patent
The LED drive power circuit of document mainly includes the power module being successively electrically connected with external communication, control module, drive module
And light emitting module, wherein power module provides direct-current working volts to control module, drive module and light emitting module.The invention
A kind of design scheme of LED drive power circuit is provided, the deficiency that agriculture illuminator light source is single at present is solved, passes through
LED constant current on driving circuit controls IC chip, realizes and is converted into constant pressure source to be suitble to the constant-current source of LED lamp bead, is able to extend
The service life of LED lamp bead, still, the shortcoming which still has are to also need independent power module and control
Molding block drives entire LED drive power circuit, so that circuit structure is complex.
Shenzhen City Haiyangwang Illumination Engineering Co., Ltd its application patent document " LED drive circuit " (application number:
201310076659.0 Authorization Notice No.: CN104053267 B) in disclose a kind of LED drive circuit.The patented technology is main
Including the power supply unit for exporting burning voltage;For set a delay time go forward side by side line delay control micro-control unit;
Relay;The switching circuit of the on-off of the relay is controlled for the output signal according to micro-control circuit;With the relay
Device and the bleeder circuit of said supply unit connection;With the LED load of the LED drive chip circuit connection.The invention passes through
After the delay time of the micro controller unit setting, although LED generates light decay, by by micro controller unit, relay
The control of device and switching circuit makes LED seem no light decay, realizes LED bad light, still, which still deposits
Shortcoming be to need independent power supply unit and micro controller unit so that circuit structure is complex.
Summary of the invention
It is an object of the invention to overcome above-mentioned the deficiencies in the prior art, a kind of LED driving using voltage pulse is provided
Control device and method.
The concrete thought for realizing the object of the invention is to use single-chip microcontroller master control borad that will control signal in a manner of voltage pulse
It is output in LED drive control circuit, can not only reduce and input all the way, but also circuit structure is simple.
The inventive system comprises reference circuit, comparison amplifier circuit, single-chip microcontroller master control borads, digital information parsing electricity
Road;The input of the single-chip microcontroller master control borad terminates external power, and output end is electric with the input terminal of reference circuit, comparison amplifier respectively
The input terminal connection of the first input end, digital information parser circuitry on road;The output end and comparison amplifier of the reference circuit
Second input terminal of circuit is connected;The input terminal phase of the output end of the comparison amplifier circuit and digital information parser circuitry
Even;Wherein,
The single-chip microcontroller master control borad, for constructing the voltage pulse being made of the voltage value of height two different amplitudes, and
Voltage pulse is output to reference circuit, comparison amplifier circuit, in digital information parser circuitry simultaneously;
The reference circuit, the voltage for the first output end and second output terminal by self-start circuit part are base
Quasi- circuit provides bias voltage, triggering reference circuit work, and reference circuit can satisfy input by the way that power supply rejection ratio is higher
Stable cascode structure amplifying circuit is exported when 3V and 5V power supply, by the voltage pulse output of input for one between partial pressure
Reference voltage value is input to comparison amplifier electricity by the stable reference voltage value of the comparison between voltage pulse after electric resistance partial pressure
Second input terminal on road;
The comparison amplifier circuit, the voltage pulse divider resistance for exporting single-chip microcontroller master control borad divide and are
Pulse voltage positioned at the reference voltage value two sides of reference circuit output, is input to the first input end of comparison amplifier circuit,
The reference voltage value of output is input to the second input terminal in comparison amplifier circuit by reference circuit, by comparing amplifying circuit
It is compared, if the voltage value of the second input terminal of comparison amplifier circuit is greater than the first input end of comparison amplifier circuit
Voltage value exports as the high-voltage value in voltage pulse, if the voltage value of the second input terminal of comparison amplifier circuit be less than than
It compared with the voltage value of the first input end of amplifier circuit, exports as digital ground potential, the output voltage pulse of comparison amplifier is
The voltage pulse that digital information parser circuitry can identify;
The digital information parser circuitry, for being input to digital letter for the voltage pulse of comparison amplifier circuit output
It ceases in parser circuitry, by the counter in digital information parser circuitry to high electricity in a voltage pulse periods time span
Pressure value and low voltage value are counted, and the number of high-voltage value is greater than the number of low voltage value in a voltage pulse periods,
Output is high-voltage value, and driving LED light is bright, and high-voltage value is counted in one cycle counts less than low voltage value, is exported as electricity
Source, driving LED light is gone out.
The specific steps of the method for the present invention include the following:
(1) voltage pulse is constructed:
(1a) forms voltage pulse with the voltage value of two different amplitudes of height, time span that high-voltage value is maintained and
The time span that low voltage value maintains forms a voltage pulse periods, and according to the following formula, single-chip microcontroller master control borad calculates high-voltage value
Duty ratio in a voltage pulse periods:
Wherein, q1Indicate duty ratio of the high-voltage value in a voltage pulse periods, τ indicates high-voltage value in voltage arteries and veins
The time span occupied in the period is rushed, T indicates the time span of voltage pulse periods.
(1b) uses 1-q1Value indicate duty ratio of the low voltage value in a voltage pulse periods.
Duty ratio of (1c) the single-chip microcontroller master control borad by high-voltage value in a voltage pulse periods is greater than low voltage value and exists
Voltage pulse when duty ratio in one voltage pulse periods is expressed as binary " 1 ", and single-chip microcontroller master control borad is by high voltage
It is worth duty ratio in a voltage pulse periods, electricity when less than duty ratio of the low voltage value in a voltage pulse periods
Pressure pulse is expressed as binary " 0 ".
(1d) single-chip microcontroller master control borad is by the voltage pulse being made of the voltage value of height two different amplitudes with binary
Mode is stored in the memory of single-chip microcontroller master control borad.
(2) output voltage pulse:
Single-chip microcontroller master control borad is accessed external power, single-chip microcontroller master control borad output voltage pulse by (2a), and voltage pulse starts base
Self-start circuit in quasi- circuit is that benchmark circuit mentions by the first output end of self-start circuit and the voltage of second output terminal
For bias voltage, trigger reference circuit and start to work, reference circuit by power supply rejection ratio it is higher can satisfy input 3V and
Voltage pulse output of the stable cascode structure amplifying circuit by input is exported when 5V power supply as one between divider resistance
The stable reference voltage value of the comparison between voltage pulse after partial pressure, is input to comparison amplifier circuit for reference voltage value
Second input terminal.
The voltage pulse divider resistance partial pressure that single-chip microcontroller master control borad exports is the base exported positioned at reference circuit by (2b)
The pulse voltage of quasi- voltage value two sides is input to the first input end of comparison amplifier circuit, the benchmark electricity of reference circuit output
Pressure value is input to the second input terminal in comparison amplifier circuit, is compared by comparing amplifying circuit, if comparison amplifier
The voltage value of second input terminal of circuit is greater than the voltage value of the first input end of comparison amplifier circuit, exports as voltage pulse
In high-voltage value, if the voltage value of the second input terminal of comparison amplifier circuit be less than comparison amplifier circuit first input
The voltage value at end exports as digital ground potential, and the output voltage pulse obtained at this time is that digital information parser circuitry can identify
Voltage pulse.
(3) voltage pulse is parsed:
The voltage pulse of comparison amplifier circuit output is input to digital information parser circuitry, is parsed by digital information
Counter in circuit counts high-voltage value and low voltage value in a voltage pulse periods time span, at one
The number of high-voltage value is greater than the number of low voltage value in voltage pulse periods, exports as high-voltage value, drives LED light bright,
High-voltage value, which counts, in a cycle is less than low voltage value and counts, and exports as power ground, LED light is driven to go out.
Compared with prior art, the present invention has the advantage that
First, it is stored since the device of the invention uses single-chip microcontroller master control borad that will control information with voltage pulse pattern, and
Voltage pulse is input to reference circuit, comparison amplifier circuit simultaneously, in digital information parser circuitry, relative to other chips
Design overcomes control data in the prior art and needs other mould The present invention reduces the circuit device of control data input
Block inputs more complicated disadvantage, so that LED drive control circuit of the invention can reduce answering for design in a chip design
Miscellaneous degree.
Second, since method of the invention shares an input port using control data and supply voltage, pass through monolithic
Machine master control borad is directly inputted to data are controlled in LED drive control circuit in a manner of voltage pulse, while can be by right
The editor of voltage pulse improves the change realized to control data, realizes and directly inputs driving LED by an input port
Drive control circuit overcomes and needs other control module to carry out edit and storage to control data in the prior art and be input to
In LED drive control circuit, lead to the disadvantage that circuit design method is more complicated, so that of the invention using voltage pulse
LED drive control method more succinctly facilitates.
Detailed description of the invention
Fig. 1 is the LED drive dynamic control device block diagram that the present invention uses voltage pulse;
Fig. 2 is the electrical schematic diagram of reference circuit of the present invention;
Fig. 3 is the electrical schematic diagram of comparison amplifier circuit of the present invention;
Fig. 4 is voltage pulse schematic diagram in each module in the embodiment of the present invention.
Specific embodiment
The present invention is described further with reference to the accompanying drawings and examples.
Referring to attached drawing 1, the device of the invention is further described.
The inventive system comprises reference circuits, comparison amplifier circuit, further include single-chip microcontroller master control borad, digital information solution
Analyse circuit;The input of the single-chip microcontroller master control borad terminates external power, output end respectively with the input terminal of reference circuit, compared with amplify
The input terminal connection of the first input end, digital information parser circuitry of device circuit;The output end of the reference circuit is put compared with
Second input terminal of big device circuit is connected;The output end of the comparison amplifier circuit and the input terminal of digital information parser circuitry
It is connected.Wherein:
The single-chip microcontroller master control borad, for constructing the voltage pulse being made of the voltage value of height two different amplitudes, and
Voltage pulse is output to reference circuit, comparison amplifier circuit, in digital information parser circuitry simultaneously.
The reference circuit, the voltage for the first output end and second output terminal by self-start circuit part are base
Quasi- circuit provides bias voltage, triggering reference circuit work, and reference circuit can satisfy input by the way that power supply rejection ratio is higher
Stable cascode structure amplifying circuit is exported when 3V and 5V power supply, by the voltage pulse output of input for one between partial pressure
Reference voltage value is input to comparison amplifier electricity by the stable reference voltage value of the comparison between voltage pulse after electric resistance partial pressure
Second input terminal on road.
The comparison amplifier circuit, the voltage pulse divider resistance for exporting single-chip microcontroller master control borad divide and are
Pulse voltage positioned at the reference voltage value two sides of reference circuit output, is input to the first input end of comparison amplifier circuit,
The reference voltage value of output is input to the second input terminal in comparison amplifier circuit by reference circuit, by comparing amplifying circuit
It is compared, if the voltage value of the second input terminal of comparison amplifier circuit is greater than the first input end of comparison amplifier circuit
Voltage value exports as the high-voltage value in voltage pulse, if the voltage value of the second input terminal of comparison amplifier circuit be less than than
It compared with the voltage value of the first input end of amplifier circuit, exports as digital ground potential, the output voltage pulse of comparison amplifier is
The voltage pulse that digital information parser circuitry can identify.
The digital information parser circuitry, for being input to digital letter for the voltage pulse of comparison amplifier circuit output
It ceases in parser circuitry, by the counter in digital information parser circuitry to high electricity in a voltage pulse periods time span
Pressure value and low voltage value are counted, and the number of high-voltage value is greater than the number of low voltage value in a voltage pulse periods,
Output is high-voltage value, and driving LED light is bright, and high-voltage value is counted in one cycle counts less than low voltage value, is exported as electricity
Source, driving LED light is gone out.
With reference to attached drawing 2, reference circuit of the invention is further described.
Reference circuit includes self-start circuit part and reference circuit part, including nine PMOS tube, seven NMOS tubes, three
A divider resistance, five PNP bipolar junction transistors and a self-start circuit;Wherein, the source electrode and list of first PMOS tube M1
The output end of piece machine master control borad is connected, the grid of first PMOS tube M1 respectively with the drain electrode of second PMOS tube M2, first
The drain electrode of NMOS tube M3, the first output end of self-start circuit, the grid of third PMOS tube M5, the 6th PMOS tube M12
The grid connection of grid, the 8th PMOS tube M15, the drain electrode of first PMOS tube M1 and the source electrode phase of second PMOS tube M2
Even;The grid of second PMOS tube M2 respectively with the grid of the 4th PMOS tube M6, the grid of the 5th PMOS tube M9, the 5th
The drain electrode of PMOS tube M9, the drain electrode of the 5th NMOS tube M10, the grid of the 7th PMOS tube M13, the 9th PMOS tube M16
The second output terminal connection of grid, self-start circuit;The grid of first NMOS tube M3 grid with third NMOS tube M7 respectively
Pole, the grid of the 5th NMOS tube M10, the grid of the 7th NMOS tube M14, the drain electrode of the 7th NMOS tube M14, the 7th
The drain electrode of PMOS tube M13 connects, and the source electrode of first NMOS tube M3 is connected with the drain electrode of second NMOS tube M4;Second NMOS
The leakage with the grid of the 4th NMOS tube M8, the grid, third NMOS tube M7 of the 6th NMOS tube M11 respectively of the grid of pipe M4
The drain electrode of pole, the 4th PMOS tube M6 connects, and the source electrode of second NMOS tube M4 is connected with one end of first divider resistance R1;
The other end of first divider resistance R1 is connected with the emitter of first PNP double pole triode Q1;First PNP is ambipolar
The collector of the base stage of triode Q1 and first PNP double pole triode Q1 are connect with power ground respectively;Third PMOS tube
The source electrode of M5 is connected with the output end of single-chip microcontroller master control borad, the drain electrode of third PMOS tube M5 and the source electrode of the 4th PMOS tube M6
It is connected;The source electrode of third NMOS tube M7 is connected with the drain electrode of the 4th NMOS tube M8;The source electrode and of 4th NMOS tube M8
The emitter of two PNP double pole triode Q2 is connected;The base stage of second PNP double pole triode Q2 and second PNP are bis-
The collector of polar form triode Q2 is connect with power ground respectively;The output of the source electrode and single-chip microcontroller master control borad of 5th PMOS tube M9
End is connected;The source electrode of 5th NMOS tube M10 is connected with the drain electrode of the 6th NMOS tube M11;The source electrode of 6th NMOS tube M11
It is connected with the emitter of third PNP double pole triode Q3;The base stage and third of third PNP double pole triode Q3
The collector of PNP double pole triode Q3 is connect with power ground respectively;The source electrode and single-chip microcontroller master control borad of 6th PMOS tube M12
Output end be connected, the drain electrode of the 6th PMOS tube M12 is connected with the source electrode of the 7th PMOS tube M13;7th NMOS tube M14
Source electrode be connected with the emitter of the 4th PNP double pole triode Q4;The base stage and of 4th PNP double pole triode Q4
The collector of four PNP double pole triode Q4 is connect with power ground respectively;The source electrode of 8th PMOS tube M15 and monolithic owner
The output end for controlling plate is connected, and the drain electrode of the 8th PMOS tube M15 is connected with the source electrode of the 9th PMOS tube M16;9th PMOS
The drain electrode of pipe M16 is connect with one end of one end of second divider resistance R2, third divider resistance R3 respectively;Second partial pressure
The other end of resistance R2 is connected with the emitter of the 5th PNP double pole triode Q5;5th PNP double pole triode Q5's
The collector of base stage and the 5th PNP double pole triode Q5 are connect with power ground respectively;Third divider resistance R3's is another
End is connect with the grid of second NMOS tube M20 in one end of capacitor C, comparison amplifier circuit respectively;The other end of capacitor C with
Power ground connection.
With reference to attached drawing 3, comparison amplifier circuit of the invention is further described.
Comparison amplifier circuit includes three divider resistances, three PMOS tube, four NMOS tubes and a NOT gate;Wherein,
One end of first divider resistance R4 is connected with the output end of single-chip microcontroller master control borad, the other end and of first divider resistance R4
One end of two divider resistance R5 is connected;The other end of second divider resistance R5 respectively with third divider resistance R6 one
It holds, the grid of first NMOS tube M18 connects;The other end of third divider resistance R6 is connected with power ground;First PMOS
The source electrode of pipe M17 is connected with the output end of single-chip microcontroller master control borad, and the grid of first PMOS tube M17 drains with it respectively, second
The drain electrode of the grid of a PMOS tube M19, first NMOS tube M18 connects;The source electrode of first NMOS tube M18 respectively with second
The drain electrode connection of the source electrode, third NMOS tube M21 of NMOS tube M20;The source electrode and single-chip microcontroller master control borad of second PMOS tube M19
Output end be connected, the drain electrode of second PMOS tube M19 respectively with the drain electrode of second NOMS pipe M20, third PMOS tube M22
Grid connection;The grid of the second NMOS tube M20 other end, the capacitor with third divider resistance R3 in reference circuit respectively
One end of C connects;The grid of third NMOS tube M21 is connected with the grid of the 4th NMOS tube M23, third NMOS tube M21
Source electrode be connected with power ground;The source electrode of third PMOS tube M22 is connected with the output end of single-chip microcontroller master control borad, third PMOS
The drain electrode of the pipe M22 drain electrode of the 4th NMOS tube M23, the input terminal connection of NOT gate INV respectively;The source of 4th NMOS tube M23
Pole is connected with power ground;The output end of NOT gate INV is connected with the input terminal of digital information parser circuitry.
The specific steps of the method for the present invention are further described below.
Step 1, voltage pulse is constructed.
Voltage pulse is formed with the voltage value of height two different amplitudes, the time span that high-voltage value is maintained and low electricity
The time span that pressure value maintains forms a voltage pulse periods, according to the following formula, calculates high-voltage value a voltage pulse week
Duty ratio in phase:
Wherein, q1Indicate duty ratio of the high-voltage value in a voltage pulse periods, τ indicates high-voltage value in voltage arteries and veins
The time span occupied in the period is rushed, T indicates the time span of voltage pulse periods.
Use 1-q1Value indicate duty ratio of the low voltage value in a voltage pulse periods.
By duty ratio of the high-voltage value in a voltage pulse periods, it is greater than low voltage value in a voltage pulse periods
Voltage pulse when interior duty ratio is expressed as binary " 1 ", by duty of the high-voltage value in a voltage pulse periods
Than voltage pulse when less than duty ratio of the low voltage value in a voltage pulse periods is expressed as binary " 0 ".
By the voltage pulse being made of the voltage value of height two different amplitudes in a manner of binary, it is stored in single-chip microcontroller
In the memory of master control borad.
Step 2, output voltage pulse.
Single-chip microcontroller master control borad is accessed into external power, single-chip microcontroller master control borad output voltage pulse, voltage pulse is by reference circuit
In self-start circuit open, provided by the first output end of self-start circuit and the voltage of second output terminal for benchmark circuit
Bias voltage, triggering reference circuit are started to work, and reference circuit can satisfy input 3V and 5V by the way that power supply rejection ratio is higher
Voltage pulse output of the stable cascode structure amplifying circuit by input is exported when power supply as one between divider resistance point
Reference voltage value is input to the of comparison amplifier circuit by the stable reference voltage value of the comparison between voltage pulse after pressure
Two input terminals.
It is the benchmark electricity exported positioned at reference circuit by the voltage pulse divider resistance partial pressure that single-chip microcontroller master control borad exports
The pulse voltage of pressure value two sides is input to the first input end of comparison amplifier circuit, the reference voltage value of reference circuit output
The second input terminal being input in comparison amplifier circuit, is compared by comparing amplifying circuit, if comparison amplifier circuit
The second input terminal voltage value be greater than comparison amplifier circuit first input end voltage value, export as in voltage pulse
High-voltage value, if the voltage value of the second input terminal of comparison amplifier circuit is less than the first input end of comparison amplifier circuit
Voltage value exports as digital ground potential, and the output voltage pulse obtained at this time is the electricity that digital information parser circuitry can identify
Press pulse.
Step 3, voltage pulse is parsed.
The voltage pulse of comparison amplifier circuit output is input to digital information parser circuitry, is parsed by digital information
Counter in circuit counts high-voltage value and low voltage value in a voltage pulse periods time span, at one
The number of high-voltage value is greater than the number of low voltage value in voltage pulse periods, exports as high-voltage value, drives LED light bright,
High-voltage value, which counts, in a cycle is less than low voltage value and counts, and exports as power ground, LED light is driven to go out.
Referring to attached drawing 4, effect of the invention is further described by embodiment.
Fig. 4 (a) is the voltage pulse schematic diagram exported in single-chip microcontroller master control borad in the embodiment of the present invention.Of the invention is specific
The a length of 10us of voltage pulse periods is taken in embodiment, wherein 5V voltage value duty ratio is 60%, i.e. 6us, 3V voltage value duty ratio
It is 40%, is i.e. when 4us, is expressed as " 1 ", 5V voltage value duty ratio is 40%, i.e. 4us, and 3V voltage value duty ratio is 60%, i.e.,
It when 6us, is expressed as " 0 ", reference circuit, comparison amplifier circuit and digital information parsing are output to from single-chip microcontroller master control borad
In circuit.
Fig. 4 (b) is that voltage pulse is input to the signal in reference circuit and comparison amplifier circuit in the embodiment of the present invention
Scheme, the dotted line in Fig. 4 (b) indicates that the voltage curve that voltage pulse exports after reference circuit, solid line indicate voltage pulse warp
Cross the voltage curve exported after electric resistance partial pressure.
Fig. 4 (c) is that the voltage that voltage pulse exports after reference circuit in the embodiment of the present invention and voltage pulse pass through
The voltage pulse exported after electric resistance partial pressure is input to voltage pulse schematic diagram in comparison amplifier circuit.
Fig. 4 (d) is that the voltage pulse of comparison amplifier circuit output in the embodiment of the present invention is input to digital information parsing
The signal schematic representation exported in circuit, wherein " 1 " i.e. 5V high voltage drive LED light is bright, and " 0 " i.e. power ground driving LED light is gone out.
Claims (4)
1. a kind of Light-emitting diode LED drive dynamic control device using voltage pulse, including reference circuit, comparison amplifier electricity
Road, which is characterized in that further include single-chip microcontroller master control borad, digital information parser circuitry;The input of the single-chip microcontroller master control borad terminates
External power, output end are electric with the input terminal of reference circuit, the first input end of comparison amplifier circuit, digital information parsing respectively
The input terminal on road connects;The output end of the reference circuit is connected with the second input terminal of comparison amplifier circuit;The comparison
The output end of amplifier circuit is connected with the input terminal of digital information parser circuitry;Wherein:
The single-chip microcontroller master control borad, for constructing the voltage pulse being made of the voltage value of height two different amplitudes, and simultaneously
Voltage pulse is output to reference circuit, comparison amplifier circuit, in digital information parser circuitry;
The reference circuit, for passing through electricity on the basis of the first output end of self-start circuit part and the voltage of second output terminal
Road provide bias voltage, triggering reference circuit work, reference circuit by power supply rejection ratio it is higher can satisfy input 3V and
Stable cascode structure amplifying circuit is exported when 5V power supply, by the voltage pulse output of input for one between divider resistance
The stable reference voltage value of the comparison between voltage pulse after partial pressure, is input to comparison amplifier circuit for reference voltage value
Second input terminal;
The comparison amplifier circuit, the voltage pulse divider resistance for exporting single-chip microcontroller master control borad, divide for positioned at
The pulse voltage of the reference voltage value two sides of reference circuit output, is input to the first input end of comparison amplifier circuit, benchmark
The reference voltage value of output is input to the second input terminal in comparison amplifier circuit by circuit, is carried out by comparing amplifying circuit
Compare, if the voltage value of the second input terminal of comparison amplifier circuit is greater than the voltage of the first input end of comparison amplifier circuit
Value exports as the high-voltage value in voltage pulse, puts if the voltage value of the second input terminal of comparison amplifier circuit is less than to compare
The voltage value of the first input end of big device circuit exports as digital ground potential, and the output voltage pulse of comparison amplifier is number
The voltage pulse that information parser circuitry can identify;
The digital information parser circuitry, for being input to digital information solution for the voltage pulse of comparison amplifier circuit output
It analyses in circuit, by the counter in digital information parser circuitry to high-voltage value in a voltage pulse periods time span
It is counted with low voltage value, the number of high-voltage value is greater than the number of low voltage value, output in a voltage pulse periods
For high-voltage value, drive LED light bright, high-voltage value, which counts, in one cycle is less than low voltage value and counts, it exports as power ground,
Driving LED light is gone out.
2. the Light-emitting diode LED drive dynamic control device according to claim 1 using voltage pulse, which is characterized in that
The reference circuit includes nine PMOS tube, seven NMOS tubes, three divider resistances, five PNP bipolar junction transistors and one
A self-start circuit;Wherein, the source electrode of first PMOS tube M1 is connected with the output end of single-chip microcontroller master control borad, first PMOS tube
The grid of M1 respectively with the drain electrode of second PMOS tube M2, the drain electrode of first NMOS tube M3, the first output of self-start circuit
The grid connection at end, the grid of third PMOS tube M5, the grid of the 6th PMOS tube M12, the 8th PMOS tube M15, first
The drain electrode of a PMOS tube M1 is connected with the source electrode of second PMOS tube M2;The grid of second PMOS tube M2 respectively with the 4th
The grid of PMOS tube M6, the grid of the 5th PMOS tube M9, the drain electrode of the 5th PMOS tube M9, the leakage of the 5th NMOS tube M10
Pole, the grid of the 7th PMOS tube M13, the 9th PMOS tube M16 grid, self-start circuit second output terminal connection;The
The grid of one NMOS tube M3 grid, the 7th NMOS with the grid of third NMOS tube M7, the 5th NMOS tube M10 respectively
The grid of pipe M14, the drain electrode of the 7th NMOS tube M14, the drain electrode connection of the 7th PMOS tube M13, first NMOS tube M3's
Source electrode is connected with the drain electrode of second NMOS tube M4;The grid of second NMOS tube M4 grid with the 4th NMOS tube M8 respectively
The drain electrode of grid, third NMOS tube M7, the drain electrode of the 4th PMOS tube M6 of pole, the 6th NMOS tube M11 connect, and second
The source electrode of NMOS tube M4 is connected with one end of first divider resistance R1;The other end of first divider resistance R1 and first
The emitter of PNP double pole triode Q1 is connected;The base stage of first PNP double pole triode Q1 and first PNP are ambipolar
The collector of triode Q1 is connect with power ground respectively;The output end phase of the source electrode of third PMOS tube M5 and single-chip microcontroller master control borad
Even, the drain electrode of third PMOS tube M5 is connected with the source electrode of the 4th PMOS tube M6;The source electrode and the 4th of third NMOS tube M7
The drain electrode of a NMOS tube M8 is connected;The emitter phase of the source electrode of 4th NMOS tube M8 and second PNP double pole triode Q2
Even;The collector of the base stage of second PNP double pole triode Q2 and second PNP double pole triode Q2 respectively with power ground
Connection;The source electrode of 5th PMOS tube M9 is connected with the output end of single-chip microcontroller master control borad;The source electrode and of 5th NMOS tube M10
The drain electrode of six NMOS tube M11 is connected;The transmitting of the source electrode and third PNP double pole triode Q3 of 6th NMOS tube M11
Extremely it is connected;The collector of the base stage of third PNP double pole triode Q3 and third PNP double pole triode Q3 respectively with electricity
Connect to source;The source electrode of 6th PMOS tube M12 is connected with the output end of single-chip microcontroller master control borad, the leakage of the 6th PMOS tube M12
Pole is connected with the source electrode of the 7th PMOS tube M13;The source electrode and the 4th PNP double pole triode Q4 of 7th NMOS tube M14
Emitter be connected;The base stage of 4th PNP double pole triode Q4 and the collector point of the 4th PNP double pole triode Q4
It is not connect with power ground;The source electrode of 8th PMOS tube M15 is connected with the output end of single-chip microcontroller master control borad, the 8th PMOS tube
The drain electrode of M15 is connected with the source electrode of the 9th PMOS tube M16;The drain electrode of 9th PMOS tube M16 is electric with second partial pressure respectively
Hinder one end of R2, one end connection of third divider resistance R3;The other end of second divider resistance R2 and the 5th PNP are bipolar
The emitter of type triode Q5 is connected;The base stage and the 5th PNP double pole triode Q5 of 5th PNP double pole triode Q5
Collector connect respectively with power ground;The other end of third divider resistance R3 respectively with one end of capacitor C, comparison amplifier
The grid connection of second NMOS tube M20 in circuit;The other end of capacitor C is connect with power ground.
3. the Light-emitting diode LED drive dynamic control device according to claim 1 using voltage pulse, which is characterized in that
The comparison amplifier circuit includes three divider resistances, three PMOS tube, four NMOS tubes and a NOT gate;Wherein,
One end of one divider resistance R4 is connected with the output end of single-chip microcontroller master control borad, the other end and second of first divider resistance R4
One end of a divider resistance R5 is connected;The other end of second divider resistance R5 respectively with one end of third divider resistance R6,
The grid connection of first NMOS tube M18;The other end of third divider resistance R6 is connected with power ground;First PMOS tube
The source electrode of M17 is connected with the output end of single-chip microcontroller master control borad, and the grid of first PMOS tube M17 drains with it respectively, second
The drain electrode of the grid of PMOS tube M19, first NMOS tube M18 connects;The source electrode of first NMOS tube M18 respectively with second
The drain electrode connection of the source electrode, third NMOS tube M21 of NMOS tube M20;The source electrode and single-chip microcontroller master control borad of second PMOS tube M19
Output end be connected, the drain electrode of second PMOS tube M19 respectively with the drain electrode of second NOMS pipe M20, third PMOS tube M22
Grid connection;The grid of the second NMOS tube M20 other end, the capacitor with third divider resistance R3 in reference circuit respectively
One end of C connects;The grid of third NMOS tube M21 is connected with the grid of the 4th NMOS tube M23, third NMOS tube M21
Source electrode be connected with power ground;The source electrode of third PMOS tube M22 is connected with the output end of single-chip microcontroller master control borad, third PMOS
The drain electrode of the pipe M22 drain electrode of the 4th NMOS tube M23, the input terminal connection of NOT gate INV respectively;The source of 4th NMOS tube M23
Pole is connected with power ground;The output end of NOT gate INV is connected with the input terminal of digital information parser circuitry.
4. a kind of Light-emitting diode LED drive control method using voltage pulse, which is characterized in that utilize single-chip microcontroller master control borad
Control data are output in LED drive control circuit with voltage pulse pattern;The specific steps of this method include the following:
(1) voltage pulse is constructed:
(1a) forms voltage pulse with the voltage value of height two different amplitudes, the time span that high-voltage value is maintained and low electricity
The time span that pressure value maintains forms a voltage pulse periods, and according to the following formula, single-chip microcontroller master control borad calculates high-voltage value one
Duty ratio in a voltage pulse periods:
Wherein, q1Indicate duty ratio of the high-voltage value in a voltage pulse periods, τ indicates high-voltage value in voltage pulse week
The time span occupied in phase, T indicate the time span of voltage pulse periods;
(1b) uses 1-q1Value indicate duty ratio of the low voltage value in a voltage pulse periods;
Duty ratio of (1c) the single-chip microcontroller master control borad by high-voltage value in a voltage pulse periods is greater than low voltage value at one
Voltage pulse when duty ratio in voltage pulse periods is expressed as binary " 1 ", and single-chip microcontroller master control borad exists high-voltage value
Duty ratio in one voltage pulse periods, voltage arteries and veins when less than duty ratio of the low voltage value in a voltage pulse periods
Punching is expressed as binary " 0 ";
(1d) single-chip microcontroller master control borad by the voltage pulse being made of the voltage value of two different amplitudes of height in a manner of binary,
It is stored in the memory of single-chip microcontroller master control borad;
(2) output voltage pulse:
Single-chip microcontroller master control borad is accessed external power, single-chip microcontroller master control borad output voltage pulse by (2a), and voltage pulse starts benchmark electricity
Self-start circuit in road is provided partially by the first output end of self-start circuit and the voltage of second output terminal for benchmark circuit
Voltage is set, triggering reference circuit is started to work, and reference circuit can satisfy input 3V and 5V electricity by the way that power supply rejection ratio is higher
Stable cascode structure amplifying circuit is exported when source to divide the voltage pulse output of input between divider resistance for one
The stable reference voltage value of the comparison between voltage pulse afterwards, is input to the second of comparison amplifier circuit for reference voltage value
Input terminal;
The voltage pulse divider resistance that (2b) exports single-chip microcontroller master control borad divides the benchmark electricity to export positioned at reference circuit
The pulse voltage of pressure value two sides, is input to the first input end of comparison amplifier circuit, and reference circuit is by the reference voltage of output
Value is input to the second input terminal in comparison amplifier circuit, is compared by comparing amplifying circuit, if comparison amplifier is electric
The voltage value of second input terminal on road is greater than the voltage value of the first input end of comparison amplifier circuit, exports as in voltage pulse
High-voltage value, if the voltage value of the second input terminal of comparison amplifier circuit be less than comparison amplifier circuit first input end
Voltage value, export as digital ground potential, the output voltage pulse of comparison amplifier is that digital information parser circuitry can identify
Voltage pulse;
(3) voltage pulse is parsed:
The voltage pulse of comparison amplifier circuit output is input to digital information parser circuitry, passes through digital information parser circuitry
In counter high-voltage value and low voltage value are counted in a voltage pulse periods time span, in a voltage
The number of high-voltage value is greater than the number of low voltage value in pulse period, exports as high-voltage value, drives LED light bright, at one
High-voltage value, which counts, in period is less than low voltage value and counts, and exports as power ground, LED light is driven to go out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811366653.6A CN109168230B (en) | 2018-11-16 | 2018-11-16 | Using the LED drive dynamic control device and method of voltage pulse |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811366653.6A CN109168230B (en) | 2018-11-16 | 2018-11-16 | Using the LED drive dynamic control device and method of voltage pulse |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109168230A CN109168230A (en) | 2019-01-08 |
CN109168230B true CN109168230B (en) | 2019-10-08 |
Family
ID=64875937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811366653.6A Active CN109168230B (en) | 2018-11-16 | 2018-11-16 | Using the LED drive dynamic control device and method of voltage pulse |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109168230B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112526581A (en) * | 2020-11-26 | 2021-03-19 | 重庆邮电大学 | Time discriminator suitable for radiation detection front-end reading circuit |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008295237A (en) * | 2007-05-25 | 2008-12-04 | Nec Electronics Corp | Switching pulse formation circuit and regulator using same |
CN201523469U (en) * | 2009-11-07 | 2010-07-07 | 桂林电子科技大学 | Intelligent light-emitting diode pulse drive circuit |
US9553501B2 (en) * | 2010-12-08 | 2017-01-24 | On-Bright Electronics (Shanghai) Co., Ltd. | System and method providing over current protection based on duty cycle information for power converter |
JP5616768B2 (en) * | 2010-12-08 | 2014-10-29 | ローム株式会社 | LIGHT EMITTING ELEMENT DRIVE CIRCUIT, LIGHT EMITTING DEVICE USING THE SAME, AND ELECTRONIC DEVICE |
CN107017795B (en) * | 2017-03-31 | 2019-04-30 | 德力西(杭州)变频器有限公司 | Pulse-generator circuit and its control method |
-
2018
- 2018-11-16 CN CN201811366653.6A patent/CN109168230B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109168230A (en) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055737A (en) | A kind of boost DC-DC constant current driver circuit for LED | |
CN102149235B (en) | PWM (pulse-width modulation) duty ratio adjusting and LED (light-emitting diode) indicating circuit | |
CN202014395U (en) | Multichannel PWM (pulse-width modulation) driving chip LED (light-emitting diode) lamp driving time-sharing multiplex structure | |
CN109168230B (en) | Using the LED drive dynamic control device and method of voltage pulse | |
CN203313488U (en) | Backlight driving circuit and lamp bar light-adjusting unit | |
CN204498094U (en) | The modulating pulse drive circuit of Connectors for Active Phased Array Radar T/R assembly | |
CN104936361B (en) | A kind of totally digitilized LED illumination light source driving control system and technical scheme | |
CN110392461A (en) | Controller, light source driving circuit and the method for controlling light source module | |
CN112822816A (en) | LED lamp string driving control system | |
CN109302777B (en) | LED dimming device and dimming system | |
CN203289699U (en) | LED (light-emitting diode) high-power drive circuit | |
CN210578247U (en) | Protection circuit and device | |
CN207884937U (en) | A kind of boost DC-DC constant current driver circuit for LED | |
CN204425733U (en) | For the supply power voltage regulating system of LED linear constant current circuit | |
CN208241944U (en) | A kind of double-colored temperature of digital-control type is without stroboscopic eye-protecting desk lamp | |
CN210042297U (en) | Lighting circuit | |
CN103068127A (en) | Light-emitting diode (LED) lamp and bicolor LED adjustable light circuit | |
CN207114748U (en) | A kind of narrow spaces high-frequency modulator | |
CN214675777U (en) | Automobile running water lamp based on operational amplifier | |
TW201528874A (en) | Control circuit and control method for light-emitting diode module, and light-emitting diode device | |
CN204859676U (en) | LED drive arrangement | |
CN220402001U (en) | LED drive control circuit capable of adjusting color temperature and sharing 2 lines and 3 lines | |
CN216449021U (en) | Switching value input/output switching circuit of instrument | |
CN219305074U (en) | Dimming circuit of LED lamp | |
CN213907005U (en) | LED lamp with dimming and color temperature adjusting functions |
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 |