CN108337770A - A kind of desk lamp control system and its control method - Google Patents

A kind of desk lamp control system and its control method Download PDF

Info

Publication number
CN108337770A
CN108337770A CN201810015092.9A CN201810015092A CN108337770A CN 108337770 A CN108337770 A CN 108337770A CN 201810015092 A CN201810015092 A CN 201810015092A CN 108337770 A CN108337770 A CN 108337770A
Authority
CN
China
Prior art keywords
desk lamp
room
human body
coordinate
control system
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.)
Granted
Application number
CN201810015092.9A
Other languages
Chinese (zh)
Other versions
CN108337770B (en
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.)
Henan Bojiao Electronic Technology Co ltd
Original Assignee
Nanning Haofa Technology Co Ltd
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 Nanning Haofa Technology Co Ltd filed Critical Nanning Haofa Technology Co Ltd
Priority to CN201810015092.9A priority Critical patent/CN108337770B/en
Publication of CN108337770A publication Critical patent/CN108337770A/en
Application granted granted Critical
Publication of CN108337770B publication Critical patent/CN108337770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention relates to a kind of desk lamp control system and its control methods, a kind of desk lamp control system and its control method include human detection module, high-definition camera module, controller, system judges the main positions of user in the room by human detection module, judge whether be moved through in user's certain time by high-definition camera module, if user is to carry out movement to stimulate user to carry out judging whether user is in sleep state, closing of the processor in operation desk lamp by adjustable desk lamp LED in certain time.

Description

