CN107567153A - A kind of system and method for adjusting room light - Google Patents

A kind of system and method for adjusting room light Download PDF

Info

Publication number
CN107567153A
CN107567153A CN201711049675.5A CN201711049675A CN107567153A CN 107567153 A CN107567153 A CN 107567153A CN 201711049675 A CN201711049675 A CN 201711049675A CN 107567153 A CN107567153 A CN 107567153A
Authority
CN
China
Prior art keywords
indoor
luminous intensity
actual value
desired value
curtain
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
CN201711049675.5A
Other languages
Chinese (zh)
Other versions
CN107567153B (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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201711049675.5A priority Critical patent/CN107567153B/en
Publication of CN107567153A publication Critical patent/CN107567153A/en
Application granted granted Critical
Publication of CN107567153B publication Critical patent/CN107567153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of system and method for adjusting room light, including:For the photodetector for the actual value for detecting indoor luminous intensity, for the curtain driving device for the degree of opening for adjusting automatic curtain, for the indoor lamp adjusting means for the intensity of illumination for adjusting indoor lamp, and it is connected respectively with the photodetector, the curtain driving device, the indoor lamp adjusting means, the curtain driving device and/or the processor of the indoor lamp adjusting means are controlled for the desired value of the actual value and the indoor luminous intensity of the indoor luminous intensity, and according to comparative result.The source of room light is mainly outdoor optical and indoor light, so actual value by detecting indoor luminous intensity, being shining into for outdoor optical is controlled by the degree of opening of curtain driving device regulation curtain, the intensity of illumination of indoor lamp is adjusted by indoor lamp adjusting means, can be directly by room light intensity adjustment to customer satisfaction system effect.

Description

A kind of system and method for adjusting room light
Technical field
The present invention relates to Detection & Controling field, more particularly to a kind of system and method for adjusting room light.
Background technology
With the development of automatic technology, machine replaces manually being increasingly becoming production and a kind of trend in life, in order to Make product more intelligent, closer to life, more preferable experience brought to users, scientist constantly pushed away with designers it is old go out Newly.
Curtain is a kind of extraneous article of isolation common in life, and its effect is a lot of, can both keep indoor privacy, again Energy shading radiation proof, moreover it is possible to play decoration function.By the folding of curtain, indoor light can be adjusted.Control curtain open/close Mode has many kinds, predominantly manually and electronic, and i.e. artificial manually to pull curtain, electronic can be the folding of manual control curtain Degree is simultaneously transferred to curtain driver by electric signal, or can perceive luminous intensity and the voluntarily automatic curtain of folding.
, can only be by controlling the folding of curtain come the light in control room but existing automatic control curtain has limitation Intensity, luminous intensity that so can not well in control room can not directly reach gratifying effect.
Therefore, indoor luminous intensity how is automatically adjusted to reach customer satisfaction system effect, is those skilled in the art's needs The technical problem of solution.
The content of the invention
It is an object of the invention to provide it is a kind of adjust room light system and method, for automatically adjust indoor luminous intensity with Reach customer satisfaction system effect.
In order to solve the above technical problems, the present invention provides a kind of system for adjusting room light, including:For detecting room light The photodetector of the actual value of intensity, the curtain driving device of the degree of opening for adjusting automatic curtain, in regulation room The indoor lamp adjusting means of the intensity of illumination of lamp, and respectively with the photodetector, the curtain driving device, the interior The connection of lamp adjusting means, for the desired value of actual value and the indoor luminous intensity of the indoor luminous intensity, and root The curtain driving device and/or the processor of the indoor lamp adjusting means are controlled according to comparative result.
Alternatively, the processor specifically includes:
Signal comparator circuit, the desired value for the actual value and the indoor luminous intensity of the indoor luminous intensity;
Process chip, for when the actual value of the indoor luminous intensity is more than the desired value of the indoor luminous intensity, controlling Make the curtain driving device and reduce the degree of opening of the automatic curtain so that the actual value of the indoor luminous intensity reaches institute State the desired value of indoor luminous intensity;When the actual value of the indoor luminous intensity is less than the desired value of the indoor luminous intensity, control The curtain driving device is made to increase the degree of opening of the automatic curtain and/or control the indoor lamp adjusting means to lighten institute Indoor lamp is stated, so that the actual value of the indoor luminous intensity reaches the desired value of the indoor luminous intensity.
Alternatively, the indoor lamp is specially LED.
Alternatively, the process chip, which is additionally operable to calculate the desired value, subtracts the difference being actually worth to, if institute State difference and be more than default threshold value, then control the indoor lamp adjusting means to adjust the LED using analog regulation mode Luminous intensity, if the difference is less than or equal to the threshold value, the indoor lamp adjusting means is controlled to be adjusted using PWM regulative modes Save the luminous intensity of the LED.
Alternatively, in addition to the desired value of the indoor luminous intensity for receiving user's input and by the indoor light intensity The desired value of degree is sent to the human-computer interaction device of the processor.
Alternatively, the human-computer interaction device is additionally operable to receive the room lighting pattern of user's input, and according to pre- If the room lighting pattern and the indoor luminous intensity size corresponding relation, obtain the desired value of the indoor luminous intensity Scope.
Alternatively, the human-computer interaction device is additionally operable to show the actual value of the indoor luminous intensity.
Alternatively, the human-computer interaction device is specially LCD touch screens.
In order to solve the above technical problems, the present invention also provides a kind of method for adjusting room light, including:
Photodetector detects the actual value of indoor luminous intensity;
The actual value of the processor indoor luminous intensity and the desired value of the indoor luminous intensity, and tied according to comparing The degree of opening of fruit control curtain driving device regulation automatic curtain and/or the illumination of indoor lamp adjusting means regulation indoor lamp are strong Degree.
Alternatively, the desired value of the actual value of the processor indoor luminous intensity and the indoor luminous intensity, And the degree of opening and/or indoor lamp regulation dress of the curtain driving device regulation automatic curtain are controlled according to comparative result Put regulation indoor lamp intensity of illumination be specially:
The actual value of the processor indoor luminous intensity and the desired value of the indoor luminous intensity;
If the actual value of the indoor luminous intensity is more than the desired value of the indoor luminous intensity, the curtain is controlled to drive Device reduces the degree of opening of the automatic curtain so that the actual value of the indoor luminous intensity reaches the indoor luminous intensity Desired value;
If the actual value of the indoor luminous intensity is less than the desired value of the indoor luminous intensity, the curtain is controlled to drive Device increases the degree of opening of the automatic curtain and/or the control indoor lamp adjusting means lightens the indoor lamp, so that The actual value of the indoor luminous intensity reaches the desired value of the indoor luminous intensity.
The system of regulation room light provided by the present invention, including:For the light inspection for the actual value for detecting indoor luminous intensity Survey device, the curtain driving device of the degree of opening for adjusting automatic curtain, the interior of the intensity of illumination for adjusting indoor lamp Lamp adjusting means, and be connected respectively with the photodetector, the curtain driving device, the indoor lamp adjusting means, For the desired value of the actual value and the indoor luminous intensity of the indoor luminous intensity, and according to controlling comparative result The processor of curtain driving device and/or the indoor lamp adjusting means.The source of room light is mainly outdoor optical and interior Light, so the actual value by detecting indoor luminous intensity, is controlled by the degree of opening of curtain driving device regulation curtain Outdoor optical is shining into, and the intensity of illumination of indoor lamp is adjusted by indoor lamp adjusting means, can be directly by room light intensity adjustment To customer satisfaction system effect, user is without manual folding curtain, without hand switch lamp, it is possible to obtain desired indoor light intensity Degree.Present invention also offers a kind of method for adjusting room light, there is above-mentioned beneficial effect, will not be repeated here.
Brief description of the drawings
, below will be to embodiment or existing for the clearer explanation embodiment of the present invention or the technical scheme of prior art The required accompanying drawing used is briefly described in technology description, it should be apparent that, drawings in the following description are only this hair Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of system for adjusting room light provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of processor 104 provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of another system for adjusting room light provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of method for adjusting room light provided in an embodiment of the present invention;
Fig. 5 is flow chart corresponding to a kind of step S41 provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of the system of preferable regulation room light provided in an embodiment of the present invention;
Fig. 7 is a kind of flow chart of the method for preferable regulation room light provided in an embodiment of the present invention.
Embodiment
The present invention core be to provide it is a kind of adjust room light system and method, for automatically adjust indoor luminous intensity with Reach customer satisfaction system effect.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Fig. 1 is a kind of schematic diagram of system for adjusting room light provided in an embodiment of the present invention.As shown in figure 1, regulation room The system of interior light includes:
For the photodetector 101 for the actual value for detecting indoor luminous intensity, for adjusting the degree of opening of automatic curtain Curtain driving device 102, the indoor lamp adjusting means 103 of the intensity of illumination for adjusting indoor lamp, and detected respectively with light Device 101, curtain driving device 102, indoor lamp adjusting means 103 connect, for comparing actual value and the room of indoor luminous intensity The desired value of interior luminous intensity, and according to comparative result control curtain driving device 102 and/or the place of indoor lamp adjusting means 103 Manage device 104.
In specific implementation, photodetector 101 is used for the actual value for detecting indoor luminous intensity, and photodetector 101 can be one It is individual or multiple, it is separately positioned on the diverse location of interior.Due in actual environment, sunlight is from the portion such as window or door Interior is shone into position, and interior may open lamp, therefore the possible skewness of indoor luminous intensity, according to concrete scene light can be set to examine Survey the distribution of device 101.After photodetector 101 collects indoor luminous intensity, it is converted into electric signal, then convert electrical signals to Data signal is sent to processor 104 and handled.
The core component of photodetector 101 can use photo resistance, photo resistance be cadmium sulfide or selenizing every etc. semiconductor Particular resistor made of material, its operation principle are to be based on inner photoeffect, and illumination is stronger, and resistance is lower, with illumination The rise of intensity, resistance value reduce rapidly, and light resistance value can be as small as several kilo-ohms;When without extraneous light irradiation, dark resistance can be with Reach several megaohms, according to the special nature of this photo resistance, can be applied to photoelectric sensor.Specifically, photodetector 101 can I is supported using model GY-39-44009 high-precision light intensity sensor module, the reason for the module2C communicates, and is compatible with Control mainboard, and data, MCU unified output calculating after calculating can be read by the microprocessing unit (MCU) in the module Utility data afterwards, and the module energy shoot the sun light, measurement range is 0.0451lux-188000lux, and its precision is thin, side Just the size of automatic curtain degree of opening is controlled.
Curtain driving device 102 specifically may include the motor for driving automatic curtain folding, and motor receives and comes from processor 104 Order control automatic curtain folding.
Indoor lamp adjusting means 103 specifically regards the property of indoor lamp, the instruction of the regulation indoor light of reception processing device 104 Adjusted accordingly.
Processor 104 is used to receive the indoor luminous intensity that photodetector 101 detects, for default Different Strategies, such as Fruit is provided with multiple photodetectors 101, and different photodetectors 101 detects the indoor luminous intensity of diverse location, can be averaging Be worth to the actual value of indoor luminous intensity, or for the indoor luminous intensity of different acquisition to indoor several points after, without Unitized processing, but the concrete condition for each putting takes different processing strategies, is such as filled close to outdoor position sunlight Foot, indoor luminous intensity exceed desired value, and the mode for reducing automatic curtain degree of opening can be taken to reduce the room light of the position Intensity;Such as the indoor place according to less than sunlight, the mode for lightening indoor lamp can be taken to improve the indoor luminous intensity of the position.And And can be adjusted according to the real needs of user, when needing to browse computer screen such as user, it can first reduce the opening journey of automatic curtain Degree makes indoor luminous intensity drop to below desired value, then lightening indoor lamp makes indoor luminous intensity be raised to desired value.
The system of regulation room light provided in an embodiment of the present invention, including:For detecting the actual value of indoor luminous intensity Photodetector, the curtain driving device of the degree of opening for adjusting automatic curtain, for adjusting the intensity of illumination of indoor lamp Indoor lamp adjusting means, and be connected respectively with the photodetector, the curtain driving device, the indoor lamp adjusting means , for the desired value of the actual value and the indoor luminous intensity of the indoor luminous intensity, and controlled according to comparative result The processor of the curtain driving device and/or the indoor lamp adjusting means.The source of room light is mainly outdoor optical and room Interior light, so the actual value by detecting indoor luminous intensity, by curtain driving device adjust the degree of opening of curtain come Control outdoor optical is shining into, and the intensity of illumination of indoor lamp is adjusted by indoor lamp adjusting means, can be directly by indoor luminous intensity Customer satisfaction system effect is adjusted, user is without manual folding curtain, without hand switch lamp, it is possible to obtain desired interior Luminous intensity.
Fig. 2 is a kind of schematic diagram of processor 104 provided in an embodiment of the present invention.As shown in Fig. 2 in above-described embodiment On the basis of, in another embodiment, processor 104 specifically includes:
Signal comparator circuit 201, for comparing the actual value of indoor luminous intensity and the desired value of indoor luminous intensity;
Process chip 202, for when the actual value of indoor luminous intensity is more than the desired value of indoor luminous intensity, controlling curtain Drive device reduces the degree of opening of automatic curtain so that the actual value of indoor luminous intensity reaches the desired value of indoor luminous intensity;When When the actual value of indoor luminous intensity is less than the desired value of indoor luminous intensity, the opening of control curtain driving device increase automatic curtain Degree and/or control indoor lamp adjusting means lighten indoor lamp, so that the actual value of indoor luminous intensity reaches indoor luminous intensity Desired value.
From above-described embodiment, the main function of processor 104 is the actual value and room light of the indoor luminous intensity of comparison The desired value of intensity, and curtain driving device 102 and/or indoor lamp adjusting means 103 are controlled according to comparative result.It is so specific Ground can be set signal comparator circuit 201 and be used to compare the actual value of indoor luminous intensity and the desired value of indoor luminous intensity;At setting Chip 202 is managed, for controlling curtain driving device 102 and/or indoor lamp adjusting means 103 according to comparative result.
A kind of processing strategy of simple process chip 202 is present embodiments provided, when the actual value of indoor luminous intensity is big When the desired value of indoor luminous intensity, control curtain driving device reduces the degree of opening of automatic curtain so that indoor luminous intensity Actual value reaches the desired value of indoor luminous intensity;When the actual value of indoor luminous intensity is less than the desired value of indoor luminous intensity, first The degree of opening of curtain driving device increase automatic curtain is controlled, if automatic curtain reaches maximum degree of opening and indoor light intensity Degree is also not reaching to desired value, then controls indoor lamp adjusting means to lighten indoor lamp again, so that the actual value of indoor luminous intensity reaches To the desired value of indoor luminous intensity.
Alternatively, processor 104 can use embedded system, and compared with general PC, the equipment of embedded system is past It is past to be used for specific environment or special application demand, thus there is the characteristics of real-time.Embedded system mainly should with product With for axle center, multiple technologies, such as computer technology, internet communication, electronic technology etc. are integrated with, thus its processor has The characteristics of integrated level is high, low in energy consumption, small volume.From the design, Embedded software and hardware is answering for product in design With, can completely be cut with the irrelevant portions of products application, this greatly reduces the cost of hardware, thus with sanction property and it is low into This characteristics of.Out after upper electricity, program can circulate always, execution repeatedly, and can not arbitrarily change its code for product development, from And ensure the execution speed and security of program.Specifically, ARM 9 Samsung S3C2440, the main ginseng of the processor can be used Number is:
S3C2440 shares the timer of 5 16.Wherein timer 0,1,2,3 has PWM (Pulse Width Modulation) function, i.e., they have an output pin, can be periodically high and low come controlling switch by timer Level change;Timer 4 does not have output pin.The clock source of timer part is PCLK, passes through the pre- split screen of two 8 first Device reduces frequency:Timer 0,1 shares first pre-divider, and timer 2,3,4 share second pre-divider.Pre-divider Output will enter second level frequency divider, they export 5 kinds of frequencies clock:2 frequency dividings, 4 frequency dividings, 8 frequency dividings, 16 frequency dividings or outer Portion clock TCLK0/TCLK1.The work clock of each timer can select from this 5 kinds of frequencies.Both pre- frequency dividings all may be used To be set by TCFG0 registers, each runs can also be selected under which kind of frequency by TCFG1 registers Select.The output pin TOUTn original states of timer are high level, afterwards TCNTn value equal to TCMPn value, TCNTn Inverted during value.Its original levels can also be set by TCON registers, and such TOUTn output is with regard to completely anti-phase.Pass through Set TCMPBn, TCNTBn value that the dutycycle of pin TOUTn output signals can be set, here it is so-called modulated pulse (PWM, Pulse Width Modulation).
The embodiments of the invention provide a kind of internal structure of processor and functions, additionally provide a kind of optional Processor, on this basis can be with cost-effective, and reaches various control effect to meet user's request.
On the basis of above-described embodiment, indoor lamp concretely LED.
According to LED as indoor lamp, processor 104, which controls indoor lamp adjusting means 103 to adjust indoor lamp, can pin Some strategies are taken property.
On the basis of above-described embodiment, in another embodiment, process chip 202 is additionally operable to calculate indoor luminous intensity Desired value subtracts the difference being actually worth to, if difference is more than default threshold value, control indoor lamp adjusting means 103 uses mould Intend the luminous intensity of regulative mode regulation LED, if difference is less than or equal to the threshold value, control indoor lamp adjusting means 103 is adopted With the luminous intensity of PWM regulative modes regulation LED.
Mentioned in the above-described embodiments, processor 104 can use ARM 9 Samsung S3C2440.
LED light modulations can be divided into two ways, and one kind is simulation dimming mode, specifically by the resistance size of regulation resistance Change the electric current of LED on branch road, reach regulation brightness by adjusting electric current.But if LED white light quality changes, or When electric current reduces, energy conversion rate declines person, can increase the energy consumption of whole system.Therefore when electric current is smaller, can adopt With pulse width modulation (Pulse Width Modulation), i.e. PWM regulative modes, its principle is to switch LED repeatedly to drive The light regulating technology of dynamic device, the system of application person only need to provide wide, narrow different digital type pulse, you can simply realize and change Output current, so as to adjust the brightness of LED.PWM dimming modes can provide the white light of high quality, using simple, efficiency high, But PWM dimming modes easily make the drive circuit of LED produce noise.
Therefore in the present embodiment, if to subtract the difference being actually worth to excessive for the desired value of indoor luminous intensity, that is, need Larger current regulation LED is wanted, then the luminous intensity of LED is adjusted using analog regulation mode;If the mesh of indoor luminous intensity It is not very big that scale value, which subtracts the difference being actually worth to, it is not necessary to larger current regulation LED, then using PWM regulative modes Adjust the luminous intensity of LED.Whether electric current needed for differentiation is larger, and predeterminable a threshold value or a scope define.
The system of regulation room light provided in an embodiment of the present invention, using LED as indoor lamp, both power saving, environmental protection, goes back Can be with eyeshield.The embodiment of the present invention additionally provides the optional control strategy for being directed to LED, can be under different regulation purposes Different control strategies is taken, so as to reduce the loss to system and avoid bringing sense of discomfort to user.
In the above-described embodiments, the desired value of indoor luminous intensity can be set in advance in processor 104, but this Sample wants that changing indoor luminous intensity just more bothers, therefore in the following examples of the present invention, in addition to human-computer interaction device.
Fig. 3 is the schematic diagram of another system for adjusting room light provided in an embodiment of the present invention.As shown in figure 3, upper On the basis of stating embodiment, in another embodiment, adjusting the system of room light also includes being used for the interior for receiving user's input The desired value of luminous intensity simultaneously sends the desired value of indoor luminous intensity to the human-computer interaction device 301 of processor 104.
According to embedded device as processor 104, human-computer interaction device 301 can be set, for processor 104 and outside Boundary's " exchange ".Human-computer interaction device 301 must include input module of the user to the transmission information of processor 104, and input module can be with Can be touch screen, it might even be possible to be arranged to voice input module for button.User inputs oneself by input module and wanted Indoor luminous intensity;Luminous intensity corresponding table can be provided, or allow user voluntarily to be debugged.
Alternatively, human-computer interaction device 301 is additionally operable to receive the room lighting pattern of user's input, and according to default room The corresponding relation of intraoral illumination pattern and indoor luminous intensity size, obtains the scope of the desired value of indoor luminous intensity.
Optional room lighting pattern can be provided on button or on the interface of touch screen, such as conference model, study Pattern, life pattern, rest mode etc., different mode correspond to the scope of different indoor luminous intensities.So user is without setting The value of specific indoor luminous intensity, only need to select desired room lighting pattern as required.Processor 104 receives room The scope of the desired value of interior luminous intensity, only need to by room light intensity adjustment into this scope any one value.
Alternatively, human-computer interaction device 301 is additionally operable to show the actual value of indoor luminous intensity.
The average value for the actual value for showing indoor luminous intensity, timing or real-time update can be set here, can also be simultaneously Show the indoor luminous intensity of indoor diverse location.The actual value of indoor luminous intensity, Ke Yirang are shown by human-computer interaction device 301 User avoids excessive debugging according to luminous intensity in the actual value regulation room of indoor luminous intensity.
Alternatively, human-computer interaction device 301 can use LCD touch screens.
It is 4.3 cun of TFT LCDs 430x 3 (RGB) that LCD touch screens, which can specifically use AT043TN24, AT043TN24, X272, it is compact, it is cost-effective.
The system of regulation room light provided in an embodiment of the present invention also includes human-computer interaction device, passes through human-computer interaction device The system that user can be allowed more easily to control whole regulation room light, more it is bonded the needs of user.
Each embodiment corresponding to the system based on regulation room light as detailed above, on this basis, the present invention also public affairs The method of regulation room light corresponding with said system is opened.
Fig. 4 is a kind of flow chart of method for adjusting room light provided in an embodiment of the present invention, including:
S40:Photodetector detects the actual value of indoor luminous intensity.
S41:The actual value of the more indoor luminous intensity of processor and the desired value of indoor luminous intensity, and according to comparative result control The degree of opening of curtain driving device regulation automatic curtain processed and/or the intensity of illumination of indoor lamp adjusting means regulation indoor lamp.
Fig. 5 is flow chart corresponding to a kind of step S41 provided in an embodiment of the present invention.As shown in figure 5, in above-described embodiment On the basis of, in another embodiment, step S41 is specially:
S50:The actual value of the more indoor luminous intensity of processor and the desired value of indoor luminous intensity, if being more than, enter step Rapid S51;If being less than, into step S52.
S51:Curtain driving device is controlled to reduce the degree of opening of automatic curtain so that the actual value of indoor luminous intensity reaches The desired value of indoor luminous intensity.
S52:The degree of opening and/or control indoor lamp adjusting means of control curtain driving device increase automatic curtain lighten Indoor lamp, so that the actual value of indoor luminous intensity reaches the desired value of indoor luminous intensity.
On the basis of the system for the adjustment room light that the various embodiments described above provide, the whole flow for adjusting room light can be with With reference to as described below:
Fig. 6 is a kind of schematic diagram of the system of preferable regulation room light provided in an embodiment of the present invention, and Fig. 7 is the present invention A kind of flow chart of the method for preferable regulation room light that embodiment provides.As shown in fig. 6, preferably adjust room light is System includes photodetector 101 (containing photo resistance, being used for the detection into traveling optical signal), and curtain driving device 102 (includes driving The motor of curtain, and it is connected with automatic curtain), indoor lamp adjusting means 103 (brightness for being responsible for regulation LED), control The processor 104 (including signal comparator circuit 201 and process chip 202) of said apparatus, the man-machine friendship exchanged with processor 104 Mutual device 301 (medium that man-machine interaction is provided).
As shown in fig. 7, preferably the method for regulation room light includes:
S70:Initiating hardware.
After system electrification, it is necessary to one section of program to hardware initialization, get out software environment, last call operation system Kernel.Here by taking bootloader as an example, it is divided into two stages:
The function of Bootloader first stage:Close house dog, the Central Shanxi Plain is disconnected, sets system clock, initialization RAM; Prepare ram space to load Bootloader second stage code;The second stage code for replicating Bootloader is empty to RAM Between in;Stack is set;Jump to the C entrances of second stage code.
The function of Bootloader second stage:Initialize the hardware device that this stage will use;In detecting system Deposit mapping;Kernel image and root file system image are read in ram space from Flash;For kernel, start-up parameter is set;Adjust Use kernel.
S40:Photodetector detects the actual value of indoor luminous intensity.
The signal acquisition of indoor luminous intensity is carried out using photo-detector 101.Built-in photo resistance is to be based on photoconductive effect A kind of photoelectric device, its resistance weakens with the enhancing of intensity of illumination, and in no light, photo resistance value (dark resistance) is very Electric current (dark current) very little in big circuit;When receiving illumination, semi-conducting material electrical conductivity increase, resistance reduces, electric current increase. Photo resistance high sensitivity, spectrum respective range is wide, and selection is so selection photo resistance collection luminance signal, and different light Different resistance values is converted into according to intensity.Photo resistance is connected in DC circuit and different resistance values can be converted into not Same magnitude of voltage.Then, just the processing to luminance signal is converted into voltage signal processing.
S71:Human-computer interaction device receives the desired value of the indoor luminous intensity of user's input and by the target of indoor luminous intensity Value is sent to processor.
It should be noted that step S40 and step S71 out-of-order relations.
S50:The actual value of the more indoor luminous intensity of processor and the desired value of indoor luminous intensity, if being more than, enter step Rapid S51;If being less than, into step S52.
S51:Curtain driving device is controlled to reduce the degree of opening of automatic curtain so that the actual value of indoor luminous intensity reaches The desired value of indoor luminous intensity.
S52:The degree of opening of curtain driving device increase automatic curtain is controlled, and enters step S72.
S72:If automatic curtain has reached maximum degree of opening, judge whether the actual value of indoor luminous intensity is equal to room light The desired value of intensity, if so, then terminating;If it is not, then enter step S73.
S73:The desired value for calculating indoor luminous intensity subtracts the difference being actually worth to.
S74:Judge whether the difference is more than default threshold value, if so, then entering step S75;If it is not, then enter step S76。
S75:The luminous intensity of LED is adjusted using analog regulation mode.
S76:Using the luminous intensity of PWM regulative modes regulation LED.
In several embodiments provided herein, it should be understood that disclosed system and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of module, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple module or components can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or module Connect, can be electrical, mechanical or other forms.The module illustrated as separating component can be or may not be physics It is upper separated, it can be as the part that module is shown or may not be physical module, you can with positioned at a place, or Person can also be distributed on multiple mixed-media network modules mixed-medias.Some or all of module therein can be selected according to the actual needs real The purpose of existing this embodiment scheme.
In addition, each functional module in each embodiment of the application can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.
If integrated module is realized in the form of software function module and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application substantially or Saying all or part of the part to be contributed to prior art or the technical scheme can be embodied in the form of software product Out, the computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be personal computer, funcall device, or network equipment etc.) performs the whole of each embodiment method of the application Or part steps.And the storage medium in foregoing processor includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various to deposit Store up the medium of program code.
A kind of system and method for adjusting room light provided by the present invention is described in detail above.In specification Each embodiment is described by the way of progressive, and what each embodiment stressed is the difference with other embodiment, Between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, due to itself and implementation Method disclosed in example is corresponding, so description is fairly simple, related part is referring to method part illustration.It should be pointed out that For those skilled in the art, under the premise without departing from the principles of the invention, the present invention can also be entered Some improvement of row and modification, these are improved and modification is also fallen into the protection domain of the claims in the present invention.
It should also be noted that, in this manual, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including the key element, method, article or equipment being also present.

