Movatterモバイル変換


[0]ホーム

URL:


CN104968121B - A kind of lamp light control method and device learnt automatically - Google Patents

A kind of lamp light control method and device learnt automatically
Download PDF

Info

Publication number
CN104968121B
CN104968121BCN201510417344.7ACN201510417344ACN104968121BCN 104968121 BCN104968121 BCN 104968121BCN 201510417344 ACN201510417344 ACN 201510417344ACN 104968121 BCN104968121 BCN 104968121B
Authority
CN
China
Prior art keywords
data
light
light node
neutral net
present weight
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.)
Expired - Fee Related
Application number
CN201510417344.7A
Other languages
Chinese (zh)
Other versions
CN104968121A (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.)
Classmate Intelligent Technology Shenzhen Co ltd
Original Assignee
Shenzhen Top 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 Shenzhen Top Technology Co LtdfiledCriticalShenzhen Top Technology Co Ltd
Priority to CN201510417344.7ApriorityCriticalpatent/CN104968121B/en
Publication of CN104968121ApublicationCriticalpatent/CN104968121A/en
Application grantedgrantedCritical
Publication of CN104968121BpublicationCriticalpatent/CN104968121B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of lamp light control method and device learnt automatically, method includes:S1:Being obtained by the sensor of setting influences the current sensor data of certain Light node, and current sensor data and the current configuration data of the Light node are inputted to neutral net as input data;S2:Output variance value is calculated in present weight data in neutral net, judges the output variance value whether in the threshold range of setting, if so, step S4 is performed, if it is not, performing step S3;S3:Formula is adjusted according to default weight to be adjusted present weight data, present weight data during as next iteration, and return to step S1 is iterated;S4:The expectation configuration data for the Light node that present weight data in neutral net are calculated is pushed in the client of user as control selections request.The present invention realizes automatically controlling for Light node by Learning Algorithm.

Description

A kind of lamp light control method and device learnt automatically
Technical field
The present invention relates to a kind of lamp light control method and device learnt automatically.
Background technology
There are many lamp light control systems, such as PHILIPS HUE and yeel ight on the market.The former uses ZigBee+WiFi, mobile terminal access the system by WIFI, and ZigBee realizes MANET control, and the latter uses BLE low-power consumption bluetooths realityExisting controlled in wireless.Above-mentioned technology can change light configuration, but it is local or remote all simply to allow user to realize without exceptionThe controlled in wireless of journey, does not solve the problems, such as intelligent control.
The content of the invention
For overcome the deficiencies in the prior art, it is an object of the invention to provide a kind of lamp light control method learnt automaticallyAnd device, automatically controlling for Light node is realized by Learning Algorithm.
To solve the above problems, the technical solution adopted in the present invention is as follows:
Scheme one:
A kind of lamp light control method learnt automatically, comprises the following steps:
S1:Being obtained by the sensor of setting influences the current sensor data of certain Light node, by current sensor data withAnd the current configuration data of the Light node is inputted to neutral net as input data;
S2:Output variance value is calculated in present weight data in neutral net, judges that the output variance value isIt is no in the threshold range of setting, if so, step S4 is performed, if it is not, performing step S3;
S3:Formula is adjusted according to default weight to be adjusted present weight data, working as during as next iterationPreceding weighted data, and return to step S1 is iterated;
S4:The expectation configuration data for the Light node that present weight data in neutral net are calculated is madePushed to for control selections request in the client of user.
Preferably, it is further comprising the steps of after step s4:
S5:According to selection result to the corresponding configuration adjustment of Light node progress, and according to selection result and presetWeight adjustment formula present weight data are adjusted, present weight data during as next iteration, and return to stepRapid S1 is iterated.
Preferably, in step s 4, if being provided with the default s election condition for the Light node in the client of user,Then directly perform acquiescence selection.
Preferably, the neutral net is BP neural network.
Scheme two:
A kind of Light Control Unit learnt automatically, including with lower module:
Data input module:The current sensor data of certain Light node are influenceed for being obtained by the sensor of setting, willCurrent sensor data and the current configuration data of the Light node are inputted to neutral net as input data;
Export judge module:Output variance value is calculated for the present weight data in neutral net, judgesWhether the output variance value it is expected to configure pushing module, is changed if it is not, performing first in the threshold range of setting if so, performingFor module;
First iteration module:Present weight data are adjusted for adjusting formula according to default weight, as underPresent weight data during an iteration, and returned data input module is iterated;
It is expected to configure pushing module:For the light section that the present weight data in neutral net are calculatedThe expectation configuration data of point is pushed in the client of user as control selections request.
Preferably, it is expected also to include with lower module after configuring pushing module:
Secondary iteration module:Adjusted for carrying out corresponding configuration to the Light node according to selection result, and according toSelection result and default weight adjustment formula are adjusted to present weight data, present weight during as next iterationData, and returned data input module is iterated.
Preferably, in it is expected to configure pushing module, if being provided with the client of user for the silent of the Light nodeRecognize alternative condition, then directly perform acquiescence selection.
Preferably, the neutral net is BP neural network.
Compared with prior art, the beneficial effects of the present invention are:Realize the light commonly used by neutral net to userConfiguration scene is trained study, and after learning success, the expectation light configuration for learning to obtain is pushed to the client of userCarry out choosing whether to perform or directly perform expectation light configuration, to realize the intelligent automatic control to the Light node.
Brief description of the drawings
Fig. 1 is the flow chart of the lamp light control method of the automatic study of the present invention.
Embodiment
Below, with reference to accompanying drawing and embodiment, the present invention is described further:
A kind of lamp light control method learnt automatically with reference to figure 1 for the present invention, comprises the following steps:
S1:Being obtained by the sensor of setting influences the current sensor data of certain Light node, by current sensor data withAnd the current configuration data of the Light node is inputted to neutral net as input data;
S2:Output variance value is calculated in present weight data in neutral net, judges that the output variance value isIt is no in the threshold range of setting, if so, step S4 is performed, if it is not, performing step S3;
S3:Formula is adjusted according to default weight to be adjusted present weight data, working as during as next iterationPreceding weighted data, and return to step S1 is iterated;
S4:The expectation configuration data for the Light node that present weight data in neutral net are calculated is madePushed to for control selections request in the client of user;If the acquiescence for the Light node is provided with the client of userAlternative condition, then directly perform acquiescence selection.
S5:According to selection result to the corresponding configuration adjustment of Light node progress, and according to selection result and presetWeight adjustment formula present weight data are adjusted, present weight data during as next iteration, and return to stepRapid S1 is iterated.
This programme preferably uses BP neural network algorithm, and its algorithm complex is relatively low, and descent performance is good as learning algorithm,And it is relatively easy, other neural network algorithms can also be selected to substitute BP neural network algorithm, BP neural network algorithm is applicationWide more ripe neural network algorithm, specific internal algorithm is not that this programme is claimed, in this programmeDo not repeat excessively.
Above method step is described with reference to specific application scenarios example, for example, certain user was once multiple7 points or so can be away from home and go for a trot at night, generally can all be dimmed the light of some Light node when leaving certain brightDegree, based on the scene, when people leaves, pyroelectric sensor can detect low level corresponding to the Light node, now recordThe low level signal of the pyroelectric sensor, the pyroelectric sensor switch to the low level time (i.e. user go out leave whenBetween) and the Light node be currently configured, be currently configured the numbering of present intensity and the Light node including light.WillThe data of above-mentioned record are inputted into the BP neural network of setting as input data, the present weight number in neutral netAccording to carrying out that output variance value is calculated, judge the output variance value whether in the threshold range of setting.As certain day userGone out again within the period, but have forgotten the lamplight brightness for adjusting the Light node, the data now inputted are by BP nervesIf the variance yields obtained after network calculations is in threshold range, then it represents that Data Convergence, it is believed that the light being wherein calculated is matched somebody with somebodyPut data be user expectation light configure, now then using the expectation light configuration data for the Light node being calculated asControl selections request is pushed in the client of user, and control selections include agreeing to and disagreeing;If not in threshold range,Represent that data are not restrained also, it is necessary to which the data and weight currently exported according to BP neural network adjust publicity to present weight dataIt is adjusted, present weight data during as next iteration, waits the data input of next iteration cycle, then useAdjusted present weight data are trained, namely restart to perform step S1.By successive ignition train purpose beMake Data Convergence, even if output variance value is in threshold range, it is preferred that an iterations upper limit is set, works as iterationsThe variance yields exported during the upper limit is reached still not in threshold range, it is believed that data are difficult to restrain, then abandon receiving again on thisThe data input of scene.
In step s 4, it would be desirable to after light configuration data pushes to the client of user as control selections request, ifThe default s election condition for the Light node is provided with the client of user, then directly performs the acquiescence and selects, such as withFamily is defaulted as agreeing to the adjustment, then directly the Light node is adjusted according to the light configuration data of push, without userSelection.
The application scenarios illustrated above are one of which, can also be applied to other light application scenarios, totalFor, as long as the scene for adjusting around light and frequently occurring, by obtaining the data input related to the scene to godThrough being iterated study in network, when obtaining output variance convergence, it is considered as completing automatic learning process, the lamp now obtainedLight configuration is then considered the desired light configuration of user, and light is automatically controlled so as to realize.
The present invention realize user is commonly used by neutral net light configuration scene be trained study, when learn intoAfter work(, the client that the expectation light configuration for learning to obtain is pushed to user carries out choosing whether that execution or directly execution shouldIt is expected that light configures, to realize the intelligent automatic control to the Light node.
The invention also discloses a kind of Light Control Unit learnt automatically, including with lower module:
Data input module:The current sensor data of certain Light node are influenceed for being obtained by the sensor of setting, willCurrent sensor data and the current configuration data of the Light node are inputted to neutral net as input data;
Export judge module:Output variance value is calculated for the present weight data in neutral net, judgesWhether the output variance value it is expected to configure pushing module, is changed if it is not, performing first in the threshold range of setting if so, performingFor module;
First iteration module:Present weight data are adjusted for adjusting formula according to default weight, as underPresent weight data during an iteration, and returned data input module is iterated;
It is expected to configure pushing module:For the light section that the present weight data in neutral net are calculatedThe expectation configuration data of point is pushed in the client of user as control selections request.
Preferably, it is expected also to include with lower module after configuring pushing module:
Secondary iteration module:Adjusted for carrying out corresponding configuration to the Light node according to selection result, and according toSelection result and default weight adjustment formula are adjusted to present weight data, present weight during as next iterationData, and returned data input module is iterated.
Preferably, in it is expected to configure pushing module, if being provided with the client of user for the silent of the Light nodeRecognize alternative condition, then directly perform acquiescence selection.
Preferably, the neutral net is BP neural network.
It will be apparent to those skilled in the art that technical scheme that can be as described above and design, make other variousCorresponding change and deformation, and all these changes and deformation should all belong to the protection domain of the claims in the present inventionWithin.

Claims (8)

CN201510417344.7A2015-07-152015-07-15A kind of lamp light control method and device learnt automaticallyExpired - Fee RelatedCN104968121B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510417344.7ACN104968121B (en)2015-07-152015-07-15A kind of lamp light control method and device learnt automatically

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510417344.7ACN104968121B (en)2015-07-152015-07-15A kind of lamp light control method and device learnt automatically

Publications (2)

Publication NumberPublication Date
CN104968121A CN104968121A (en)2015-10-07
CN104968121Btrue CN104968121B (en)2018-02-16

Family

ID=54222003

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510417344.7AExpired - Fee RelatedCN104968121B (en)2015-07-152015-07-15A kind of lamp light control method and device learnt automatically

Country Status (1)

CountryLink
CN (1)CN104968121B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108012389B (en)*2017-10-272021-03-26深圳和而泰智能控制股份有限公司Light adjusting method, terminal device and computer readable storage medium
CN108712809B (en)*2018-05-182019-12-03浙江工业大学A kind of luminous environment intelligent control method neural network based
CN112040590B (en)*2020-09-092023-03-07安徽世林照明股份有限公司LED ceiling lamp with induction and light control functions

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102413605A (en)*2011-08-122012-04-11苏州大学Intelligent street lamp energy-saving control system based on artificial neural network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CA2496661C (en)*2004-02-192009-05-19Oz Optics Ltd.Light source control system
CN102402680B (en)*2010-09-132014-07-30株式会社理光Hand and indication point positioning method and gesture confirming method in man-machine interactive system
CN202488816U (en)*2012-02-072012-10-10英飞特电子(杭州)有限公司Light-emitting diode (LED) light-adjusting control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102413605A (en)*2011-08-122012-04-11苏州大学Intelligent street lamp energy-saving control system based on artificial neural network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Q—learning和BP神经元;赵晓华,石建军,李振龙,赵国勇;《公路交通科技》;20070806;第24卷(第7期);全文*

Also Published As

Publication numberPublication date
CN104968121A (en)2015-10-07

Similar Documents

PublicationPublication DateTitle
KR102648234B1 (en)Data learning server and method for generating and using thereof
CN108488987B (en)Control method of air conditioning apparatus, storage medium, and apparatus
US9326359B2 (en)Lighting system operation management method
US9521009B1 (en)Auto-configuration and automation of a building management system
CN111556630B (en) Intelligent light adaptive scene recognition system and method based on Bayesian network
CN106304472B (en)A kind of LED illumination System
CN107277989B (en)Intelligent House Light control method and device
CN104965416A (en)Intelligent household electrical appliance control method and apparatus
CN104968121B (en)A kind of lamp light control method and device learnt automatically
CN108770152B (en)Intelligent induction control system and control method for street lamp
CN117492380B (en)Control method and control device of central control system of intelligent home
US20160381770A1 (en)Illumination controller and luminaire control method
WO2018006513A1 (en)Method and apparatus for controlling lighting device
CN110308661A (en)Smart machine control method and device based on machine learning
CA3000702C (en)System controller for controlling electrical loads
CN111885791A (en)Intelligent community light partition intelligent lighting system
CN105912632A (en)Device service recommending method and device
CN117724351A (en)Scene setting method and device of intelligent home system
WO2016209069A1 (en)Methods for managing multiple lighting fixtures
CN104597813A (en)Intelligent socket capable of automatically identifying electric appliance running state
CN109283994A (en)Power saving method and device for intelligent equipment and intelligent equipment
CN110045619A (en)Curtain intelligent control method and intelligence control system based on self study technology
CN119697850A (en)DALI lighting control system
CN106061073B (en)The methods, devices and systems of light in a kind of adjusting environment
US20190013957A1 (en)Determining preferences in a sensor device platform

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20180629

Address after:518000 Feng Tang Road 606, Baoan District Fuyong street, Shenzhen, Guangdong.

Patentee after:Classmate Intelligent Technology (Shenzhen) Co.,Ltd.

Address before:518000 Guangdong Shenzhen Baoan District Fuyong street high tech Zone Feng Tang Avenue star science and Technology Park B 1 to four floors.

Patentee before:SHENZHEN TOP TECHNOLOGY Co.,Ltd.

CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20180216


[8]ページ先頭

©2009-2025 Movatter.jp