A kind of desk lamp control system and its control method
Technical field
The invention belongs to field of intelligent control technology, more particularly to a kind of desk lamp control system and its control method.
Background technology
Desk lamp is the common household electrical appliance for being used for illuminating in people's life, commonly used in bending over one's desk working for night.LED desk lamp Light source usually collectively constituted by multiple LED lamp beads, when user leaves the illumination range of desk lamp, that is, user is not When using LED desk lamp, all LED lamp beads, which are all lighted, will cause energy waste, and also some people custom, which shines light, to sleep, when Desk lamp has not been needed when in sleep state, but desk lamp is also working, cause the reduction of desk lamp service life and the energy Waste.
Chinese patent CN201210345055.7 provides intelligent desk lamp control method, by the working time and judges desk lamp week Enclose whether someone is turned on and off desk lamp, but in actual conditions many people enter sleep to forget to close due to too tired lamp Close desk lamp, such situation system can not just solve, so when inventing a kind of desk lamp of intelligent decision demand very it is necessary to 's.
Invention content
Present invention aims at a kind of desk lamp control system of offer and its control methods.
A kind of desk lamp control system and its control method, include the following steps,
Step 1:Desk lamp is opened, activation system, obtains the time, and the period is to skip to step 2 at night;
Step 2:Detect room whether someone, detect that someone then skips to step 3, someone be not detected and then skips to step 4;
Step 3:Start camera and obtains coordinate residing for human body head in room(X,Y), preserve to processor and skip to step Five;
Step 4:Whether human body signal is detected in room, in detection time T if human body letter is not detected in time T inner room Number step 11 is then skipped to, step 3 is skipped to if detecting human body signal in time T inner room;
Step 5:Start the human body detection device at the head of a bed, detects within the scope of bed whether detect human body signal, if detecting people Body signal then skips to step 6, modulation step seven if human body signal is not detected;
Step 6:A human body head coordinate is obtained every time T1(X1,Y1), calculate the absolute difference of coordinate twice | X1- X | with | Y1-Y |, wherein(X1,Y1)Value assigns(X,Y), judging two absolute differences, wherein whether there are one be more than institute above Set predetermined threshold value, if two coordinate differences be more than predetermined threshold value if repeat step 6, if two coordinate differences be less than it is default Determine threshold value and then skip to step 8, step 4 is skipped to if it can not obtain human body head coordinate;
Step 7:A human body head coordinate is obtained every time T1(X1,Y1), calculate the absolute difference of coordinate twice | X1- X | with | Y1-Y |, wherein(X1,Y1)Value assigns(X,Y), judging two absolute differences, wherein whether there are one be more than institute above Set predetermined threshold value, if two coordinate differences be more than predetermined threshold value if repeat step 7, if two coordinate differences be less than it is default Determine threshold value and then skip to step 9, step 4 is skipped to if it can not obtain human body head coordinate;
Step 8:Processor reduces a desk lamp LED10% voltage duty cycle every the T2 times, judges voltage duty cycle at 10% Whether reset key has triggering before, and step 10 is skipped to if having triggering between 10%, if not there is triggering reset key to skip to Step 11;
Step 9:Processor reduces a desk lamp LED10% voltage duty cycle every the T3 times, judges voltage duty cycle at 10% Whether reset key has triggering before, and step 10 is skipped to if having triggering between 10%, if not there is triggering reset key to skip to Step 11;
Step 10:Processor adjustable desk lamp LED voltage duty ratio is to 100% and skips to step 1;
Step 11:Desk lamp is closed, step 1 is skipped to after waiting for desk lamp to open.
Wherein, desk lamp connects clock module, and for judging residing period on whether non-daytime or night, detected value is sent out It send to processor.
Wherein, two human body detection devices, an entire room range of detection, another detection room are placed in room Range residing for bed.
Wherein, it is placed there are two high-definition camera in room, be individually positioned in room highest point two are diagonal, for examining Coordinate value residing for the interior people of measuring room, and it is sent to processor.
Wherein, the non-10min ~ 30min of the detection range of time T.
Wherein,(X1,Y1)With(X,Y)Absolute value differences given threshold be 1 ~ 5.
Wherein, the non-5min ~ 10min of the detection range of time T1.
Wherein, the setting value of time T2 is 3min.
Wherein, the value set by time T3 is 5min.
Wherein, system is for one-man in single room or room.
Advantageous effect:
The present invention is according to user's specific location in the room, and is identified and judged in the head of processor by high-definition camera shooting Whether user is moved excessively within a certain period of time, energy saving to a certain extent to judge whether to need to close desk lamp.
Description of the drawings
Fig. 1 is the flow chart of a kind of desk lamp control system of the present invention and its control method.
Fig. 2 is the structure chart of a kind of desk lamp control system of the present invention and its control method.
Specific implementation mode
As shown in Figs. 1-2, a kind of desk lamp control system and its control method include human detection module, high-definition camera mould Block, controller, system judge the main positions of user in the room by human detection module, are judged by high-definition camera module Whether be moved through in user's certain time, if in certain time user be carry out it is mobile by adjustable desk lamp LED stimulate user into Row judges whether user is in sleep state, a kind of closing desk lamp control system and its controlling party of the processor in operation desk lamp Method includes the following steps,
Step 1:Desk lamp is opened, activation system, obtains the time, and the period is to skip to step 2 at night;
Step 2:Detect room whether someone, detect that someone then skips to step 3, someone be not detected and then skips to step 4;
Step 3:Start camera and obtains coordinate residing for human body head in room(X,Y), preserve to processor and skip to step Five;
Step 4:Whether human body signal is detected in room, in detection time T if human body letter is not detected in time T inner room Number step 11 is then skipped to, step 3 is skipped to if detecting human body signal in time T inner room;
Step 5:Start the human body detection device at the head of a bed, detects within the scope of bed whether detect human body signal, if detecting people Body signal then skips to step 6, modulation step seven if human body signal is not detected;
Step 6:A human body head coordinate is obtained every time T1(X1,Y1), calculate the absolute difference of coordinate twice | X1- X | with | Y1-Y |, wherein(X1,Y1)Value assigns(X,Y), judging two absolute differences, wherein whether there are one be more than institute above Set predetermined threshold value, if two coordinate differences be more than predetermined threshold value if repeat step 6, if two coordinate differences be less than it is default Determine threshold value and then skip to step 8, step 4 is skipped to if it can not obtain human body head coordinate;
Step 7:A human body head coordinate is obtained every time T1(X1,Y1), calculate the absolute difference of coordinate twice | X1- X | with | Y1-Y |, wherein(X1,Y1)Value assigns(X,Y), judging two absolute differences, wherein whether there are one be more than institute above Set predetermined threshold value, if two coordinate differences be more than predetermined threshold value if repeat step 7, if two coordinate differences be less than it is default Determine threshold value and then skip to step 9, step 4 is skipped to if it can not obtain human body head coordinate;
Step 8:Processor reduces a desk lamp LED10% voltage duty cycle every the T2 times, judges voltage duty cycle at 10% Whether reset key has triggering before, and step 10 is skipped to if having triggering between 10%, if not there is triggering reset key to skip to Step 11;
Step 9:Processor reduces a desk lamp LED10% voltage duty cycle every the T3 times, judges voltage duty cycle at 10% Whether reset key has triggering before, and step 10 is skipped to if having triggering between 10%, if not there is triggering reset key to skip to Step 11;
Step 10:Processor adjustable desk lamp LED voltage duty ratio is to 100% and skips to step 1;
Step 11:Desk lamp is closed, step 1 is skipped to after waiting for desk lamp to open.
Desk lamp connects clock module, and for judging residing period on whether non-daytime or night, detected value is sent to Processor, is placed with two human body detection devices in room, an entire room range of detection, residing for another detection room bed Range, place there are two high-definition camera in room, be individually positioned in room highest point two are diagonal, for detecting room Coordinate value residing for interior people, and it is sent to processor.
Non- 10min ~ the 30min of detection range of time T,(X1,Y1)With(X,Y)Absolute value differences given threshold be 1 ~ 5. Non- 5min ~ the 10min of detection range of time T1.The setting value of time T2 is 3min, and the value set by time T3 is 5min, system For one-man in single room or room.
The specific embodiment of system is:When desk lamp is opened, system obtains the time signal of clock module automatically, when judging this Between section be evening when, for the first time detect room in whether presence of people, if nobody presence, give a period Judge whether someone comes in the time, which is usually set to 10 minutes to 30 minutes or so, if detecting room Someone opens two, room high-definition camera, room images shooting is sent to processor, processor is known by digital processing Others' head, and calculate the coordinate points residing for head(X, y), start the human body detection device at the head of a bed, judge that user is In bed or outside bed, if user is in bed with five minutes to a head coordinate is very obtained, judge that head is sat twice If target difference judges that user is in waking state, if difference if difference judges user just during exercise 5 or more Judge that user may be for sleep state at 5 times one, at this moment processor control desk lamp lowered a desk lamp voltage with every 3 minutes and accounts for Empty ratio, if user presses reset key, desk lamp luminance recovery original state, system detectio user's head before duty ratio drops to 0 Coordinate simultaneously judged, is set out not yet reset key if dropping to 0, and system closes desk lamp, waits for the unlatching next time of desk lamp, when When on user's no longer bed, system obtained a head coordinate with five minutes to ten minutes, judged the difference of head coordinate twice Value, if if difference judges user just during exercise 5 or more, judges that user is in waking state, if difference is under 5 One judges that user may be for sleep state, and at this moment processor control desk lamp lowered a desk lamp voltage duty cycle with every 3 minutes, If user presses reset key before duty ratio drops to 0, desk lamp luminance recovery original state, system detectio user's head coordinate is simultaneously Judged, set out not yet reset key if dropping to 0, system closes desk lamp, waits for the unlatching next time of desk lamp.