Claims (10)

  1. A kind of 1. system for adjusting room light, it is characterised in that including:For the light detection for the actual value for detecting indoor luminous intensity Device, the curtain driving device of the degree of opening for adjusting automatic curtain, the indoor lamp of the intensity of illumination for adjusting indoor lamp Adjusting means, and be connected respectively with the photodetector, the curtain driving device, the indoor lamp adjusting means, use The window is controlled in the desired value of the actual value and the indoor luminous intensity of the indoor luminous intensity, and according to comparative result The processor of curtain drive device and/or the indoor lamp adjusting means.
  2. 2. system according to claim 1, it is characterised in that the processor specifically includes:
    Signal comparator circuit, the desired value for the actual value and the indoor luminous intensity of the indoor luminous intensity;
    Process chip, for when the actual value of the indoor luminous intensity is more than the desired value of the indoor luminous intensity, controlling institute State curtain driving device and reduce the degree of opening of the automatic curtain so that the actual value of the indoor luminous intensity reaches the room The desired value of interior luminous intensity;When the actual value of the indoor luminous intensity is less than the desired value of the indoor luminous intensity, institute is controlled Curtain driving device is stated to increase the degree of opening of the automatic curtain and/or control the indoor lamp adjusting means to lighten the room Interior lamp, so that the actual value of the indoor luminous intensity reaches the desired value of the indoor luminous intensity.
  3. 3. system according to claim 2, it is characterised in that the indoor lamp is specially LED.
  4. 4. system according to claim 3, it is characterised in that the process chip, which is additionally operable to calculate the desired value, to be subtracted The difference being actually worth to, if the difference is more than default threshold value, the indoor lamp adjusting means is controlled to use mould Intend the luminous intensity that regulative mode adjusts the LED, if the difference is less than or equal to the threshold value, control the indoor lamp Adjusting means adjusts the luminous intensity of the LED using PWM regulative modes.
  5. 5. system according to claim 1, it is characterised in that also include being used for the indoor light intensity for receiving user's input The desired value of degree simultaneously sends the desired value of the indoor luminous intensity to the human-computer interaction device of the processor.
  6. 6. system according to claim 5, it is characterised in that the human-computer interaction device is additionally operable to receive the user defeated The room lighting pattern entered, and according to the corresponding relation of the default room lighting pattern and the indoor luminous intensity size, Obtain the scope of the desired value of the indoor luminous intensity.
  7. 7. system according to claim 6, it is characterised in that the human-computer interaction device is additionally operable to show the room light The actual value of intensity.
  8. 8. according to the system described in claim any one of 5-7, it is characterised in that the human-computer interaction device is specially that LCD is touched Control screen.
  9. A kind of 9. method for adjusting room light, it is characterised in that including:
    Photodetector detects the actual value of indoor luminous intensity;
    The actual value of the processor indoor luminous intensity and the desired value of the indoor luminous intensity, and according to comparative result control The degree of opening of curtain driving device regulation automatic curtain processed and/or the intensity of illumination of indoor lamp adjusting means regulation indoor lamp.
  10. 10. according to the method for claim 9, it is characterised in that the reality of the processor indoor luminous intensity The desired value of value and the indoor luminous intensity, and control the curtain driving device to adjust opening for automatic curtain according to comparative result Put degree and/or the indoor lamp adjusting means regulation indoor lamp intensity of illumination be specially:
    The actual value of the processor indoor luminous intensity and the desired value of the indoor luminous intensity;
    If the actual value of the indoor luminous intensity is more than the desired value of the indoor luminous intensity, the curtain driving device is controlled Reduce the degree of opening of the automatic curtain so that the actual value of the indoor luminous intensity reaches the target of the indoor luminous intensity Value;
    If the actual value of the indoor luminous intensity is less than the desired value of the indoor luminous intensity, the curtain driving device is controlled The degree of opening and/or the control indoor lamp adjusting means for increasing the automatic curtain lighten the indoor lamp, so that described The actual value of indoor luminous intensity reaches the desired value of the indoor luminous intensity.
CN201711049675.5A 2017-10-31 2017-10-31 System and method for adjusting indoor light Active CN107567153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711049675.5A CN107567153B (en) 2017-10-31 2017-10-31 System and method for adjusting indoor light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711049675.5A CN107567153B (en) 2017-10-31 2017-10-31 System and method for adjusting indoor light

Publications (2)

Publication Number Publication Date
CN107567153A true CN107567153A (en) 2018-01-09
CN107567153B CN107567153B (en) 2024-03-29

Family

ID=61032311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711049675.5A Active CN107567153B (en) 2017-10-31 2017-10-31 System and method for adjusting indoor light

Country Status (1)

Country Link
CN (1) CN107567153B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164843A (en) * 2018-08-24 2019-01-08 重庆昊磐节能科技股份有限公司 A kind of indoor light and environmental Kuznets Curves adjusting method
CN110250881A (en) * 2019-07-17 2019-09-20 罗孜涵 A kind of new structural solar energy intelligent curtain
CN110547650A (en) * 2019-09-10 2019-12-10 珠海格力电器股份有限公司 curtain control method, storage medium and intelligent curtain
CN111246637A (en) * 2020-01-17 2020-06-05 长安大学 Office mixed lighting control method and device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573227A (en) * 2011-12-27 2012-07-11 杭州浙大三色仪器有限公司 Eye protection desk lamp with light-emitting diode (LED) light source
CN103118465A (en) * 2013-02-18 2013-05-22 大连民族学院 Indoor lamplight intensity control system and method
CN203482467U (en) * 2013-09-30 2014-03-12 江苏新瑞节能工程有限公司 Constant-brightness energy-saving light control system
CN103997825A (en) * 2014-04-28 2014-08-20 东南大学 Intelligent indoor light intensity control system and working method thereof
CN104481386A (en) * 2014-11-27 2015-04-01 苏州经贸职业技术学院 Multimedia classroom light control system and method
CN204259254U (en) * 2014-12-18 2015-04-08 济南格林节能开发有限公司 A kind of intelligent illuminating system
CN104540264A (en) * 2014-11-17 2015-04-22 杭州鸿雁东贝光电科技有限公司 Intelligent control system of indoor light environment
CN204839049U (en) * 2015-08-22 2015-12-09 余莺 Automatic shading adjusting device of (window) curtain
CN205105986U (en) * 2015-10-16 2016-03-30 中国农业科学院北京畜牧兽医研究所 Chicken coop illuminance regulation and control system
CN205336574U (en) * 2015-12-18 2016-06-22 天津工业大学 Indoor intelligent LED lighting system who combines natural light
CN106163038A (en) * 2015-04-21 2016-11-23 松下电气机器(北京)有限公司 The room lamp system of a kind of uniform illumination and light-dimming method thereof
CN106211527A (en) * 2016-07-21 2016-12-07 陈芷寒 Automatic regulation type classroom lighting system
CN106851931A (en) * 2015-12-07 2017-06-13 美的集团股份有限公司 Lamp control device and lamp control system
CN207531123U (en) * 2017-10-31 2018-06-22 广东工业大学 A kind of system for adjusting room light

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573227A (en) * 2011-12-27 2012-07-11 杭州浙大三色仪器有限公司 Eye protection desk lamp with light-emitting diode (LED) light source
CN103118465A (en) * 2013-02-18 2013-05-22 大连民族学院 Indoor lamplight intensity control system and method
CN203482467U (en) * 2013-09-30 2014-03-12 江苏新瑞节能工程有限公司 Constant-brightness energy-saving light control system
CN103997825A (en) * 2014-04-28 2014-08-20 东南大学 Intelligent indoor light intensity control system and working method thereof
CN104540264A (en) * 2014-11-17 2015-04-22 杭州鸿雁东贝光电科技有限公司 Intelligent control system of indoor light environment
CN104481386A (en) * 2014-11-27 2015-04-01 苏州经贸职业技术学院 Multimedia classroom light control system and method
CN204259254U (en) * 2014-12-18 2015-04-08 济南格林节能开发有限公司 A kind of intelligent illuminating system
CN106163038A (en) * 2015-04-21 2016-11-23 松下电气机器(北京)有限公司 The room lamp system of a kind of uniform illumination and light-dimming method thereof
CN204839049U (en) * 2015-08-22 2015-12-09 余莺 Automatic shading adjusting device of (window) curtain
CN205105986U (en) * 2015-10-16 2016-03-30 中国农业科学院北京畜牧兽医研究所 Chicken coop illuminance regulation and control system
CN106851931A (en) * 2015-12-07 2017-06-13 美的集团股份有限公司 Lamp control device and lamp control system
CN205336574U (en) * 2015-12-18 2016-06-22 天津工业大学 Indoor intelligent LED lighting system who combines natural light
CN106211527A (en) * 2016-07-21 2016-12-07 陈芷寒 Automatic regulation type classroom lighting system
CN207531123U (en) * 2017-10-31 2018-06-22 广东工业大学 A kind of system for adjusting room light

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164843A (en) * 2018-08-24 2019-01-08 重庆昊磐节能科技股份有限公司 A kind of indoor light and environmental Kuznets Curves adjusting method
CN110250881A (en) * 2019-07-17 2019-09-20 罗孜涵 A kind of new structural solar energy intelligent curtain
CN110547650A (en) * 2019-09-10 2019-12-10 珠海格力电器股份有限公司 curtain control method, storage medium and intelligent curtain
CN111246637A (en) * 2020-01-17 2020-06-05 长安大学 Office mixed lighting control method and device

