CN211240169U - Flashlight control circuit capable of circularly adjusting light brightness - Google Patents
Flashlight control circuit capable of circularly adjusting light brightness Download PDFInfo
- Publication number
- CN211240169U CN211240169U CN201922244150.8U CN201922244150U CN211240169U CN 211240169 U CN211240169 U CN 211240169U CN 201922244150 U CN201922244150 U CN 201922244150U CN 211240169 U CN211240169 U CN 211240169U
- Authority
- CN
- China
- Prior art keywords
- pulse width
- width modulator
- input pin
- led
- chip microcomputer
- 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
Images
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The utility model relates to a flashlight control circuit capable of circularly adjusting light brightness, which comprises a single chip microcomputer and a pulse width modulator, wherein a power input pin VCC of the single chip microcomputer is connected with a power anode through a second MOS tube Q2, a GND pin of the single chip microcomputer is grounded, a second MOS tube Q2 is connected with a first output pin RA1 of the single chip microcomputer through a first MOS tube Q1, a power supply is connected with a first input pin RC1 of the single chip microcomputer through a button switch K1, a diode D1 is connected between the first MOS tube Q1 and the first output pin RA1, the power supply is connected between the diode and the first MOS tube Q1 through a button switch K1, a PWM input pin of the pulse width modulator is connected with a second output pin RA2 of the single chip microcomputer, a power input pin IN of the pulse width modulator is connected with the power supply, a ground pin GND of the pulse width modulator is grounded, a first input pin LX of the pulse width modulator is connected with the LED anode, the LED anode is connected with the power supply anode through a second MOS tube Q2, and the LED cathode is grounded. The circuit can adjust gradual change of the brightness of the LED light.
Description
The technical field is as follows:
the utility model relates to a flashlight control circuit of circulated regulation light luminance.
Background art:
at present, the LED flashlight adopts the mode of resistance adjustment to adjust luminance in the aspect of lighting control more, for example need set up three kinds of luminance, then set up three signal output terminal on the singlechip, connect an electronic switch and resistance respectively, then on exporting the LED lamp, when using, the singlechip is according to the number of times that the user pressed the switch, select different signal output terminal output signal respectively in order to close corresponding electronic switch, switch on corresponding resistance and LED lamp, make the LED lamp light, because each resistance is different, consequently the electric current at LED lamp both ends is different when lighting the LED lamp, thereby form three kinds of different luminance. The control circuit has the advantages of complex structure, small adjustable light range, large electric energy consumption and easy circuit heating, thus causing poor cruising ability of the battery.
The utility model has the following contents:
the utility model discloses the technical problem that will solve is: the flashlight control circuit has a simple structure, saves electric energy, and can lead the brightness of LEDs and the like to be changed gradually in a circulating mode between light and shade.
In order to solve the technical problem, the utility model discloses a technical scheme is: a flashlight control circuit capable of circularly adjusting light brightness comprises a single chip microcomputer and a pulse width modulator, wherein a power supply input pin VCC of the single chip microcomputer is connected with a power supply anode through a second MOS tube Q2, a GND pin of the single chip microcomputer is grounded, a second MOS tube Q2 is connected with a first output pin RA1 of the single chip microcomputer through a first MOS tube Q1, a power supply is connected with a first input pin RC1 of the single chip microcomputer through a button switch K1, a diode D1 is connected between a first MOS tube Q1 and the first output pin RA1, the power supply is connected between the diode and the first MOS tube Q1 through the button switch K1, a PWM input pin of the pulse width modulator is connected with a second output pin RA2 of the single chip microcomputer, a power supply input pin IN of the pulse width modulator is connected with the power supply, a grounding pin GND of the pulse width modulator is grounded, a first input pin LX of the pulse width modulator is connected with the LED anode, and the LED anode is connected with the power supply anode through the second MOS tube Q2, the LED negative pole ground connection, button switch K1 and diode D1 are connected to first MOS pipe Q1 ' S G utmost point, first MOS pipe Q1 ' S S utmost point ground connection, second MOS pipe Q2 ' S G utmost point is connected to first MOS pipe Q1 ' S D utmost point, the power positive pole is connected to second MOS pipe Q2 ' S D utmost point, the power input pin VCC of singlechip, pulse width modulator ' S power input pin IN and the LED positive pole are connected respectively to second MOS pipe Q2 ' S S utmost point.
Preferably, an inductor L1 is connected IN series between the S-pole of the second MOS transistor Q2 and the LED positive pole, the power input pin IN of the pulse width modulator is connected between the inductor L1 and the S-pole of the second MOS transistor Q2, and the first input pin LX of the pulse width modulator is connected between the inductor L1 and the LED positive pole.
As a preferable scheme, the LED cathode is further connected to a second input pin FB of the pulse width modulator, and the second input pin FB of the pulse width modulator is used for detecting the current magnitude of the LED cathode.
The utility model has the advantages that: the utility model discloses it is long when utilizing the singlechip to detect and record button switch's closure, then according to the output frequency that closed time length control second output pin RA2 sent the signal to PWM input pin, pulse width modulator receives the frequency of the first input pin LX of frequency control of signal and ground connection pin GND switch on according to PWM, thereby change the anodal discontinuity of LED and open the circuit the cycle, with the average current size of the LED of changing flow through, thereby adjust the luminance gradual change of LED lamp. Compared with the traditional circuit, the circuit has the advantages of simpler structure, lower energy consumption, wider adjustable range of LED brightness, and capability of adjusting the most suitable brightness of light according to the requirement.
Description of the drawings:
the following detailed description of embodiments of the present invention is provided with reference to the accompanying drawings, in which:
fig. 1 is a schematic structural diagram of the present invention.
In fig. 1: 1. singlechip, 2, pulse width modulator, 3, LED lamp, 4, voltage regulation chip.
The specific implementation mode is as follows:
the following describes in detail a specific embodiment of the present invention with reference to the drawings.
As shown IN fig. 1, a flashlight control circuit capable of cyclically adjusting the brightness of light comprises a single chip microcomputer 1 and a pulse width modulator 2, wherein a power input pin VCC of the single chip microcomputer 1 is connected with a power anode through a second MOS transistor Q2, a GND pin of the single chip microcomputer is grounded, a second MOS transistor Q2 is connected with a first output pin RA1 of the single chip microcomputer 1 through a first MOS transistor Q1, the power anode is connected with a first input pin RC1 of the single chip microcomputer 1 through a button switch K1, a diode D1 is connected between the first MOS transistor Q1 and the first output pin RA1, the power anode is connected between the diode D1 and the first MOS transistor Q1 through the button switch K1, a PWM input pin of the pulse width modulator 2 is connected with a second output pin RA2 of the single chip microcomputer 1, a power input pin IN of the pulse width modulator 2 is connected with a power supply, a ground pin of the pulse width modulator 2 is grounded, a first input pin of the pulse width modulator 2 is connected with an LX pin of the LED, the LED positive pole is connected with the power supply positive pole through second MOS pipe Q2, LED negative pole ground connection, button switch K1 and diode D1 are connected to first MOS pipe Q1 'S G utmost point, first MOS pipe Q1' S S utmost point ground connection, second MOS pipe Q2 'S G utmost point is connected to first MOS pipe Q1' S D utmost point, the power supply positive pole is connected to second MOS pipe Q2 'S D utmost point, singlechip 1' S power input pin VCC, pulse width modulator 2 'S power input pin IN and LED positive pole are connected respectively to second MOS pipe Q2' S S utmost point.
The utility model discloses it is long when utilizing singlechip 1 to detect and record button switch K1's closure, then according to the output frequency that closed time length control second output pin RA2 sent the signal to PWM input pin, pulse width modulator 2 receives the frequency of the frequency control first input pin LX of signal and ground connection pin GND switch-on according to PWM, thereby change the anodal discontinuity of LED and open the circuit cycle, with the average current size of the LED of changing flowing through, thereby adjust the luminance gradual change of LED lamp. Compared with the traditional circuit, the circuit has the advantages of simpler structure, lower energy consumption, wider adjustable range of LED brightness, and capability of adjusting the most suitable brightness of light according to the requirement.
An inductance coil L1 is connected in series between the S pole of the second MOS tube Q2 and the LED anode for filtering, so that the brightness change process of the LED lamp is smooth. The power input pin IN of the pulse width modulator 2 is connected between the inductor L1 and the S pole of the second MOS transistor Q2, and the first input pin LX of the pulse width modulator 2 is connected between the inductor L1 and the LED positive pole.
The cathode of the LED is further connected to a second input pin FB of the pulse width modulator 2, and the second input pin FB of the pulse width modulator 2 is used to detect the current magnitude of the cathode of the LED, and automatically control the conduction relationship between the first input pin LX and the ground terminal GND of the pulse width modulator 2 according to the current magnitude, so as to keep the current below the rated current.
In this embodiment, the S pole of the second MOS transistor is connected to the power output pin VCC of the single chip microcomputer 1 through a voltage regulation chip 4, and the voltage regulation chip 4 regulates the voltage to the rated voltage of the single chip microcomputer 1 and then supplies the regulated voltage to the single chip microcomputer 1.
The utility model discloses the theory of operation is: as shown in fig. 1, when the push button switch K1 is turned on once (i.e. turned off after being turned on), a G end of the first MOS transistor Q1 forms a high level to turn on the first MOS transistor Q1, and the first MOS transistor Q1 turns on the second MOS transistor Q2, so as to turn on a power supply anode and a power supply output pin VCC of the single chip microcomputer 1, a voltage of the power supply anode is regulated by the voltage regulating chip 4 and then supplied to the single chip microcomputer 1, the single chip microcomputer 1 is powered on, and outputs a high level to the first MOS transistor Q1 through the first output pin RA1, so as to maintain a conducting state of the first MOS transistor Q1 and the second MOS transistor Q2, meanwhile, the second output pin RA2 of the single chip microcomputer 1 sends a pulse signal with a certain duty ratio to the pulse width modulator 2, and the pulse width modulator 2 controls an average current flowing through the LED through the first output pin LX to be at a constant value according to the pulse signal, so.
When the button switch K1 is continuously closed, the first input pin RC1 of the single chip microcomputer 1 receives a continuous high level, the single chip microcomputer 1 gradually changes the duty ratio of the pulse signal output by the second output pin RA2 along with the continuous closing duration of the button switch K1, and the pulse width modulator 2 gradually adjusts the average current flowing through the LED according to the change of the pulse signal, so that the brightness of the LED lamp is controlled to gradually change.
The single chip microcomputer 1 can make the duty ratio of the pulse signal output by the second output pin RA2 change in a sine curve state according to the closing time length of the button switch K1, namely the duty ratio is changed from small to large, and then is changed from large to small to the lowest point after reaching the top point, so that the brightness of the LEDs and the like can change circularly.
Under the state that the LED lamp is lighted, single closed button switch K1, the short-lived high level signal is received to singlechip 1's first input pin RC1, and singlechip 1 judges this order and be for closing the LED lamp, and at this moment, singlechip 1 stops to export the high level to first output pin RA1, then first MOS pipe Q1 and second MOS pipe Q2 disconnection, and LED wait to lose the electricity and extinguish.
The above embodiments are merely illustrative of the principles and effects of the present invention, and some embodiments in use, and are not intended to limit the invention; it should be noted that, for those skilled in the art, various changes and modifications can be made without departing from the inventive concept of the present invention, and these changes and modifications belong to the protection scope of the present invention.
Claims (3)
1. A flashlight control circuit capable of circularly adjusting light brightness is characterized by comprising a single chip microcomputer and a pulse width modulator, wherein a power supply input pin VCC of the single chip microcomputer is connected with a power supply anode through a second MOS tube Q2, a GND pin of the single chip microcomputer is grounded, a second MOS tube Q2 is connected with a first output pin RA1 of the single chip microcomputer through a first MOS tube Q1, a power supply is connected with a first input pin RC1 of the single chip microcomputer through a button switch K1, a diode D1 is connected between a first MOS tube Q1 and a first output pin RA1, the power supply is connected between the diode and the first MOS tube Q1 through the button switch K1, a PWM input pin of the pulse width modulator is connected with a second output pin RA2 of the single chip microcomputer, a power supply input pin IN of the pulse width modulator is connected with the power supply, a ground pin GND of the pulse width modulator is grounded, a first input pin LX of the pulse width modulator is connected with the LED anode, the LED positive pole is connected with the power supply positive pole through second MOS pipe Q2, LED negative pole ground connection, button switch K1 and diode D1 are connected to first MOS pipe Q1 'S G utmost point, first MOS pipe Q1' S S utmost point ground connection, second MOS pipe Q2 'S G utmost point is connected to first MOS pipe Q1' S D utmost point, the power supply positive pole is connected to second MOS pipe Q2 'S D utmost point, singlechip' S power input pin VCC, pulse width modulator 'S power input pin IN and LED positive pole are connected respectively to second MOS pipe Q2' S S utmost point.
2. The flashlight control circuit capable of cyclically adjusting the brightness of a light according to claim 1, wherein an inductor L1 is connected IN series between the S-pole of the second MOS transistor Q2 and the positive pole of the LED, the power input pin IN of the pulse width modulator is connected between the inductor L1 and the S-pole of the second MOS transistor Q2, and the first input pin LX of the pulse width modulator is connected between the inductor L1 and the positive pole of the LED.
3. The flashlight control circuit capable of cyclically adjusting the brightness of a light according to claim 1, wherein the cathode of the LED is further connected to a second input pin FB of the pulse width modulator, and the second input pin FB of the pulse width modulator is used for detecting the current magnitude of the cathode of the LED.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201922244150.8U CN211240169U (en) | 2019-12-13 | 2019-12-13 | Flashlight control circuit capable of circularly adjusting light brightness |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201922244150.8U CN211240169U (en) | 2019-12-13 | 2019-12-13 | Flashlight control circuit capable of circularly adjusting light brightness |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211240169U true CN211240169U (en) | 2020-08-11 |
Family
ID=71933553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201922244150.8U Active CN211240169U (en) | 2019-12-13 | 2019-12-13 | Flashlight control circuit capable of circularly adjusting light brightness |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211240169U (en) |
-
2019
- 2019-12-13 CN CN201922244150.8U patent/CN211240169U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI701972B (en) | Multiway led constant current controller and control method | |
CN102711307B (en) | Dimmable light-emitting diode (LED) drive circuit and lamp | |
CN102762011B (en) | LED (Light Emitting Diode) constant-current dimming drive circuit device | |
CN104703358B (en) | Wide-voltage-range LED (light emitting diode) lamp switching and dimming driving circuit and LED lamp dimming control system | |
US10172199B1 (en) | Light-actuated wide voltage range LED lamp driver circuit | |
CN105025632A (en) | Light-emitting diode (LED) lamp capable of color modulation by switches and control circuit thereof | |
CN205005298U (en) | LED lamps and lanterns of switch mixing of colors and control circuit thereof | |
CN102685989A (en) | PWM (Pulse-Width modulation) dimming method and circuit of LED constant-current source concentratively powered by high-voltage direct current | |
CN106797686B (en) | Boost conversion grade switch controller | |
CN103379713A (en) | Light modulation circuit | |
CN201489799U (en) | LED display screen and power supply circuit thereof | |
CN204539556U (en) | The switch dimming drive circuit of Width funtion LED and LED dimming control system | |
CN204616156U (en) | A kind of LED drive circuit being applicable to controllable silicon light modulation | |
CN102149245B (en) | Electronic ballast of efficient and light-adjustable gas discharge lamp | |
CN211240169U (en) | Flashlight control circuit capable of circularly adjusting light brightness | |
CN203912284U (en) | Color-mixing LED lighting system and driving circuit thereof | |
CN103139991A (en) | Light-adjustable light-emitting diode (LED) drive circuit | |
CN201491325U (en) | LED lamp constant current light modulating device | |
CN201499358U (en) | Electronic controller of automatic dimming lamp | |
CN204539551U (en) | The switch dimming drive circuit of narrow voltage LED and LED dimming control system | |
CN203289697U (en) | Light modulation circuit | |
CN208739455U (en) | LED touch dimmer temperature driving power | |
CN210579355U (en) | Single live wire control circuit of diode | |
CN209419948U (en) | Circuit light adjusting circuit for intelligent lighting | |
CN203435195U (en) | MR16 silicon-controlled dimming power source adapting to all electronic transformers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |