CN102752928A - Master-slave remote control dimming lamp - Google Patents

Master-slave remote control dimming lamp Download PDF

Info

Publication number
CN102752928A
CN102752928A CN2012102168385A CN201210216838A CN102752928A CN 102752928 A CN102752928 A CN 102752928A CN 2012102168385 A CN2012102168385 A CN 2012102168385A CN 201210216838 A CN201210216838 A CN 201210216838A CN 102752928 A CN102752928 A CN 102752928A
Authority
CN
China
Prior art keywords
brightness
chip microcomputer
slave
lamp
led lamp
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.)
Pending
Application number
CN2012102168385A
Other languages
Chinese (zh)
Inventor
张相胜
董志振
章梦柳
孙林
廖诗来
连宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangnan University
Original Assignee
Jiangnan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangnan University filed Critical Jiangnan University
Priority to CN2012102168385A priority Critical patent/CN102752928A/en
Publication of CN102752928A publication Critical patent/CN102752928A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of circuit control, in particular to a master-slave remote control dimming lamp, which comprises a master unit and a slave unit, wherein core control devices of the master unit and the slave unit respectively employ an AT89S52 singlechip microcomputer; the master unit comprises an infrared receiving module, a light brightness acquisition module, a driving module and a light emitting diode (LED) lamp; the brightness of the LED lamp can be controlled by a knob and a keyboard; LED lamp brightness data and environment light brightness data can be stored, and the brightness of the LED lamp is automatically adjusted according to external light; the slave unit transmits a signal to the master unit through infrared remote control, and the turn-on and turn-off of the lamp and the adjustment of the brightness are realized by controlling pulse width modulation (PWM); and the slave unit is in a sleep state or a working state, and if the slave unit is not operated for a long time, the slave unit automatically enters a sleep power-saving state. A peripheral circuit has the characteristics of simplicity, high driving capacity, low cost and high efficiency. The circuit is provided with software and hardware, has a main function of software regulation, and is large in repaired space and high in cost performance.

Description