Claims (10)

1. a kind of desk lamp control system and its control method, include the following steps,
Step 1:Desk lamp is opened, activation system, obtains the time, and the period is to skip to step 2 at night;
Step 2:Detect room whether someone, detect that someone then skips to step 3, someone be not detected and then skips to step 4;
Step 3:Start camera and obtains coordinate residing for human body head in room(X,Y), preserve to processor and skip to step Five;
Step 4:Whether human body signal is detected in room, in detection time T if human body letter is not detected in time T inner room Number step 11 is then skipped to, step 3 is skipped to if detecting human body signal in time T inner room;
Step 5:Start the human body detection device at the head of a bed, detects within the scope of bed whether detect human body signal, if detecting people Body signal then skips to step 6, modulation step seven if human body signal is not detected;
Step 6:A human body head coordinate is obtained every time T1(X1,Y1), calculate the absolute difference of coordinate twice | X1- X | with | Y1-Y |, wherein(X1,Y1)Value assigns(X,Y), judging two absolute differences, wherein whether there are one be more than institute above Set predetermined threshold value, if two coordinate differences be more than predetermined threshold value if repeat step 6, if two coordinate differences be less than it is default Determine threshold value and then skip to step 8, step 4 is skipped to if it can not obtain human body head coordinate;
Step 7:A human body head coordinate is obtained every time T1(X1,Y1), calculate the absolute difference of coordinate twice | X1- X | with | Y1-Y |, wherein(X1,Y1)Value assigns(X,Y), judging two absolute differences, wherein whether there are one be more than institute above Set predetermined threshold value, if two coordinate differences be more than predetermined threshold value if repeat step 7, if two coordinate differences be less than it is default Determine threshold value and then skip to step 9, step 4 is skipped to if it can not obtain human body head coordinate;
Step 8:Processor reduces a desk lamp LED10% voltage duty cycle every the T2 times, judges voltage duty cycle at 10% Whether reset key has triggering before, and step 10 is skipped to if having triggering between 10%, if not there is triggering reset key to skip to Step 11;
Step 9:Processor reduces a desk lamp LED10% voltage duty cycle every the T3 times, judges voltage duty cycle at 10% Whether reset key has triggering before, and step 10 is skipped to if having triggering between 10%, if not there is triggering reset key to skip to Step 11;
Step 10:Processor adjustable desk lamp LED voltage duty ratio is to 100% and skips to step 1;
Step 11:Desk lamp is closed, step 1 is skipped to after waiting for desk lamp to open.
2. a kind of desk lamp control system according to claim 1 and its control method, which is characterized in that according to step institute It states, desk lamp connects clock module, and for judging residing period on whether non-daytime or night, detected value is sent to processing Device.
3. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 2 and step Two human body detection devices, an entire room range of detection, another detection room bed institute are placed with described in rapid five, in room The range at place.
4. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 3 It is placed there are two high-definition camera in room, be individually positioned in room highest point two are diagonal, for detecting people institute in room The coordinate value at place, and it is sent to processor.
5. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 4 institute It states, the non-10min ~ 30min of detection range of time T.
6. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 6 Wherein(X1,Y1)With(X,Y)Absolute value differences given threshold be 1 ~ 5.
7. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 6 and step Described in rapid seven, the non-5min ~ 10min of detection range of time T1.
8. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 8 institute It states, the setting value of time T2 is 3min.
9. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that according to step 9 institute It states, the value set by time T3 is 5min.
10. a kind of desk lamp control system as described in claim 1 and its control method, which is characterized in that system is used for one One-man in room or room.
CN201810015092.9A 2018-01-08 2018-01-08 Control method of desk lamp control system Active CN108337770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810015092.9A CN108337770B (en) 2018-01-08 2018-01-08 Control method of desk lamp control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810015092.9A CN108337770B (en) 2018-01-08 2018-01-08 Control method of desk lamp control system

