CN112399677A - Light adjusting method and intelligent device - Google Patents

Light adjusting method and intelligent device Download PDF

Info

Publication number
CN112399677A
CN112399677A CN201910691645.7A CN201910691645A CN112399677A CN 112399677 A CN112399677 A CN 112399677A CN 201910691645 A CN201910691645 A CN 201910691645A CN 112399677 A CN112399677 A CN 112399677A
Authority
CN
China
Prior art keywords
user
light
light source
color
target object
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
CN201910691645.7A
Other languages
Chinese (zh)
Other versions
CN112399677B (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 Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910691645.7A priority Critical patent/CN112399677B/en
Publication of CN112399677A publication Critical patent/CN112399677A/en
Application granted granted Critical
Publication of CN112399677B publication Critical patent/CN112399677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/103Static body considered as a whole, e.g. static pedestrian or occupant recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention belongs to the field of illumination, and discloses a light adjusting method and an intelligent device, wherein the method comprises the following steps: detecting whether a user exists in a preset range; if the user exists in the preset range, acquiring the position of the user; and adjusting the position of the light source according to the position of the user. According to the intelligent desk lamp, the position change of a user is detected through the infrared detector on the intelligent desk lamp, and then the position of the lamp source is adjusted according to the position changed by the user, so that the lamp source is adjusted to be at the most appropriate distance from the user, a dark place does not exist at the position of the user, the user can see more clearly, and the purpose of protecting the eyesight of the user is achieved.

Description

Light adjusting method and intelligent device
Technical Field
The invention belongs to the technical field of illumination, and particularly relates to a light adjusting method and an intelligent device.
Background
The desk lamp is a common lighting device in daily life, and is generally used for small-range lighting, such as scenes of office work, reading books, learning and the like. When a child starts to write, draw and the like, parents can buy a desk lamp for the child. When the parents choose to purchase the desk lamp, the eye protection function is the core concern of the parents.
At present, the desk lamp on the market mainly realizes the eyeshield function through the luminance of automatically regulated light. For example, through the light intensity of gathering external environment, then according to the luminance of external environment's light intensity automatically regulated desk lamp to automatically regulated light is to optimum luminance, prevents that ambient light and desk lamp light from forming strong light and shade difference, and then protects user's eyesight.
Although current desk lamp can be according to its luminance of external environment luminance automatically regulated, but unable automatic change shines the angle, and children are very good-moving, like to move in the desktop within range, lead to desk lamp light can not shine children's place completely, and the head of a family also can't see always and help children to adjust the angle of shining of desk lamp, children also can't realize this problem, lead to children to see when the local study of light is dark not clear, and then influence children's eyesight.
Disclosure of Invention
The invention aims to provide a light adjusting method and an intelligent device, which are used for automatically adjusting a light source to the optimal position relative to a user so as to achieve the aim of protecting the eyesight of the user.
The technical scheme provided by the invention is as follows:
in one aspect, a light adjusting method is provided, including:
detecting whether a user exists in a preset range;
if the user exists in the preset range, acquiring the position of the user;
and adjusting the position of the light source according to the position of the user.
Further preferably, the method further includes, if the user exists in the preset range:
acquiring a target image containing the user;
determining a database corresponding to the user according to the target image;
according to the database, determining a vertical distance value of the light source from a desktop and a horizontal distance value of the light source from the user;
the adjusting the position of the light source according to the position of the user specifically comprises:
and adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
Further preferably, the method further comprises the following steps:
collecting a region image of a preset region;
judging whether a target object exists in the area image or not;
and if the target object exists in the area image, adjusting the irradiation angle of the lamp source according to the target object.
Further preferably, the method further comprises the following steps:
acquiring the color of the target object according to the area image;
collecting light intensity values of the surrounding environment;
and adjusting the light color and the brightness of the light source according to the color of the target object, the light intensity value and the database.
Further preferably, if the user exists in the preset range, the acquiring the location of the user specifically further includes:
if the user exists in the preset range, detecting the current state of the user;
judging whether the current state of the user meets a preset condition or not;
and if the current state of the user meets a preset condition, acquiring the position of the user.
In another aspect, a smart device is also provided, including:
the detection module is used for detecting whether a user exists in a preset range;
the position acquisition module is used for acquiring the position of the user if the user exists in the preset range;
and the adjusting module is used for adjusting the position of the light source according to the position of the user.
Further preferably, the method further comprises the following steps:
the acquisition module is used for acquiring a target image containing the user;
the determining module is used for determining a database corresponding to the user according to the target image;
the determining module is further used for determining a vertical distance value of the light source from a desktop and a horizontal distance value of the light source from the user according to the database;
the adjusting module is further used for adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
Further preferably, the method further comprises the following steps:
the image acquisition module is used for acquiring a regional image of a preset region;
the judging module is used for judging whether a target object exists in the area image or not;
the adjusting module is further configured to adjust an irradiation angle of the light source according to the target object if the target object exists in the region image.
Further preferably, the method further comprises the following steps:
the color obtaining module is used for obtaining the color of the target object according to the area image;
the light ray collection module is used for collecting the light ray intensity value of the surrounding environment;
the adjusting module is further configured to adjust the light color and the brightness of the light source according to the color of the target object, the light intensity value, and the database.
Further preferably, the position acquisition module includes:
the state detection unit is used for detecting the current state of the user if the user exists in the preset range;
the judging unit is used for judging whether the current state of the user meets a preset condition or not;
and the position acquisition unit is used for acquiring the position of the user if the current state of the user meets a preset condition.
Compared with the prior art, the light adjusting method and the intelligent device provided by the invention have the following beneficial effects: according to the intelligent desk lamp, the position change of a user is detected through the infrared detector on the intelligent desk lamp, and then the position of the lamp source is adjusted according to the position changed by the user, so that the lamp source is adjusted to be at the most appropriate distance from the user, a dark place does not exist at the position of the user, the user can see more clearly, and the purpose of protecting the eyesight of the user is achieved.
Drawings
The above features, technical features, advantages and implementations of a light adjusting method and an intelligent device will be further described in the following detailed description of preferred embodiments in a clearly understandable manner, with reference to the accompanying drawings.
FIG. 1 is a schematic flow chart diagram of one embodiment of a light adjustment method of the present invention;
FIG. 2 is a schematic diagram of the structure of the intelligent desk lamp of the present invention;
FIG. 3 is a schematic flow chart diagram of another embodiment of a light adjustment method of the present invention;
FIG. 4 is a schematic flow chart diagram of a light adjustment method according to another embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram of a light adjustment method according to yet another embodiment of the present invention;
FIG. 6 is a block diagram illustrating the structure of an embodiment of an intelligent device of the present invention.
Description of the reference numerals
1. A base; 2. A first telescopic rod;
3. a connecting rod; 4. A second telescopic rod;
5. a lamp socket; 6. A light source;
100. a detection module; 200. A position acquisition module;
210. a state detection unit; 220. A judgment unit;
230. a position acquisition unit; 300. An adjustment module;
400. an acquisition module; 500. A determination module;
600. an image acquisition module; 700. A judgment module;
800. a color acquisition module; 900. And the light ray collection module.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
According to an embodiment of the present invention, as shown in fig. 1, a light adjusting method includes:
s100, detecting whether a user exists in a preset range;
s200, if a user exists in the preset range, acquiring the position of the user;
s300, adjusting the position of the light source according to the position of the user.
Specifically, the light adjusting method can be applied to the intelligent desk lamp. As shown in fig. 2, intelligent desk lamp includes base 1, first telescopic link 2, connecting rod 3, second telescopic link 4, lamp stand 5, lamp source 6 and infrared detector, the one end setting of first telescopic link 2 is on base 1, the other end of first telescopic link 2 is connected with the one end of connecting rod 3, the other end of connecting rod 3 and the one end rotatable coupling of second telescopic link 4, and second telescopic link 4 can carry out 360 degrees rotations relatively connecting rod 3, the other end and the lamp stand 5 of second telescopic link 4 are connected, lamp source 6 sets up in lamp stand 5, infrared detector sets up on lamp stand 5.
The first telescopic rod 2 and the second telescopic rod 4 are arranged in a telescopic manner; the first telescopic rod 2 comprises a sleeve and a rod piece which can move in the sleeve along the axial direction of the sleeve, and the first telescopic rod 2 is stretched by the movement of the rod piece in the sleeve; the second telescopic rod 4 is the same as the first telescopic rod 2 in structure, and the first telescopic rod 2 and the second telescopic rod 4 are electric telescopic rods respectively. When the first telescopic rod 2 and the second telescopic rod 4 are telescopic, the position of the lamp source 6 on the lamp holder 5 can be changed.
Based on the usage scenario of the intelligent desk lamp, the intelligent desk lamp is generally placed on a desk for a user to study. When the light source on the intelligent desk lamp is not started, the infrared detector is arranged on the intelligent desk lamp and can detect whether a user exists in a preset range, namely whether a person approaches the desk or not, and the preset range refers to a region around the desk. The user in this embodiment may be, but is not limited to, a child, an adult.
When the infrared detector detects that a user is close to the desk, the current state of the user can be further detected, and whether the current state of the user meets the preset condition or not is judged, namely whether the user sits down and starts to study or play is detected. The current state of the user can be detected by acquiring an image of the user, and can also be detected by detecting the sitting posture of the user.
Illustratively, the camera can be installed on the lamp holder of intelligent desk lamp, gather user's image through the camera, then judge whether the user has sat according to user's image, if the user has sat down, then think that user's current state accords with the preset condition, think that the user needs light at this moment promptly, can start the lamp source.
When user's current state accords with the preset condition, then acquire the user's that infrared detector detected position, then according to user's position, adjust the position of lamp source, drive the second telescopic link promptly and rotate, and adjust the length of second telescopic link, make the directional user place's of second telescopic link position, and adjust the distance between lamp stand and the user, realize adjusting the purpose of lamp source and user's relative position and distance, make the lamp source adjust suitable position, guarantee that user position can both be covered by the light that shines of lamp source, for the user provides suitable light, it is not clear to prevent that children from seeing when the local study of light is dark, and then protect children's eyesight.
When the light source on the intelligent desk lamp is started, in the working process of the intelligent desk lamp, the infrared detector on the intelligent desk lamp can detect whether the user is still in front of the desk at preset time intervals, the position of the user is obtained, and when the position of the user changes, the position of the light source can be adjusted according to the position of the user.
Because children are more mobile, children study or when playing with the toy in front of the table, like to remove in front of the table, when children were in the A position of desk, the light irradiation range of intelligence desk lamp was A position place region, when children removed the B position of desk, the light irradiation range of intelligence desk lamp was still A position place region this moment, if the position in lamp source was not adjusted, then light can't shine B position place region, children can injure user's eyesight when the B position study that light can't shine, can not play the purpose of eyeshield. According to the scheme of the invention, the position change of the user can be detected according to the infrared detector on the intelligent desk lamp, and then the position of the light source is adjusted according to the position change of the user, so that the light source is adjusted to the most suitable distance from the user, a dark place does not exist at the position of the user, the user can see more clearly, and the purpose of protecting the eyesight of the user is achieved.
According to another embodiment provided by the present invention, as shown in fig. 3, a light adjusting method includes:
s100, detecting whether a user exists in a preset range;
s200, if a user exists in the preset range, acquiring the position of the user;
s210, collecting a target image containing the user;
s220, determining a database corresponding to the user according to the target image;
s230, according to the database, determining a vertical distance value of the light source from a desktop and a horizontal distance value of the light source from the user;
s310, adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
Specifically, when the light source on the intelligent desk lamp is not started, after the infrared detector on the intelligent desk lamp detects that someone is near the desk, the position of the user detected by the infrared detector in front of the desk is obtained, the current state of the user is further detected, whether the current state of the user meets the preset condition or not is judged, and whether the user sits down and starts to study or play is detected. The current state of the user may be detected by acquiring an image of the user. When the user is judged to exist in the preset range, acquiring a target image containing the user, judging whether the user is in a sitting state or not according to the state of the user in the target image, and determining the identity of the user according to the image of the user in the target image.
When the user is in the sitting state, the lamp source on the intelligent desk lamp can be started, and the database corresponding to the user is determined according to the identity of the user. The intelligent desk lamp can pre-store databases corresponding to each member in a family, and the optimal distance value between the lamp source of the corresponding member and a user is stored in each database. Because each user has different heights and different preferences, the corresponding database of each user is also different. For example, for children, because children are small in height, when the children use the desk lamp, the height of the light source from the desk top should be smaller than that of the light source when the adults use the desk lamp. After the user inputs the height of the user, the intelligent desk lamp can generate the optimal vertical distance value corresponding to the user. And the horizontal distance value of the light source from the user can be set according to personal preference of each user.
Before a user inputs a preferred horizontal distance value and the height of the user in the intelligent desk lamp, the horizontal distance value and the vertical distance value stored in the database corresponding to the user are both original data, the original data are the optimal distance determined based on the characteristics of human eyes, namely the optimal setting position of a light source relative to the user when the user uses the intelligent desk lamp.
After the database corresponding to the user is determined, the vertical distance value between the lamp source suitable for the user and the desktop and the horizontal distance value between the lamp source and the user can be obtained according to the data stored in the database. And then adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
For example, a distance sensor can be arranged at one end, far away from the second telescopic rod, of a lamp holder of the intelligent desk lamp, and the height of the lamp holder from a desktop and the horizontal distance of the lamp holder from a user can be measured through the distance sensor. After a vertical distance value and a horizontal distance value are obtained in a database corresponding to a user, a second telescopic rod can be rotated according to the position of the user, so that a lamp holder rotates to the direction facing the position of the user along with the second telescopic rod, then the height of the lamp holder from a desktop is made to be the vertical distance value by adjusting the height of a first telescopic rod in the intelligent desk lamp, and the horizontal distance of the lamp holder from the user is made to be the horizontal distance value by adjusting the length of the second telescopic rod; and the irradiation range of the lamp source covers the position of the user, so that the user is provided with proper lighting light which is in accordance with the preference of the user.
When a light source on the intelligent desk lamp is started, in the working process of the intelligent desk lamp, an infrared detector on the intelligent desk lamp can detect whether a user is still in front of the desk lamp or not at preset time intervals, the position of the user is obtained, when the position of the user changes, a target image containing the user can be collected, then a database corresponding to the user is determined according to the target image, and finally the position of the light source is adjusted according to the position of the user, a vertical distance value and a horizontal distance value stored in the database.
In the embodiment, the optimal lighting light which is suitable for the user and accords with the preference of the user is obtained by obtaining the database corresponding to the user, so that the position of the light source is adjusted more accurately, the eyesight of the user is protected better, the personalized requirements of the user can be met, the user feels comfortable under the lighting light, and the use experience of the user is improved.
According to another embodiment of the present invention, as shown in fig. 4, a light adjusting method includes:
s100, detecting whether a user exists in a preset range;
s200, if a user exists in the preset range, acquiring the position of the user;
s300, adjusting the position of a light source according to the position of the user;
s400, collecting a regional image of a preset region;
s500, judging whether a target object exists in the area image or not;
s600, if the target object exists in the area image, adjusting the irradiation angle of the lamp source according to the target object.
Specifically, after the position of the lamp source is adjusted according to the position of the user, the intelligent desk lamp can further acquire an area image of a preset area, and then judge whether a target object exists in the preset area. The preset area may be determined according to the lamp source position and the preset length. The shape of the predetermined area may be regular or irregular, for example, the predetermined area may be a circular area, a hexagonal area, an elliptical area, or a square area. Exemplarily, the intelligent desk lamp is placed on a desktop, a circular area is determined by taking the position of the intelligent desk lamp as the center and taking the preset length as the radius, and the circular area is the preset area.
Whether the target object exists in the preset area or not is judged, and the judgment can be carried out according to whether the object with the different color exists in the preset area or not, namely when the object with the different color from the desktop exists in the preset area, the target object is considered to exist. In addition, the area image can be identified through an image identification technology to determine whether the target object exists in the preset area. The target object may be a book, a toy, or the like.
After the target object is judged to exist in the preset area, the irradiation angle of the lamp source can be accurately adjusted according to the target object. For example, after determining the target object on the desk, the second telescopic link can be rotated, the second telescopic link is located above the target object, and then the lamp source on the lamp holder is also located above the target object, so that the writing area or the playing area of the user can be completely irradiated by the light of the intelligent desk lamp, the user is prevented from learning or playing in a dark place, and the eyesight of the user is better protected.
In this embodiment, by acquiring an image including a target object, the illumination angle of the light source can be adjusted more accurately, so as to better protect the eyesight of the user.
According to still another embodiment of the present invention, as shown in fig. 5, a light adjusting method includes:
s100, detecting whether a user exists in a preset range;
s200, if a user exists in the preset range, acquiring the position of the user;
s300, adjusting the position of a light source according to the position of the user;
s400, collecting a regional image of a preset region;
s500, judging whether a target object exists in the area image or not;
s600, if a target object exists in the area image, adjusting the irradiation angle of the lamp source according to the target object;
s700, acquiring the color of the target object according to the area image;
s800, collecting light intensity values of the surrounding environment;
s900, adjusting the light color and the brightness of the light source according to the color of the target object, the light intensity value and the database.
Specifically, after the target object is determined to be included in the region image, the color of the target object may be determined according to the RGB color information of the region image.
If the color of the target object is determined not to be a single color according to the RGB color information in the area image, calculating the area occupied by each color, and then selecting the color with the largest area as the paper color of the target object.
For example, the color of the target object may be color a, color B, and color C according to the RGB color information in the area image, and then the area sizes occupied by the color a, the color B, and the color C are calculated, and if the area occupied by the color a is the largest, the color a is considered as the color of the target object.
The intelligent desk lamp is also provided with a light induction sensor, and the light intensity value of the surrounding environment of the intelligent desk lamp is acquired through the light induction sensor on the intelligent desk lamp.
The database corresponding to the user can also store the target light color and the target brightness of the light source corresponding to each light intensity value and the color of the target object. The data stored in the database may be original data or updated according to the preference of the user. For convenience of matching, the light intensity values may be classified into a plurality of classes according to the intensity value range, and the light intensities within a certain range are classified into one class. Each type of light intensity value may correspond to a luminance, and each target object color may correspond to a light color. After the target light color and the target brightness of the lamp source are determined according to the color, the light intensity value and the database of the target object, the light color and the brightness of the lamp source can be adjusted according to the target light color and the target brightness.
The light color of the lamp source refers to the color temperature of the light source, which is expressed in units of "k" (kelvin temperature units). Generally, the low color temperature is warm light, and the high color temperature is cold light. For example, when the color temperature value is 2500k-3200k, the light source is reddish orange; when the color temperature value is 3200k-4500k, the light source is orange yellow; when the color temperature value is 4500k-5400k, the light source is yellow; when the color temperature value is 5400k-5600k, the light source is white; when the color temperature value is 5600k-6500k, the light source is slightly cyan; when the color temperature value is 6500k-7500k, the light source is blue. The light color of the light source can be adjusted by the PWM switch dimming mode to adjust the on-time ratio of the cold white LED array and the warm white LED array, so that the color temperature adjustment is realized.
The luminance of the light source is the ratio of the luminous intensity of the light-emitting surface in a given direction to the area of the light-emitting surface in the vertical and guide direction, and is expressed in candelas per square meter (cd/m 2). The brightness of the light source can be adjusted by changing the amount of light emitted by the LED light source.
For example, when the color of the target object is white, the reflection to the light is strong, the color temperature of the light source can be properly reduced, and the eye fatigue of the user caused by too strong light is avoided, thereby protecting the eyesight of the user. When the color of the target object is dark brown, the color temperature of the light source can be appropriately increased to improve the user's comfort. The brightness of the lamp source is adjusted according to the light intensity value of the environment, so that strong light and shade contrast can be avoided, and user fatigue of a user is reduced, so that the eyesight of the user is better protected.
In this embodiment, according to the color of the target object and the light intensity value of the environment, the corresponding target light color and target brightness are obtained in the database, and the light color and brightness of the light source are adjusted according to the target light color and the target brightness, so that the light color and brightness are more suitable for the actual use scene of the user, and the eyesight of the user is better protected.
An embodiment of an intelligent device provided by the present invention, as shown in fig. 6, includes:
the detection module 100 is configured to detect whether a user exists within a preset range;
a position obtaining module 200, configured to obtain a position of the user if the user exists within the preset range;
and an adjusting module 300, configured to adjust a position of the light source according to the position of the user.
Specifically, the intelligent device of the invention can be an intelligent desk lamp. As shown in fig. 2, the intelligent desk lamp comprises a base 1, a first telescopic rod 2, a connecting rod 3, a second telescopic rod 4, a lamp holder 5 and a lamp source 6, one end of the first telescopic rod 2 is arranged on the base 1, the other end of the first telescopic rod 2 is connected with one end of the connecting rod 3, the other end of the connecting rod 3 is rotatably connected with one end of the second telescopic rod 4, the second telescopic rod 4 can rotate 360 degrees relative to the connecting rod 3, the other end of the second telescopic rod 4 is connected with the lamp holder 5, and the lamp source 6 is arranged on the lamp holder 5.
The first telescopic rod 2 and the second telescopic rod 4 are arranged in a telescopic manner; the first telescopic rod 2 comprises a sleeve and a rod piece which can move in the sleeve along the axial direction of the sleeve, and the first telescopic rod 2 is stretched by the movement of the rod piece in the sleeve; the second telescopic rod 4 is the same as the first telescopic rod 2 in structure, and the first telescopic rod 2 and the second telescopic rod 4 are electric telescopic rods respectively. When the first telescopic rod 2 and the second telescopic rod 4 are telescopic, the position of the lamp source 6 on the lamp holder 5 can be changed.
The intelligent desk lamp further comprises a detection module, a position acquisition module and an adjustment module, wherein the detection module is an infrared detector, and the infrared detector is arranged on the lamp holder. The adjusting module, the position obtaining module and the detecting module are electrically connected in sequence, when the infrared detector detects that a user exists in a preset range, the position of the user can be sent to the position obtaining module, and the adjusting module adjusts the second telescopic rod and the first telescopic rod according to the position of the user obtained by the position obtaining module so as to achieve the purpose of adjusting the position of the lamp source. The specific adjusting process is as follows:
based on the usage scenario of the intelligent desk lamp, the intelligent desk lamp is generally placed on a desk for a user to study. When the light source on the intelligent desk lamp is not started, the infrared detector is arranged on the intelligent desk lamp and can detect whether a user exists in a preset range, namely whether a person approaches the desk or not, and the preset range refers to a region around the desk. The user in this embodiment may be, but is not limited to, a child, an adult.
When the infrared detector detects that a user is close to the desk, the current state of the user can be further detected, and whether the current state of the user meets the preset condition or not is judged, namely whether the user sits down and starts to study or play is detected. The current state of the user can be detected by acquiring an image of the user, and can also be detected by detecting the sitting posture of the user.
Illustratively, the camera can be installed on the lamp holder of intelligent desk lamp, gather user's image through the camera, then judge whether the user has sat according to user's image, if the user has sat down, then think that user's current state accords with the preset condition, think that the user needs light at this moment promptly, can start the lamp source.
When user's current state accords with the preset condition, then acquire the user's that infrared detector detected position, then according to user's position, adjust the position of lamp source, drive the second telescopic link promptly and rotate, and adjust the length of second telescopic link, make the directional user place's of second telescopic link position, and adjust the distance between lamp stand and the user, realize adjusting the purpose of lamp source and user's relative position and distance, make the lamp source adjust suitable position, guarantee that user position can both be covered by the light that shines of lamp source, for the user provides suitable light, it is not clear to prevent that children from seeing when the local study of light is dark, and then protect children's eyesight.
When the light source on the intelligent desk lamp is started, in the working process of the intelligent desk lamp, the infrared detector on the intelligent desk lamp can detect whether the user is still in front of the desk at preset time intervals, the position of the user is obtained, and when the position of the user changes, the position of the light source can be adjusted according to the position of the user.
Because children are more mobile, children study or when playing with the toy in front of the table, like to remove in front of the table, when children were in the A position of desk, the light irradiation range of intelligence desk lamp was A position place region, when children removed the B position of desk, the light irradiation range of intelligence desk lamp was still A position place region this moment, if the position in lamp source was not adjusted, then light can't shine B position place region, children can injure user's eyesight when the B position study that light can't shine, can not play the purpose of eyeshield. According to the scheme of the invention, the position change of the user can be detected through the infrared detector on the intelligent desk lamp, and then the position of the light source is adjusted according to the changed position of the user, so that the light source is adjusted to the most suitable distance from the user, a dark place does not exist at the position of the user, the user can see more clearly, and the purpose of protecting the eyesight of the user is achieved.
Preferably, the method further comprises the following steps:
an acquisition module 400 for acquiring a target image containing the user;
a determining module 500, configured to determine, according to the target image, a database corresponding to the user;
the determining module 500 is further configured to determine, according to the database, a vertical distance value between the light source and a desktop and a horizontal distance value between the light source and the user;
the adjusting module 500 is further configured to adjust the position of the light source according to the position of the user, the vertical distance value, and the horizontal distance value.
Preferably, the location acquisition module 200 includes:
a state detection unit 210, configured to detect a current state of a user if the user exists within the preset range;
a determining unit 220, configured to determine whether a current state of the user meets a preset condition;
a location obtaining unit 230, configured to obtain a location of the user if the current state of the user meets a preset condition.
Specifically, when the light source on the intelligent desk lamp is not started, after the infrared detector on the intelligent desk lamp detects that someone is near the desk, the position of the user detected by the infrared detector in front of the desk is obtained, the current state of the user is further detected, whether the current state of the user meets the preset condition or not is judged, and whether the user sits down and starts to study or play is detected. The current state of the user may be detected by acquiring an image of the user. When the user is judged to exist in the preset range, acquiring a target image containing the user, judging whether the user is in a sitting state or not according to the state of the user in the target image, and determining the identity of the user according to the image of the user in the target image.
When the user is in the sitting state, the lamp source on the intelligent desk lamp can be started, and the database corresponding to the user is determined according to the identity of the user. The intelligent desk lamp can pre-store databases corresponding to each member in a family, and the optimal distance value between the lamp source of the corresponding member and a user is stored in each database. Because each user has different heights and different preferences, the corresponding database of each user is also different. For example, for children, because children are small in height, when the children use the desk lamp, the height of the light source from the desk top should be smaller than that of the light source when the adults use the desk lamp. After the user inputs the height of the user, the intelligent desk lamp can generate the optimal vertical distance value corresponding to the user. And the horizontal distance value of the light source from the user can be set according to personal preference of each user.
Before a user inputs a preferred horizontal distance value and the height of the user in the intelligent desk lamp, the horizontal distance value and the vertical distance value stored in the database corresponding to the user are both original data, the original data are the optimal distance determined based on the characteristics of human eyes, namely the optimal setting position of a light source relative to the user when the user uses the intelligent desk lamp.
After the database corresponding to the user is determined, the vertical distance value between the lamp source suitable for the user and the desktop and the horizontal distance value between the lamp source and the user can be obtained according to the data stored in the database. And then adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
For example, a distance sensor can be arranged at one end, far away from the second telescopic rod, of a lamp holder of the intelligent desk lamp, and the height of the lamp holder from a desktop and the horizontal distance of the lamp holder from a user can be measured through the distance sensor. After a vertical distance value and a horizontal distance value are obtained in a database corresponding to a user, a second telescopic rod can be rotated according to the position of the user, so that a lamp holder rotates to the direction facing the position of the user along with the second telescopic rod, then the height of the lamp holder from a desktop is made to be the vertical distance value by adjusting the height of a first telescopic rod in the intelligent desk lamp, and the horizontal distance of the lamp holder from the user is made to be the horizontal distance value by adjusting the length of the second telescopic rod; and the irradiation range of the lamp source covers the position of the user, so that the user is provided with proper lighting light which is in accordance with the preference of the user.
When a light source on the intelligent desk lamp is started, in the working process of the intelligent desk lamp, an infrared detector on the intelligent desk lamp can detect whether a user is still in front of the desk lamp or not at preset time intervals, the position of the user is obtained, when the position of the user changes, a target image containing the user can be collected, then a database corresponding to the user is determined according to the target image, and finally the position of the light source is adjusted according to the position of the user, a vertical distance value and a horizontal distance value stored in the database.
In the embodiment, the optimal lighting light which is suitable for the user and accords with the preference of the user is obtained by obtaining the database corresponding to the user, so that the position of the light source is adjusted more accurately, the eyesight of the user is protected better, the personalized requirements of the user can be met, the user feels comfortable under the lighting light, and the use experience of the user is improved.
Preferably, the method further comprises the following steps:
an image acquisition module 600, configured to acquire a region image of a preset region;
a judging module 700, configured to judge whether a target object exists in the area image;
the adjusting module 300 is further configured to adjust an illumination angle of the light source according to the target object if the target object exists in the region image.
Specifically, after the position of the lamp source is adjusted according to the position of the user, the intelligent desk lamp can further acquire an area image of a preset area, and then judge whether a target object exists in the preset area. The preset area may be determined according to the lamp source position and the preset length. The shape of the predetermined area may be regular or irregular, for example, the predetermined area may be a circular area, a hexagonal area, an elliptical area, or a square area. Exemplarily, the intelligent desk lamp is placed on a desktop, a circular area is determined by taking the position of the intelligent desk lamp as the center and taking the preset length as the radius, and the circular area is the preset area.
Whether the target object exists in the preset area or not is judged, and the judgment can be carried out according to whether the object with the different color exists in the preset area or not, namely when the object with the different color from the desktop exists in the preset area, the target object is considered to exist. In addition, the area image can be identified through an image identification technology to determine whether a target object exists in the preset area, and the target object can be a book, a toy and other objects.
After the target object is judged to exist in the preset area, the irradiation angle of the lamp source can be accurately adjusted according to the target object. For example, after determining the target object on the desk, the second telescopic link can be rotated, the second telescopic link is located above the target object, and then the lamp source on the lamp holder is also located above the target object, so that the writing area or the playing area of the user can be completely irradiated by the light of the intelligent desk lamp, the user is prevented from learning or playing in a dark place, and the eyesight of the user is better protected.
In this embodiment, by acquiring an image including a target object, the illumination angle of the light source can be adjusted more accurately, so as to better protect the eyesight of the user.
Preferably, the method further comprises the following steps:
a color obtaining module 800, configured to obtain a color of the target object according to the area image;
a light collection module 900, configured to collect light intensity values of the surrounding environment;
the adjusting module 300 is further configured to adjust the light color and the brightness of the light source according to the color of the target object, the light intensity value, and the database.
Specifically, after the target object is determined to be included in the region image, the color of the target object may be determined according to the RGB color information of the region image.
If the color of the target object is determined not to be a single color according to the RGB color information in the area image, calculating the area occupied by each color, and then selecting the color with the largest area as the paper color of the target object.
For example, the color of the target object may be color a, color B, and color C according to the RGB color information in the area image, and then the area sizes occupied by the color a, the color B, and the color C are calculated, and if the area occupied by the color a is the largest, the color a is considered as the color of the target object.
The intelligent desk lamp is also provided with a light induction sensor, and the light intensity value of the surrounding environment of the intelligent desk lamp is acquired through the light induction sensor on the intelligent desk lamp.
The database corresponding to the user can also store the target light color and the target brightness of the light source corresponding to each light intensity value and the color of the target object. The data stored in the database may be original data or updated according to the preference of the user. For convenience of matching, the light intensity values may be classified into a plurality of classes according to the intensity value range, and the light intensities within a certain range are classified into one class. Each type of light intensity value may correspond to a luminance, and each target object color may correspond to a light color. After the target light color and the target brightness of the lamp source are determined according to the color, the light intensity value and the database of the target object, the light color and the brightness of the lamp source can be adjusted according to the target light color and the target brightness.
The light color of the lamp source refers to the color temperature of the light source, which is expressed in units of "k" (kelvin temperature units). Generally, the low color temperature is warm light, and the high color temperature is cold light. For example, when the color temperature value is 2500k-3200k, the light source is reddish orange; when the color temperature value is 3200k-4500k, the light source is orange yellow; when the color temperature value is 4500k-5400k, the light source is yellow; when the color temperature value is 5400k-5600k, the light source is white; when the color temperature value is 5600k-6500k, the light source is slightly cyan; when the color temperature value is 6500k-7500k, the light source is blue. The light color of the light source can be adjusted by the PWM switch dimming mode to adjust the on-time ratio of the cold white LED array and the warm white LED array, so that the color temperature adjustment is realized.
The luminance of the light source is the ratio of the luminous intensity of the light-emitting surface in a given direction to the area of the light-emitting surface in the vertical and guide direction, and is expressed in candelas per square meter (cd/m 2). The brightness of the light source can be adjusted by changing the amount of light emitted by the LED light source.
For example, when the color of the target object is white, the reflection to the light is strong, the color temperature of the light source can be properly reduced, and the eye fatigue of the user caused by too strong light is avoided, thereby protecting the eyesight of the user. When the color of the target object is dark brown, the color temperature of the light source can be appropriately increased to improve the user's comfort. The brightness of the lamp source is adjusted according to the light intensity value of the environment, so that strong light and shade contrast can be avoided, and user fatigue of a user is reduced, so that the eyesight of the user is better protected.
In this embodiment, according to the color of the target object and the light intensity value of the environment, the corresponding target light color and target brightness are obtained in the database, and the light color and brightness of the light source are adjusted according to the target light color and the target brightness, so that the light color and brightness are more suitable for the actual use scene of the user, and the eyesight of the user is better protected.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A light conditioning method, comprising:
detecting whether a user exists in a preset range;
if the user exists in the preset range, acquiring the position of the user;
and adjusting the position of the light source according to the position of the user.
2. A light adjustment method according to claim 1, wherein if the user is present in the preset range, the method further comprises:
acquiring a target image containing the user;
determining a database corresponding to the user according to the target image;
according to the database, determining a vertical distance value of the light source from a desktop and a horizontal distance value of the light source from the user;
the adjusting the position of the light source according to the position of the user specifically comprises:
and adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
3. A light conditioning method according to claim 1, further comprising:
collecting a region image of a preset region;
judging whether a target object exists in the area image or not;
and if the target object exists in the area image, adjusting the irradiation angle of the lamp source according to the target object.
4. A light conditioning method according to claim 3, further comprising:
acquiring the color of the target object according to the area image;
collecting light intensity values of the surrounding environment;
and adjusting the light color and the brightness of the light source according to the color of the target object, the light intensity value and the database.
5. The light adjusting method according to claim 1, wherein if the user exists within the preset range, the obtaining the position of the user further comprises:
if the user exists in the preset range, detecting the current state of the user;
judging whether the current state of the user meets a preset condition or not;
and if the current state of the user meets a preset condition, acquiring the position of the user.
6. A smart device, comprising:
the detection module is used for detecting whether a user exists in a preset range;
the position acquisition module is used for acquiring the position of the user if the user exists in the preset range;
and the adjusting module is used for adjusting the position of the light source according to the position of the user.
7. The intelligent device according to claim 6, further comprising:
the acquisition module is used for acquiring a target image containing the user;
the determining module is used for determining a database corresponding to the user according to the target image;
the determining module is further used for determining a vertical distance value of the light source from a desktop and a horizontal distance value of the light source from the user according to the database;
the adjusting module is further used for adjusting the position of the light source according to the position of the user, the vertical distance value and the horizontal distance value.
8. The intelligent device according to claim 6, further comprising:
the image acquisition module is used for acquiring a regional image of a preset region;
the judging module is used for judging whether a target object exists in the area image or not;
the adjusting module is further configured to adjust an irradiation angle of the light source according to the target object if the target object exists in the region image.
9. The intelligent device according to claim 8, further comprising:
the color obtaining module is used for obtaining the color of the target object according to the area image;
the light ray collection module is used for collecting the light ray intensity value of the surrounding environment;
the adjusting module is further configured to adjust the light color and the brightness of the light source according to the color of the target object, the light intensity value, and the database.
10. The intelligent device according to claim 6, wherein the location acquisition module comprises:
the state detection unit is used for detecting the current state of the user if the user exists in the preset range;
the judging unit is used for judging whether the current state of the user meets a preset condition or not;
and the position acquisition unit is used for acquiring the position of the user if the current state of the user meets a preset condition.
CN201910691645.7A 2019-07-30 2019-07-30 Light adjusting method and intelligent device Active CN112399677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910691645.7A CN112399677B (en) 2019-07-30 2019-07-30 Light adjusting method and intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910691645.7A CN112399677B (en) 2019-07-30 2019-07-30 Light adjusting method and intelligent device

Publications (2)

Publication Number Publication Date
CN112399677A true CN112399677A (en) 2021-02-23
CN112399677B CN112399677B (en) 2023-05-26

Family

ID=74601108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910691645.7A Active CN112399677B (en) 2019-07-30 2019-07-30 Light adjusting method and intelligent device

Country Status (1)

Country Link
CN (1) CN112399677B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010952A (en) * 2021-03-26 2021-06-22 深圳市六道文化传播有限公司 Indoor exhibition hall design method and system
CN113966051A (en) * 2021-12-23 2022-01-21 深圳市奥新科技有限公司 Intelligent control method, device and equipment for desk lamp illumination and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104747970A (en) * 2015-03-23 2015-07-01 东华大学 Multifunctional intelligent table lamp
CN104936357A (en) * 2015-06-30 2015-09-23 广州友融壹合投资管理有限公司 Intelligent table lamp and monitoring method thereof
CN108811271A (en) * 2018-04-28 2018-11-13 上海与德科技有限公司 A kind of light adjusting method, device, intelligent desk lamp and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104747970A (en) * 2015-03-23 2015-07-01 东华大学 Multifunctional intelligent table lamp
CN104936357A (en) * 2015-06-30 2015-09-23 广州友融壹合投资管理有限公司 Intelligent table lamp and monitoring method thereof
CN108811271A (en) * 2018-04-28 2018-11-13 上海与德科技有限公司 A kind of light adjusting method, device, intelligent desk lamp and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010952A (en) * 2021-03-26 2021-06-22 深圳市六道文化传播有限公司 Indoor exhibition hall design method and system
CN113966051A (en) * 2021-12-23 2022-01-21 深圳市奥新科技有限公司 Intelligent control method, device and equipment for desk lamp illumination and storage medium

Also Published As

Publication number Publication date
CN112399677B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN112118659B (en) Light adjusting method and intelligent device
US7564368B2 (en) Semantic light
CN109587875A (en) A kind of intelligent desk lamp and its adjusting method
CN204859607U (en) Active intelligent illumination automatic control lamp
CN108811271A (en) A kind of light adjusting method, device, intelligent desk lamp and storage medium
CN103167697B (en) Color temperature and luminance adaptive lamp
CN103423657A (en) Intelligent lamp and intelligent reminding method thereof
CN103807661A (en) Intelligent lamp for dynamically adjusting lighting parameters
CN112399677A (en) Light adjusting method and intelligent device
CN110958738B (en) Electronic device with adaptive lighting system
CN104434022B (en) For carrying out the optics array system and method for pupil tracing with reflex reflection
CN103793045B (en) Pupil tracing device
CN115604893B (en) Healthy lighting method, device and system for dynamically adjusting illumination environment of children room
US20220217828A1 (en) Camera-based lighting control
CN111880309A (en) Method for automatically adjusting brightness of AR virtual image based on pupil size
CN112020173B (en) Light adjusting method and intelligent desk lamp
CN103899969A (en) Shadowless table lamp with sitting posture monitoring function
TW201419936A (en) Lamp device with intelligent and dynamic adjustable light-emitting parameters
CN205640409U (en) Broad territory formula lamps and lanterns of disconnect -type control illuminance
CN219756283U (en) Intelligent myopia prevention desk lamp
CN112188689B (en) Method and system for controlling light source based on learning duration
CN209358811U (en) It is a kind of can adjust automatically brightness identification light
CN105841029A (en) LED eye-protection table lamp
CN205690340U (en) Illuminator and illuminator
CN110762411A (en) Intelligent learning lamp based on machine identification

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