Intelligent lighting and curtain linkage control system and method based on environmental perception
By building a virtual life scene set and combining user habits, using intelligent curtains and lighting control systems to achieve intelligent control of user life atmosphere and environment, the problem that existing systems cannot automatically adjust according to user habits and experience is solved, and the user experience and system intelligence level is improved.
Patent Information
- Application Number
- CN202411787917.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-12-06
AI Technical Summary
The existing smart curtains and lighting control systems can only be automatically controlled based on light and temperature. They lack analysis of user habits and experience, making it difficult to create the living atmosphere and environment that users want.
By collecting the environmental characteristics of different life scenarios on the Internet, using VR devices to build a virtual life scenario set, and matching them with users' historical life habits, collecting outdoor light intensity and user time in real time, and using curtain control model and light control module for linkage control to generate virtual life scenarios.
It realizes intelligent control based on user habits and virtual life scenarios, improves user experience and psychological satisfaction, and at the same time enhances the overall intelligence level of the smart home system.
Smart Images

Figure CN119247865B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to an intelligent light curtain linkage control system and method based on environment perception. Background Art
[0002] In the early days of the intelligent era, the concept of smart home began to emerge, and some home automation systems began to appear, including the preliminary control function of curtains and lights. However, the system at this time was relatively simple, mainly through electronic control equipment and automation systems to achieve basic automatic control, such as timed switching of curtains and lights; with the popularization of the Internet and the emergence of Internet of Things technology, smart curtains and lighting control systems have gained new development opportunities. During this period, some smart curtains and lighting products began to have network connection functions and could be remotely controlled through the Internet; in recent years, with the continuous application of technologies such as artificial intelligence, machine learning, and big data, smart curtains and lighting control systems have become more intelligent and personalized. The system can automatically adjust the opening and closing of curtains and the parameters of lights according to changes in the environment and the habits of users, achieving a more comfortable and energy-saving effect. However, as the control of curtains and lights becomes more intelligent, although the control of curtains and lights is faster, there are still deficiencies in humanized convenience. Nowadays, automatic control can only be completed according to light and temperature, lacking analysis of user habits and experience, and how to create the living atmosphere and environment that users want through the control of lights and curtains plays an important role in improving the user experience. Summary of the invention
[0003] The purpose of the present invention is to provide an intelligent light curtain linkage control system and method based on environmental perception to solve the problems raised in the prior art.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] An intelligent light curtain linkage control method based on environment perception, the method comprising the following steps:
[0006] S100, collecting different types of life scenes on the Internet, extracting environmental features of each life scene on the Internet, constructing environmental features of each life scene using VR equipment, obtaining different virtual life scenes indoors, extracting lighting and color temperature of each life scene on the Internet, and combining the virtual life scenes to form a virtual life scene set;
[0007] Furthermore, the specific steps of combining virtual life scenes to form a virtual life scene set are:
[0008] S101. Collect different types of life scenes on the Internet. Suppose the types of life scenes collected are {C1, C2, C3, ..., Cn}, C1, C2, C3, ..., C n represents the 1st, 2nd, 3rd, ..., nth life scenes collected, where n is a positive integer; the environmental data of each life scene extracted from the Internet is {h1, h2, h3, ..., h m}, h1, h2, h3, ..., h m Represents the 1st, 2nd, 3rd, ..., mth environmental data of each life scenario extracted from the Internet, where m is a positive integer; the number and difference of each environmental data extracted are analyzed to calculate the comprehensive prominence, and the formula is:
[0009] Zt=s×(h i -h j );
[0010] In the formula, Zt represents the prominence of each environmental data calculated, s represents the number of each environmental data, and h i and h j Represent the difference in environmental data between any two life scenes among n life scenes; calculate the prominence of all types of environmental data, select the one with the greatest prominence as the environmental feature of the corresponding life scene, and finally obtain the environmental features of all life scenes, and use VR equipment to construct the environmental features of each life scene;
[0011] S102, extracting the illumination of each life scene on the Internet, and calculating the average illumination of each life scene, the formula is:
[0012]
[0013] In the formula, L p represents the average illumination of each life scene calculated, k represents the total number of illumination data of each life scene extracted from the Internet, and L u Represents the extracted illumination data for each life scene; u belongs to 1 to k;
[0014] S103, collecting color temperature data in each life scene on the Internet, extracting the coordinate value of the light source in each life scene in the CIE1931 color space as (x, y), and using the CIE color coordinate method to approximately calculate the color temperature of each life scene;
[0015] S104, combining the calculated environmental characteristics, lighting and color temperature of each life scene, using VR equipment and augmented reality technology to build a virtual life scene, and using all virtual life scenes to form a virtual life scene set.
[0016] Environmental characteristics, lighting and color temperature are key factors in creating a sense of reality in virtual life scenes. By analyzing the environmental data of virtual life scenes, the environmental characteristics, lighting and color temperature of virtual life scenes can be obtained to make virtual scenes closer to the real world. By simulating different lighting conditions and environmental details, virtual scenes can be made visually richer and more realistic, thereby improving the quality of user experience in virtual environments.
[0017] S200, collecting the user's living habits in the historical records, extracting the time corresponding to each living habit, and constructing the user's daily life schedule; using VR equipment to construct corresponding virtual life scenes at different times according to the user's daily life schedule;
[0018] Furthermore, the specific steps of using VR devices to construct corresponding virtual life scenes at different times according to the user's daily life schedule are as follows:
[0019] S201, collect the user's living habits in the historical records, and assume that the extracted user living habits are {S1, S2, S3, ..., S b}, S1, S2, S3, ..., S b represents the extracted 1st, 2nd, 3rd, ..., bth life habits of the user, where b is a positive integer; collect the environmental data of the user when performing each life habit in the historical records; calculate the similarity between each life habit of the user and the virtual life scene, the formula is:
[0020]
[0021] In the formula, Si represents the calculated similarity between each user's living habits and virtual life scenes, m represents the number of environmental data with the same living habits and virtual life scenes, and S r represents the data value of the same environmental data in the living habits as the virtual life scene, h r represents the data value of the environment data of the same type as the living habits and the virtual life scene in the virtual life scene, r belongs to 1 to m;
[0022] S202, calculate the similarity between each living habit and all types of virtual life scenes, select the one with the smallest similarity value for matching, regard the living habits and the virtual life scenes as the same life state, match the user's b types of living habits, and obtain the corresponding virtual life scenes, forming a matching set {(SC)1, (SC)2, (SC)3, ..., (SC) b}, (SC)1, (SC)2, (SC)3,..., (SC) b It indicates the matching results of the 1st, 2nd, 3rd, ..., for the same life status after matching, S indicates the life habit, and C indicates the virtual life scene;
[0023] S203. After matching the user's living habits with the virtual life scenes, extract the time when the user performs each living habit in the historical records, mark the matching results with the time, and construct the user's daily life schedule; and construct corresponding virtual life scenes at different times according to the user's daily life schedule using VR devices.
[0024] By matching the user's living habits in historical records with virtual life scenes, virtual life scenes can be constructed based on the user's personal habits and hobbies, which can evoke the user's wonderful emotional experience and make the user psychologically satisfied and happy; by designing the layout of the virtual scene based on user habits, users can find the functions and items they need more quickly.
[0025] S300, collecting control data of indoor curtains in historical records, extracting different opening and closing ranges of curtains and changes in indoor lighting when outdoor light intensity is constant, analyzing and obtaining a linear relationship between the opening and closing range of the user's indoor curtains and indoor lighting, and generating a curtain control model;
[0026] Furthermore, the specific steps of generating the curtain control model are:
[0027] S301, collecting control data of indoor curtains in historical records, extracting different opening and closing ranges of curtains and indoor lighting when outdoor light intensity is constant; assuming that the different opening and closing ranges of curtains when the extracted light intensity is constant are {D1, D2, D3, ..., D e}, D1, D2, D3, ..., D e represents the opening and closing amplitude of the 1st, 2nd, 3rd, ..., eth curtains when the collected light is constant, where e is a positive integer; the corresponding indoor light extracted at each opening and closing amplitude of the curtain is {Lb1, Lb2, Lb3, ..., Lb e}, Lb1, Lb2, Lb3,..., Lb e represents the indoor lighting when the 1st, 2nd, 3rd, ..., eth types of curtain opening and closing amplitudes are collected; extract the two types of data when the outdoor light intensity is different, and assume that there are Q types of different outdoor light intensities in the historical records;
[0028] S302, using the opening and closing range of the curtain to analyze and obtain the light transmittance function of outdoor light, assuming that the curtain is fully opened as D=1, and the curtain is fully closed as 0, assuming that there is a linear relationship between the light transmittance and the opening and closing range of the curtain as T(D)=a×D, a represents the light transmittance coefficient of the curtain material, and D represents the opening and closing range of the curtain; when the curtain is fully opened D=1, T(D)=a, and when the curtain is fully closed D=0, T(D)=0;
[0029] S303. A linear relationship model is established based on the extracted outdoor light intensity, curtain opening and closing range, and indoor light. The obtained linear relationship model is assumed to be Lb=Lout×T(D); wherein Lb represents indoor light, Lout represents outdoor light intensity, and T(D) represents the linear relationship between transmittance and curtain opening and closing range; the obtained linear relationship model is used as a curtain control model.
[0030] S400, collecting the time when the user is indoors in real time, using VR equipment to build a corresponding virtual life scene according to the real time, collecting the real-time outdoor light intensity through a light sensor, inputting the real-time outdoor light intensity and the real-time built virtual life scene light into a curtain control model, calculating curtain control parameters, and controlling the curtains using the control parameters;
[0031] Furthermore, the curtain control parameters are calculated, and the specific steps of using the control parameters to control the curtains are as follows:
[0032] S401, collecting the time when the user is indoors in real time, using the real-time time to determine the real-time user's living habits in the daily life schedule, finding a virtual life scene belonging to the same life state according to the matching result, and using the VR device to construct the found virtual life scene type; extracting the indoor average light and color temperature of the virtual life scene type constructed in real time in S100;
[0033] S402, collecting real-time outdoor light intensity, inputting the indoor average light intensity of the virtual life scene type constructed in real time and the real-time outdoor light intensity into the curtain control model to obtain curtain control parameters, the formula is:
[0034]
[0035] In the formula, D c Indicates the calculated real-time curtain control parameters, Lb s Indicates the indoor lighting of the real-time virtual life scene constructed, Lout s It represents the outdoor light intensity of the constructed real-time virtual life scene; the opening and closing range of the curtains is controlled by using the calculated curtain control parameters.
[0036] S500: After controlling the curtains using the curtain control parameters, a secondary analysis is performed on the indoor environment, and the indoor lighting is controlled according to the remaining light and color temperature of the virtual life scene constructed in real time; and finally a virtual life scene is generated indoors.
[0037] Furthermore, the specific steps for finally generating a virtual life scene indoors are:
[0038] S501. After controlling the curtains using the curtain control parameter, a secondary analysis is performed on the indoor environment. When the curtain control parameter is calculated to be 1, the curtains are controlled in real time, and the indoor lighting after adjustment is judged. Lt<Lb s When Lt represents the lighting of the real-time indoor environment; the difference Lc between the adjusted indoor lighting and the average indoor lighting of the virtual life scene is calculated, the indoor lights are turned on, and the lighting value of the indoor lights is set to Lc to supplement the average lighting of the constructed real-time virtual life scene;
[0039] S502: Adjust the color temperature of the indoor lighting so that the color temperature of the indoor lighting is the same as the color temperature of the constructed real-time virtual life scene, and finally generate a virtual life scene indoors.
[0040] When using VR devices and augmented reality devices to generate virtual life scenes, use three-dimensional modeling software to build 3D models according to the determined environmental characteristics, import the 3D models into the VR / AR development platform, and design the interaction method between users and the scene in the VR scene. In the AR scene, the interaction design focuses on the integration with the real environment, and further simulates the real lighting environment by controlling curtains and lights.
[0041] Through virtual life scenes, you can create a variety of different atmospheres, such as a romantic candlelight dinner scene, an exciting game scene, or a quiet meditation scene. Changing the state of lights and curtains according to different virtual scenes allows users to immerse themselves more deeply in specific situations and enhance their experience. Each user has different preferences for controlling lights and curtains. With virtual life scenes, users can customize scenes according to their habits and preferences; virtual life scenes provide a platform for curtain and lighting control to integrate with other smart home devices, realize unified and coordinated control of smart home systems, and improve the overall level of intelligence.
[0042] An intelligent lighting and curtain linkage control system based on environmental perception, which includes a data collection module, a virtual life scene set construction module, a life habit analysis module, a curtain control model construction module, a curtain control module, a lighting control module and a virtual life scene construction module;
[0043] The data collection module is used to collect environmental data of life scenes and user's living habits in historical records;
[0044] The virtual life scene set construction module is used to classify all virtual life scenes on the Internet, extract the lighting and color temperature of the corresponding types of virtual life scenes, and construct a virtual life scene set;
[0045] The living habits analysis module is used to analyze the living habits in the user's historical records, obtain the time of different types of living habits of the user to construct a daily life schedule, and match the living habits with the virtual life scenes;
[0046] The curtain control model building module is used to establish a linear relationship model for outdoor light intensity, curtain opening and closing range and indoor light in historical records, and use the obtained linear relationship model as the curtain control model;
[0047] The curtain control module is used to input the real-time outdoor light intensity and the real-time constructed virtual life scene light into the curtain control model, calculate the real-time curtain control parameters to control the curtain;
[0048] The lighting control module is used to perform secondary analysis on the indoor environment and control the indoor lighting according to the remaining lighting and color temperature of the virtual life scene constructed in real time;
[0049] The virtual life scene construction module is used to control curtains and lights and then use VR equipment to construct a virtual life scene indoors.
[0050] The building blocks of the virtual life scene set include environmental feature units, lighting units, and color temperature units;
[0051] The environmental feature unit is used to analyze the environmental data of each virtual life scene and extract the environmental features of each virtual life scene;
[0052] The lighting unit is used to analyze the lighting of each virtual life scene and calculate the average value;
[0053] The color temperature unit is used to approximately calculate the color temperature of each life scene using the CIE color coordinate method.
[0054] The life habit analysis module includes a matching unit and a schedule unit;
[0055] The matching unit is used to calculate the similarity between each living habit of the user and the virtual life scene, and select the one with the smallest similarity value for matching;
[0056] The schedule unit is used to analyze the living habits in the user's historical records, obtain the time of the user's different types of living habits and construct a daily life schedule.
[0057] The curtain control model building module includes a transmittance linear unit and a curtain control model unit;
[0058] The light transmittance linear unit is used to analyze the opening and closing amplitude of the curtain to obtain a light transmittance function for outdoor light;
[0059] The curtain control model unit is used to establish a linear relationship model according to the extracted outdoor light intensity, curtain opening and closing range and indoor light, and use the obtained linear relationship model as the curtain control model.
[0060] Compared with the prior art, the present invention has the following beneficial effects:
[0061] 1. The present invention matches the user's living habits in historical records with virtual life scenes, and can construct virtual life scenes according to the user's personal habits and hobbies, which can arouse the user's wonderful emotional experience and make the user psychologically satisfied and happy.
[0062] 2. The present invention analyzes the environmental data of the virtual life scene to obtain the environmental characteristics, lighting and color temperature of the virtual life scene, which can make the virtual scene closer to the real world. By simulating different lighting conditions and environmental details, the virtual scene can be made visually richer and more realistic, thereby improving the user's experience quality in the virtual environment.
[0063] 3. With the help of virtual life scenes, the present invention allows users to customize scenes according to their own habits and preferences; the virtual life scenes provide a platform for curtain and lighting control to be integrated with other smart home devices, thereby realizing unified and coordinated control of the smart home system and improving the overall intelligence level. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 This is a module distribution diagram of the intelligent lighting and curtain linkage control system based on environment perception of the present invention;
[0065] Figure 2 The figure is a schematic diagram of the steps of the intelligent light curtain linkage control method based on environment perception of the present invention. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] Example: Figure 1-Figure 2 As shown, the present invention provides a technical solution, a smart light curtain linkage control method based on environment perception, the method comprising the following steps:
[0068] S100, collecting different types of life scenes on the Internet, extracting environmental features of each life scene on the Internet, constructing environmental features of each life scene using VR equipment, obtaining different virtual life scenes indoors, extracting lighting and color temperature of each life scene on the Internet, and combining the virtual life scenes to form a virtual life scene set;
[0069] The specific steps of combining virtual life scenes to form a virtual life scene set are:
[0070] S101. Collect different types of life scenes on the Internet. Suppose the types of life scenes collected are {C1, C2, C3, ..., C n}, C1, C2, C3, ..., C n represents the 1st, 2nd, 3rd, ..., nth life scenes collected, where n is a positive integer; the environmental data of each life scene extracted from the Internet is {h1, h2, h3, ..., h m}, h1, h2, h3, ..., h m Represents the 1st, 2nd, 3rd, ..., mth environmental data of each life scenario extracted from the Internet, where m is a positive integer; the number and difference of each environmental data extracted are analyzed to calculate the comprehensive prominence, and the formula is:
[0071] Zt=s×(h i -h j );
[0072] In the formula, Zt represents the prominence of each environmental data calculated, s represents the number of each environmental data, and h i and h j Represent the difference in environmental data between any two life scenes among n life scenes; calculate the prominence of all types of environmental data, select the one with the greatest prominence as the environmental feature of the corresponding life scene, and finally obtain the environmental features of all life scenes, and use VR equipment to construct the environmental features of each life scene;
[0073] S102, extracting the illumination of each life scene on the Internet, and calculating the average illumination of each life scene, the formula is:
[0074]
[0075] In the formula, L p represents the average illumination of each life scene calculated, k represents the total number of illumination data of each life scene extracted from the Internet, and L u Represents the extracted illumination data for each life scene; u belongs to 1 to k;
[0076] S103, collecting color temperature data in each life scene on the Internet, extracting the coordinate value of the light source in each life scene in the CIE1931 color space as (x, y), and using the CIE color coordinate method to approximately calculate the color temperature of each life scene;
[0077] S104, combining the calculated environmental characteristics, lighting and color temperature of each life scene, using VR equipment and augmented reality technology to build a virtual life scene, and using all virtual life scenes to form a virtual life scene set.
[0078] Environmental characteristics, lighting and color temperature are key factors in creating a sense of reality in virtual life scenes. By analyzing the environmental data of virtual life scenes, the environmental characteristics, lighting and color temperature of virtual life scenes can be obtained to make virtual scenes closer to the real world. By simulating different lighting conditions and environmental details, virtual scenes can be made more visually rich and realistic, thereby improving the quality of user experience in virtual environments.
[0079] S200, collecting the user's living habits in the historical records, extracting the time corresponding to each living habit, and constructing the user's daily life schedule; using VR equipment to construct corresponding virtual life scenes at different times according to the user's daily life schedule;
[0080] The specific steps for using VR devices to build corresponding virtual life scenes at different times based on the user's daily life schedule are as follows:
[0081] S201, collect the user's living habits in the historical records, and assume that the extracted user living habits are {S1, S2, S3, ..., S b}, S1, S2, S3, ..., S b represents the extracted 1st, 2nd, 3rd, ..., bth life habits of the user, where b is a positive integer; collect the environmental data of the user when performing each life habit in the historical records; calculate the similarity between each life habit of the user and the virtual life scene, the formula is:
[0082]
[0083] In the formula, Si represents the calculated similarity between each user's living habits and virtual life scenes, m represents the number of environmental data with the same living habits and virtual life scenes, and S r represents the data value of the same environmental data in the living habits as the virtual life scene, h r represents the data value of the environment data of the same type as the living habits and the virtual life scene in the virtual life scene, r belongs to 1 to m;
[0084] S202, calculate the similarity between each living habit and all types of virtual life scenes, select the one with the smallest similarity value for matching, regard the living habits and the virtual life scenes as the same life state, match the user's b types of living habits, and obtain the corresponding virtual life scenes, forming a matching set {(SC)1, (SC)2, (SC)3, ..., (SC) b}, (SC)1, (SC)2, (SC)3,..., (SC) b It indicates the matching results of the 1st, 2nd, 3rd, ..., for the same life status after matching, S indicates the life habit, and C indicates the virtual life scene;
[0085] S203. After matching the user's living habits with the virtual life scenes, extract the time when the user performs each living habit in the historical records, mark the matching results with the time, and construct the user's daily life schedule; and construct corresponding virtual life scenes at different times according to the user's daily life schedule using VR devices.
[0086] By matching the user's living habits in historical records with virtual life scenes, virtual life scenes can be constructed based on the user's personal habits and hobbies, which can evoke the user's wonderful emotional experience and make the user psychologically satisfied and happy; by designing the layout of the virtual scene based on user habits, users can find the functions and items they need more quickly.
[0087] S300, collecting control data of indoor curtains in historical records, extracting different opening and closing ranges of curtains and changes in indoor lighting when outdoor light intensity is constant, analyzing and obtaining a linear relationship between the opening and closing range of the user's indoor curtains and indoor lighting, and generating a curtain control model;
[0088] The specific steps to generate the curtain control model are:
[0089] S301, collecting control data of indoor curtains in historical records, extracting different opening and closing ranges of curtains and indoor lighting when outdoor light intensity is constant; assuming that the different opening and closing ranges of curtains when the extracted light intensity is constant are {D1, D2, D3, ..., D e}, D1, D2, D3, ..., D e represents the opening and closing amplitude of the 1st, 2nd, 3rd, ..., eth curtains when the collected light is constant, where e is a positive integer; the corresponding indoor light extracted at each opening and closing amplitude of the curtain is {Lb1, Lb2, Lb3, ..., Lb e}, Lb1, Lb2, Lb3,..., Lb erepresents the indoor lighting when the 1st, 2nd, 3rd, ..., eth types of curtain opening and closing amplitudes are collected; extract the two types of data when the outdoor light intensity is different, and assume that there are Q types of different outdoor light intensities in the historical records;
[0090] S302, using the opening and closing range of the curtain to analyze and obtain the light transmittance function of outdoor light, assuming that the curtain is fully opened as D=1, and the curtain is fully closed as 0, assuming that there is a linear relationship between the light transmittance and the opening and closing range of the curtain as T(D)=a×D, a represents the light transmittance coefficient of the curtain material, and D represents the opening and closing range of the curtain; when the curtain is fully opened D=1, T(D)=a, and when the curtain is fully closed D=0, T(D)=0;
[0091] S303. A linear relationship model is established based on the extracted outdoor light intensity, curtain opening and closing range, and indoor light. The obtained linear relationship model is assumed to be Lb=Lout×T(D); wherein Lb represents indoor light, Lout represents outdoor light intensity, and T(D) represents the linear relationship between transmittance and curtain opening and closing range; the obtained linear relationship model is used as a curtain control model.
[0092] S400, collecting the time when the user is indoors in real time, using VR equipment to build a corresponding virtual life scene according to the real time, collecting the real-time outdoor light intensity through a light sensor, inputting the real-time outdoor light intensity and the real-time built virtual life scene light into a curtain control model, calculating curtain control parameters, and controlling the curtains using the control parameters;
[0093] The curtain control parameters are calculated and the specific steps of using the control parameters to control the curtains are as follows:
[0094] S401, collecting the time when the user is indoors in real time, using the real-time time to determine the real-time user's living habits in the daily life schedule, finding a virtual life scene belonging to the same life state according to the matching result, and using the VR device to construct the found virtual life scene type; extracting the indoor average light and color temperature of the virtual life scene type constructed in real time in S100;
[0095] S402, collecting real-time outdoor light intensity, inputting the indoor average light intensity of the virtual life scene type constructed in real time and the real-time outdoor light intensity into the curtain control model to obtain curtain control parameters, the formula is:
[0096]
[0097] In the formula, D c Indicates the calculated real-time curtain control parameters, Lb s Indicates the indoor lighting of the real-time virtual life scene constructed, Lout sIt represents the outdoor light intensity of the constructed real-time virtual life scene; the opening and closing range of the curtains is controlled by using the calculated curtain control parameters.
[0098] S500: After controlling the curtains using the curtain control parameters, a secondary analysis is performed on the indoor environment, and the indoor lighting is controlled according to the remaining light and color temperature of the virtual life scene constructed in real time; and finally a virtual life scene is generated indoors.
[0099] The specific steps to finally generate a virtual life scene indoors are:
[0100] S501. After controlling the curtains using the curtain control parameter, a secondary analysis is performed on the indoor environment. When the curtain control parameter is calculated to be 1, the curtains are controlled in real time, and the indoor lighting after adjustment is judged. Lt<Lb s When Lt represents the lighting of the real-time indoor environment; the difference Lc between the adjusted indoor lighting and the average indoor lighting of the virtual life scene is calculated, the indoor lights are turned on, and the lighting value of the indoor lights is set to Lc to supplement the average lighting of the constructed real-time virtual life scene;
[0101] S502: Adjust the color temperature of the indoor lighting so that the color temperature of the indoor lighting is the same as the color temperature of the constructed real-time virtual life scene, and finally generate a virtual life scene indoors.
[0102] When using VR devices and augmented reality devices to generate virtual life scenes, use three-dimensional modeling software to build 3D models according to the determined environmental characteristics, import the 3D models into the VR / AR development platform, and design the interaction method between users and the scene in the VR scene. In the AR scene, the interaction design focuses on the integration with the real environment, and further simulates the real lighting environment by controlling curtains and lights.
[0103] Through virtual life scenes, you can create a variety of different atmospheres, such as a romantic candlelight dinner scene, an exciting game scene, or a quiet meditation scene. Changing the state of lights and curtains according to different virtual scenes allows users to immerse themselves more deeply in specific situations and enhance their experience. Each user has different preferences for controlling lights and curtains. With virtual life scenes, users can customize scenes according to their habits and preferences; virtual life scenes provide a platform for curtain and lighting control to integrate with other smart home devices, realize unified and coordinated control of smart home systems, and improve the overall level of intelligence.
[0104] An intelligent lighting and curtain linkage control system based on environmental perception, which includes a data collection module, a virtual life scene set construction module, a life habit analysis module, a curtain control model construction module, a curtain control module, a lighting control module and a virtual life scene construction module;
[0105] The data collection module is used to collect environmental data of life scenes and user's living habits in historical records;
[0106] The virtual life scene set construction module is used to classify all virtual life scenes on the Internet, extract the lighting and color temperature of the corresponding types of virtual life scenes, and construct a virtual life scene set;
[0107] The living habits analysis module is used to analyze the living habits in the user's historical records, obtain the time of different types of living habits of the user to construct a daily life schedule, and match the living habits with the virtual life scenes;
[0108] The curtain control model building module is used to establish a linear relationship model for outdoor light intensity, curtain opening and closing range and indoor light in historical records, and use the obtained linear relationship model as the curtain control model;
[0109] The curtain control module is used to input the real-time outdoor light intensity and the real-time constructed virtual life scene light into the curtain control model, calculate the real-time curtain control parameters to control the curtain;
[0110] The lighting control module is used to perform secondary analysis on the indoor environment and control the indoor lighting according to the remaining lighting and color temperature of the virtual life scene constructed in real time;
[0111] The virtual life scene construction module is used to control curtains and lights and then use VR equipment to construct a virtual life scene indoors.
[0112] The building blocks of the virtual life scene set include environmental feature units, lighting units, and color temperature units;
[0113] The environmental feature unit is used to analyze the environmental data of each virtual life scene and extract the environmental features of each virtual life scene;
[0114] The lighting unit is used to analyze the lighting of each virtual life scene and calculate the average value;
[0115] The color temperature unit is used to approximately calculate the color temperature of each life scene using the CIE color coordinate method.
[0116] The life habit analysis module includes a matching unit and a schedule unit;
[0117] The matching unit is used to calculate the similarity between each living habit of the user and the virtual life scene, and select the one with the smallest similarity value for matching;
[0118] The schedule unit is used to analyze the living habits in the user's historical records, obtain the time of the user's different types of living habits and construct a daily life schedule.
[0119] The curtain control model building module includes a transmittance linear unit and a curtain control model unit;
[0120] The light transmittance linear unit is used to analyze the opening and closing amplitude of the curtain to obtain a light transmittance function for outdoor light;
[0121] The curtain control model unit is used to establish a linear relationship model according to the extracted outdoor light intensity, curtain opening and closing range and indoor light, and use the obtained linear relationship model as the curtain control model.
[0122] Embodiment: Now control the indoor curtains and lights of a certain user, extract all kinds of virtual life scenes from the Internet, including quiet sleeping scenes, passionate e-sports scenes, and seaside summer scenes; and calculate the environmental characteristics, lighting and color temperature of each scene to construct a virtual life scene set;
[0123] The daily living habits of the user are analyzed, and the daily living habits of the user are found to be sleeping, playing games, and sunbathing; they are matched with the virtual life scenes as sleeping-quiet sleeping scene, playing games-passionate e-sports scene, and sunbathing-seaside summer scene respectively; and the time of the user's living habits in the three matching results is 22:00-6:00, 19:00-21:00, and 13:00-14:00;
[0124] According to the historical outdoor light intensity, curtain opening and closing range and indoor light, a curtain control model is established as Lb=Lout×1.5×D; the real-time user time is 20:30, and the living habit is judged to be playing games. The matched virtual life scene is a passionate e-sports scene, and the indoor light of the passionate e-sports scene is extracted to be 20, and the color temperature is 6000k; the real-time outdoor light intensity is 50, and the curtain control parameter is calculated to be 0.26; the control parameter is used to control the curtain; further turn on the indoor lights, set the light color temperature to 6000k, and use VR equipment to build a virtual passionate e-sports scene.
[0125] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. An intelligent light and curtain linkage control method based on environment perception, characterized in that: The method comprises the following steps: S100, collecting different types of life scenes on the Internet, extracting environmental features of each life scene on the Internet, constructing environmental features of each life scene using VR equipment, obtaining different virtual life scenes indoors, extracting lighting and color temperature of each life scene on the Internet, and combining the virtual life scenes to form a virtual life scene set; S200, collecting the user's living habits in the historical records, extracting the time corresponding to each living habit, and constructing the user's daily life schedule; using VR equipment to construct corresponding virtual life scenes at different times according to the user's daily life schedule; S300, collecting control data of indoor curtains in historical records, extracting different opening and closing ranges of curtains and changes in indoor lighting when outdoor light intensity is constant, analyzing and obtaining a linear relationship between the opening and closing range of the user's indoor curtains and indoor lighting, and generating a curtain control model; S400, collecting the time when the user is indoors in real time, using VR equipment to build a corresponding virtual life scene according to the real time, collecting the real-time outdoor light intensity through a light sensor, inputting the real-time outdoor light intensity and the real-time built virtual life scene light into a curtain control model, calculating curtain control parameters, and controlling the curtains using the control parameters; S500: After controlling the curtains using the curtain control parameters, a secondary analysis is performed on the indoor environment, and the indoor lighting is controlled according to the remaining light and color temperature of the virtual life scene constructed in real time; and finally a virtual life scene is generated indoors.
2. The intelligent light curtain linkage control method based on environment perception according to claim 1 is characterized in that: The specific steps of combining virtual life scenes to form a virtual life scene set in S100 are: S101. Collect different types of life scenes on the Internet. Suppose the types of life scenes collected are {C1, C2, C3, ..., C n }, C1, C2, C3, ..., C n represents the 1st, 2nd, 3rd, ..., nth life scenes collected, where n is a positive integer; the environmental data of each life scene extracted from the Internet is {h1, h2, h3, ..., h m }, h1, h2, h3, ..., h m Represents the 1st, 2nd, 3rd, ..., mth environmental data of each life scenario extracted from the Internet, where m is a positive integer; the number and difference of each environmental data extracted are analyzed to calculate the comprehensive prominence, and the formula is: Zt=s×(h i -h j ); In the formula, Zt represents the prominence of each environmental data calculated, s represents the number of each environmental data, and h i and h j Represent the difference in environmental data between any two life scenes among n life scenes; calculate the prominence of all types of environmental data, select the one with the greatest prominence as the environmental feature of the corresponding life scene, and finally obtain the environmental features of all life scenes, and use VR equipment to construct the environmental features of each life scene; S102, extracting the illumination of each life scene on the Internet, and calculating the average illumination of each life scene, the formula is: In the formula, L p represents the average illumination of each life scene calculated, k represents the total number of illumination data of each life scene extracted from the Internet, and L u Represents the extracted illumination data for each life scene; u belongs to 1 to k; S103, collecting color temperature data in each life scene on the Internet, extracting the coordinate value of the light source in each life scene in the CIE1931 color space as (x, y), and using the CIE color coordinate method to approximately calculate the color temperature of each life scene; S104, combining the calculated environmental characteristics, lighting and color temperature of each life scene, using VR equipment and augmented reality technology to build a virtual life scene, and using all virtual life scenes to form a virtual life scene set.
3. The intelligent light curtain linkage control method based on environment perception according to claim 2 is characterized in that: The specific steps of constructing corresponding virtual life scenes at different times using VR devices according to the user's daily life schedule in S200 are: S201, collect the user's living habits in the historical records, and assume that the extracted user living habits are {S1, S2, S3, ..., S b }, S1, S2, S3, ..., S b represents the extracted 1st, 2nd, 3rd, ..., bth life habits of the user, where b is a positive integer; collect the environmental data of the user when performing each life habit in the historical records; calculate the similarity between each life habit of the user and the virtual life scene, the formula is: In the formula, Si represents the calculated similarity between each user's living habits and virtual life scenes, m represents the number of environmental data with the same living habits and virtual life scenes, and S r represents the data value of the same environmental data in the living habits as the virtual life scene, h r represents the data value of the environment data of the same type as the living habits and the virtual life scene in the virtual life scene, r belongs to 1 to m; S202, calculate the similarity between each living habit and all types of virtual life scenes, select the one with the smallest similarity value for matching, regard the living habits and the virtual life scenes as the same life state, match the user's b types of living habits, and obtain the corresponding virtual life scenes, forming a matching set {(SC)1, (SC)2, (SC)3, ..., (SC) b }, (SC)1, (SC)2, (SC)3,..., (SC) b It indicates the matching results of the 1st, 2nd, 3rd, ..., for the same life status after matching, S indicates the life habit, and C indicates the virtual life scene; S203. After matching the user's living habits with the virtual life scenes, extract the time when the user performs each living habit in the historical records, mark the matching results with the time, and construct the user's daily life schedule; and construct corresponding virtual life scenes at different times according to the user's daily life schedule using VR devices.
4. The intelligent light curtain linkage control method based on environment perception according to claim 1 is characterized in that: The specific steps of generating the curtain control model in S300 are: S301, collecting control data of indoor curtains in historical records, extracting different opening and closing ranges of curtains and indoor lighting when outdoor light intensity is constant; assuming that the different opening and closing ranges of curtains when the extracted light intensity is constant are {D1, D2, D3, ..., D e }, D1, D2, D3, ..., D e represents the opening and closing amplitude of the 1st, 2nd, 3rd, ..., eth curtains when the collected light is constant, where e is a positive integer; the corresponding indoor light extracted at each opening and closing amplitude of the curtain is {Lb1, Lb2, Lb3, ..., Lb e }, Lb1, Lb2, Lb3,..., Lb e represents the indoor lighting when the 1st, 2nd, 3rd, ..., eth types of curtain opening and closing amplitudes are collected; extract the two types of data when the outdoor light intensity is different, and assume that there are Q types of different outdoor light intensities in the historical records; S302, using the opening and closing range of the curtain to analyze and obtain the light transmittance function of outdoor light, assuming that the curtain is fully opened as D=1, and the curtain is fully closed as 0, assuming that there is a linear relationship between the light transmittance and the opening and closing range of the curtain as T(D)=a×D, a represents the light transmittance coefficient of the curtain material, and D represents the opening and closing range of the curtain; when the curtain is fully opened D=1, T(D)=a, and when the curtain is fully closed D=0, T(D)=0; S303. A linear relationship model is established based on the extracted outdoor light intensity, curtain opening and closing range, and indoor light. The obtained linear relationship model is assumed to be Lb=Lout×T(D); wherein Lb represents indoor light, Lout represents outdoor light intensity, and T(D) represents the linear relationship between transmittance and curtain opening and closing range; the obtained linear relationship model is used as a curtain control model.
5. The intelligent light curtain linkage control method based on environment perception according to claim 4 is characterized in that: The specific steps of calculating the curtain control parameters in S400 and using the control parameters to control the curtains are as follows: S401, collecting the time when the user is indoors in real time, using the real-time time to determine the real-time user's living habits in the daily life schedule, finding a virtual life scene belonging to the same life state according to the matching result, and using the VR device to construct the found virtual life scene type; extracting the indoor average light and color temperature of the virtual life scene type constructed in real time in S100; S402, collecting real-time outdoor light intensity, inputting the indoor average light intensity of the virtual life scene type constructed in real time and the real-time outdoor light intensity into the curtain control model to obtain curtain control parameters, the formula is: In the formula, D c Indicates the calculated real-time curtain control parameters, Lb s Indicates the indoor lighting of the real-time virtual life scene constructed, Lout s It represents the outdoor light intensity of the constructed real-time virtual life scene; the opening and closing range of the curtains is controlled by using the calculated curtain control parameters.
6. The intelligent light curtain linkage control method based on environment perception according to claim 5 is characterized in that: The specific steps of finally generating a virtual life scene indoors in S500 are: S501. After controlling the curtains using the curtain control parameter, a secondary analysis is performed on the indoor environment. When the curtain control parameter is calculated to be 1, the curtains are controlled in real time, and the indoor lighting after adjustment is judged. Lt<Lb s When Lt represents the lighting of the real-time indoor environment; the difference Lc between the adjusted indoor lighting and the average indoor lighting of the virtual life scene is calculated, the indoor lights are turned on, and the lighting value of the indoor lights is set to Lc to supplement the average lighting of the constructed real-time virtual life scene; S502: Adjust the color temperature of the indoor lighting so that the color temperature of the indoor lighting is the same as the color temperature of the constructed real-time virtual life scene, and finally generate a virtual life scene indoors.
7. Intelligent lighting and curtain linkage control system based on environmental perception, characterized by: The intelligent lighting and curtain linkage control system includes a data collection module, a virtual life scene set construction module, a life habit analysis module, a curtain control model construction module, a curtain control module, a lighting control module and a virtual life scene construction module; The data collection module is used to collect environmental data of life scenes and user's living habits in historical records; The virtual life scene set construction module is used to classify all virtual life scenes on the Internet, extract the lighting and color temperature of the corresponding types of virtual life scenes, and construct a virtual life scene set; The living habits analysis module is used to analyze the living habits in the user's historical records, obtain the time of different types of living habits of the user to construct a daily life schedule, and match the living habits with the virtual life scenes; The curtain control model building module is used to establish a linear relationship model for outdoor light intensity, curtain opening and closing range and indoor light in historical records, and use the obtained linear relationship model as the curtain control model; The curtain control module is used to input the real-time outdoor light intensity and the real-time constructed virtual life scene light into the curtain control model, calculate the real-time curtain control parameters to control the curtain; The lighting control module is used to perform secondary analysis on the indoor environment and control the indoor lighting according to the remaining lighting and color temperature of the virtual life scene constructed in real time; The virtual life scene construction module is used to control curtains and lights and then use VR equipment to construct a virtual life scene indoors.
8. The intelligent lighting and curtain linkage control system based on environment perception according to claim 7 is characterized in that: The virtual life scene set construction module includes an environmental feature unit, a lighting unit and a color temperature unit; The environmental feature unit is used to analyze the environmental data of each virtual life scene and extract the environmental features of each virtual life scene; The lighting unit is used to analyze the lighting of each virtual life scene and calculate the average value; The color temperature unit is used to approximately calculate the color temperature of each life scene using the CIE color coordinate method.
9. The intelligent lighting and curtain linkage control system based on environment perception according to claim 7 is characterized in that: The life habit analysis module includes a matching unit and a schedule unit; The matching unit is used to calculate the similarity between each living habit of the user and the virtual life scene, and select the one with the smallest similarity value for matching; The schedule unit is used to analyze the living habits in the user's historical records, obtain the time of the user's different types of living habits and construct a daily life schedule.
10. The intelligent lighting and curtain linkage control system based on environment perception according to claim 7 is characterized in that: The curtain control model building module includes a transmittance linear unit and a curtain control model unit; The light transmittance linear unit is used to analyze the opening and closing amplitude of the curtain to obtain a light transmittance function for outdoor light; The curtain control model unit is used to establish a linear relationship model according to the extracted outdoor light intensity, curtain opening and closing range and indoor light, and use the obtained linear relationship model as the curtain control model.
Citation Information
Patent Citations
Method for adjusting intelligent light equipment, robot and electronic equipment
CN114364099A
Household product online exhibition display method based on virtual VR technology
CN115423559A