Publications (2)

Publication Number Publication Date
CN108337770A true CN108337770A (en) 2018-07-27
CN108337770B CN108337770B (en) 2020-10-23

Family

ID=62924015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810015092.9A Active CN108337770B (en) 2018-01-08 2018-01-08 Control method of desk lamp control system

Country Status (1)

Country Link
CN (1) CN108337770B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109152167A (en) * 2018-08-16 2019-01-04 厦门盈趣科技股份有限公司 A kind of lamp light control method and system
CN111654956A (en) * 2020-05-12 2020-09-11 惠州拓邦电气技术有限公司 Control method and device of sleep lamp, sleep lamp and storage medium
CN113515052A (en) * 2021-03-26 2021-10-19 青岛海尔空调器有限总公司 Method and device for lighting control in smart home system, air conditioner and system
CN113597072A (en) * 2021-08-23 2021-11-02 成都世纪光合作用科技有限公司 Lamp control method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869696A (en) * 2015-03-31 2015-08-26 繁昌县博通电子商务有限公司 Intelligent energy-saving household illuminating lamp
WO2016145059A1 (en) * 2015-03-09 2016-09-15 Circadian Zirclight Inc. Systems and methods for controlling environmental illumination
CN106455210A (en) * 2016-10-09 2017-02-22 浙江凯耀照明股份有限公司 Indoor illuminance intelligent adjustment apparatus and control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016145059A1 (en) * 2015-03-09 2016-09-15 Circadian Zirclight Inc. Systems and methods for controlling environmental illumination
CN104869696A (en) * 2015-03-31 2015-08-26 繁昌县博通电子商务有限公司 Intelligent energy-saving household illuminating lamp
CN106455210A (en) * 2016-10-09 2017-02-22 浙江凯耀照明股份有限公司 Indoor illuminance intelligent adjustment apparatus and control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ELHADDAD, AIM等: "USER PREFERENCES IN INDOOR LED LIGHTING", 《CIE CENTENARY CONFERENCE ON TOWARDS A NEW CENTURY OF LIGHT》 *
黄 帆,杨贤昭,陈 洋: "基于Android的智能可调光LED灯节能控制", 《高技术通讯》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109152167A (en) * 2018-08-16 2019-01-04 厦门盈趣科技股份有限公司 A kind of lamp light control method and system
CN109152167B (en) * 2018-08-16 2020-07-24 厦门盈趣科技股份有限公司 Light control method and system
CN111654956A (en) * 2020-05-12 2020-09-11 惠州拓邦电气技术有限公司 Control method and device of sleep lamp, sleep lamp and storage medium
CN111654956B (en) * 2020-05-12 2023-03-24 惠州拓邦电气技术有限公司 Control method and device of sleep lamp, sleep lamp and storage medium
CN113515052A (en) * 2021-03-26 2021-10-19 青岛海尔空调器有限总公司 Method and device for lighting control in smart home system, air conditioner and system
CN113597072A (en) * 2021-08-23 2021-11-02 成都世纪光合作用科技有限公司 Lamp control method and device and electronic equipment

