CN111356269A - Intelligent sound control table lamp and control method thereof - Google Patents

Intelligent sound control table lamp and control method thereof Download PDF

Info

Publication number
CN111356269A
CN111356269A CN202010160823.6A CN202010160823A CN111356269A CN 111356269 A CN111356269 A CN 111356269A CN 202010160823 A CN202010160823 A CN 202010160823A CN 111356269 A CN111356269 A CN 111356269A
Authority
CN
China
Prior art keywords
desk lamp
user
information
servo motor
current
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.)
Withdrawn
Application number
CN202010160823.6A
Other languages
Chinese (zh)
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.)
Foshan Aiwente Intelligent Technology Co ltd
Original Assignee
Foshan Aiwente Intelligent 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 Foshan Aiwente Intelligent Technology Co ltd filed Critical Foshan Aiwente Intelligent Technology Co ltd
Priority to CN202010160823.6A priority Critical patent/CN111356269A/en
Publication of CN111356269A publication Critical patent/CN111356269A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

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

Abstract

The invention discloses an intelligent sound control desk lamp which comprises an installation seat, a desk lamp frame and a desk lamp body, wherein the desk lamp frame is fixedly arranged on the top wall of the installation seat, the desk lamp body is rotatably arranged at the top end of the desk lamp frame, a first servo motor is arranged in the center of the interior of the installation seat, the first servo motor is a double-shaft motor, two driving ends of the first servo motor are respectively provided with a first main gear, the bottom side of the installation seat is symmetrically provided with four idler wheels, one ends, close to the first servo motor, of the two idler wheels which are opposite in position are respectively provided with a secondary gear, the bottom wall of the installation seat is provided with an installation opening, and the inner side wall of the installation opening is provided with a rotating shaft. The structure of the original desk lamp is changed, so that the illumination angle of the desk lamp can be adjusted in the horizontal direction and the vertical direction, the intelligent control of the desk lamp through sound is realized, and the desk lamp is efficient, convenient and fast. In addition, the invention also discloses a control method based on the intelligent sound control table lamp.

Description