Also Published As

Publication number Publication date
CN107567153B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN107567153A (en) A kind of system and method for adjusting room light
CN102958241B (en) Lighting control systems and methods,handheld device
CN104428829B (en) Color control method and communication apparatus
CN105933550A (en) Brightness adjustment method, brightness adjustment device and mobile terminal
CN107222953B (en) Numerical model analysis dims constant-current controller integrated circuit
CN108111772A (en) A kind of image pickup method and terminal
CN103051804B (en) Intelligent photo taking method and system of mobile terminal
CN105050246A (en) Method for adjusting light brightness by using mobile terminal and mobile terminal
CN109743500A (en) A kind of calibration, switching method and the device of thermal camera diurnal pattern
CN106793384A (en) Indoor intelligent inductive lightning system and its illumination control method
CN206272910U (en) A kind of inductor for being placed in detection ambient light illumination in light fixture
CN102883100A (en) Device and method for automatically adjusting pickup parameter
CN103730102A (en) Information processing method and electronic equipment
CN105590590A (en) Backlight brightness automatic adjusting system suitable for different liquid crystal panels and liquid crystal display with backlight brightness automatic adjusting system
CN106657676A (en) Screen brightness adjusting method and device
CN207531123U (en) A kind of system for adjusting room light
CN201796510U (en) Electronic reader with light-sensing self-adapting regulation of brightness of liquid crystal display (LCD)
CN105263008B (en) Color image quality method for improving and its device under low environment illumination
CN105491763B (en) Intelligent House Light energy-saving information sharing method
CN110930945A (en) Method, device and system for adjusting brightness of display screen
CN105282945B (en) The control method and control system of a kind of intelligent lighting
CN102522074B (en) Method and device for controlling screen brightness and display equipment
CN110032351A (en) Screen blue light adjusting method, device, electronic equipment and storage medium
CN206363744U (en) The adjustable energy-conservation display screen of brightness
CN203896535U (en) Intelligent LED light fixture

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
GR01 Patent grant
GR01 Patent grant