Also Published As

Publication number Publication date
CN108337770B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN108337770A (en) A kind of desk lamp control system and its control method
CN104470058B (en) A kind of control method of subregion lighting energy-saving switch control system
CN105228313B (en) Illumination control method and relevant device
CN104869696A (en) Intelligent energy-saving household illuminating lamp
CN101711079B (en) Classroom illumination wireless detection and control device and method
CN101400201A (en) Light source control device and method
CN108287499A (en) A kind of intelligent electrical appliance control and system
CN103940037A (en) Control method and device of air conditioner display screen
CN105407605B (en) A kind of remote controler and its instruction lamp control method, device
CN108495410A (en) A kind of residence stairs Intelligent partition lighting energy saving control system and control method
CN105972751A (en) Air conditioner and display panel brightness control method thereof
CN107197567A (en) Room lighting intelligence control system
CN110769553A (en) Self-adaptive intelligent lighting control method based on pedestrian behavior mode
CN109819564A (en) Room light brightness self-adaption regulation system
CN102595743A (en) Light-control lamp and control method thereof
CN102303799A (en) Elevator lighting self-adaptive turn-on system
CN208079478U (en) Intelligent energy-saving illuminating system based on zigbee network
CN210781434U (en) Automatic induction lighting device
CN106919107A (en) Bathroom room prompt system and method
CN105307341A (en) Automation control device used for corridor lamps
CN108347816A (en) A kind of park lighting control system
CN105627264B (en) Device and method for controlling brightness of bulb
CN211090088U (en) Energy-saving self-adjusting lighting device
CN103968504B (en) Loading equipment control method and system
CN105342327B (en) A kind of intelligent curtain system for taking into account ventilation and shaded effect

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: No. 25 305, heshunjiayuan community, Jingyang Town, Jingde County, Xuancheng City, Anhui Province

Applicant after: Xuancheng HENGCHUANG Technology Co.,Ltd.

Address before: Nanning City, the Guangxi Zhuang Autonomous Region Road, Qingxiu District Xinghu 530000 two No. 7 unit 3 room D1, Pearl Lake

Applicant before: NANNING HAOFA SCIENCE & TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231110

Address after: No. 1201 and 1202, 12th Floor, Building 1, No. 17 Dianchang Road, Zhongyuan District, Zhengzhou City, Henan Province, 450007

Patentee after: Henan bojiao Electronic Technology Co.,Ltd.

Address before: 242699 305, No.25, heshunjiayuan community, Jingyang Town, Jingde County, Xuancheng City, Anhui Province

Patentee before: Xuancheng HENGCHUANG Technology Co.,Ltd.