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
- circuit
- voltage
- voltage value
- electrode
- voltage pulse
- 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
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000004458 analytical method Methods 0.000 claims description 38
- 239000003990 capacitor Substances 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 239000004065 semiconductor Substances 0.000 description 6
- 229910044991 metal oxide Inorganic materials 0.000 description 5
- 150000004706 metal oxides Chemical class 0.000 description 5
- 230000007547 defect Effects 0.000 description 4
- 230000003321 amplification Effects 0.000 description 2
- 239000011324 bead Substances 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 108010038132 serratiopeptidase Proteins 0.000 description 1
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 the technical field of electronics, and further relates to a Light Emitting Diode (LED) driving control device and method adopting voltage pulse in the technical field of electronic devices. The LED drive control circuit can be used for driving an LED device in the design of a digital-analog mixed circuit.
Background
In the LED driving control circuit for decorative lighting, the LED driving control circuit with digital-analog hybrid circuit design has wide application, for example, by using digital control logic signal to control LED string. The power supply signal and the digital control data signal in the traditional LED drive circuit are respectively input in two ways, the drive control circuit is simple in design, the power supply signal is directly provided from the outside and is independently used as a circuit power supply, and the data control signal is input from the outside and then is analyzed and used in the drive control circuit.
The patent document "driver chip, LED constant current driving control circuit and LED driving method" (application number: 201510893776.5 grant publication number: CN 105430794B) applied by shanghai crystal fengyin semiconductor limited discloses a driver chip, an LED driving control circuit and an LED driving method. The LED driving control circuit of this patent document includes a voltage control module for generating a VCC voltage; the reference source is used for generating a reference voltage relative to a CS pin of the driving chip; a sample-and-hold circuit for outputting a constant voltage; the comparator is used for comparing the output of the sampling and holding circuit with the source electrode of a MOS tube; the circuit comprises a control logic module for circuit control and a zero-crossing detection module for detecting a DRAIN pin of a driving chip and a DRAIN electrode of the MOS tube, and the circuit realizes LED constant-current driving control. But the circuit still has the following defects: the circuit design is realized through the independent voltage control module and the circuit control logic module, so that the circuit structure is more complex. According to the LED driving method disclosed by the patent document, a VCC pin of a driving chip is connected with an external power supply, a control logic module sends a conducting signal to an MOS (metal oxide semiconductor) tube, and a control logic module sends a turn-off signal to a switch, so that the MOS tube is conducted, and the switch is disconnected. The method has the disadvantages that the control logic module for circuit control needs external input, and the conducting signal and the switching-off signal are separately used, so that the design cost of the circuit is increased.
An LED driving power supply circuit is disclosed in "an LED driving power supply circuit" of patent document filed by dasen light, guangzhou (application number: 201511034938.6 grant publication number: CN 105657891B). The LED driving power circuit of this patent document mainly includes a power module, a control module, a driving module, and a light emitting module that are sequentially connected to an external ac power, wherein the power module supplies a dc operating voltage to the control module, the driving module, and the light emitting module. The invention provides a design scheme of an LED driving power circuit, which solves the defect that the light source of the existing agricultural lighting lamp is single, and realizes the conversion of a constant voltage source into a constant current source suitable for an LED lamp bead by an LED constant current control IC chip on a driving circuit, so that the service life of the LED lamp bead can be prolonged.
Shenzhen oceangwang lighting engineering Limited discloses an LED drive circuit in the patent document 'LED drive circuit' (application number: 201310076659.0 grant publication number: CN 104053267B) applied by Shenzhen. The patent technology mainly comprises a power supply unit for outputting stable voltage; the micro control unit is used for setting a delay time and performing delay control; a relay; the switch circuit is used for controlling the on-off of the relay according to the output signal of the micro-control circuit; the voltage division circuit is connected with the relay and the power supply unit; and the LED load is connected with the LED driving chip circuit. Although the LED generates light attenuation after the delay time set by the microcontroller unit, the LED looks like no light attenuation through the control of the microcontroller unit, the relay and the switch circuit, and the LED realizes no light attenuation.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned deficiencies of the prior art and to provide a device and a method for controlling LED driving using voltage pulses.
The specific idea for realizing the purpose of the invention is that the control signal is output to the LED drive control circuit by adopting the singlechip main control board in a voltage pulse mode, so that one path of input can be reduced, and the circuit structure is simple.
The device comprises a reference circuit, a comparison amplifier circuit, a singlechip main control board and a digital information analysis circuit; the input end of the singlechip main control board is connected with an external power supply, and the output end of the singlechip main control board is respectively connected with the input end of the reference circuit, the first input end of the comparison amplifier circuit and the input end of the digital information analysis circuit; the output end of the reference circuit is connected with the second input end of the comparison amplifier circuit; the output end of the comparison amplifier circuit is connected with the input end of the digital information analysis circuit; wherein,
the singlechip main control board is used for constructing a voltage pulse consisting of two voltage values with different amplitudes, and outputting the voltage pulse to the reference circuit, the comparison amplifier circuit and the digital information analysis circuit;
the reference circuit is used for providing bias voltage for the reference circuit through the voltages of a first output end and a second output end of the self-starting circuit part and triggering the reference circuit to work, the reference circuit can output a stable cascode structure amplifying circuit when a 3V power supply and a 5V power supply are input through high power supply rejection ratio, the input voltage pulse is output to be a stable reference voltage value between the voltage pulses after voltage division of the divider resistor, and the reference voltage value is input to a second input end of the comparison amplifier circuit;
the comparison amplifier circuit is used for dividing the voltage pulse output by the master control board of the singlechip into pulse voltages positioned at two sides of a reference voltage value output by the reference circuit by using a divider resistor, inputting the pulse voltages to a first input end of the comparison amplifier circuit, inputting the output reference voltage value into a second input end of the comparison amplifier circuit by the reference circuit, comparing by the comparison amplifier circuit, outputting a high voltage value in the voltage pulse if the voltage value of the second input end of the comparison amplifier circuit is greater than the voltage value of the first input end of the comparison amplifier circuit, outputting a digital ground potential if the voltage value of the second input end of the comparison amplifier circuit is less than the voltage value of the first input end of the comparison amplifier circuit, and outputting the voltage pulse of the comparison amplifier as a voltage pulse which can be identified by the digital information analysis circuit;
the digital information analysis circuit is used for inputting the voltage pulse output by the comparison amplifier circuit into the digital information analysis circuit, counting a high voltage value and a low voltage value within a voltage pulse period time length through a counter in the digital information analysis circuit, outputting the high voltage value when the number of the high voltage value is larger than that of the low voltage value within a voltage pulse period, driving the LED lamp to be on, outputting the high voltage value when the number of the high voltage value is smaller than that of the low voltage value within a period, and driving the LED lamp to be off when the number of the high voltage value is smaller than that of the low voltage value within a period.
The method comprises the following specific steps:
(1) constructing a voltage pulse:
(1a) the method comprises the following steps that voltage pulses are formed by using two voltage values with different amplitudes, a voltage pulse period is formed by the time length for maintaining the high voltage value and the time length for maintaining the low voltage value, and the duty ratio of the high voltage value in the voltage pulse period is calculated by a main control board of a single chip microcomputer according to the following formula:
wherein q is1Denotes the duty cycle of the high voltage value within one voltage pulse period, τ denotes the length of time the high voltage value occupies within the voltage pulse period, and T denotes the length of time the voltage pulse period.
(1b) With 1-q1The value of (d) represents the duty cycle of the low voltage value within one voltage pulse period.
(1c) The singlechip main control board represents the duty ratio of a high voltage value in a voltage pulse period and the voltage pulse which is larger than the duty ratio of a low voltage value in the voltage pulse period as binary '1', and the singlechip main control board represents the duty ratio of the high voltage value in the voltage pulse period and the voltage pulse which is smaller than the duty ratio of the low voltage value in the voltage pulse period as binary '0'.
(1d) The singlechip main control board stores voltage pulses consisting of two voltage values with different amplitudes in a binary mode in a memory of the singlechip main control board.
(2) Outputting voltage pulses:
(2a) the single chip microcomputer main control board is connected to an external power supply, the single chip microcomputer main control board outputs voltage pulses, the voltage pulses start a self-starting circuit in a reference circuit, bias voltage is provided for the reference circuit through voltages of a first output end and a second output end of the self-starting circuit, the reference circuit is triggered to start working, the reference circuit outputs the input voltage pulses to be a stable reference voltage value between the voltage pulses divided by a divider resistor through a cascode structure amplification circuit with high power supply rejection ratio and stable output when 3V and 5V power supplies are input, and the reference voltage value is input to a second input end of a comparison amplifier circuit.
(2b) The voltage pulse output by the singlechip main control board is divided into pulse voltages positioned at two sides of a reference voltage value output by a reference circuit by a divider resistor, the pulse voltages are input to a first input end of a comparison amplifier circuit, the reference voltage value output by the reference circuit is input to a second input end of the comparison amplifier circuit, comparison is carried out by the comparison amplifier circuit, if the voltage value of the second input end of the comparison amplifier circuit is larger than the voltage value of the first input end of the comparison amplifier circuit, the high voltage value in the voltage pulse is output, if the voltage value of the second input end of the comparison amplifier circuit is smaller than the voltage value of the first input end of the comparison amplifier circuit, the digital ground potential is output, and the obtained output voltage pulse is a voltage pulse which can be identified by a digital information analysis circuit.
(3) Analyzing the voltage pulse:
the voltage pulse output by the comparison amplifier circuit is input to the digital information analysis circuit, a counter in the digital information analysis circuit counts a high voltage value and a low voltage value within a voltage pulse period time length, the number of the high voltage values in one voltage pulse period is larger than that of the low voltage values, the output is the high voltage value, the LED lamp is driven to be on, the number of the high voltage values in one period is smaller than that of the low voltage values, the output is a power ground, and the LED lamp is driven to be off.
Compared with the prior art, the invention has the following advantages:
firstly, the device of the invention adopts the singlechip main control board to store the control information in a voltage pulse mode, and simultaneously inputs the voltage pulse into the reference circuit, the comparison amplifier circuit and the digital information analysis circuit, compared with other chip designs, the invention reduces the circuit device for controlling data input, overcomes the defect that the control data needs additional modules for more complex input in the prior art, and ensures that the LED drive control circuit of the invention can reduce the design complexity in the chip design.
Secondly, the method of the invention adopts an input port shared by control data and power supply voltage, the control data is directly input into the LED drive control circuit in a voltage pulse mode through the singlechip main control board, and meanwhile, the change of the control data can be realized through the editing improvement of the voltage pulse, the LED drive control circuit is directly input and driven through one input port, the defect that the control data needs to be edited and stored by an additional control module and input into the LED drive control circuit in the prior art, so that the circuit design method is more complex, and the LED drive control method adopting the voltage pulse is more concise and convenient.
Drawings
FIG. 1 is a block diagram of an LED driving control apparatus using voltage pulses according to the present invention;
FIG. 2 is an electrical schematic of a reference circuit of the present invention;
FIG. 3 is an electrical schematic of a comparison amplifier circuit of the present invention;
FIG. 4 is a diagram illustrating voltage pulses in modules according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings and examples.
The apparatus of the present invention is further described with reference to figure 1.
The device comprises a reference circuit, a comparison amplifier circuit, a singlechip main control board and a digital information analysis circuit; the input end of the singlechip main control board is connected with an external power supply, and the output end of the singlechip main control board is respectively connected with the input end of the reference circuit, the first input end of the comparison amplifier circuit and the input end of the digital information analysis circuit; the output end of the reference circuit is connected with the second input end of the comparison amplifier circuit; and the output end of the comparison amplifier circuit is connected with the input end of the digital information analysis circuit. Wherein:
the single chip microcomputer main control board is used for constructing voltage pulses consisting of two voltage values with different amplitudes and outputting the voltage pulses to the reference circuit, the comparison amplifier circuit and the digital information analysis circuit.
The reference circuit is used for providing bias voltage for the reference circuit through the voltages of a first output end and a second output end of the self-starting circuit part, triggering the reference circuit to work, outputting a stable cascode structure amplifying circuit when a 3V power supply and a 5V power supply are input through the reference circuit with high power supply rejection ratio, outputting an input voltage pulse as a stable reference voltage value between the voltage pulses after voltage division of the divider resistor, and inputting the reference voltage value to a second input end of the comparison amplifier circuit.
The comparison amplifier circuit is used for dividing the voltage pulse output by the master control board of the singlechip into pulse voltages positioned at two sides of a reference voltage value output by the reference circuit by using a divider resistor, inputting the pulse voltages to a first input end of the comparison amplifier circuit, inputting the output reference voltage value into a second input end of the comparison amplifier circuit by the reference circuit, comparing by the comparison amplifier circuit, outputting a high voltage value in the voltage pulse if the voltage value of the second input end of the comparison amplifier circuit is greater than the voltage value of the first input end of the comparison amplifier circuit, outputting a digital ground potential if the voltage value of the second input end of the comparison amplifier circuit is less than the voltage value of the first input end of the comparison amplifier circuit, and outputting the voltage pulse of the comparison amplifier as the voltage pulse which can be identified by the digital information analysis circuit.
The digital information analysis circuit is used for inputting the voltage pulse output by the comparison amplifier circuit into the digital information analysis circuit, counting a high voltage value and a low voltage value within a voltage pulse period time length through a counter in the digital information analysis circuit, outputting the high voltage value when the number of the high voltage value is larger than that of the low voltage value within a voltage pulse period, driving the LED lamp to be on, outputting the high voltage value when the number of the high voltage value is smaller than that of the low voltage value within a period, and driving the LED lamp to be off when the number of the high voltage value is smaller than that of the low voltage value within a period.
The reference circuit of the present invention is further described with reference to fig. 2.
The reference circuit comprises a self-starting circuit part and a reference circuit part, and comprises nine PMOS (P-channel metal oxide semiconductor) tubes, seven NMOS (N-channel metal oxide semiconductor) tubes, three divider resistors, five PNP (plug-and-play) bipolar transistors and a self-starting circuit; the source electrode of the first PMOS tube M1 is connected with the output end of the singlechip main control board, the grid electrode of the first PMOS tube M1 is respectively connected with the drain electrode of the second PMOS tube M2, the drain electrode of the first NMOS tube M3, the first output end of the self-starting circuit, the grid electrode of the third PMOS tube M5, the grid electrode of the sixth PMOS tube M12 and the grid electrode of the eighth PMOS tube M15, and the drain electrode of the first PMOS tube M1 is connected with the source electrode of the second PMOS tube M2; the grid electrode of the second PMOS tube M2 is respectively connected with the grid electrode of the fourth PMOS tube M6, the grid electrode of the fifth PMOS tube M9, the drain electrode of the fifth PMOS tube M9, the drain electrode of the fifth NMOS tube M10, the grid electrode of the seventh PMOS tube M13, the grid electrode of the ninth PMOS tube M16 and the second output end of the self-starting circuit; the grid electrode of the first NMOS tube M3 is respectively connected with the grid electrode of the third NMOS tube M7, the grid electrode of the fifth NMOS tube M10, the grid electrode of the seventh NMOS tube M14, the drain electrode of the seventh NMOS tube M14 and the drain electrode of the seventh PMOS tube M13, and the source electrode of the first NMOS tube M3 is connected with the drain electrode of the second NMOS tube M4; the grid electrode of the second NMOS tube M4 is respectively connected with the grid electrode of the fourth NMOS tube M8, the grid electrode of the sixth NMOS tube M11, the drain electrode of the third NMOS tube M7 and the drain electrode of the fourth PMOS tube M6, and the source electrode of the second NMOS tube M4 is connected with one end of the first divider resistor R1; the other end of the first divider resistor R1 is connected with the emitter of a first PNP bipolar triode Q1; the base of the first PNP bipolar transistor Q1 and the collector of the first PNP bipolar transistor Q1 are connected to power ground, respectively; the source electrode of the third PMOS tube M5 is connected with the output end of the singlechip main control board, and the drain electrode of the third PMOS tube M5 is connected with the source electrode of the fourth PMOS tube M6; the source electrode of the third NMOS transistor M7 is connected with the drain electrode of the fourth NMOS transistor M8; the source electrode of the fourth NMOS transistor M8 is connected with the emitter electrode of the second PNP bipolar transistor Q2; the base of the second PNP bipolar transistor Q2 and the collector of the second PNP bipolar transistor Q2 are connected to power ground, respectively; the source electrode of the fifth PMOS pipe M9 is connected with the output end of the singlechip main control board; the source electrode of the fifth NMOS transistor M10 is connected with the drain electrode of the sixth NMOS transistor M11; the source electrode of the sixth NMOS transistor M11 is connected with the emitter electrode of the third PNP bipolar transistor Q3; the base electrode of the third PNP bipolar transistor Q3 and the collector electrode of the third PNP bipolar transistor Q3 are respectively connected with the power ground; the source electrode of the sixth PMOS tube M12 is connected with the output end of the singlechip main control board, and the drain electrode of the sixth PMOS tube M12 is connected with the source electrode of the seventh PMOS tube M13; the source electrode of the seventh NMOS transistor M14 is connected with the emitter electrode of the fourth PNP bipolar transistor Q4; the base electrode of the fourth PNP bipolar transistor Q4 and the collector electrode of the fourth PNP bipolar transistor Q4 are respectively connected with the power ground; the source electrode of the eighth PMOS tube M15 is connected with the output end of the singlechip main control board, and the drain electrode of the eighth PMOS tube M15 is connected with the source electrode of the ninth PMOS tube M16; the drain of the ninth PMOS transistor M16 is connected to one end of the second voltage-dividing resistor R2 and one end of the third voltage-dividing resistor R3, respectively; the other end of the second divider resistor R2 is connected with the emitter of a fifth PNP bipolar triode Q5; the base electrode of the fifth PNP bipolar transistor Q5 and the collector electrode of the fifth PNP bipolar transistor Q5 are respectively connected with the power ground; the other end of the third divider resistor R3 is respectively connected with one end of the capacitor C and the grid of the second NMOS tube M20 in the comparison amplifier circuit; the other end of the capacitor C is connected to power ground.
The comparison amplifier circuit of the present invention is further described with reference to fig. 3.
The comparison amplifier circuit comprises three divider resistors, three PMOS (P-channel metal oxide semiconductor) tubes, four NMOS (N-channel metal oxide semiconductor) tubes and a NOT (not gate); one end of the first voltage-dividing resistor R4 is connected with the output end of the singlechip main control board, and the other end of the first voltage-dividing resistor R4 is connected with one end of the second voltage-dividing resistor R5; the other end of the second voltage-dividing resistor R5 is respectively connected with one end of the third voltage-dividing resistor R6 and the gate of the first NMOS transistor M18; the other end of the third voltage-dividing resistor R6 is connected with the power ground; the source electrode of the first PMOS tube M17 is connected with the output end of the singlechip main control board, and the grid electrode of the first PMOS tube M17 is respectively connected with the drain electrode thereof, the grid electrode of the second PMOS tube M19 and the drain electrode of the first NMOS tube M18; the source electrode of the first NMOS transistor M18 is respectively connected with the source electrode of the second NMOS transistor M20 and the drain electrode of the third NMOS transistor M21; the source electrode of the second PMOS tube M19 is connected with the output end of the singlechip main control board, and the drain electrode of the second PMOS tube M19 is respectively connected with the drain electrode of the second NOMS tube M20 and the grid electrode of the third PMOS tube M22; the grid electrode of the second NMOS tube M20 is respectively connected with the other end of the third divider resistor R3 and one end of the capacitor C in the reference circuit; the grid electrode of the third NMOS transistor M21 is connected with the grid electrode of the fourth NMOS transistor M23, and the source electrode of the third NMOS transistor M21 is connected with the power ground; the source electrode of the third PMOS tube M22 is connected with the output end of the singlechip main control board, and the drain electrode of the third PMOS tube M22 is respectively connected with the drain electrode of the fourth NMOS tube M23 and the input end of the NOT gate INV; the source electrode of the fourth NMOS tube M23 is connected with the power ground; the output end of the NOT gate INV is connected with the input end of the digital information analysis circuit.
The specific steps of the method of the present invention are further described below.
Step 1, constructing a voltage pulse.
The method comprises the following steps of using voltage values with different amplitudes to form a voltage pulse, using the time length of maintaining the high voltage value and the time length of maintaining the low voltage value to form a voltage pulse period, and calculating the duty ratio of the high voltage value in the voltage pulse period according to the following formula:
wherein q is1Denotes the duty cycle of the high voltage value within one voltage pulse period, τ denotes the length of time the high voltage value occupies within the voltage pulse period, and T denotes the length of time the voltage pulse period.
With 1-q1The value of (d) represents the duty cycle of the low voltage value within one voltage pulse period.
The duty ratio of the high voltage value in one voltage pulse period is larger than the duty ratio of the low voltage value in one voltage pulse period, and the voltage pulse is represented as binary '1', and the duty ratio of the high voltage value in one voltage pulse period is smaller than the duty ratio of the low voltage value in one voltage pulse period, and the voltage pulse is represented as binary '0'.
And storing the voltage pulse consisting of two voltage values with different amplitudes in a binary mode into a memory of a main control board of the singlechip.
And 2, outputting voltage pulses.
The single chip microcomputer main control board is connected to an external power supply, the single chip microcomputer main control board outputs voltage pulses, the voltage pulses open a self-starting circuit in a reference circuit, bias voltage is provided for the reference circuit through voltages of a first output end and a second output end of the self-starting circuit, the reference circuit is triggered to start working, the reference circuit outputs the input voltage pulses to be a stable reference voltage value between the voltage pulses divided by a divider resistor through a cascode structure amplification circuit with high power supply rejection ratio and stable output when 3V and 5V power supplies are input, and the reference voltage value is input to a second input end of a comparison amplifier circuit.
The voltage pulse output by the singlechip main control board is divided into pulse voltages positioned at two sides of a reference voltage value output by a reference circuit by a divider resistor, the pulse voltages are input to a first input end of a comparison amplifier circuit, the reference voltage value output by the reference circuit is input to a second input end of the comparison amplifier circuit, comparison is carried out by the comparison amplifier circuit, if the voltage value of the second input end of the comparison amplifier circuit is larger than the voltage value of the first input end of the comparison amplifier circuit, the high voltage value in the voltage pulse is output, if the voltage value of the second input end of the comparison amplifier circuit is smaller than the voltage value of the first input end of the comparison amplifier circuit, the digital ground potential is output, and the obtained output voltage pulse is a voltage pulse which can be identified by a digital information analysis circuit.
And 3, analyzing the voltage pulse.
The voltage pulse output by the comparison amplifier circuit is input to the digital information analysis circuit, a counter in the digital information analysis circuit counts a high voltage value and a low voltage value within a voltage pulse period time length, the number of the high voltage values in one voltage pulse period is larger than that of the low voltage values, the output is the high voltage value, the LED lamp is driven to be on, the number of the high voltage values in one period is smaller than that of the low voltage values, the output is a power ground, and the LED lamp is driven to be off.
The effect of the invention will be further described by way of example with reference to fig. 4.
Fig. 4(a) is a schematic diagram of voltage pulses output from the main control board of the single chip microcomputer according to the embodiment of the present invention. In the specific embodiment of the invention, the voltage pulse period is 10us, wherein when the duty ratio of the 5V voltage value is 60%, namely 6us, and the duty ratio of the 3V voltage value is 40%, namely 4us, the voltage pulse period is represented as '1', and when the duty ratio of the 5V voltage value is 40%, namely 4us, and the duty ratio of the 3V voltage value is 60%, namely 6us, the voltage pulse period is represented as '0', and the voltage pulse period is output to the reference circuit, the comparison amplifier circuit and the digital information analysis circuit from the main control board of the singlechip.
Fig. 4(b) is a schematic diagram of the voltage pulse input into the reference circuit and the comparison amplifier circuit in the embodiment of the present invention, the dotted line in fig. 4(b) represents the voltage curve of the voltage pulse output after passing through the reference circuit, and the solid line represents the voltage curve of the voltage pulse output after passing through the resistance division.
Fig. 4(c) is a schematic diagram of voltage pulses input into the comparison amplifier circuit by the voltage output after the voltage pulses pass through the reference circuit and the voltage pulses output after the voltage pulses pass through the resistance voltage division in the embodiment of the present invention.
Fig. 4(d) is a schematic diagram of a signal outputted by inputting the voltage pulse outputted by the comparison amplifier circuit into the digital information analysis circuit in the embodiment of the present invention, wherein "1", i.e. 5V high voltage drives the LED lamp to be on, and "0", i.e. power ground drives the LED lamp to be off.
Claims (4)
1. A light emitting diode LED driving control device adopting voltage pulse comprises a reference circuit and a comparison amplifier circuit, and is characterized by further comprising a singlechip main control board and a digital information analysis circuit; the input end of the singlechip main control board is connected with an external power supply, and the output end of the singlechip main control board is respectively connected with the input end of the reference circuit, the first input end of the comparison amplifier circuit and the input end of the digital information analysis circuit; the output end of the reference circuit is connected with the second input end of the comparison amplifier circuit; the output end of the comparison amplifier circuit is connected with the input end of the digital information analysis circuit; wherein:
the singlechip main control board is used for constructing a voltage pulse consisting of two voltage values with different amplitudes, and outputting the voltage pulse to the reference circuit, the comparison amplifier circuit and the digital information analysis circuit;
the reference circuit is used for providing bias voltage for the reference circuit through the voltages of a first output end and a second output end of the self-starting circuit part and triggering the reference circuit to work, the reference circuit can output a stable cascode structure amplifying circuit when a 3V power supply and a 5V power supply are input through high power supply rejection ratio, the input voltage pulse is output to be a stable reference voltage value between the voltage pulses after voltage division of the divider resistor, and the reference voltage value is input to a second input end of the comparison amplifier circuit;
the comparison amplifier circuit is used for dividing the voltage pulse output by the master control board of the singlechip into pulse voltages positioned at two sides of a reference voltage value output by the reference circuit by using a divider resistor, inputting the pulse voltages to a first input end of the comparison amplifier circuit, inputting the output reference voltage value into a second input end of the comparison amplifier circuit by the reference circuit, comparing by the comparison amplifier circuit, outputting a high voltage value in the voltage pulse if the voltage value of the second input end of the comparison amplifier circuit is greater than the voltage value of the first input end of the comparison amplifier circuit, outputting a digital ground potential if the voltage value of the second input end of the comparison amplifier circuit is less than the voltage value of the first input end of the comparison amplifier circuit, and outputting the voltage pulse of the comparison amplifier as a voltage pulse which can be identified by the digital information analysis circuit;
the digital information analysis circuit is used for inputting the voltage pulse output by the comparison amplifier circuit into the digital information analysis circuit, counting a high voltage value and a low voltage value within a voltage pulse period time length through a counter in the digital information analysis circuit, outputting the high voltage value when the number of the high voltage value is larger than that of the low voltage value within a voltage pulse period, driving the LED lamp to be on, outputting the high voltage value when the number of the high voltage value is smaller than that of the low voltage value within a period, and driving the LED lamp to be off when the number of the high voltage value is smaller than that of the low voltage value within a period.
2. The device as claimed in claim 1, wherein the reference circuit comprises nine PMOS transistors, seven NMOS transistors, three voltage dividing resistors, five PNP bipolar transistors, and a self-start circuit; the source electrode of the first PMOS tube M1 is connected with the output end of the singlechip main control board, the grid electrode of the first PMOS tube M1 is respectively connected with the drain electrode of the second PMOS tube M2, the drain electrode of the first NMOS tube M3, the first output end of the self-starting circuit, the grid electrode of the third PMOS tube M5, the grid electrode of the sixth PMOS tube M12 and the grid electrode of the eighth PMOS tube M15, and the drain electrode of the first PMOS tube M1 is connected with the source electrode of the second PMOS tube M2; the grid electrode of the second PMOS tube M2 is respectively connected with the grid electrode of the fourth PMOS tube M6, the grid electrode of the fifth PMOS tube M9, the drain electrode of the fifth PMOS tube M9, the drain electrode of the fifth NMOS tube M10, the grid electrode of the seventh PMOS tube M13, the grid electrode of the ninth PMOS tube M16 and the second output end of the self-starting circuit; the grid electrode of the first NMOS tube M3 is respectively connected with the grid electrode of the third NMOS tube M7, the grid electrode of the fifth NMOS tube M10, the grid electrode of the seventh NMOS tube M14, the drain electrode of the seventh NMOS tube M14 and the drain electrode of the seventh PMOS tube M13, and the source electrode of the first NMOS tube M3 is connected with the drain electrode of the second NMOS tube M4; the grid electrode of the second NMOS tube M4 is respectively connected with the grid electrode of the fourth NMOS tube M8, the grid electrode of the sixth NMOS tube M11, the drain electrode of the third NMOS tube M7 and the drain electrode of the fourth PMOS tube M6, and the source electrode of the second NMOS tube M4 is connected with one end of the first divider resistor R1; the other end of the first divider resistor R1 is connected with the emitter of a first PNP bipolar triode Q1; the base of the first PNP bipolar transistor Q1 and the collector of the first PNP bipolar transistor Q1 are connected to power ground, respectively; the source electrode of the third PMOS tube M5 is connected with the output end of the singlechip main control board, and the drain electrode of the third PMOS tube M5 is connected with the source electrode of the fourth PMOS tube M6; the source electrode of the third NMOS transistor M7 is connected with the drain electrode of the fourth NMOS transistor M8; the source electrode of the fourth NMOS transistor M8 is connected with the emitter electrode of the second PNP bipolar transistor Q2; the base of the second PNP bipolar transistor Q2 and the collector of the second PNP bipolar transistor Q2 are connected to power ground, respectively; the source electrode of the fifth PMOS pipe M9 is connected with the output end of the singlechip main control board; the source electrode of the fifth NMOS transistor M10 is connected with the drain electrode of the sixth NMOS transistor M11; the source electrode of the sixth NMOS transistor M11 is connected with the emitter electrode of the third PNP bipolar transistor Q3; the base electrode of the third PNP bipolar transistor Q3 and the collector electrode of the third PNP bipolar transistor Q3 are respectively connected with the power ground; the source electrode of the sixth PMOS tube M12 is connected with the output end of the singlechip main control board, and the drain electrode of the sixth PMOS tube M12 is connected with the source electrode of the seventh PMOS tube M13; the source electrode of the seventh NMOS transistor M14 is connected with the emitter electrode of the fourth PNP bipolar transistor Q4; the base electrode of the fourth PNP bipolar transistor Q4 and the collector electrode of the fourth PNP bipolar transistor Q4 are respectively connected with the power ground; the source electrode of the eighth PMOS tube M15 is connected with the output end of the singlechip main control board, and the drain electrode of the eighth PMOS tube M15 is connected with the source electrode of the ninth PMOS tube M16; the drain of the ninth PMOS transistor M16 is connected to one end of the second voltage-dividing resistor R2 and one end of the third voltage-dividing resistor R3, respectively; the other end of the second divider resistor R2 is connected with the emitter of a fifth PNP bipolar triode Q5; the base electrode of the fifth PNP bipolar transistor Q5 and the collector electrode of the fifth PNP bipolar transistor Q5 are respectively connected with the power ground; the other end of the third divider resistor R3 is respectively connected with one end of the capacitor C and the grid of the second NMOS tube M20 in the comparison amplifier circuit; the other end of the capacitor C is connected to power ground.
3. The voltage-pulsed LED driving control device of claim 1, wherein the comparator-amplifier circuit comprises three voltage-dividing resistors, three PMOS transistors, four NMOS transistors and a not gate; one end of the first voltage-dividing resistor R4 is connected with the output end of the singlechip main control board, and the other end of the first voltage-dividing resistor R4 is connected with one end of the second voltage-dividing resistor R5; the other end of the second voltage-dividing resistor R5 is respectively connected with one end of the third voltage-dividing resistor R6 and the gate of the first NMOS transistor M18; the other end of the third voltage-dividing resistor R6 is connected with the power ground; the source electrode of the first PMOS tube M17 is connected with the output end of the singlechip main control board, and the grid electrode of the first PMOS tube M17 is respectively connected with the drain electrode thereof, the grid electrode of the second PMOS tube M19 and the drain electrode of the first NMOS tube M18; the source electrode of the first NMOS transistor M18 is respectively connected with the source electrode of the second NMOS transistor M20 and the drain electrode of the third NMOS transistor M21; the source electrode of the second PMOS tube M19 is connected with the output end of the singlechip main control board, and the drain electrode of the second PMOS tube M19 is respectively connected with the drain electrode of the second NOMS tube M20 and the grid electrode of the third PMOS tube M22; the grid electrode of the second NMOS tube M20 is respectively connected with the other end of the third divider resistor R3 and one end of the capacitor C in the reference circuit; the grid electrode of the third NMOS transistor M21 is connected with the grid electrode of the fourth NMOS transistor M23, and the source electrode of the third NMOS transistor M21 is connected with the power ground; the source electrode of the third PMOS tube M22 is connected with the output end of the singlechip main control board, and the drain electrode of the third PMOS tube M22 is respectively connected with the drain electrode of the fourth NMOS tube M23 and the input end of the NOT gate INV; the source electrode of the fourth NMOS tube M23 is connected with the power ground; the output end of the NOT gate INV is connected with the input end of the digital information analysis circuit.
4. A light emitting diode LED drive control method adopting voltage pulse is characterized in that a singlechip main control board is utilized to output control data to an LED drive control circuit in a voltage pulse mode; the method comprises the following specific steps:
(1) constructing a voltage pulse:
(1a) the method comprises the following steps that voltage pulses are formed by using two voltage values with different amplitudes, a voltage pulse period is formed by the time length for maintaining the high voltage value and the time length for maintaining the low voltage value, and the duty ratio of the high voltage value in the voltage pulse period is calculated by a main control board of a single chip microcomputer according to the following formula:
wherein q is1Represents the duty cycle of the high voltage value in one voltage pulse period, τ represents the time length occupied by the high voltage value in the voltage pulse period, and T represents the time length of the voltage pulse period;
(1b) with 1-q1The value of (d) represents the duty cycle of the low voltage value within one voltage pulse period;
(1c) the duty ratio of a high voltage value in a voltage pulse period is represented as binary '1' by the singlechip main control board, and the voltage pulse when the duty ratio of the high voltage value in the voltage pulse period is larger than that of a low voltage value in the voltage pulse period is represented as binary '0' by the singlechip main control board;
(1d) the singlechip main control board stores voltage pulses consisting of two voltage values with different amplitudes in a binary mode into a memory of the singlechip main control board;
(2) outputting voltage pulses:
(2a) the single chip microcomputer main control board is connected to an external power supply, the single chip microcomputer main control board outputs voltage pulses, the voltage pulses start a self-starting circuit in a reference circuit, bias voltage is provided for the reference circuit through voltages of a first output end and a second output end of the self-starting circuit, the reference circuit is triggered to start working, the reference circuit outputs the input voltage pulses to a stable reference voltage value between voltage pulses divided by a divider resistor through a cascode structure amplifying circuit with high power supply rejection ratio and stable output when 3V and 5V power supplies are input, and the reference voltage value is input to a second input end of a comparison amplifier circuit;
(2b) the voltage pulse output by the singlechip main control board is divided into pulse voltages positioned at two sides of a reference voltage value output by a reference circuit by a divider resistor and input to a first input end of a comparison amplifier circuit, the reference circuit inputs the output reference voltage value to a second input end of the comparison amplifier circuit, comparison is carried out by the comparison amplifier circuit, if the voltage value of the second input end of the comparison amplifier circuit is greater than the voltage value of the first input end of the comparison amplifier circuit, a high voltage value in the voltage pulse is output, if the voltage value of the second input end of the comparison amplifier circuit is less than the voltage value of the first input end of the comparison amplifier circuit, a digital ground potential is output, and the output voltage pulse of the comparison amplifier is a voltage pulse which can be identified by a digital information analysis circuit;
(3) analyzing the voltage pulse:
the voltage pulse output by the comparison amplifier circuit is input to the digital information analysis circuit, a counter in the digital information analysis circuit counts a high voltage value and a low voltage value within a voltage pulse period time length, the number of the high voltage values in one voltage pulse period is larger than that of the low voltage values, the output is the high voltage value, the LED lamp is driven to be on, the number of the high voltage values in one period is smaller than that of the low voltage values, the output is a power ground, and the LED lamp is driven to be off.
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 |
---|---|---|---|---|
CN112526581B (en) * | 2020-11-26 | 2024-10-18 | 南京模数智芯微电子科技有限公司 | Time discriminator suitable for radiation detection front end readout 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 |
JP5616768B2 (en) * | 2010-12-08 | 2014-10-29 | ローム株式会社 | LIGHT EMITTING ELEMENT DRIVE CIRCUIT, LIGHT EMITTING DEVICE USING THE SAME, AND ELECTRONIC DEVICE |
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 |
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 |
---|---|---|
CN101304625B (en) | Drive circuit and electronic apparatus equipped therewith | |
WO2016184169A1 (en) | Multi-channel dual-mode digital control led driving circuit and led lamp | |
WO2016188093A1 (en) | Touch drive circuit and drive method therefor, array substrate and touch display device | |
CN101083453A (en) | Self-starting low-voltage operation current mirror circuit | |
CN102196621B (en) | LED dimming circuit | |
WO2013166895A1 (en) | Passive radio-frequency identification electrification reset circuit and passive radio-frequency identification tag | |
CN109168230B (en) | Using the LED drive dynamic control device and method of voltage pulse | |
JP4705264B2 (en) | Switching regulator | |
CN209767384U (en) | Voltage regulating circuit of charge pump | |
CN212935870U (en) | PWM signal duty ratio regulating circuit | |
CN109687707B (en) | Step-down circuit | |
JP2820980B2 (en) | Logic circuit | |
CN210327368U (en) | Driving circuit for MOSFET driving | |
CN108448893B (en) | Dynamic slope compensation circuit based on duty ratio | |
CN207884937U (en) | A kind of boost DC-DC constant current driver circuit for LED | |
CN213960040U (en) | Machine tool delay starting circuit | |
CN109756108B (en) | Charge pump conversion circuit | |
CN218976562U (en) | Self-adaptive buck DC-DC circuit based on BLDCM controller | |
CN220754644U (en) | MOSFET driver circuit, driving chip and electronic equipment based on Bipolar process | |
CN219351279U (en) | Oring control circuit | |
CN212811658U (en) | Application circuit capable of automatically adapting power-on time sequence | |
CN215935137U (en) | Drive circuit and lighting apparatus | |
CN108964448B (en) | Power supply generating circuit | |
CN104640334B (en) | HID monolithic controllers | |
CN221151202U (en) | High-voltage starting circuit |
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 |