Intelligent sound control table lamp and control method thereof
Technical Field
The invention relates to the technical field of voice-operated table lamps, in particular to an intelligent voice-operated table lamp and a control method thereof.
Background
The desk lamp is one kind of lamp, small and exquisite, and convenient to carry, and this electrical apparatus mainly places on desk or dining table for the usefulness of illumination, and the bright irradiation range of desk lamp is relatively little and concentrated. The desk lamp is a household appliance used for illumination in life, and is generally divided into two types, namely a column type and a clamping type. Its function is to concentrate the light in a small area, which is convenient for work and study. The common desk lamp bulbs are incandescent lamps, energy-saving bulbs and eye-protecting desk lamps popular in the market, and part of the desk lamps also have an emergency function, namely a self-contained power supply, and are used for illumination emergency in power failure.
The general structure of current desk lamp is comparatively simple, and the function singleness is used and is experienced generally, along with the continuous popularization of intelligent house theory, ordinary desk lamp can't satisfy the user demand, needs improve current desk lamp.
Disclosure of Invention
The invention aims to solve the problem that a common desk lamp in the prior art is inconvenient to use and cannot follow the intelligent trend, and provides an intelligent voice-controlled desk lamp and a control method thereof.
In order to achieve the above object, a first aspect of the present invention provides an intelligent voice-controlled desk lamp, which includes a mounting base, a desk lamp holder and a desk lamp body, the desk lamp holder is fixedly arranged on the top wall of the mounting seat, the desk lamp body is rotatably arranged at the top end of the desk lamp holder, a first servo motor is arranged in the center of the interior of the mounting seat, the first servo motor is a double-shaft motor, the two driving ends of the first servo motor are respectively provided with a first main gear, the bottom side of the mounting seat is symmetrically provided with four rollers, wherein, the two opposite ends of the roller near the first servo motor are provided with auxiliary gears, the bottom wall of the mounting seat is provided with a mounting opening, the inner side wall of the mounting opening is provided with a rotating shaft, the rotating shaft is provided with a second main gear, the second main gear is positioned at one side of one of the first main gears, and the top parts of the second main gear and the first main gear are meshed with a face gear together; the desk lamp comprises a desk lamp frame, a desk lamp body, a mounting plate, a thin steel wire rope, a second servo motor, a winding roller and a fixing device, wherein the top end of the desk lamp frame is provided with a mounting port, a support rod is arranged inside the mounting port, the end, close to the desk lamp frame, of the desk lamp body is provided with the mounting plate, the mounting plate is movably sleeved on the support rod, one end, far away from the desk lamp body, of the mounting plate is connected with the thin steel wire rope, the mounting seat is internally provided with the second servo motor, the driving end of the second servo motor; install the sound collection sensor on the mount pad, the internally mounted of mount pad has the singlechip, the output of sound collection sensor is connected with the input electricity of singlechip, the output of singlechip is connected with first servo motor and second servo motor's input electricity. .
Furthermore, the top wall of the end face gear is connected with an installation rod, the top end of the installation rod is provided with a bearing, and the bearing is fixedly installed inside the installation seat.
Furthermore, the two auxiliary gears are meshed with the first main gear and the second main gear respectively, and the four rollers are distributed in a circular shape.
Furthermore, a spring hole is formed in the bottom wall inside the mounting hole, a contraction spring is arranged inside the spring hole, and the top end of the contraction spring is fixedly connected with the bottom wall of the mounting plate.
Further, the sound collection sensor is a TZ-2KA sound sensor, the single chip microcomputer is a programmable 89S51 single chip microcomputer, the first servo motor is an SHJW60-106 and 200-24 type double-output-shaft direct current servo motor, and the second servo motor is a WS2845 series three-phase asynchronous motor.
Furthermore, a plurality of rope rings are arranged on the outer side wall of the desk lamp frame, and a thin steel wire rope is arranged on each rope ring in a penetrating mode; the first main gear and the second main gear are the same in specification, and a gear groove corresponding to the first main gear is formed in the bottom wall of the mounting seat.
The second aspect of the present invention further provides a desk lamp control method, which is applied to the above intelligent voice-controlled desk lamp, and the method includes:
acquiring the voice information of the current user through a voice acquisition sensor and transmitting the voice information to the singlechip;
determining, by the single-chip microcomputer, a current location of a user based on the sound information;
calculating the angle deviation between the current position of the user and the current posture of the desk lamp according to the current position of the user and the current posture of the desk lamp;
and the singlechip controls a servo motor to work according to the angle deviation so as to adjust the posture of the desk lamp.
Further, after the voice information of the current user is collected by the voice collecting sensor, the method further includes:
matching the voice information of the current user with voice samples prestored in a database one by one;
if a sound sample consistent with the sound information of the current user is matched in the database, extracting corresponding table lamp template parameter information according to the sound sample;
and transmitting the parameter information of the table lamp template to a controller, and adjusting the posture, the brightness and the color of the table lamp by the controller according to the parameter information of the table lamp template.
Further, the method further comprises:
acquiring historical data of each user using the table lamp within a preset time period, wherein the historical data at least comprises using time and a table lamp posture;
respectively performing machine learning on the historical data of each user to train to obtain a table lamp posture adjustment model of each user, and recording the table lamp posture adjustment models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding table lamp posture adjustment model from the model base based on the identity of the current user;
acquiring current time information and inputting the current time information into a desk lamp posture adjusting model corresponding to a current user, and predicting posture adjusting parameters;
and transmitting the predicted attitude adjusting parameters to a single chip microcomputer, and adjusting the attitude of the desk lamp by the single chip microcomputer according to the predicted attitude adjusting parameters.
Further, the method further comprises:
acquiring historical data of each user using the desk lamp within a preset time period, wherein the historical data at least comprises using time, posture of the desk lamp, brightness of the desk lamp and color of the desk lamp;
respectively performing machine learning on the historical data of each user to train to obtain a desk lamp brightness adjusting model and a desk lamp color adjusting model of each user, and recording the desk lamp brightness adjusting models and the desk lamp color adjusting models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding desk lamp brightness adjustment model and a corresponding desk lamp color adjustment model from the model base based on the identity of the current user;
acquiring current time information, inputting the current time information into a desk lamp brightness adjusting model and a desk lamp color adjusting model corresponding to a current user, and predicting a brightness value and a color value respectively;
and transmitting the predicted brightness value and color value to a single chip microcomputer, and controlling the desk lamp to output the brightness and color corresponding to the brightness value and the color value by the single chip microcomputer.
Compared with the prior art, the invention has the beneficial effects that:
1. the simple structure of the original desk lamp is changed, the desk lamp can be easily rotated, the irradiation direction of the desk lamp is convenient to change, and the lamp body of the desk lamp can also rotate in the vertical direction and can irradiate different angles;
2. the position of a speaker is sensed through the sound collection sensor, and the irradiation direction and the irradiation angle of the desk lamp are controlled through the single chip microcomputer, so that the intelligent control of the desk lamp is realized, and the desk lamp is efficient and convenient.
3. The whole device has simple structure, low process requirement, easy realization and quick popularization.
4. According to the invention, the current position of the user is accurately positioned through sound, and then the posture of the table lamp is adjusted in real time based on the current position of the user, so that the requirements of different users and the same user on the illumination conditions of the table lamp when the position or the posture changes are met, and the experience of the user in using the table lamp is effectively improved.
5. According to the desk lamp management system, the use habits of different users can be collected by establishing the database, the voice samples of the users and the use habits of the desk lamp are stored in the database, the voice information of the current user can be collected through the voice collecting sensor, the corresponding voice samples are matched in the database based on the voice information of the current user, the habit of the user for using the desk lamp is determined based on the matched voice samples, and finally the posture, the brightness and the color of the desk lamp are adjusted by the single chip microcomputer based on the habit of the user for using the desk lamp, so that the requirements of different users for the lighting state of the desk lamp are met, and the experience of the user for using the desk lamp is further improved.
6. According to the invention, by additionally arranging the desk lamp brightness adjusting model and the desk lamp color adjusting model, the desk lamp can meet the requirements of different users on adjusting the brightness and the color of the desk lamp in different time periods, and the use experience of the users on the desk lamp is effectively improved.
7. The time information and the weather information are used as the input elements of the model together, and when the time information is in the daytime, the brightness and the color of the desk lamp can be adjusted by combining the current weather information, so that the use experience of a user in different weather states is improved.
Drawings
Fig. 1 is a schematic front structural view of an intelligent voice-controlled desk lamp according to the present invention;
fig. 2 is a schematic side view of an intelligent voice-controlled desk lamp according to the present invention;
FIG. 3 is an enlarged view of part A of the intelligent voice-controlled desk lamp according to the present invention;
fig. 4 shows a flowchart of a table lamp control method according to the present invention.
In the figure: the desk lamp comprises a mounting base 1, a desk lamp frame 2, a mounting opening 3, a supporting rod 4, a mounting plate 5, a desk lamp body 6, a first servo motor 7, a first main gear 8, a pinion 9, a connecting rod 10, a roller 11, a gear groove 12, a second main gear 13, a rotating shaft 14, an end face gear 15, a mounting rod 16, a bearing 17, a mounting opening 18, a sound collection sensor 19, a single chip microcomputer 20, a second servo motor 21, a winding roller 22 and a thin steel wire rope 23.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Referring to fig. 1-3, a first aspect of the present invention provides an intelligent voice-controlled desk lamp, including a mounting base 1, a desk lamp holder 2 and a desk lamp body 6, wherein the desk lamp holder 2 is fixedly mounted on a top wall of the mounting base 1, the desk lamp body 6 is rotatably mounted on a top end of the desk lamp holder 2, a first servo motor 7 is mounted at an inner center of the mounting base 1, the first servo motor 7 is a two-shaft motor, a first main gear 8 is mounted on two driving ends of the first servo motor 7, four rollers 11 are symmetrically mounted on a bottom side of the mounting base 1, the four rollers 11 are circularly distributed, the mounting base 1 can rotate around a circle center thereof to adjust an illumination direction of the desk lamp, wherein a pinion 9 is mounted at one end of each of the two rollers 11 opposite to each other, which is close to the first servo motor 7, a mounting port 18 is formed on a bottom wall of the mounting base 1, a rotating shaft 14, a second main gear 13 is arranged on a rotating shaft 14, the second main gear 13 is positioned at one side of one of the first main gears 8, the first main gear 8 and the second main gear 13 have the same specification, a gear groove 12 corresponding to the position of the first main gear 8 is arranged on the bottom wall of the mounting seat 1, the top parts of the second main gear 13 and the first main gear 8 are jointly meshed with an end face gear 15, two sub-gears 9 are respectively meshed with the first main gear 8 and the second main gear 13, one of the first main gears 8 drives the second main gear 13 to reversely rotate through the meshing of the end face gear 15, so that the reverse control of the two rollers 11 is realized, the reverse control of the two rollers 11 can be realized through one motor, the mounting seat 1 can be rotated through the reverse rotation of the two rollers 11, an installation rod 16 is connected to the top wall of the end face gear 15, a bearing 17 is arranged at the top end of the installation rod 16, the bearing 17 is fixedly mounted inside the mounting base 1.
The top end of a desk lamp frame 2 is provided with a mounting port 3, a support rod 4 is arranged inside the mounting port 3, one end of a desk lamp body 6 close to the desk lamp frame 2 is provided with a mounting plate 5, the mounting plate 5 is movably sleeved on the support rod 4 to realize the rotary mounting of the desk lamp body 6, the desk lamp body 6 can rotate in the vertical direction, one end of the mounting plate 5 far away from the desk lamp body 6 is connected with a thin steel wire rope 23, a second servo motor 21 is arranged inside a mounting seat 1, a winding roller 22 is arranged on a driving end of the second servo motor 21, the bottom end of the thin steel wire rope 23 penetrates through the top wall of the mounting seat 1 and is fixedly connected on the outer side wall of the winding roller 22, a plurality of rope rings are arranged on the outer side wall of the desk lamp frame 2, the thin steel wire rope 23 penetrates through each rope ring to limit the thin steel wire rope 23 and prevent the thin steel wire rope, the top of shrink spring and the diapire fixed connection of mounting panel 5, the pulling desk lamp body 6 makes it flagging under the natural state, and when thin wire rope 23 was pulled, desk lamp body 6 lifted up, and when thin wire rope 23 loosened, desk lamp body 6 drooped.
The mounting seat 1 is provided with a sound acquisition sensor 19, a single chip microcomputer 20 is arranged inside the mounting seat 1, the output end of the sound acquisition sensor 19 is electrically connected with the input end of the single chip microcomputer 20, the output end of the single chip microcomputer 20 is electrically connected with the input ends of the first servo motor 7 and the second servo motor 21, the sound acquisition sensor 19 is a TZ-2KA sound sensor, the single chip microcomputer 20 is a programmable 89S51 single chip microcomputer, the first servo motor 7 is an SHJW60-106 and 200-24 type double-output-shaft direct current servo motor, and the second servo motor 21 is a WS2845 series three-phase asynchronous motor.
The working principle of the invention is as follows: the power supply of the desk lamp is turned on, the desk lamp emits light, meanwhile, an internal sensing device and a control part start to work, after a user makes sound, the sound collection sensor 19 receives the sound of the user and analyzes the sound, the position of the user is judged, a position signal is sent to the single chip microcomputer 20, the single chip microcomputer 20 analyzes and calculates position data, then the first servo motor 7 and the second servo motor 21 are controlled to work, gears transmit layer by layer, the two rollers 11 drive the mounting seat 1 to rotate, the desk lamp rotates to a corresponding position to provide illumination, meanwhile, the second servo motor 21 works, the winding roller 22 pulls the thin steel wire rope 23 or loosens the thin steel wire rope 23, and the adjustment of the angle of the desk lamp body 6 is achieved.
Fig. 4 shows a flowchart of a table lamp control method according to the present invention.
As shown in fig. 4, a second aspect of the present invention provides a desk lamp control method, which is applied to the above intelligent voice-controlled desk lamp, and the method includes:
s402, collecting the voice information of the current user through a voice collecting sensor and transmitting the voice information to a single chip microcomputer;
s404, determining the current position of the user by the single chip microcomputer based on the sound information;
s406, calculating the angle deviation between the current position of the user and the current posture of the desk lamp according to the current position of the user and the current posture of the desk lamp;
and S408, controlling a servo motor to work by the singlechip according to the angle deviation so as to adjust the posture of the desk lamp.
The method and the device can accurately position the current position of the user through sound, and then adjust the posture of the desk lamp in real time based on the current position of the user, so that the requirements of different users and the same user on the lighting conditions of the desk lamp when the position or the posture changes are met, and the experience of the user in using the desk lamp is effectively improved.
It is understood that the parameters obtained by the desk lamp can be processed locally or uploaded to a server, and the parameters are processed by the server. That is, the operations of the established model and the predicted adjustment parameters can be executed in the local single chip microcomputer or the server. If the parameter information is executed in the server, the singlechip sends the acquired parameter information to the server, the server performs calculation, the calculation result information is fed back to the desk lamp, and the desk lamp controls the servo motor to work according to the result information to adjust the posture of the desk lamp.
According to an embodiment of the present invention, after the voice information of the current user is collected by the voice collecting sensor, the method further includes:
matching the voice information of the current user with voice samples prestored in a database one by one;
if a sound sample consistent with the sound information of the current user is matched in the database, extracting corresponding table lamp template parameter information according to the sound sample;
and transmitting the parameter information of the table lamp template to a controller, and adjusting the posture, the brightness and the color of the table lamp by the controller according to the parameter information of the table lamp template.
According to the desk lamp management system, the use habits of different users can be collected by establishing a database, the database can be locally stored in a server, the voice samples of the users and the use habits (namely, desk lamp template parameter information) of the desk lamp are stored in the database, the voice information of the current user can be collected through the voice collecting sensor, the corresponding voice samples are matched in the database based on the voice information of the current user, then the habit of the user for using the desk lamp is determined based on the matched voice samples, and finally the posture, the brightness and the color of the desk lamp are adjusted by the single chip microcomputer based on the habit of the user for using the desk lamp, so that the requirements of different users on the illumination state of the desk lamp are met, and the experience of the user for using the desk lamp is further improved.
According to the embodiment of the invention, the method further comprises the following steps:
the server acquires the sound sample information and determines user information according to the sound sample information;
acquiring preference information of a user according to the user information;
converting the preference information into table lamp template parameter information;
and transmitting the parameter information of the table lamp template to a controller, and adjusting the posture, the brightness and the color of the table lamp by the controller according to the parameter information of the table lamp template.
It should be noted that, after acquiring the sound sample information, the desk lamp may send the sound sample information to a remote server, where relevant information of the user, including the sound sample information of the user, is stored in the server. The server can obtain the preference information of the user according to the sound sample information of the user. The preference information may be preference information acquired through multiple platforms, for example, preference information of a user stored or recorded in other platforms such as a shopping platform and a sports and fitness platform, and the preference information of the user is obtained by performing weighted calculation on feature values of the preference information of the multiple platforms. And then converting the favorite information of the user into the parameter information of the table lamp template. Specifically, the parameter information may be the posture, brightness, color, and the like of the desk lamp. And then the desk lamp is controlled according to the parameter information.
According to an embodiment of the present invention, after the voice information of the current user is one-to-one matched with the voice samples pre-stored in the database, the method further includes:
if the sound sample which is consistent with the sound information of the current user cannot be matched in the database, the current user manually adjusts the desk lamp, and records the adjusted parameter information of the desk lamp;
and binding the sound information and the parameter information of the desk lamp, and updating the sound information and the parameter information of the desk lamp into the database.
It can be understood that if the sound information of the current user cannot be successfully matched to any one sound sample in the database, the current user is indicated as a new user. Parameter information such as the posture, the brightness and the color of the desk lamp in the use process of a new user can be collected and recorded, the sound information of the user is bound with the parameter information of the desk lamp and is updated to the database to be used as a template, and the desk lamp can be adjusted based on the template input into the database when the desk lamp is reused by the user subsequently.
According to an embodiment of the invention, the method further comprises:
acquiring historical data of each user using the table lamp within a preset time period, wherein the historical data at least comprises using time and a table lamp posture;
respectively performing machine learning on the historical data of each user to train to obtain a table lamp posture adjustment model of each user, and recording the table lamp posture adjustment models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding table lamp posture adjustment model from the model base based on the identity of the current user;
acquiring current time information and inputting the current time information into a desk lamp posture adjusting model corresponding to a current user, and predicting posture adjusting parameters;
and transmitting the predicted attitude adjusting parameters to a single chip microcomputer, and adjusting the attitude of the desk lamp by the single chip microcomputer according to the predicted attitude adjusting parameters.
According to the invention, historical data of each user using the table lamp is collected, and table lamp posture adjusting models of different users are respectively established according to the historical data. After the desk lamp is turned on by a user, sound information of the current user is collected through the sound collection sensor, a corresponding desk lamp posture adjustment model is selected from the model base according to the sound information, time information and the like are input into the desk lamp posture adjustment model, desk lamp posture adjustment parameters are output, and intelligent adjustment of the desk lamp is achieved according to the desk lamp posture adjustment parameters.
It is understood that the desk lamp may be shared by a plurality of members of the family, but the time points are staggered, for example, 6 to 7 points are the time when the child resumes the lesson and writes the homework, and 7 to 9 points are the time when the adult reads the book and works at home. However, the angle demand of the desk lamp is different due to different users (such as children and adults) with different heights, thicknesses and sitting postures.
According to an embodiment of the invention, the method further comprises:
acquiring historical data of each user using the desk lamp within a preset time period, wherein the historical data at least comprises using time, posture of the desk lamp, brightness of the desk lamp and color of the desk lamp;
respectively performing machine learning on the historical data of each user to train to obtain a desk lamp brightness adjusting model and a desk lamp color adjusting model of each user, and recording the desk lamp brightness adjusting models and the desk lamp color adjusting models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding desk lamp brightness adjustment model and a corresponding desk lamp color adjustment model from the model base based on the identity of the current user;
acquiring current time information, inputting the current time information into a desk lamp brightness adjusting model and a desk lamp color adjusting model corresponding to a current user, and predicting a brightness value and a color value respectively;
and transmitting the predicted brightness value and color value to a single chip microcomputer, and controlling the desk lamp to output the brightness and color corresponding to the brightness value and the color value by the single chip microcomputer.
It will be appreciated that, since the desk lamp may be used by different users at different time periods, the brightness and color requirements of the desk lamp may vary from user to user. For example: if the children use time, the children review lessons and the writing business mainly focus on textbooks or textbooks, the color of the desk lamp needs to be adjusted to eye-protecting yellow, and the brightness value cannot be too high; if the use time of the adult is long, the color of the desk lamp needs to be adjusted to be matched with the color of the computer display screen because the adult mostly uses a computer at home and office, and the brightness value cannot be too high.
Meanwhile, the brightness of the desk lamp is different when the desk lamp is used in different time periods of a day. For example, when a user uses a desk lamp in the daytime, the brightness of the desk lamp in the daytime can be properly increased because outdoor light can be transmitted into a room; compared with the daytime, if the user makes the desk lamp at night, the ambient light is darker, and the brightness of the desk lamp can be properly reduced for protecting eyes.
According to the invention, by additionally arranging the desk lamp brightness adjusting model and the desk lamp color adjusting model, the desk lamp can meet the requirements of different users on adjusting the brightness and the color of the desk lamp in different time periods, and the use experience of the users on the desk lamp is effectively improved.
According to another embodiment of the invention, the method further comprises:
acquiring historical data of each user using the desk lamp within a preset time period, wherein the historical data at least comprises using time, weather information, a desk lamp posture, desk lamp brightness and desk lamp color;
respectively performing machine learning on the historical data of each user to train to obtain a desk lamp brightness adjusting model and a desk lamp color adjusting model of each user, and recording the desk lamp brightness adjusting models and the desk lamp color adjusting models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding desk lamp brightness adjustment model and a corresponding desk lamp color adjustment model from the model base based on the identity of the current user;
acquiring current time information and weather information, inputting the current time information and the current weather information into a desk lamp brightness adjusting model and a desk lamp color adjusting model corresponding to a current user, and predicting a brightness value and a color value respectively;
and transmitting the predicted brightness value and color value to a single chip microcomputer, and controlling the desk lamp to output the brightness and color corresponding to the brightness value and the color value by the single chip microcomputer.
It will be appreciated that when the desk lamp is used during the day, the brightness in the room will be different due to different weather conditions, for example: in sunny days, the brightness in the room is high, and at the moment, the brightness of the desk lamp needs to be improved to meet the requirements of users; in rainy weather, the brightness in the room is not high, and the brightness of the desk lamp should be properly reduced at this time for protecting eyes.
The time information and the weather information are used as the input elements of the model together, and when the time information is in the daytime, the brightness and the color of the desk lamp can be adjusted by combining the current weather information, so that the use experience of a user in different weather states is improved.
According to another embodiment of the invention, the method further comprises:
acquiring historical data of each user using the desk lamp within a preset time period, wherein the historical data at least comprises using time, weather information, a desk lamp posture, desk lamp brightness and desk lamp color;
respectively carrying out weighted calculation on the time information and the weather information in each item of historical data to obtain historical time weight information and weather weight information, carrying out machine learning based on the historical time weight information, the weather weight information, the desk lamp brightness and the desk lamp color to obtain a desk lamp brightness adjusting model and a desk lamp color adjusting model of each user through training, and recording the desk lamp brightness adjusting models and the desk lamp color adjusting models of all users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding desk lamp brightness adjustment model and a corresponding desk lamp color adjustment model from the model base based on the identity of the current user;
acquiring current time information and weather information and respectively carrying out weighted calculation to obtain current time weight information and weather weight information;
inputting the current time weight information and the current weather weight information into a desk lamp brightness adjusting model and a desk lamp color adjusting model corresponding to the current user, and respectively predicting a brightness value and a color value;
and transmitting the predicted brightness value and color value to a single chip microcomputer, and controlling the desk lamp to output the brightness and color corresponding to the brightness value and the color value by the single chip microcomputer.
It can be understood that when model training is carried out, time information and weather information are jointly used as input elements, but the influence weights of the time information and the weather information on the prediction result are different; in the invention, during model training and subsequent model prediction, time information and weather information are weighted respectively and then used as input elements, namely the input elements are time information weight A + weather information weight B, A + B is 1, and the weights A and B can be changed according to day and night. For example, in daytime, if the influence of the change of the weather information on the brightness adjustment result of the desk lamp is large, the weight of the corresponding weather information is increased, and the time weight information and the weather weight information of the desk lamp are input as the input elements; if the influence of the change of the weather information on the brightness adjustment result of the desk lamp is small or even no at night, the weight of the corresponding weather information is small or even 0, and the input element is mainly based on the time information of the desk lamp used by the user (namely, the brightness adjustment result is predicted only according to the time information).
According to another embodiment of the present invention, after the desk lamp is controlled by the single chip microcomputer to output the brightness and the color corresponding to the brightness value and the color value, the method further comprises:
receiving updated time information and weather information in real time, and inputting the updated time information and weather information into the desk lamp brightness adjusting model and the desk lamp color adjusting model;
respectively predicting a new brightness value and a new color value by the desk lamp brightness adjusting model and the desk lamp color adjusting model;
if the difference between the new brightness value and the new color value and the brightness value and the color value presented by the current desk lamp are respectively larger than a preset threshold value, adjusting the desk lamp according to the new brightness value and the new color value; and if the difference value is smaller than the preset threshold value, the desk lamp is not adjusted.
According to the invention, the threshold value is set, and the desk lamp is updated and adjusted when the threshold value is larger than the preset threshold value, so that the frequency of adjusting the desk lamp is reduced, the intelligent adjustment of the desk lamp is realized, and the service life of the desk lamp is further prolonged.
According to another embodiment of the present invention, after adjusting the posture, brightness and color of the desk lamp, the method further comprises:
if the posture, the brightness or the color of the desk lamp are manually adjusted by the user, recording the manual adjustment data;
when the frequency of recording the manual adjustment data by the same time node every day reaches a preset threshold value, updating the manual adjustment data into historical data;
and re-training the models by adopting the updated historical data.
Because the intelligent adjustment result may not meet the requirements of the user, the method and the device make the subsequent prediction result more appropriate to the requirements of the user by recording the manual adjustment data of the user and performing model training again based on the manual adjustment data.
The third aspect of the present invention further provides a desk lamp control system, including: the desk lamp control method comprises a storage and a processor, wherein the storage comprises a desk lamp control method program, and the desk lamp control method program realizes the steps of the desk lamp control method when being executed by the processor.
The fourth aspect of the present invention also provides a computer-readable storage medium, where the computer-readable storage medium includes a table lamp control method program, and when the table lamp control method program is executed by a processor, the steps of the table lamp control method are implemented.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. The utility model provides an intelligence acoustic control desk lamp, includes mount pad (1), desk lamp frame (2) and desk lamp body (6), its characterized in that: the desk lamp comprises a desk lamp body (6), a desk lamp base (2), a mounting seat (1), a desk lamp body (6), a first servo motor (7), a double-shaft motor, a first main gear (8), four idler wheels (11), two idler wheels (11) and a second main gear (13), wherein the desk lamp body is fixedly mounted on the top wall of the mounting seat (1), the first servo motor (7) is rotatably mounted on the top wall of the desk lamp base (2), the two driving ends of the first servo motor (7) are respectively provided with the first main gear (8), the bottom side of the mounting seat (1) is symmetrically provided with the four idler wheels (11), the two idler wheels (11) are opposite in position, one ends of the idler wheels (11) close to the first servo motor (7) are respectively provided with the auxiliary gear (9), the bottom wall of the mounting seat (1) is provided with a mounting opening (18), the inner side wall of the mounting opening (18) is provided with a rotating shaft (14), the rotating shaft (14), the top parts of the second main gear (13) and the first main gear (8) are meshed with a face gear (15) together; the desk lamp comprises a desk lamp frame (2), and is characterized in that a mounting opening (3) is formed in the top end of the desk lamp frame (2), a supporting rod (4) is installed inside the mounting opening (3), a mounting plate (5) is arranged at one end, close to the desk lamp frame (2), of a desk lamp body (6), the mounting plate (5) is movably sleeved on the supporting rod (4), one end, far away from the desk lamp body (6), of the mounting plate (5) is connected with a thin steel wire rope (23), a second servo motor (21) is installed inside a mounting seat (1), a winding roller (22) is installed on the driving end of the second servo motor (21), and the bottom end of the thin steel wire rope (23) penetrates through the top wall of the mounting seat (1) and is fixedly; install sound collection sensor (19) on mount pad (1), the internally mounted of mount pad (1) has singlechip (20), the output of sound collection sensor (19) is connected with the input electricity of singlechip (20), the output of singlechip (20) is connected with the input electricity of first servo motor (7) and second servo motor (21).
2. The intelligent voice-controlled desk lamp of claim 1, wherein: be connected with installation pole (16) on the roof of face gear (15), bearing (17) are installed on the top of installation pole (16), bearing (17) fixed mounting is in the inside of mount pad (1).
3. The intelligent voice-controlled desk lamp of claim 1, wherein: the two auxiliary gears (9) are respectively meshed with the first main gear (8) and the second main gear (13), and the four rollers (11) are distributed in a circular shape.
4. The intelligent voice-controlled desk lamp of claim 1, wherein: the mounting structure is characterized in that a spring hole is formed in the bottom wall inside the mounting opening (3), a contraction spring is mounted inside the spring hole, and the top end of the contraction spring is fixedly connected with the bottom wall of the mounting plate (5).
5. The intelligent voice-controlled desk lamp of claim 1, wherein: the sound collection sensor (19) is a TZ-2KA sound sensor, the single chip microcomputer (20) is a programmable 89S51 single chip microcomputer, the first servo motor (7) is an SHJW60-106 and 200-24 type double-output-shaft direct current servo motor, and the second servo motor (21) is a WS2845 series three-phase asynchronous motor.
6. The intelligent voice-controlled desk lamp of claim 1, wherein: the outer side wall of the desk lamp frame (2) is provided with a plurality of rope rings, and a thin steel wire rope (23) penetrates through each rope ring; the first main gear (8) and the second main gear (13) are identical in specification, and a gear groove (12) corresponding to the first main gear (8) in position is formed in the bottom wall of the mounting seat (1).
7. A desk lamp control method is applied to the intelligent voice-controlled desk lamp of any one of the claims 1 to 6, and is characterized by comprising the following steps:
acquiring the voice information of the current user through a voice acquisition sensor and transmitting the voice information to the singlechip;
determining, by the single-chip microcomputer, a current location of a user based on the sound information;
calculating the angle deviation between the current position of the user and the current posture of the desk lamp according to the current position of the user and the current posture of the desk lamp;
and the singlechip controls a servo motor to work according to the angle deviation so as to adjust the posture of the desk lamp.
8. The desk lamp control method of claim 7, wherein after the voice information of the current user is collected by the voice collecting sensor, the method further comprises:
matching the voice information of the current user with voice samples prestored in a database one by one;
if a sound sample consistent with the sound information of the current user is matched in the database, extracting corresponding table lamp template parameter information according to the sound sample;
and transmitting the parameter information of the table lamp template to a controller, and adjusting the posture, the brightness and the color of the table lamp by the controller according to the parameter information of the table lamp template.
9. The desk lamp control method of claim 7, further comprising:
acquiring historical data of each user using the table lamp within a preset time period, wherein the historical data at least comprises using time and a table lamp posture;
respectively performing machine learning on the historical data of each user to train to obtain a table lamp posture adjustment model of each user, and recording the table lamp posture adjustment models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding table lamp posture adjustment model from the model base based on the identity of the current user;
acquiring current time information and inputting the current time information into a desk lamp posture adjusting model corresponding to a current user, and predicting posture adjusting parameters;
and transmitting the predicted attitude adjusting parameters to a single chip microcomputer, and adjusting the attitude of the desk lamp by the single chip microcomputer according to the predicted attitude adjusting parameters.
10. The desk lamp control method of claim 7, further comprising:
acquiring historical data of each user using the desk lamp within a preset time period, wherein the historical data at least comprises using time, posture of the desk lamp, brightness of the desk lamp and color of the desk lamp;
respectively performing machine learning on the historical data of each user to train to obtain a desk lamp brightness adjusting model and a desk lamp color adjusting model of each user, and recording the desk lamp brightness adjusting models and the desk lamp color adjusting models of all the users into a model library;
acquiring voice information of a current user through a voice acquisition sensor, identifying the identity of the current user, and extracting a corresponding desk lamp brightness adjustment model and a corresponding desk lamp color adjustment model from the model base based on the identity of the current user;
acquiring current time information, inputting the current time information into a desk lamp brightness adjusting model and a desk lamp color adjusting model corresponding to a current user, and predicting a brightness value and a color value respectively;
and transmitting the predicted brightness value and color value to a single chip microcomputer, and controlling the desk lamp to output the brightness and color corresponding to the brightness value and the color value by the single chip microcomputer.
CN202010160823.6A 2020-03-10 2020-03-10 Intelligent sound control table lamp and control method thereof Withdrawn CN111356269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010160823.6A CN111356269A (en) 2020-03-10 2020-03-10 Intelligent sound control table lamp and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010160823.6A CN111356269A (en) 2020-03-10 2020-03-10 Intelligent sound control table lamp and control method thereof

Publications (1)

Publication Number Publication Date
CN111356269A true CN111356269A (en) 2020-06-30

Family

ID=71196210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010160823.6A Withdrawn CN111356269A (en) 2020-03-10 2020-03-10 Intelligent sound control table lamp and control method thereof

Country Status (1)

Country Link
CN (1) CN111356269A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204335086U (en) * 2014-12-30 2015-05-13 广州视声电子科技有限公司 A kind of intelligent desk lamp
CN107606520A (en) * 2017-10-30 2018-01-19 佛山市因诺威特科技有限公司 A kind of desk lamp for automatically adjusting illumination zone
CN107726202A (en) * 2017-10-30 2018-02-23 佛山市因诺威特科技有限公司 A kind of achievable brightness regulation desk lamp
CN108513416A (en) * 2018-04-13 2018-09-07 谢宜俊 Student study automatic illuminating monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204335086U (en) * 2014-12-30 2015-05-13 广州视声电子科技有限公司 A kind of intelligent desk lamp
CN107606520A (en) * 2017-10-30 2018-01-19 佛山市因诺威特科技有限公司 A kind of desk lamp for automatically adjusting illumination zone
CN107726202A (en) * 2017-10-30 2018-02-23 佛山市因诺威特科技有限公司 A kind of achievable brightness regulation desk lamp
CN108513416A (en) * 2018-04-13 2018-09-07 谢宜俊 Student study automatic illuminating monitoring system

Similar Documents

Publication Publication Date Title
CN204889399U (en) Intelligence body -building mirror
CN112584570B (en) Mobile and fixed light color detection module for open office lighting system
CN204876787U (en) Outdoor solar protection devices of intelligence
CN105959747A (en) Angle adjustable TV based on fingerprint recognition
CN111292567A (en) Artificial intelligence-based children mathematical thinking innovation training device and using method thereof
CN111356269A (en) Intelligent sound control table lamp and control method thereof
CN205793025U (en) Intelligent visible intercom doorbell
CN110877336A (en) Internet of things service robot based on 5G communication network
CN213518697U (en) Screen interactive installation is thrown in intelligence education
CN210551333U (en) Intelligent robot turns to structure
CN111322578A (en) Household table lamp with intelligent angle adjusting function and adjusting method
CN108261002A (en) A kind of Environment Design bamboo art show showing device
CN111207320A (en) Omnibearing movable acousto-optic control intelligent desk lamp and control method
CN210667246U (en) Learning accompanying type intelligent robot
CN111641242A (en) Charging cabinet
CN206021088U (en) A kind of educational interactive all-in-one
CN210896326U (en) Intelligent display platform for AI education
CN214312147U (en) Health education propaganda device
CN110217083A (en) Sunshading board a kind of with voice control and that there is automatic adjustment
CN216053376U (en) Interactive non-handicap digital display teaching all-in-one machine
CN218791577U (en) Display device for building planning design
CN219681643U (en) Intelligent dice with Bluetooth function
CN218720214U (en) Voice interaction LED screen
CN214689453U (en) Sightseeing vehicle with conveniently adjusted seat
CN213485215U (en) Automatic adjust lighting control system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200630