A kind of master-slave mode remote control light modulating lamp
Technical field
The present invention relates in particular to a kind of master-slave mode remote control light modulating lamp for relating to circuit control technology field.
Background technology
Current most Lighting Control Assembly all is to utilize all kinds of common hand switches to control the on off state of light fixture; Its brightness regulation also is to regulate accordingly through common dimmer switch; Can not change according to bright environment self-adaption, to reach the most comfortable brightness of individual demand.Common on the market remote controlled lantern is that the brightness of lamp is jumped step by step through remote controller key control at present, can't realize steady light modulation and most complicated circuit, and cost is higher.
Summary of the invention
The present invention has overcome the deficiency of prior art, has designed a master-slave mode remote control light modulating lamp, adopts energy-conservation high bright LED lamp as light source; Two-shipper control; It not only can remote control open and close lamp, can also regulate the brightness of light as required arbitrarily, and adaptation function is arranged; The memory storage function can be divided into sleep/two kinds of patterns of work.
In order to solve the problems of the technologies described above, the present invention realizes through following technical scheme.Master-slave mode remote control light modulating lamp of the present invention, it comprises: host machine part, PWM realizes controlling the start and stop of lamp and the adjusting of brightness, realization memory storage function able to programme, adaptation function through control; Slave part, infrared remote control are controlled the switch and the brightness regulation of LED lamp, are divided into sleep, two kinds of patterns of work.Main frame comprises infrared receiving module, the brightness acquisition module, and LED brilliance control knob, supervisory keyboard, single-chip microcomputer, relay indicating light, driver module, the LED lamp, slave comprises supervisory keyboard, single-chip microcomputer, relay indicating light, infrared transmission module.The single-chip microcomputer of slave scans the supervisory keyboard button and presses, and will instruct through the I/O mouth and import single-chip microcomputer, and processing is discerned in different instructions in single-chip microcomputer, output a control signal to relay indicating light and infrared transmission module through the I/O mouth.Infrared transmission module is launched different binary pulse sign indicating numbers to infrared receiving module according to unlike signal, through host SCM the binary pulse sign indicating number is decoded as input signal; The brightness acquisition module is converted into resistance value through the photo resistance that is connected on the host SCM I/O mouth with bright degree, and host SCM detects the photo resistance voltage to be changed, and is converted into input signal through ADC0809; LED brilliance control knob changes resistance through the slide rheostat that is connected on the host SCM I/O mouth, and host SCM detects the slide rheostat voltage to be changed, and is converted into input signal through ADC0809; Whether the supervisory keyboard button that host SCM scanning is connected on the single-chip processor i/o mouth is pressed, and will instruct and import host SCM, is converted into input signal through identification in the host SCM; Host SCM is handled above-mentioned four kinds of input signals, and the PWM of output different duty also passes through the light on and off of I/O mouth output signal controlling relay indicating light through the brightness of driver module control LED lamp.Host SCM can be stored brightness of LED lamp and the pairing numerical value of ambient brightness; Directly call through button when supplying use next time; Perhaps through host SCM the brightness data and the pairing data of current environment brightness of storage are carried out internal arithmetic, the numerical value of brightness of exporting current demand is to the LED lamp.
Because adopt technique scheme, master-slave mode remote control light modulating light fixture provided by the invention has such beneficial effect, promptly can remote control open and close lamp; Can also regulate the brightness of light as required arbitrarily, steadily light modulation has the memory storage function; Adaptation function can be divided into sleep/two kinds of patterns of work.
Description of drawings
Below specify the present invention based on the schematic diagram shown in the accompanying drawing, wherein:
Fig. 1 shows slave, main machine structure schematic diagram;
Fig. 2 shows slave control circuit schematic diagram;
Fig. 3 shows the infrared remote control theory diagram;
Fig. 4 shows the host computer control circuit theory diagrams;
Fig. 5 shows infrared receiving module figure;
Fig. 6 shows brightness acquisition module figure;
Fig. 7 shows driver module figure;
Fig. 8 shows the slave functional flow diagram;
Fig. 9 shows the host function flow chart;
Embodiment
Below in conjunction with accompanying drawing the present invention is done further description.
The design of this master-slave mode remote control light modulating lamp mainly is divided into two parts: slave and main frame.System architecture diagram is as shown in Figure 1.It is kernel control chip that host and slave processors all adopts the AT89S52 single-chip microcomputer, and slave partly utilizes infrared remote control to transmit signal to main frame, is realized the adjusting of lamp start and stop and brightness then through control PWM by host machine part.In addition, main frame is through being programmed in the inner memory storage function that realizes of single-chip microcomputer; Utilize ADC0809 that the data that photo resistance collects are changed, and the process internal arithmetic realize adaptation function through the brightness that PWM controls the LED lamp.Slave system is divided into sleep/work two states, and long-time nothing operation gets into the sleep electricity-saving state automatically.
Slave mainly is made up of supervisory keyboard, single-chip microcomputer, relay indicating light and infrared transmission module, and software programming is mainly leaned in the realization of function, and is as shown in Figure 2.
The infrared remote control module adopts the serial code of pulse-width modulation during coding, be 0.565ms with the pulsewidth, 0.56ms, cycle are that binary " 0 " is represented in the combination of 1.125ms at interval; Be 0.565ms with the pulsewidth, 1.685ms, cycle are that binary " 1 " is represented in the combination of 2.25ms at interval.32 binary codes that above-mentioned " 0 " and " 1 " is formed carry out secondary modulation through the carrier frequency of 38kHz, and buffering is delivered to infrarede emitting diode after amplifying, and is converted into the infrared signal emission, and principle is as shown in Figure 3.
Main frame mainly is made up of infrared receiving module, brightness acquisition module, LED brilliance control knob, supervisory keyboard, single-chip microcomputer, relay indicating light, driver module and LED lamp.The design of host hardware circuit is simple and easy and can accomplish particular functionality, and is as shown in Figure 4.
Infrared receiving module for the infrared remote-controlled signal of having modulated, adopts integrated infrared receiving module to carry out demodulation.This module is used HS0038; Can the reception carrier frequency be the infrared remote-controlled signal of 38kHz; HS0038 outside the pulse signal that obtains remote control command, also carries out shaping and reverse output to the signal that demodulates to the received signal except having carried out amplification, amplitude limit, detection; The output signal directly gets into main control chip INTO, and is as shown in Figure 5.
The brightness acquisition module is through photo resistance the sensitization of light to be realized.When ambient light is strong more, the photo resistance resistance is just big more.The AT89S52 single-chip microcomputer detects the change in voltage at photo resistance two ends; And convert input signal into through ADC0809; The data that collect and user's setting data are carried out internal arithmetic, thereby export the brightness that different PWM controls the LED lamp, realize induced environment light; Automatically the function of adjustment LED lamp brightness is as shown in Figure 6.
Driver module selects for use LM3407 as chip for driving.LM3407 is the floating type step-down controller of the pulse width modulation of a integrated N channel power MOS FET, and its design is for constant current output accurately is provided, and is with the driving LED lamp, as shown in Figure 7.
In the slave remote control course of work, single-chip microcomputer has not detected button in one minute when pressing, and will get into battery saving mode automatically, wakes button up and presses when detecting, and single-chip microcomputer gets into normal mode of operation, and judges it is that which button is pressed.The slave workflow diagram is as shown in Figure 8.
When infrared receiving module receives data, transmit data to host SCM through host SCM external interrupt port.Infrared receiving module and supervisory keyboard on the main frame scan simultaneously, in case the instruction input is arranged, single-chip microcomputer will be made judgement, carries out function corresponding.The host work flow chart is as shown in Figure 9.
Memory storage function, photo resistance are gathered current light intensity and are passed to host SCM, and single-chip microcomputer obtains just producing a kind of PWM pulsewidth after the data, when receiving the storage button when pressing, store current LED lamp brightness data and ambient light brightness data.
Adaptation function; Carry out the brightness collection earlier; The data that collect are changed through ADC0809, in host SCM, used last time the good ambient brightness numerical value of button storage and the brightness number of LED lamp to carry out computing, control the brightness of current LED lamp with the user; Thereby realize adjusting the LED lamp automatically, make the function of the brightness of its most comfortable that reaches user's setting according to extraneous light.
Knob is regulated the brightness function, through the brightness of the LED brilliance control knob controlling LED lamp on the main frame.When knob, its resistance value changes, thereby the magnitude of voltage that causes the knob two ends changes; Host SCM is gathered knob voltage value; And be converted into input signal through ADC0809, and handle the PWM of back control output different duty, reach the effect of steady control LED lamp brightness.
The slave supervisory keyboard is provided with a plurality of function buttons, and button mainly is provided with: the ON/OFF of LED lamp, low-light level control, middle brilliance control, high brightness control, brightness storage, mode switch and sleep/operating state, 7 function keys.
" ON/OFF of LED lamp " button: this button clicks lamp and opens, and presses lamp again and closes.
" low-light level ", " middle brightness ", " high brightness " button: three buttons, each button can be controlled a gray scale of LED lamp.
" brightness storage " button: this button clicks once current brightness data of storage and current environment brightness data.
" mode switch " button: this button clicks, and forwards direct invocation pattern to from automatic mode, and accesses the LED lamp brightness of storing; This button double-clicks, and host SCM carries out computing, and according to ambient brightness, the LED lamp is adjusted into the most comfortable brightness of setting automatically.
" sleep/operating state " button: this button is pressed, and wakes the slave single-chip microcomputer up and gets into normal mode.
Also being provided with some function keys on the slave on the main frame, is can't control in order to prevent slave from losing.The system soft or hard combines, and is main with software adjustment, and it is big to repair the space, has high cost performance.

