CN210381375U - Bedside lamp control circuit and bedside lamp - Google Patents
Bedside lamp control circuit and bedside lamp Download PDFInfo
- Publication number
- CN210381375U CN210381375U CN201921229072.8U CN201921229072U CN210381375U CN 210381375 U CN210381375 U CN 210381375U CN 201921229072 U CN201921229072 U CN 201921229072U CN 210381375 U CN210381375 U CN 210381375U
- Authority
- CN
- China
- Prior art keywords
- module
- resistor
- relay
- bedside lamp
- chip
- 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
Abstract
The utility model discloses a bedside lamp control circuit and bedside lamp, control circuit include power module, single chip module, timing module, photosensitive module, infrared module, first relay module, second relay module and PWM voltage regulation module. The utility model discloses a photosensitive module detects indoor ambient light intensity, detect the operation information of user to the bedside lamp through infrared module, single-chip module is according to ambient light intensity and the execution end start-up operation of the first relay module of operation information control of user to the bedside lamp and second relay module, utilize timing module to detect the operating time of user to the bedside lamp simultaneously, single-chip module exports the duty cycle size of PWM signal of PWM pressure regulating module according to operating time control, realize the slow start-up function of bedside lamp, simplify the operation of user to the bedside lamp simultaneously.
Description
Technical Field
The utility model relates to a lighting apparatus technical field, more specifically say and relate to a bedside lamp's control circuit and applied this control circuit's bedside lamp that relates to a bedside lamp.
Background
Along with the improvement of the living standard of people, people put forward higher requirements on the comfort of home furnishing. Bedside lamps are one of household products which can be installed by families, and people naturally provide requirements for more humanization and convenience for the use of the bedside lamps.
When people want to sleep at night, people are used to turn off the headlights of a room and only turn on the bedside lights; or when getting up to go to the toilet in the middle of night, the bedside lamp is required to be started; or the head lamp is needed to be started when getting up in the morning. In such a situation, too harsh light may irritate the eyes of the person, causing discomfort and even injury to the eyes. In addition, there is a problem that when getting up at midnight, people need to find the switch of the bedside lamp under the condition of midnight, most of the time can find a single line, and inconvenience is brought to people. To sum up bedside lamp among the prior art mainly has two technical problem, and first bedside lamp light can't realize slowly starting, and second bedside lamp switch setting operation is inconvenient.
SUMMERY OF THE UTILITY MODEL
The to-be-solved technical problem of the utility model is: a bedside lamp control circuit and a bedside lamp using the same are provided.
The utility model provides a solution of its technical problem is:
a bedside lamp control circuit comprises a power supply module, a single chip microcomputer module, a timing module, a photosensitive module, an infrared module, a first relay module, a second relay module and a PWM (pulse width modulation) voltage regulating module, wherein the power supply module is respectively electrically connected with the single chip microcomputer module, the timing module, the photosensitive module, the infrared module, the first relay module, the second relay module and the PWM voltage regulating module, the photosensitive module and the infrared module are respectively connected with the input end of the single chip microcomputer module, the output end of the single chip microcomputer module is respectively connected with the input ends of the first relay module and the second relay module, the output end of the single chip microcomputer module is connected with the input end of the PWM voltage regulating module, the execution end of the first relay module is connected with the execution end of the second relay module and the output end of the PWM voltage regulating module in series, and the single chip, the single chip microcomputer module is configured to control the execution end of the first relay module to be closed when the photosensitive module detects that the ambient light intensity is lower than a set value, control the execution end of the second relay module to be closed when the photosensitive module detects that the received infrared light signal is larger than the set value, and calculate a time period when the received infrared light signal is larger than the set value, wherein the longer the time period is, the larger the duty ratio of the PWM signal output by the PWM voltage regulating module is.
As a further improvement of the above technical solution, the power module includes a transformer, a rectifier bridge, a filter capacitor, a first buck chip and a second buck chip, an output winding of the transformer is connected to the rectifier bridge, the rectifier bridge is connected to the filter capacitor, the filter capacitor is respectively connected to an input terminal of the first buck chip and an input terminal of the second buck chip, and the first buck chip and the second buck chip respectively output a 5V voltage and a 12V voltage.
As a further improvement of the above technical solution, the PWM voltage regulation module includes a switch chip whose model is H5116, a diode D1, an inductor L1 and a resistor R1, a first pin of the switch chip is connected to an output terminal of the single chip module, a third pin of the switch chip is grounded through the resistor R1 after being short-circuited with a fourth pin, a sixth pin of the switch chip is connected to an anode of the diode D1, a cathode of the diode D1 is connected to the power module, and a seventh pin of the switch chip is connected to the inductor D1.
As a further improvement of the above technical solution, the first relay module and the second relay module each include a photocoupler U1, a relay J1, a triode Q1, a resistor R2, and a resistor R3, an output end of the single chip microcomputer module is connected to an input end of the photocoupler U1, an output end of the photocoupler U1 is connected to a base of the triode Q1 through a resistor R2, two ends of the resistor R3 are respectively connected to the power supply module and an output end of the photocoupler U1, an emitter of the triode Q1 is connected to an input winding of the relay J1, and a collector of the triode Q1 is grounded.
As a further improvement of the above technical solution, the photosensitive module includes a photosensitive resistor RT, a resistor R4, a resistor R5, a resistor R6, and a comparator U2, the photosensitive resistor RT and the resistor R4 are connected in series between a power supply terminal and ground, the resistor R5 and the resistor R6 are connected in series between the power supply terminal and ground, one input terminal of the comparator U2 is connected to a connection point of the photosensitive resistor RT and the resistor R4, another input terminal of the comparator U2 is connected to a connection point of the resistor R5 and the resistor R6, and an output terminal of the comparator U2 is connected to an input terminal of the single chip microcomputer module.
As a further improvement of the above technical solution, the single chip microcomputer module includes an STC89C52 single chip microcomputer chip and a peripheral circuit thereof.
The utility model discloses still disclose a bedside lamp simultaneously, include control circuit and LED light source, the execution end of LED light source, first relay module, the execution end of second relay module and the output of PWM pressure regulating module establish ties.
The utility model has the advantages that: the utility model discloses a photosensitive module detects indoor ambient light intensity, detect the operation information of user to the bedside lamp through infrared module, single-chip module is according to ambient light intensity and the execution end start-up operation of the first relay module of operation information control of user to the bedside lamp and second relay module, utilize timing module to detect the operating time of user to the bedside lamp simultaneously, single-chip module exports the duty cycle size of PWM signal of PWM pressure regulating module according to operating time control, realize the slow start-up function of bedside lamp, simplify the operation of user to the bedside lamp simultaneously.
Drawings
In order to more clearly illustrate the technical solution in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is clear that the described figures represent only some embodiments of the invention, not all embodiments, and that a person skilled in the art can also derive other designs and figures from these figures without inventive effort.
Fig. 1 is a circuit module frame diagram of the present invention;
fig. 2 is a connection circuit diagram of the PWM voltage regulation module, the first relay module, and the second relay module of the present invention;
fig. 3 is a circuit diagram of the power module of the present invention;
FIG. 4 is a circuit diagram of the single-chip microcomputer module of the present invention;
fig. 5 is a circuit diagram of the photosensitive module of the present invention.
Detailed Description
The conception, the specific structure, and the technical effects produced by the present invention will be clearly and completely described below in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the features, and the effects of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and other embodiments obtained by those skilled in the art without inventive labor based on the embodiments of the present invention all belong to the protection scope of the present invention. In addition, all the coupling/connection relationships mentioned herein do not mean that the components are directly connected, but mean that a better coupling structure can be formed by adding or reducing coupling accessories according to specific implementation conditions. All technical characteristics in the invention can be interactively combined on the premise of not conflicting with each other.
Referring to fig. 1 to 5, the present application discloses a bedside lamp control circuit, a first embodiment of which comprises a power module, a single chip microcomputer module, a timing module, a photosensitive module, an infrared module, a first relay module, a second relay module and a PWM voltage-regulating module, wherein the power module is electrically connected with the single chip microcomputer module, the timing module, the photosensitive module, the infrared module, the first relay module, the second relay module and the PWM voltage-regulating module respectively, the photosensitive module and the infrared module are connected with the input end of the single chip microcomputer module respectively, the output end of the single chip microcomputer module is connected with the input ends of the first relay module and the second relay module respectively, the output end of the single chip microcomputer module is connected with the input end of the PWM voltage-regulating module, the execution end of the first relay module is connected with the execution end of the second relay module and the output end of the PWM voltage-regulating, the single chip microcomputer module is connected with the timing module and is configured to control the closing of the execution end of the first relay module when the photosensitive module detects that the ambient light intensity is lower than a set value, control the closing of the execution end of the second relay module when the photosensitive module detects that the received infrared light signal is larger than the set value, and calculate a time period when the received infrared light signal is larger than the set value, namely a time period when a user operates the bedside lamp, wherein the longer the operation time period is, the larger the duty ratio of the PWM signal output by the PWM voltage regulating module is. Specifically, this embodiment detects indoor ambient light intensity through photosensitive module, detect the operation information of user to the bedside lamp through infrared module, single chip module is according to ambient light intensity and the execution end start-up operation of the first relay module of user's operation information control and second relay module to the bedside lamp, utilize timing module to detect the operating time of user to the bedside lamp simultaneously, single chip module exports the duty cycle size of the PWM signal of PWM pressure regulating module according to operating time control, realize the slow start-up function of bedside lamp, simplify the operation of user to the bedside lamp simultaneously.
Further as a preferred implementation manner, in this embodiment, the power module includes a transformer, a rectifier bridge, a filter capacitor, a first voltage-dropping chip, and a second voltage-dropping chip, an output winding of the transformer is connected to the rectifier bridge, the rectifier bridge is connected to the filter capacitor, the filter capacitor is respectively connected to an input terminal of the first voltage-dropping chip and an input terminal of the second voltage-dropping chip, and the first voltage-dropping chip and the second voltage-dropping chip respectively output a 5V voltage and a 12V voltage to the outside. In this embodiment, the first buck chip preferably selects an LM7805 chip, and the second buck chip preferably selects an LM7812 chip, but both the first buck chip and the second buck chip may select a regulator chip with an adjustable output voltage, such as an AMS1117 chip.
Further as a preferred implementation manner, in this embodiment, the PWM voltage regulation module includes a switch chip of H5116 type, a diode D1, an inductor L1, and a resistor R1, a first pin of the switch chip is connected to an output terminal of the single chip microcomputer module, a third pin of the switch chip is connected to ground through the resistor R1 after being short-circuited with a fourth pin, a sixth pin of the switch chip is connected to an anode of the diode D1, a cathode of the diode D1 is connected to the power supply module, and a seventh pin of the switch chip is connected to the inductor D1. The switch chip of the model supports a PWM dimming function and a simulation dimming function, and functions of under-voltage protection, over-temperature protection, over-current protection, output open circuit protection and the like are integrated in the switch chip to improve the safety performance of the control circuit.
In a further preferred embodiment, in this embodiment, the first relay module and the second relay module each include a photocoupler U1, a relay J1, a PNP-type triode Q1, a resistor R2, and a resistor R3, an output end of the single chip microcomputer module is connected to an input end of the photocoupler U1, an output end of the photocoupler U1 is connected to a base of the triode Q1 through a resistor R2, two ends of the resistor R3 are respectively connected to the power supply module and an output end of the photocoupler U1, an emitter of the triode Q1 is connected to an input winding of the relay J1, and a collector of the triode Q1 is grounded. The isolation control function of single chip microcomputer module to relay J1 is realized through optoelectronic coupler U1 to this embodiment, through optoelectronic coupler U1 and triode Q1's setting, realizes the dual improvement of single chip microcomputer module to relay J1 driving capability.
Further as a preferred implementation manner, in this embodiment, the photosensitive module includes a photosensitive resistor RT, a resistor R4, a resistor R5, a resistor R6, and a comparator U2, the photosensitive resistor RT and the resistor R4 are connected in series between a power supply terminal and ground, the resistor R5 and the resistor R6 are connected in series between the power supply terminal and ground, one input terminal of the comparator U2 is connected to a connection point between the photosensitive resistor RT and the resistor R4, another input terminal of the comparator U2 is connected to a connection point between the resistor R5 and the resistor R6, and an output terminal of the comparator U2 is connected to an input terminal of the single chip microcomputer module.
Further as a preferred implementation manner, in this embodiment, the single chip microcomputer module includes an STC89C52 single chip microcomputer chip and a peripheral circuit thereof.
The application still discloses a bedside lamp simultaneously, its first embodiment include control circuit and LED light source, the execution end of LED light source, first relay module, the execution end of second relay module and the output of PWM pressure regulating module establish ties.
While the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the invention is not limited to the details of the embodiments shown, but is capable of various modifications and substitutions without departing from the spirit of the invention.
Claims (7)
1. A bedside lamp control circuit, characterized in that: including power module, single chip module, timing module, photosensitive module, infrared module, first relay module, second relay module and PWM voltage regulation module, power module respectively with single chip module, timing module, photosensitive module, infrared module, first relay module, second relay module and PWM voltage regulation module electric connection, photosensitive module and infrared module are connected with single chip module's input respectively, single chip module's output is connected with first relay module and second relay module's input respectively, single chip module's output is connected with PWM voltage regulation module's input, the execution end of first relay module establishes ties with the execution end of second relay module and PWM voltage regulation module's output, single chip module links to each other with timing module.
2. A bedside lamp control circuit as claimed in claim 1, wherein: the power module comprises a transformer, a rectifier bridge, a filter capacitor, a first voltage reduction chip and a second voltage reduction chip, an output winding of the transformer is connected with the rectifier bridge, the rectifier bridge is connected with the filter capacitor, the filter capacitor is respectively connected with an input end of the first voltage reduction chip and an input end of the second voltage reduction chip, and the first voltage reduction chip and the second voltage reduction chip respectively output 5V voltage and 12V voltage.
3. A bedside lamp control circuit as claimed in claim 1, wherein: PWM voltage regulating module includes that the model is H5116's switch chip, diode D1, inductance L1 and resistance R1, the first pin of switch chip links to each other with single chip module's output, pass through resistance R1 ground connection behind the third pin of switch chip and the fourth pin short circuit, the sixth pin of switch chip links to each other with diode D1's positive pole, diode D1's negative pole links to each other with power module, the seventh pin of switch chip links to each other with inductance D1.
4. A bedside lamp control circuit as claimed in claim 1, wherein: the first relay module and the second relay module respectively comprise a photoelectric coupler U1, a relay J1, a triode Q1, a resistor R2 and a resistor R3, the output end of the single chip microcomputer module is connected with the input end of the photoelectric coupler U1, the output end of the photoelectric coupler U1 is connected with the base of the triode Q1 through a resistor R2, two ends of a resistor R3 are connected with the output ends of the power supply module and the photoelectric coupler U1 respectively, the emitter of the triode Q1 is connected with the input winding of the relay J1, and the collector of the triode Q1 is grounded.
5. A bedside lamp control circuit as claimed in claim 1, wherein: the photosensitive module comprises a photosensitive resistor RT, a resistor R4, a resistor R5, a resistor R6 and a comparator U2, the photosensitive resistor RT and the resistor R4 are connected in series between a power supply end and the ground, the resistor R5 and the resistor R6 are connected in series between the power supply end and the ground, one input end of the comparator U2 is connected with a connection point of the photosensitive resistor RT and the resistor R4, the other input end of the comparator U2 is connected with a connection point of the resistor R5 and the resistor R6, and the output end of the comparator U2 is connected with the input end of the single chip microcomputer module.
6. A bedside lamp control circuit as claimed in claim 1, wherein: the single chip microcomputer module comprises an STC89C52 single chip microcomputer chip and a peripheral circuit thereof.
7. A bedside lamp, characterized in that: the LED lamp comprises the control circuit of any one of claims 1 to 6 and an LED light source, wherein the LED light source, the execution end of the first relay module, the execution end of the second relay module and the output end of the PWM voltage regulating module are connected in series.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921229072.8U CN210381375U (en) | 2019-07-31 | 2019-07-31 | Bedside lamp control circuit and bedside lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921229072.8U CN210381375U (en) | 2019-07-31 | 2019-07-31 | Bedside lamp control circuit and bedside lamp |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210381375U true CN210381375U (en) | 2020-04-21 |
Family
ID=70248007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921229072.8U Active CN210381375U (en) | 2019-07-31 | 2019-07-31 | Bedside lamp control circuit and bedside lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210381375U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430635A (en) * | 2019-07-31 | 2019-11-08 | 佛山科学技术学院 | A kind of head of a bed lamp control circuit and bedside lamp |
-
2019
- 2019-07-31 CN CN201921229072.8U patent/CN210381375U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430635A (en) * | 2019-07-31 | 2019-11-08 | 佛山科学技术学院 | A kind of head of a bed lamp control circuit and bedside lamp |
CN110430635B (en) * | 2019-07-31 | 2024-03-29 | 佛山科学技术学院 | Bedside lamp control circuit and bedside lamp |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111342658B (en) | Single live wire electronic switch gets electric circuit topology and intelligent electronic switch who constitutes thereof | |
WO2016074307A1 (en) | Led christmas lamp string | |
CN111698817A (en) | Slow start driving circuit for LED | |
CN210381375U (en) | Bedside lamp control circuit and bedside lamp | |
CN203788516U (en) | Intelligent dimming efficient constant-current LED driving chip | |
CN207010543U (en) | A kind of low harmony wave is gradually bright to fade off LED dimming drivers | |
CN212034395U (en) | Bluetooth directly links sky cat or zigbee intelligence wall switch single control circuit | |
CN110430635B (en) | Bedside lamp control circuit and bedside lamp | |
CN217824720U (en) | Light-isolation control low-voltage switch circuit | |
CN115226266A (en) | Drive circuit and lamp | |
CN209914105U (en) | Drive power supply capable of adjusting light and color temperature | |
CN211656460U (en) | LED lighting control circuit and system based on bluetooth communication | |
CN211630471U (en) | Intelligent light and color temperature adjusting circuit | |
CN210348241U (en) | Wireless intelligent wall switch device based on battery | |
CN111405733A (en) | Intelligent light and color temperature adjusting circuit | |
CN206807826U (en) | A kind of intelligent light control system | |
CN215581795U (en) | Remote sectional timing light-regulating power supply | |
CN205566712U (en) | A intelligent control circuit for having more function light device | |
CN213638292U (en) | Little night-light of human response of can adjusting luminance | |
CN216437527U (en) | Linear induction control circuit and LED lamp | |
CN218679436U (en) | LED lamp power supply | |
CN215991272U (en) | LED output adjustment drive circuit and LED lamp | |
CN218217737U (en) | Isolation dimming color-mixing LED circuit controlled by WIFI | |
CN212543670U (en) | Single live wire switching power supply and wireless lighting wall dimmer comprising same | |
CN215581787U (en) | Intelligent remote control system of LED energy-saving lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |