A kind of ceiling light illumination autocontrol method
Technical field
The present invention relates to
oneplant ceiling light illumination autocontrol method, belong to light source technical field of automatic control.
Background technology
Lamp is a kind of common illuminations, along with the development of technology, and the improving constantly of living standard, also there is earth-shaking change in lamp, no matter be outer shape, or function, the design of lamp is all constantly being modified, constantly innovated, to meet people to use, to requirement attractive in appearance, and this trend is also continue along with improving constantly of requiring of people, the such as patent No.: 201220177191.5, disclose a kind of ceiling lighting, comprise ceiling lighting body and ceiling frame, described ceiling sets up the installation portion be equipped with for being installed on described installation site, bend with the side to described ceiling lighting body, and the kink for being connected with described ceiling lighting body, the ceiling lighting of technique scheme design, by installation portion, ceiling frame is installed on installation site, then the kink of ceiling lighting body and ceiling frame is connected, namely the installation of ceiling lighting is achieved, compared with prior art, without the need to removing the light fixture cover of ceiling lighting in the installation process of ceiling lighting, simplify the installation of ceiling lighting, meanwhile, this ceiling lighting without the need to arranging mounting flange, namely ceiling lighting body profile without the need to change, make the transport of ceiling lighting more convenient, above prior art for ceiling lighting transport with just Curve guide impeller is installed, make practical application convenient.
Also has number of patent application: 201210217170.6, disclose a kind of ceiling lamp syndeton, for ceiling lamp is lifted on attachment, the periphery of ceiling lamp is provided with flange, ceiling lamp syndeton comprises at least two fixtures, is evenly arranged in the surrounding of ceiling lamp; Backing pin, along self being in axial sliding connection in fixture, its one end is for keeping off at the screens end of flange away from attachment side, and end face is inclined-plane; And elastic component, being arranged between fixture and backing pin, sliding to the direction away from ceiling lamp for limiting backing pin; First fixture to be fixed on attachment, then by ceiling lamp upwardly, to utilize coordinating of the edge of ceiling lamp and inclined-plane, backing pin is moved to the direction away from ceiling lamp; When flange moves to the top of backing pin, under the elastic force effect of elastic component, screens end moves to the below of flange, completes the installation of ceiling lamp; When pulling down ceiling lamp, backing pin is moved to the direction away from ceiling lamp, screens end staggers flange, and ceiling lamp can be taken off, easy installation and removal is quick.Technique scheme proposes concrete syndeton for the installation of pendent lamp, for improvement of the installation of existing pendent lamp, makes actual installation process more convenient.
Moreover, the patent No.: 201210253729.0, disclose a kind of LED ceiling light, comprise ceiling light light fixture, ceiling light light fixture comprises ceiling lamp pedestal and radiator, and ceiling lamp pedestal is provided with bulb installation interface, and bulb installation interface is provided with radiator; Bottom radiator center arranges installation interface (AZM) and fixes mounted LED lamp bubble; This LED ceiling light heat-sinking capability is strong, structure is simple, cost is low, install, use, safeguard fast cheap convenient, achieve the bulb of LED ceiling light, light fixture and Lighting control product in the independence of producing and use, application and the industrial scale of the LED energy-saving illumination product that reduces production link significantly, achieves the mass of production, is conducive to; Above technical scheme is set about by the installation of the heat radiation of light source and overall ceiling light, carries out Curve guide impeller, and make light source heat radiation ability stronger, overall structure is easier for installation.
Make a general survey of above prior art, can find out that prior art really covers each of each side of lamp for the improvement of lamp, but from the use procedure of reality, still can find some problems, the design of some impersonalities, along with lamp is updated and design, the brightness of light source can be conditioned in real work, control the change of its brightness, but for this function, lamp on existing market also rests on the artificial manual work stage mostly, namely need artificially to go to be regulated by the brightness for light source such as knob according to the subjective demand of oneself, do not realize automation, and, in actual use, mostly the brightness of light source is more high better with brightness, brightness is high can improve illumination efficiency, but for some situation, design with regard to impersonalityization, such as ceiling light, for throwing light on from the top down, along with the size in space, people select the light source of different capacity, to adapt to the illumination in space, but in actual applications, if when someone comes back, strong light-source brightness will cause stimulation to the eyes of people, people is allowed not feel well, but for this situation, existing ceiling light but can not solve, the automatic control of impersonality.
Summary of the invention
For above-mentioned technical problem, technical problem to be solved by this invention is to provide a kind of working method for existing ceiling light and redesigns, Intelligent Measurement can be realized for below ceiling light, and the ceiling light illumination autocontrol method of Based Intelligent Control can be realized according to testing result for ceiling light.
The present invention is in order to solve the problems of the technologies described above by the following technical solutions: the present invention devises a kind of ceiling light illumination autocontrol method, wherein, ceiling light comprises light source and coupled connects electric control switch, light source is luminance adjustable light source, and following steps are carried out in the action that described method connects electric control switch for each manual operation:
The action that step 001. connects electric control switch for manual operation judges, if manual operation connects electric control switch control light source works, then enters step 002, if manual operation connects electric control switch close light source, then terminates;
Step 002. carries out image capture straight down by light source position, obtains detected image, enters step 003;
Step 003. detects and judges whether there is facial image in detected image, is enter step 004, otherwise enters step 011;
Step 004. extracts each facial image in this detected image, and calculates the ratio obtaining each facial image upper eyelid covering pupil respectively, enters step 005;
Step 005. covers the ratio of pupil according to each facial image upper eyelid, calculates and obtains eyelid covering pupil average proportions in this detected image
, enter step 006;
Step 006. judges that in this detected image, eyelid covers pupil average proportions
whether equal 0, be, enter step 011, otherwise enter step 007;
Step 007. judges that in this detected image, eyelid covers pupil average proportions
whether equal 100%, be, enter step 008; Otherwise enter step 009;
Step 008. detects and judges whether light source works, and is, controls to close light source, and returns step 002, otherwise keep light source closed condition, and return step 002;
Step 009. detects and judges whether light source works, and is, keeps light source works, and enters step 010, otherwise controls light source works, and enters step 010;
Step 010. detects and judges whether the brightness of light source equals eyelid in this detected image and cover pupil average proportions
, be control light source and keep this brightness, and return step 002, otherwise cover pupil average proportions according to eyelid in this detected image
, regulate the brightness of light source to equal same ratio, and return step 002;
Step 011. detects and judges whether light source works, and is, keeps light source works, and enters step 012, otherwise controls light source works, and enters step 012;
Step 012. detects and judges whether the brightness of light source equals 100%, is, keeps the brightness of light source to equal 100%, and returns step 002, otherwise regulates the brightness of light source to equal 100%, and returns step 002.
As a preferred technical solution of the present invention: in described step 002, for the detected image of described acquisition, first image denoising process is carried out to detected image, then enter described step 003.
As a preferred technical solution of the present invention: described image denoising is treated to image wavelet territory filter method.
As a preferred technical solution of the present invention: in described step 002, by being arranged on the image capture apparatus of ceiling light lower surface, carrying out image capture straight down, obtaining detected image.
As a preferred technical solution of the present invention: described image capture apparatus is KF-007AV micro-camera device.
A kind of ceiling light illumination autocontrol method of the present invention adopts above technical scheme compared with prior art, has following technique effect:
(1) the ceiling light illumination autocontrol method of the present invention's design, control mode for existing ceiling light redesigns, achieve Intelligent Measurement and Based Intelligent Control, by realizing Intelligent Measurement for below ceiling light, judge whether that there is people faces upward upwards, and continue to detect the ratio that eyelid covers pupil, work thus for light source realizes real-time intelligent adjustment, the brightness of illumination of ceiling light can be automatically adjusted with the impression of human eye, whole control method has fully taken into account the eye comfort of user in the design process, embodies the design concept of hommization;
(2) ceiling light of the present invention's design throws light in autocontrol method, for the detected image obtained, first image denoising process is carried out to it, and then other process is carried out to it, greatly can improve the later stage and carry out discrimination in processing procedure and operating efficiency for detected image;
(3) ceiling light of the present invention's design throws light in autocontrol method, for the acquisition of detected image, design adopts the image capture apparatus being arranged on ceiling light lower surface to carry out image capture straight down, realize convenient, and adopt micro-camera device for image capture apparatus design, effectively control the volume of design apparatus, under the prerequisite realizing Intelligent Measurement, Based Intelligent Control, effectively maintain the surface structure of original ceiling light.
Embodiment
Be described in further detail for the specific embodiment of the present invention below.
A kind of ceiling light illumination autocontrol method of the present invention's design, wherein, ceiling light comprises light source and coupled connects electric control switch, and light source is luminance adjustable light source, and following steps are carried out in the action that described method connects electric control switch for each manual operation:
The action that step 001. connects electric control switch for manual operation judges, if manual operation connects electric control switch control light source works, then enters step 002, if manual operation connects electric control switch close light source, then terminates;
Step 002. carries out image capture straight down by light source position, obtains detected image, enters step 003;
Step 003. detects and judges whether there is facial image in detected image, is enter step 004, otherwise enters step 011;
Step 004. extracts each facial image in this detected image, and calculates the ratio obtaining each facial image upper eyelid covering pupil respectively, enters step 005;
Step 005. covers the ratio of pupil according to each facial image upper eyelid, calculates and obtains eyelid covering pupil average proportions in this detected image
, enter step 006;
Step 006. judges that in this detected image, eyelid covers pupil average proportions
whether equal 0, be, enter step 011, otherwise enter step 007;
Step 007. judges that in this detected image, eyelid covers pupil average proportions
whether equal 100%, be, enter step 008; Otherwise enter step 009;
Step 008. detects and judges whether light source works, and is, controls to close light source, and returns step 002, otherwise keep light source closed condition, and return step 002;
Step 009. detects and judges whether light source works, and is, keeps light source works, and enters step 010, otherwise controls light source works, and enters step 010;
Step 010. detects and judges whether the brightness of light source equals eyelid in this detected image and cover pupil average proportions
, be control light source and keep this brightness, and return step 002, otherwise cover pupil average proportions according to eyelid in this detected image
, regulate the brightness of light source to equal same ratio, and return step 002;
Step 011. detects and judges whether light source works, and is, keeps light source works, and enters step 012, otherwise controls light source works, and enters step 012;
Step 012. detects and judges whether the brightness of light source equals 100%, is, keeps the brightness of light source to equal 100%, and returns step 002, otherwise regulates the brightness of light source to equal 100%, and returns step 002.
The ceiling light illumination autocontrol method of technique scheme design, control mode for existing ceiling light redesigns, achieve Intelligent Measurement and Based Intelligent Control, by realizing Intelligent Measurement for below ceiling light, judge whether that there is people faces upward upwards, and continue to detect the ratio that eyelid covers pupil, work thus for light source realizes real-time intelligent adjustment, the brightness of illumination of ceiling light can be automatically adjusted with the impression of human eye, whole control method has fully taken into account the eye comfort of user in the design process, embody the design concept of hommization.
On the basis of above-mentioned design ceiling light illumination autocontrol method technical scheme, the present invention also devises following optimal technical scheme further: in described step 002, for the detected image of described acquisition, first image denoising process is carried out to detected image, then described step 003 is entered, for the detected image obtained, first image denoising process is carried out to it, and then other process is carried out to it, greatly can improve the later stage and carry out discrimination in processing procedure and operating efficiency for detected image, and in practical application, image denoising process can design and adopt image wavelet territory filter method, moreover, in described step 002, by being arranged on the image capture apparatus of ceiling light lower surface, carry out image capture straight down, obtain detected image, realize convenient, and adopt micro-camera device for image capture apparatus design, effectively control the volume of design apparatus, under the prerequisite realizing Intelligent Measurement, Based Intelligent Control, effectively maintain the surface structure of original ceiling light, in practical application, image capture apparatus design adopts KF-007AV micro-camera device.
The present invention designs ceiling light illumination autocontrol method in actual applications, ceiling light comprises light source and coupled connects electric control switch, light source is luminance adjustable light source, the action that described method connects electric control switch for each manual operation proceeds as follows process, namely each manual operation connects electric control switch and all can trigger following executable operations, specifically comprises the steps:
The action that step 001. connects electric control switch for manual operation judges, if manual operation connects electric control switch control light source works, then enters step 002, if manual operation connects electric control switch close light source, then terminates;
Step 002. is by being arranged on the KF-007AV micro-camera device of ceiling light lower surface, image capture is carried out straight down by light source position, obtain detected image, first adopt image wavelet territory filter method to carry out image denoising process to detected image, then enter described step 003;
Step 003. detects and judges whether there is facial image in detected image, is enter step 004, otherwise enters step 011;
Step 004. extracts each facial image in this detected image, and calculates the ratio obtaining each facial image upper eyelid covering pupil respectively, enters step 005;
Step 005. covers the ratio of pupil according to each facial image upper eyelid, calculates and obtains eyelid covering pupil average proportions in this detected image
, enter step 006;
Step 006. judges that in this detected image, eyelid covers pupil average proportions
whether equal 0, be, enter step 011, otherwise enter step 007;
Step 007. judges that in this detected image, eyelid covers pupil average proportions
whether equal 100%, be, enter step 008; Otherwise enter step 009;
Step 008. detects and judges whether light source works, and is, controls to close light source, and returns step 002, otherwise keep light source closed condition, and return step 002;
Step 009. detects and judges whether light source works, and is, keeps light source works, and enters step 010, otherwise controls light source works, and enters step 010;
Step 010. detects and judges whether the brightness of light source equals eyelid in this detected image and cover pupil average proportions
, be control light source and keep this brightness, and return step 002, otherwise cover pupil average proportions according to eyelid in this detected image
, regulate the brightness of light source to equal same ratio, and return step 002;
Step 011. detects and judges whether light source works, and is, keeps light source works, and enters step 012, otherwise controls light source works, and enters step 012;
Step 012. detects and judges whether the brightness of light source equals 100%, is, keeps the brightness of light source to equal 100%, and returns step 002, otherwise regulates the brightness of light source to equal 100%, and returns step 002.
In above-mentioned execution step, when eyelid in this detected image covers pupil average proportions
equal 0, represent that the eyelid of people of facing upward upwards does not cover pupil, the brightness for now ceiling light light source can accept, then do not need to turn down light-source brightness, also do not need to close light source; When eyelid in this detected image covers pupil average proportions
equal 100%, represent that eyes have closed by the people faced upward upwards, the brightness for now ceiling light light source can not accept completely, then need to close light source; When eyelid in this detected image covers pupil average proportions
when being greater than 0 and being less than 100%, represent that the people faced upward upwards exists slight situation of closing one's eyes, the brightness for now ceiling light light source does not slightly feel well, then need the brightness for light source to regulate, in order to adapt to the impression of human eye.
Be explained in detail for embodiments of the present invention above, but the present invention is not limited to above-mentioned execution mode, in the ken that those of ordinary skill in the art possess, can also makes a variety of changes under the prerequisite not departing from present inventive concept.