Claims (3)

1. a master-slave mode remote control light modulating lamp is characterized in that it comprises: host machine part and slave part; Said main frame comprises infrared receiving module (1), brightness acquisition module (2), LED brilliance control knob (3), supervisory keyboard (4), single-chip microcomputer (5), relay indicating light (6), driver module (7), LED lamp (8); Said slave comprises supervisory keyboard (9), single-chip microcomputer (10), relay indicating light (11), infrared transmission module (12); Whether single-chip microcomputer (10) scan control keyboard (9) button is pressed, and will instruct through the I/O mouth and import single-chip microcomputer (10), and processing is discerned in different instructions in single-chip microcomputer (10), output a control signal to relay indicating light (11) and infrared transmission module (12) through the I/O mouth; Infrared transmission module (12) is launched different binary pulse sign indicating numbers to infrared receiving module (1) according to unlike signal, is decoded as input signal through single-chip microcomputer (5); Brightness acquisition module (2) is converted into resistance value through the photo resistance that is connected on single-chip microcomputer (5) the I/O mouth with bright degree, and single-chip microcomputer (5) detects the photo resistance voltage to be changed, and is converted into input signal through ADC0809; LED brightness knob (3) changes resistance through the slide rheostat that is connected on single-chip microcomputer (5) the I/O mouth, and single-chip microcomputer (5) detects the slide rheostat voltage to be changed, and is converted into input signal through ADC0809; Supervisory keyboard (4) button that single-chip microcomputer (5) scanning is connected on the single-chip processor i/o mouth is pressed, and will instruct and import single-chip microcomputer (5), is converted into input signal through identification in the single-chip microcomputer; Single-chip microcomputer (5) is handled above-mentioned four kinds of signals, and the PWM of output different duty is through the brightness of driver module (7) control LED lamp (8), through the light on and off of I/O mouth output signal controlling relay indicating light (6).
2. master-slave mode remote control light modulating lamp according to claim 1; It is characterized in that; Said single-chip microcomputer (5) storage pairing digital signal of LED lamp (8) brightness (13) and the pairing digital signal of ambient brightness (14); Pass through directly call number signal (13) of supervisory keyboard (9) when use next time; Perhaps through single-chip microcomputer (5) internal arithmetic is carried out with the pairing signal of current environment brightness (15) in brightness digital signal (13), (14) of storage, the digital signal (16) of exporting the brightness of current demand is to LED lamp (8).
3. master-slave mode remote control light modulating lamp according to claim 1 is characterized in that said infrared transmission module (12) is an infrarede emitting diode, inserts single-chip microcomputer (10) I/O mouth, and the binary pulse sign indicating number of emission is modulated on the 38KHZ carrier wave.
CN2012102168385A 2012-06-28 2012-06-28 Master-slave remote control dimming lamp Pending CN102752928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102168385A CN102752928A (en) 2012-06-28 2012-06-28 Master-slave remote control dimming lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102168385A CN102752928A (en) 2012-06-28 2012-06-28 Master-slave remote control dimming lamp

Publications (1)

Publication Number Publication Date
CN102752928A true CN102752928A (en) 2012-10-24

Family

ID=47032750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102168385A Pending CN102752928A (en) 2012-06-28 2012-06-28 Master-slave remote control dimming lamp

Country Status (1)

Country Link
CN (1) CN102752928A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079309A (en) * 2012-12-24 2013-05-01 余姚市泰联照明电器有限公司 LED (Light-Emitting Diode) light source regulator control system and LED light source regulator control method
CN103501566A (en) * 2013-10-14 2014-01-08 周宏军 Lighting lamp capable of automatically adjusting brightness
CN104853484A (en) * 2015-04-20 2015-08-19 昆明理工大学 Indoor LED lighting dimming control device and method
CN106793384A (en) * 2016-12-05 2017-05-31 普天智能照明研究院有限公司 Indoor intelligent inductive lightning system and its illumination control method
CN107027216A (en) * 2017-04-01 2017-08-08 浙江大学 A kind of Household aquarium simulates sunlight intelligent control system
CN108575032A (en) * 2017-10-26 2018-09-25 常州星宇车灯股份有限公司 A kind of Novel balance lamp system
CN109497932A (en) * 2018-12-28 2019-03-22 南宁职业技术学院 Eyesight automatic testing equipment
CN110572908A (en) * 2019-09-10 2019-12-13 宁波颐栎庭园用品有限公司 Intelligent recognition light control system
CN111862881A (en) * 2019-04-25 2020-10-30 深圳市皓祥光电有限公司 Dimmer capable of changing dimming curve and adjusting output PWM frequency
CN112040600A (en) * 2020-08-26 2020-12-04 深圳市海洋王照明工程有限公司 Lamp control method and device, lamp and storage medium
CN112755404A (en) * 2021-01-31 2021-05-07 毛真真 Traditional Chinese medicine endocrinology department physical therapy baking lamp, control system and control method
CN113017885A (en) * 2018-07-03 2021-06-25 深圳素士科技股份有限公司 Tooth irrigator and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201541386U (en) * 2009-10-20 2010-08-04 秦兵 Remote-control and key dimming energy-saving lamp
CN201651899U (en) * 2010-03-22 2010-11-24 群光电能科技股份有限公司 Light-emitting diode lamp system with automatic and manual light dimming function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201541386U (en) * 2009-10-20 2010-08-04 秦兵 Remote-control and key dimming energy-saving lamp
CN201651899U (en) * 2010-03-22 2010-11-24 群光电能科技股份有限公司 Light-emitting diode lamp system with automatic and manual light dimming function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵李彬: "基于AT89C2051的数字调光器设计", 《现代商贸工业》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079309A (en) * 2012-12-24 2013-05-01 余姚市泰联照明电器有限公司 LED (Light-Emitting Diode) light source regulator control system and LED light source regulator control method
CN103501566A (en) * 2013-10-14 2014-01-08 周宏军 Lighting lamp capable of automatically adjusting brightness
CN104853484A (en) * 2015-04-20 2015-08-19 昆明理工大学 Indoor LED lighting dimming control device and method
CN106793384A (en) * 2016-12-05 2017-05-31 普天智能照明研究院有限公司 Indoor intelligent inductive lightning system and its illumination control method
CN107027216A (en) * 2017-04-01 2017-08-08 浙江大学 A kind of Household aquarium simulates sunlight intelligent control system
CN108575032A (en) * 2017-10-26 2018-09-25 常州星宇车灯股份有限公司 A kind of Novel balance lamp system
CN113017885A (en) * 2018-07-03 2021-06-25 深圳素士科技股份有限公司 Tooth irrigator and computer-readable storage medium
CN113017885B (en) * 2018-07-03 2022-08-12 深圳素士科技股份有限公司 Tooth irrigator and computer-readable storage medium
CN109497932A (en) * 2018-12-28 2019-03-22 南宁职业技术学院 Eyesight automatic testing equipment
CN111862881A (en) * 2019-04-25 2020-10-30 深圳市皓祥光电有限公司 Dimmer capable of changing dimming curve and adjusting output PWM frequency
CN110572908A (en) * 2019-09-10 2019-12-13 宁波颐栎庭园用品有限公司 Intelligent recognition light control system
CN112040600A (en) * 2020-08-26 2020-12-04 深圳市海洋王照明工程有限公司 Lamp control method and device, lamp and storage medium
CN112040600B (en) * 2020-08-26 2023-04-25 深圳市海洋王公消照明技术有限公司 Lamp control method and device, lamp and storage medium
CN112755404A (en) * 2021-01-31 2021-05-07 毛真真 Traditional Chinese medicine endocrinology department physical therapy baking lamp, control system and control method

Similar Documents

Publication Publication Date Title
CN102752928A (en) Master-slave remote control dimming lamp
CN101459993B (en) Background lamp apparatus for control panel and control apparatus thereof
CN201037611Y (en) LED desk lamp with automatic light stabilizing function
CN104378871A (en) Intelligent optical control lamp system
CN108156690B (en) LED dimming method and system based on ambient brightness
CN103796374A (en) LED illumination control system
CN207603958U (en) Wireless lamp driving device with independent power supply and lamp system thereof
CN104640307A (en) LED controlling device
CN201715281U (en) LED lighting equipment
CN202713717U (en) Master-slave type remote controlled dimmable lamp
CN204498406U (en) Touch/wireless remote control light modulation lamp
CN101917797B (en) City street-lamp node control method
CN201608937U (en) Simple intelligent light-adjusting LED driver
CN201557305U (en) Light adjusting controller based on zigbee technology
CN202958031U (en) New type intelligent and energy-saving controller of LED (Light Emitting Diode) desk lamp
CN208285613U (en) SCM Based indoor intelligent lighting system
CN201639848U (en) Wireless remote control transmitter for intelligent light-dimming and energy-saving lamp
CN203407052U (en) Intelligent optical control lamp system
CN108430130B (en) Lighting device with indoor positioning function
CN202918547U (en) Centralized powered LED device
CN202353865U (en) Sensing device applied to control light emitting diode (LED) illumination device
CN202549049U (en) Remote controller with sleep wake-up device
CN103501557A (en) Automatic digital dimming system of LED
CN204362346U (en) Illumination control apparatus and the light fixture with sleeping pattern
CN203364960U (en) Wireless communication based desktop illuminometer and intelligent control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121024