Multi-mode intelligent light-operated curtain control method and system

By using a multimodal intelligent light-controlled curtain control method, integrating physical buttons, ambient light sensors, voice control, and remote control via an app, and dynamically allocating weights to obtain curtain commands, the limitations of traditional curtain operation and insufficient light perception are solved, achieving convenient and intelligent curtain control.

CN120982880APending Publication Date: 2025-11-21TIANHE COLLEGE GUANGDONG POLYTECHNIC NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511245433.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-02
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Traditional curtains rely on manual operation and cannot be remotely controlled or automatically adjusted, resulting in significant limitations in usage scenarios and an inability to sense and respond to changes in external light.

Method used

A multimodal intelligent light-controlled curtain control method is adopted, integrating physical buttons, ambient light sensing, voice control, and remote control via mobile APP. Curtain control commands are obtained through dynamic weight allocation of fuzzy membership functions, and the opening and closing of the curtains are realized by combining incremental or positional PID control algorithms.

Benefits of technology

It enables convenient and intelligent control of curtains, meets the usage needs of different groups and scenarios, improves the ease of operation and flexibility, and solves the problems of operation limitations and insufficient light perception of traditional curtains.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120982880A_ABST
    Figure CN120982880A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of curtain control, and provides a multi-mode intelligent light-operated curtain control method and system, and the method comprises the steps: obtaining a first curtain control parameter inputted by a user through a physical key; acquiring a second curtain control parameter remotely input by the user; acquiring real-time environment illumination parameters and user voice parameters; acquiring a curtain control instruction according to the first curtain control parameter, the second curtain control parameter, the real-time environment illumination parameter and the user voice parameter; controlling the curtain to open and close according to the curtain control instruction. According to the invention, four modes of physical button, ambient light induction automatic control, voice control and mobile phone APP remote control are integrated, a traditional and intelligent integrated control system is formed, the four modes complement each other, the use requirements of different crowds and different scenes are met, the convenience and flexibility of operation are greatly improved, and the system is suitable for popularization and application. The problem that a traditional curtain is purely manually operated or manually operated is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of curtain control technology, and more specifically, to a multimodal intelligent light-controlled curtain control method and system. Background Technology

[0002] Before the advent of smart technology, the opening and closing of traditional curtains revolved around the core mode of "manual operation." While providing basic functions such as light blocking and privacy protection, these curtains harbored many pain points that were incompatible with the pace of modern life. In terms of opening and closing methods, traditional curtains mainly relied on three types: pull cords, sliding tracks, and hook adjustments. Pull cord curtains are the most common type in homes, controlled by pulling a cord on the side or top. However, after prolonged use, the cords are prone to jamming, tangling, and even wrinkling and deforming the curtain fabric due to uneven tension. Sliding track curtains rely on a top metal track for left and right opening and closing. If the pulleys inside the track lack regular lubrication, they will produce a harsh friction noise, especially disturbing family members' rest when adjusting them at night.

[0003] The reliance on purely manual operation is the core technical flaw of traditional curtains. Whether it's pulling cords, sliding tracks, or adjusting hooks, all require close-range manual operation, making remote control or automated adjustment impossible. This flaw directly leads to significant limitations in usage scenarios, such as difficulty for people with mobility issues to use independently, low efficiency in adjusting large spaces, and the need to interrupt rest for nighttime adjustments, fundamentally conflicting with modern life's demands for "convenience and intelligence." Summary of the Invention

[0004] To address the problems of traditional curtains requiring manual operation, this invention provides a multimodal intelligent light-controlled curtain control method and system, the specific technical solution of which is as follows:

[0005] A method for controlling multimodal intelligent light-controlled curtains includes the following steps:

[0006] Obtain the first curtain control parameters input by the user via physical buttons;

[0007] Obtain the second curtain control parameters input by the user remotely;

[0008] Obtain real-time ambient lighting parameters and user voice parameters;

[0009] The curtain control command is obtained based on the first curtain control parameter, the second curtain control parameter, the real-time ambient light parameter, and the user voice parameter.

[0010] The curtains are opened and closed according to the curtain control commands.

[0011] The multimodal intelligent light-controlled curtain control method obtains curtain control commands through first curtain control parameters, second curtain control parameters, real-time ambient light parameters, and user voice parameters. It integrates four methods: physical buttons, ambient light sensing automatic control, voice control, and remote control via mobile APP, forming a control system that combines traditional and intelligent technologies. The four methods complement each other, meeting the usage needs of different groups and scenarios, greatly improving the convenience and flexibility of operation, and solving the problem of traditional curtains being purely manual and requiring manual operation.

[0012] Preferably, the specific method for obtaining curtain control commands includes the following steps:

[0013] The membership degree of the physical buttons is obtained based on the first curtain control parameters;

[0014] Obtain the APP control membership degree based on the second curtain control parameters;

[0015] The membership degree of the illumination control is obtained based on the real-time ambient illumination parameters;

[0016] The voice control membership degree is obtained based on the user's voice parameters;

[0017] Obtain the corresponding normalized weights based on the membership degrees of the physical buttons, APP control, lighting, and voice control.

[0018] Curtain control commands are obtained based on the normalized weights.

[0019] Preferably, the specific method for obtaining the membership degree of physical buttons includes the following steps:

[0020] The duration of physical button press is obtained based on the first curtain control parameters;

[0021] Construct a physical button membership function based on the physical button press duration and the effective trigger time threshold;

[0022] The membership degree of a physical button is obtained based on the physical button membership function.

[0023] Preferably, the specific method for obtaining the APP control membership degree includes the following steps:

[0024] The network latency time and latency tolerance threshold are obtained based on the second curtain control parameters;

[0025] Construct the APP control membership function based on the network latency time and latency tolerance time threshold;

[0026] The APP control membership degree is obtained based on the APP control membership function.

[0027] Preferably, the specific method for obtaining the membership degree of illumination control includes the following steps:

[0028] The rate of change of light intensity is obtained based on the first curtain control parameters;

[0029] Obtain the time decay factor used to dynamically suppress false triggering at night according to the day-night cycle;

[0030] Construct a light control membership function based on the light intensity change rate and the time decay factor;

[0031] The illumination control membership degree is obtained based on the illumination control membership function.

[0032] Preferably, the specific method for obtaining the membership degree of voice control includes the following steps:

[0033] The speech recognition confidence level, confidence transition steepness, and confidence threshold are obtained based on the user's speech parameters.

[0034] A voice control membership function is constructed based on the voice recognition confidence level, confidence transition steepness, and confidence threshold.

[0035] The voice control membership degree is obtained based on the aforementioned voice control membership function.

[0036] Preferably, the specific method for controlling the opening and closing of the curtains according to the curtain control command includes the following steps:

[0037] Obtain the incremental PID control function or the positional PID control function;

[0038] In response to the curtain control command, the incremental PID control function or the positional PID control function is invoked to control the opening and closing of the curtain.

[0039] A multimodal intelligent light-controlled curtain control system, used to implement the aforementioned multimodal intelligent light-controlled curtain control method, includes:

[0040] Physical buttons are used to obtain the first curtain control parameters input by the user;

[0041] A remote terminal is used to acquire the second curtain control parameters input by the user;

[0042] The speech recognition module is used to acquire user speech parameters;

[0043] A light sensor is used to acquire real-time ambient light parameters;

[0044] The instruction acquisition module is used to acquire curtain control instructions based on the first curtain control parameters, the second curtain control parameters, real-time ambient light parameters, and user voice parameters.

[0045] The controller controls the opening and closing of the curtains according to the curtain control commands.

[0046] Preferably, the instruction acquisition module includes:

[0047] The membership acquisition unit is used to acquire the membership of physical buttons based on the first curtain control parameters, the membership of APP control based on the second curtain control parameters, the membership of light control based on the real-time ambient light parameters, and the membership of voice control based on the user voice parameters.

[0048] The weight acquisition unit is used to acquire the corresponding normalized weights based on the membership degree of the physical button, the membership degree of the APP control, the membership degree of the illumination, and the membership degree of the voice control.

[0049] The instruction acquisition unit is used to acquire curtain control instructions based on the normalized weights.

[0050] Preferably, the controller includes:

[0051] The function acquisition unit is used to acquire incremental PID control functions or positional PID control functions;

[0052] The curtain control unit is used to respond to the curtain control command by calling the incremental PID control function or the positional PID control function to control the opening and closing of the curtain. Attached Figure Description

[0053] The invention will be further understood from the following description taken in conjunction with the accompanying drawings. The components in the drawings are not necessarily drawn to scale, but rather the emphasis is on illustrating the principles of the embodiments. In different views, the same reference numerals designate corresponding parts.

[0054] Figure 1 This is a schematic diagram of the overall process of a multimodal intelligent light-controlled curtain control method according to an embodiment of the present invention;

[0055] Figure 2 This is a flowchart illustrating a specific method for obtaining curtain control commands in one embodiment of the present invention;

[0056] Figure 3 This is a flowchart illustrating a specific method for obtaining the membership degree of physical buttons in one embodiment of the present invention;

[0057] Figure 4 This is a flowchart illustrating a specific method for obtaining the control membership degree of an APP in one embodiment of the present invention;

[0058] Figure 5 This is a flowchart illustrating a specific method for obtaining the membership degree of illumination control in one embodiment of the present invention;

[0059] Figure 6This is a flowchart illustrating a specific method for obtaining voice control membership in one embodiment of the present invention;

[0060] Figure 7 This is a schematic diagram of the overall structure of a multimodal intelligent light-controlled curtain control system according to an embodiment of the present invention;

[0061] Figure 8 This is an exploded view of the overall structure of a multimodal intelligent light-controlled curtain control system according to an embodiment of the present invention;

[0062] Figure 9 This is an exploded view of the chip structure of a multimodal intelligent light-controlled curtain control system according to an embodiment of the present invention.

[0063] Figure 10 This is a schematic diagram of the implementation process of a light-controlled curtain control system in one embodiment of the present invention;

[0064] Figure 11 This is a schematic diagram of the control flow of a stepper motor in one embodiment of the present invention.

[0065] Explanation of reference numerals in the attached figures:

[0066] 1. Synchronous belt cover; 2. Motor protective cover; 3. Synchronous belt; 4. Synchronous pulley; 5. Stepper motor; 6. Motor bracket; 7. Overall support plate; 8. Support plate fixing bracket; 9. Mechanical button switch; 10. Synchronous pulley fixing bracket; 11. Synchronous pulley fixing strip; 12. Synchronous pulley protective cover; 13. Light sensor module; 14. Voice control module; 15. TM32F103C8T6 chip; 16. WiFi module. Detailed Implementation

[0067] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to its embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of protection of the invention.

[0068] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly attached to the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.

[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0070] In this invention, "first" and "second" do not represent a specific quantity or order, but are merely used to distinguish names.

[0071] Before describing the embodiments of the present invention, a brief introduction to the prior art will be given.

[0072] Before the advent of smart technology, the opening and closing of traditional curtains revolved around the core mode of "manual operation." While fulfilling basic functions of light blocking and privacy protection, this also harbored many pain points that were incompatible with the pace of modern life. In terms of opening and closing methods, traditional curtains mainly relied on three forms: pull cords, sliding tracks, and hook adjustments. Pull cord curtains are the most common type in homes, controlled by pulling a cord on the side or top. However, after long-term use, the cords are prone to jamming, tangling, and even wrinkling and deforming the curtain fabric due to uneven tension. Sliding track curtains rely on a metal track at the top for left and right opening and closing. If the pulleys inside the track lack regular lubrication, they will produce a harsh friction noise, especially disturbing family members' rest at night when adjusting them. For floor-to-ceiling windows exceeding 3 meters in area, a single curtain often weighs over 5 kilograms, requiring adults to use both hands to pull it. The elderly and children can hardly operate it independently, making the limitations even more pronounced in such scenarios. In the bedroom, getting up at night requires fumbling for the curtain cords to adjust the amount of light, and sudden bursts of strong light or complete blackout can disrupt sleep patterns. In the living room, frequently adjusting curtains to adjust the angle of sunlight is cumbersome and disruptive. In offices, adjusting large Venetian blinds requires working row by row, taking at least two minutes to adjust the light in a 30-square-meter meeting room. Hospital wards are particularly problematic, as post-operative patients or those with mobility issues cannot open or close curtains independently, increasing the burden on caregivers. Long-term use can also lead to a series of derivative problems. The connection between the pull cord and the curtain fabric, subjected to repeated stress, can loosen every 3-6 months, causing some fabric to sag. Dust accumulation at the contact points between the rollers and the track in track-style curtains accelerates metal wear, requiring replacement on average every 18 months. During the rainy season in southern China, the moisture from manually adjusting the curtains can cause mold growth at the bottom, and the hassle of disassembling track curtains for cleaning leads many families to tolerate the stains rather than thoroughly clean them. These daily pain points, seemingly minor inconveniences, actually reflect the gap between traditional home products and people's needs for a "convenient and humanized" life, and also provide a clear direction for technological breakthroughs in smart curtains.

[0073] Traditional curtains mainly have the following two problems:

[0074] 1. The core technical flaw of traditional curtains lies in their reliance on purely manual operation. Whether it's pulling cords, sliding tracks, or adjusting hooks, all require close-range manual operation, making remote control or automated adjustment impossible. This flaw directly leads to significant limitations in their use cases, such as difficulty for people with mobility issues to use independently, low efficiency in adjusting large spaces, and the need to interrupt rest for nighttime adjustments, fundamentally conflicting with modern life's demands for "convenience and intelligence."

[0075] 2. Traditional curtains are completely incapable of sensing and responding to drastic changes in external light. When strong midday sunlight suddenly penetrates the clouds and shines directly into the room, or when the angle of the afternoon sun changes abruptly in summer, causing a large influx of light, the curtains cannot monitor parameters such as light intensity and wavelength through any built-in technology modules, nor can they automatically initiate the closing action according to preset logic. It is necessary to manually adjust the curtains after noticing the change in light.

[0076] To overcome the problems of traditional curtains being purely manual and requiring manual operation, such as Figure 1 As shown, the present invention provides a multimodal intelligent light-controlled curtain control method, the control method comprising the following steps:

[0077] S1, obtain the first curtain control parameters input by the user via physical buttons.

[0078] The first curtain control parameters include, but are not limited to, the duration of the user pressing the physical button and the first curtain control signal. The physical button can be installed on the window frame and electrically connected to the controller.

[0079] S2, obtain the second curtain control parameters input by the user remotely.

[0080] The remote control methods include, but are not limited to, using a smart terminal app and SMS. The second curtain control parameters include, but are not limited to, the network latency of the WiFi module, the frequency of remote user operation, and the second curtain control signal.

[0081] S3 acquires real-time ambient lighting parameters and user voice parameters.

[0082] The real-time ambient lighting parameters include, but are not limited to, the rate of change of light intensity, and the user voice parameters include, but are not limited to, voice recognition confidence level, voice confidence transition steepness, user voice usage frequency, and user voice control signal. Here, a mapping function between the rate of change of light intensity and the curtain opening can be preset. The controller obtains the curtain opening based on the actual rate of change of light intensity and the mapping function, and then generates control commands using the curtain opening as the control signal.

[0083] S4. Obtain curtain control commands based on the first curtain control parameters, the second curtain control parameters, real-time ambient light parameters, and user voice parameters.

[0084] In some situations, users may experience conflicts when sending curtain control commands simultaneously via physical buttons, voice recognition modules, or remote methods. This necessitates prioritizing multiple commands. In this embodiment, a dynamic weight allocation using fuzzy membership functions is employed to obtain the normalized weights of different modal commands, thus distinguishing between curtain control commands arriving simultaneously. For example, if the voice command "open" and the ambient light trigger command "close" occur simultaneously, the control signal with the larger normalized weight is selected, and a control command is generated based on this signal to control the opening and closing of the curtains.

[0085] As a preferred technical solution, in step S4, such as Figure 2 As shown, the specific steps include the following:

[0086] S41, obtain the membership degree of the physical button according to the first curtain control parameters.

[0087] For example, such as Figure 3 As shown, the specific method for obtaining the membership degree of physical buttons includes the following steps:

[0088] S411, obtain the duration of physical button press based on the first curtain control parameters.

[0089] S412, construct the physical button membership function based on the physical button press duration and the effective trigger time threshold.

[0090] S413, Obtain the physical button membership degree based on the physical button membership function.

[0091] Assuming the duration of a physical button press is denoted as d, and the effective trigger time threshold is denoted as d... min Then the membership function of the physical button can be expressed as F1=λ(t)×[0.5+0.5·tanh(k·(dd)]. min )]×(1+η·μ1). Where F1 represents the physical button membership degree, λ(t) represents the time-segment sensitivity coefficient, which can be set according to the time of day, for example, 1.0 in the evening and 2.0 in the late night (0:00-5:00) to double the response. k represents the trigger sensitivity factor, which is related to user operating habits; the faster the user reacts, the larger its value, generally set to 3.0. μ1 represents the user's emergency preference flag, which can be understood as the proportion of emergency window-closing operations recorded by the controller (such as manually closing windows before a rainstorm). For low to medium emergency needs, it can be set to 0.25. η represents the emergency state gain coefficient, a fixed value of 0.8, used to amplify the weight of emergency needs.

[0092] If the effective trigger time threshold is set to 0.4 seconds, the user's emergency preference flag is 1.25, the time-period sensitivity coefficient is 1, and the trigger sensitivity factor is 1, for a short physical button press, such as a physical button press duration of 0.5 seconds, tanh(k·(dd) min The value of tanh(k·(dd)) is approximately equal to 0. At this point, the membership function of the physical button is 0.5. If the duration of the physical button press is greater than 1.0 second, tanh(k·(dd)) is approximately equal to 0. min When the value is approximately equal to 1, the physical button's membership function is 1.0, reaching its highest weight and triggering an emergency response. By adjusting parameters such as the time-period sensitivity coefficient and trigger sensitivity factor, the physical button's membership function value corresponding to different time periods and durations of button presses can be adjusted, thereby enhancing the user's emergency operation capabilities and improving its flexibility and applicability.

[0093] Of course, different physical button membership functions can also be set according to the actual situation. For example, the physical button membership degree can be set as the ratio between the physical button press duration and the preset maximum physical button press duration, or the physical button membership function can be set as a non-linear function, such as... Where d' represents the base value of the press time. For example, if it is set to 0.2 seconds, when the duration of the physical button press is greater than 5 times the base value of the press time, it is judged as a long press of the button. At this time, the membership degree of the physical button is approximately equal to 1, and an emergency response can be initiated.

[0094] S42, obtain the APP control membership degree based on the second curtain control parameters.

[0095] For example, such as Figure 4 As shown, the specific method for obtaining the APP control membership degree includes the following steps:

[0096] S421, obtain the network delay time delay and the delay tolerance time threshold d0 according to the second curtain control parameters.

[0097] S422, Construct the APP control membership function based on the network latency time and latency tolerance time threshold.

[0098] S423, Obtain the APP control membership degree based on the APP control membership function.

[0099] Assume the APP control membership function is represented as follows: Network latency, such as 120 milliseconds, can be obtained in real-time from the WiFi module. The base value for latency tolerance threshold is 100ms, which can be increased to 80ms for 5G users. δ represents the latency sensitivity coefficient, which is dimensionless and can be adaptively adjusted according to the network type; for example, it is set to 150 for 4G networks and 80 for 5G networks. Γ(t) represents the remote privileged time period function, which is set according to different time periods; for example, it is set to 1.2 during working hours (9:00-17:00) and drops to 0.5 in the early morning (0:00-6:00). μ2 represents the user's remote operation frequency, which can be the proportion of remote operations in the past 7 days; for example, 0 means no remote operation in the past 7 days, and 1 means multiple operations per day in the past 7 days (e.g., more than 5 operations per day). The user's remote operation frequency can be obtained by calculating the ratio between the number of remote operations in the past 7 days and the preset total number of operations. ρ represents the remote dependency gain, a fixed value of 5.0, to strengthen the weight of high-frequency users.

[0100] More specifically, in the APP control membership function, The three terms Γ(t) and lg(1+ρ·μ2) represent network latency penalty, remote privilege, and remote dependency, respectively. F2 represents the APP control membership degree. Of course, the APP control membership function can also be set as a linear function, a piecewise function, or a polynomial function, etc., depending on the actual situation. For example, the product between the preset user permission level and the network latency time can be calculated first, and the product can be mapped to the 0-1 interval, and then defined as the APP control membership degree.

[0101] S43, obtain the membership degree of illumination control based on the real-time ambient illumination parameters.

[0102] For example, such as Figure 5 As shown, the specific method for obtaining the membership degree of illumination control includes the following steps:

[0103] S431, Obtain the rate of change of light intensity based on the first curtain control parameters.

[0104] The rate of change of light intensity, which is the amount of change in light intensity per unit time, can be calculated in real time by sampling with a light sensor.

[0105] S432, obtain the time decay factor used to dynamically suppress false triggering at night according to the day-night cycle.

[0106] S433, construct a light control membership function based on the light intensity change rate and time decay factor.

[0107] S434, Obtain the light control membership degree based on the light control membership function.

[0108] L represents the light intensity, and the light control membership function can be expressed as: Where F2 represents the membership degree of the illumination control, and γ(t) represents the time decay factor, which is used to reduce the membership degree of the illumination control at night, that is, to reduce the normalized weight corresponding to the illumination intensity parameter. α and β are empirical parameters that can be calibrated experimentally. One of the functions of the illumination control membership function is to assist the system in automatically identifying scenarios such as sudden rainstorms, prioritizing the execution of light-sensing commands, and reducing the light-sensing weight at night to avoid false triggering.

[0109] More specifically, the rate of change of light intensity here is constrained by its absolute value, primarily to achieve a high response to sudden increases (strong light) or decreases (heavy rain / sunset). The faster the rate of change of light intensity, the closer the light control membership function value, i.e., the light control membership degree F3, is to 1, and the higher the weight of the light-sensing mode. The empirical parameter α can be understood as the baseline threshold for the rate of change, which is used to trigger a significant light change response. For example, it can be set to 8-10 when there is a sudden change in cloud cover on a clear day, and 15 when there is interference from indoor light switching, etc. When the absolute value of the rate of change of light intensity is greater than the empirical parameter α, the function value rapidly approaches 1, activating the high weight of the light-sensing mode. The empirical parameter β can be understood as a response sensitivity coefficient, used to control the steepness of the function curve and adjust the intensity of the system's response to changes near the empirical parameter α, determining the system's sensitivity to light changes. When the response sensitivity coefficient is small, the membership function curve of the illumination control is steep, making it sensitive to slight changes and suitable for precision environments; when the response sensitivity coefficient is large, the membership function curve of the illumination control is flat, exhibiting strong anti-interference capabilities and suitable for home scenarios. Generally, the response sensitivity coefficient is equal to 0.3 to 0.6 times the rate of change benchmark threshold.

[0110] The time decay factor is used to dynamically suppress false triggering at night according to the day-night cycle. It is set to 1.0 during the daytime (6:00-18:00) to fully respond to changes in illumination; and set to [missing value] during the daytime (18:00-22:00). To achieve a smooth transition of weights and avoid interference from sunset; set it to 0.3 between 22:00 and 06:00, and reduce it to lower the corresponding weight so that interfering light such as moonlight / car headlights will not trigger the window closing.

[0111] The illumination control membership function curve has its steepest slope when the absolute value of the rate of change of illumination intensity equals α±β, precisely matching the human perception threshold for "sudden changes in light." The time decay factor suppresses false triggering at night. The exponential term in the illumination control membership function highlights scenes of sudden changes in light (such as heavy rain / clouds), while the multiplicative structure is used to avoid over-response at night.

[0112] S44, Obtain the voice control membership degree based on the user's voice parameters.

[0113] For example, such as Figure 6As shown, the specific method for obtaining the membership degree of voice control includes the following steps:

[0114] S441, obtain the speech recognition confidence s, confidence transition steepness b, and confidence threshold s0 based on the user's speech parameters.

[0115] The speech recognition confidence level is derived from the output value of the speech recognition module. The confidence level transition steepness is 0.2 or 0.3 by default, and can be adaptively increased in noisy environments. The default confidence threshold is set to 65%, which is increased to 70% for regular users.

[0116] S442, construct a voice control membership function based on the voice recognition confidence, confidence transition steepness, and confidence threshold.

[0117] S443, Obtain the voice control membership degree based on the voice control membership function.

[0118] The voice control membership function can be expressed as: Where F4 represents the voice control membership degree, t' represents the peak voice usage period (default is 8 PM), and t represents the current time. τ represents the time-based attenuation coefficient, which is related to the user's age; for example, it is set to 4.0 for young people and 6.0 for the elderly. μ4 represents the user's voice usage frequency, which can be obtained by calculating the normalized value of the average daily usage over the past 30 days. c represents the habituation rate constant, which defaults to 0.3 and is used to control the saturation rate of habit influence.

[0119] This voice control membership function features non-linear confidence amplification and time-period preference matching. When the voice recognition confidence exceeds 70%, the Sigmoid function enters the saturation region, at which point it can significantly increase the weight of high-confidence commands. It outputs the maximum value during the user's frequently used time period (t≈t').

[0120] S45, obtain the corresponding normalized weights based on the membership degrees of the physical buttons, APP control, illumination, and voice control.

[0121] For example, according to the formula Obtain the corresponding normalized weights. Where W... i This represents the normalized weight of the i-th modal control command. The normalized value ∈ [0,1], and the higher the weight, the higher the priority of the corresponding control command. Assuming the user triggers multiple modal commands simultaneously, with a physical button press of 0.4 seconds, a voice recognition confidence level of 85%, a network latency of 120 milliseconds, and physical button membership, APP control membership, and voice control membership of 0.6, 1.38, and 0.48 respectively, then the normalized weight corresponding to the APP control command = 1.38 / (0.6+1.38+0.48)≈0.56. In this scenario, the system prioritizes responding to the APP control command.

[0122] In this normalized weight function formula, by converting the independent membership degrees of each modality into corresponding normalized weights, multiple command conflicts (such as the contradiction between voice commands and ambient light commands) can be resolved.

[0123] S46, Obtain curtain control instructions based on the normalized weights.

[0124] Specifically, the system prioritizes the control command corresponding to the largest normalized weight. It should be noted that different modal control commands can be generated based on physical button information, user voice information obtained by the voice recognition module, APP information sent remotely by the user, and light sensor information, respectively, and are executed by the controller controlling the stepper motor used to adjust the curtain opening.

[0125] It should be noted here that the functions corresponding to the membership of physical buttons, APP control, lighting, and voice control can all be adjusted according to the actual situation, and will not be elaborated here.

[0126] S5, control the opening and closing of the curtains according to the curtain control command.

[0127] For example, the specific method for controlling the opening and closing of curtains according to the curtain control command includes the following steps:

[0128] S51, obtain the incremental PID control function or the positional PID control function.

[0129] The positional PID control function can be expressed as: In the formula: u k Let e ​​be the computer output value at the k-th sampling time. k Let e ​​be the deviation value input at the k-th sampling time. k-1 K is the deviation value input at the (k-1)th sampling time. p K is the proportionality coefficient. i K is the integral coefficient. d Here, Δu is the differential coefficient, and u0 is the initial value when PID control begins. If the actuator requires an incremental control quantity (e.g., driving a stepper motor) rather than an absolute position value, an incremental PID control algorithm can be used, expressed as Δu. k =K p (e k -e k-1 )+K i e k +K d (e k -2e k-1 -e k-2Since incremental PID control algorithm requires significantly less computation compared to positional algorithm, incremental PID is chosen to control the speed and position of the stepper motor in this control system.

[0130] S52, in response to the curtain control command, calls the incremental PID control function or the positional PID control function to control the opening and closing of the curtain.

[0131] In summary, the multimodal intelligent light-controlled curtain control method obtains curtain control commands through first curtain control parameters, second curtain control parameters, real-time ambient light parameters, and user voice parameters. It integrates four methods: physical buttons, ambient light sensing automatic control, voice control, and remote control via mobile APP, forming a control system that combines traditional and intelligent technologies. These four methods complement each other, meeting the usage needs of different groups and scenarios, significantly improving the convenience and flexibility of operation, and solving the problem of purely manual operation of traditional curtains.

[0132] In one embodiment, the present invention also provides a multimodal intelligent light-controlled curtain control system for implementing the multimodal intelligent light-controlled curtain control method, including physical buttons, a remote terminal, a voice recognition module, a light sensor, an instruction acquisition module, and a controller.

[0133] Physical buttons are used to acquire the first curtain control parameters input by the user; a remote terminal is used to acquire the second curtain control parameters input by the user; a voice recognition module is used to acquire the user's voice parameters; a light sensor is used to acquire real-time ambient light parameters; an instruction acquisition module is used to acquire curtain control instructions based on the first curtain control parameters, the second curtain control parameters, real-time ambient light parameters, and user voice parameters; and the controller controls the opening and closing of the curtains according to the curtain control instructions.

[0134] For example, such as Figure 7 , Figure 8 as well as Figure 9As shown, the control system mainly includes a synchronous belt cover 1, a motor protection cover 2, a synchronous belt 3, a synchronous pulley 4, a stepper motor 5, a motor bracket 6, an overall support plate 7, a support plate fixing frame 8, a mechanical button switch 9, a synchronous pulley fixing frame 10, a synchronous pulley fixing strip 11, a synchronous pulley 4 protective cover, a light sensor module 13, a voice control module 14, an STM32F103C8T6 chip 14, and a WiFi module 15. The stepper motor 5 is fixedly mounted on the motor bracket 6 and is connected to the synchronous belt 3 via the synchronous pulley 4 to drive the synchronous belt 3 to rotate clockwise or counterclockwise, thereby opening and closing the curtain. The synchronous belt cover 1 covers the synchronous belt 3, the motor protection cover covers the stepper motor 5, and the synchronous pulley 4 protective cover is fitted onto the synchronous pulley 4. The overall support plate is fixedly mounted on the support plate fixing frame 8, and the motor bracket 6 can be mounted on the overall support plate. The mechanical push-button switch, or physical button, can be installed on the overall support plate 7 or the window frame. The synchronous wheel 4 is installed on the synchronous wheel fixing bracket 10 and fixed by the synchronous wheel fixing strip 11. The STM32F103C8T6 chip 14 is the controller, and the WiFi module 15 is used to receive control commands sent by the user remotely, such as via a mobile APP, and connect to the controller signal. The light sensor module 13 is the light sensor, and the voice control module 14 is the voice recognition module. Since the specific structure of the light-controlled curtain is a conventional technology in this field, it will not be described in detail here.

[0135] For example, such as Figure 10 The implementation process of the light-controlled curtain control system includes the following:

[0136] First, when the light-controlled curtain is powered on, the 220V is converted to 16V through the power supply module to power the integrated chip inside the curtain. The STM32 chip is in standby mode. The chip can control the stepper motor 5 to rotate in four ways, thereby causing the synchronous belt 3 to drive the curtain and control the opening and closing of the curtain. It not only retains the traditional mechanical operation habits, but also integrates advanced voice control, ambient light sensing automatic control, physical button control and convenient mobile app remote control.

[0137] 1. Physical Button Control: Equipped with two independent physical buttons for inputting "on" and "off" control commands respectively. When the "on" button is pressed, the signal is transmitted to the STM32 chip, which sends a signal to the stepper motor 5. The stepper motor 5 drives the synchronous pulley 4 to rotate counterclockwise, causing the synchronous belt 3 to move evenly, thus slowly opening the curtain on the synchronous belt 3. Similarly, when the "off" button is pressed, the synchronous pulley 4 rotates clockwise, driving the synchronous belt 3, thus closing the curtain.

[0138] 2. Ambient Light Sensing Automatic Control: A light sensor is integrated into the curtain system to monitor parameters such as ambient light intensity and rate of change in real time. When the light intensity reaches a preset threshold, the sensor transmits a signal to the STM32 chip, which then issues a command to drive the curtain's stepper motor 5 to rotate clockwise, causing the synchronous belt 3 to automatically close the curtain. The entire process requires no manual intervention.

[0139] 3. By integrating a voice recognition module and control chip into the curtain system, users only need to issue simple voice commands, such as "open the curtains," "close the curtains," or "pull the curtains halfway," and the system can quickly recognize and execute the corresponding operation to control the stepper motor 5 to rotate, thereby achieving the effect of controlling the opening and closing of the curtains.

[0140] 4. Users can send commands to control the stepper motor 5 to rotate via a mobile app. The commands are transmitted to the cloud platform via the internet. After processing the commands, the cloud platform forwards them to the WiFi module 15. Upon receiving the commands, the WiFi module 15 parses the command content, generates corresponding control signals, and sends them to the STM32 chip. After processing, the chip sends the information to the stepper motor 5, which drives the synchronous belt 3 to move the curtain. At the same time, the WiFi module 15 reports the rotation status of the stepper motor 5 to the cloud platform, which then feeds the status information back to the mobile app, allowing users to monitor the motor's operation in real time.

[0141] Because users may experience conflicts when sending curtain control commands via physical buttons, voice recognition modules, or remote methods, resulting in multiple commands arriving simultaneously (i.e., different modal commands may conflict), it is necessary to prioritize these commands. To address this, a priority control rule table can be constructed to obtain the priority of different modal commands, as shown in the table below:

[0142] Source of instructions Basic Priority Dynamic improvement conditions physical buttons Highest Press and hold (emergency shutdown) Light sensor high Light intensity change rate > 101ux Speech recognition module middle Speech recognition confidence level >90% Smart terminal APP Low User-defined "forced mode"

[0143] As a preferred technical solution, the instruction acquisition module includes a membership degree acquisition unit, a weight acquisition unit, and an instruction acquisition unit.

[0144] The membership acquisition unit acquires the membership of physical buttons based on the first curtain control parameters, the membership of APP control based on the second curtain control parameters, the membership of light control based on the real-time ambient light parameters, and the membership of voice control based on the user voice parameters.

[0145] The weight acquisition unit is used to acquire the corresponding normalized weights based on the membership of the physical buttons, the membership of the APP control, the membership of the illumination, and the membership of the voice control; the instruction acquisition unit is used to acquire the curtain control instructions based on the normalized weights.

[0146] The controller includes a function acquisition unit and a curtain control unit. The function acquisition unit is used to acquire an incremental PID control function or a positional PID control function; the curtain control unit is used to respond to the curtain control command by calling the incremental PID control function or the positional PID control function to control the opening and closing of the curtain.

[0147] Incremental PID control algorithms require significantly less computation compared to positional PID algorithms. Therefore, in this control system, incremental PID is chosen to control the speed and position of the motor. For example, as shown... Figure 11 As shown, the stepper motor uses a dual closed-loop control system for both speed and position. The output of the position loop serves as the input to the speed loop. This allows the motor speed to be controlled based on the magnitude of the position deviation, automatically accelerating and decelerating the motor during position control. Specifically, the motor accelerates during startup and decelerates as it approaches the target position. In open-loop control, acceleration or deceleration requires manually adding functions.

[0148] In summary, the control system obtains curtain control commands through first curtain control parameters, second curtain control parameters, real-time ambient light parameters, and user voice parameters. It integrates four methods: physical buttons, ambient light sensor automatic control, voice control, and remote control via mobile APP, forming a control system that combines traditional and intelligent technologies. These four methods complement each other, meeting the usage needs of different groups and scenarios, significantly improving the convenience and flexibility of operation, and solving the problem of purely manual operation of traditional curtains.

[0149] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0150] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.

Claims

1. A multimodal intelligent light-controlled curtain control method, characterized in that, The control method includes the following steps: Obtain the first curtain control parameters input by the user via physical buttons; Obtain the second curtain control parameters input by the user remotely; Obtain real-time ambient lighting parameters and user voice parameters; The curtain control command is obtained based on the first curtain control parameter, the second curtain control parameter, the real-time ambient light parameter, and the user voice parameter. The curtains are opened and closed according to the curtain control commands.

2. The multimodal intelligent light-controlled curtain control method as described in claim 1, characterized in that, The specific methods for obtaining curtain control commands include the following steps: The membership degree of the physical buttons is obtained based on the first curtain control parameters; Obtain the APP control membership degree based on the second curtain control parameters; The membership degree of the illumination control is obtained based on the real-time ambient illumination parameters; The voice control membership degree is obtained based on the user's voice parameters; Obtain the corresponding normalized weights based on the membership degrees of the physical buttons, APP control, lighting, and voice control. Curtain control commands are obtained based on the normalized weights.

3. The multimodal intelligent light-controlled curtain control method as described in claim 2, characterized in that, The specific method for obtaining the membership degree of physical buttons includes the following steps: The duration of physical button press is obtained based on the first curtain control parameters; Construct a physical button membership function based on the physical button press duration and the effective trigger time threshold; The membership degree of a physical button is obtained based on the physical button membership function.

4. The multimodal intelligent light-controlled curtain control method as described in claim 2, characterized in that, The specific methods for obtaining the APP control membership degree include the following steps: The network latency time and latency tolerance threshold are obtained based on the second curtain control parameters; Construct the APP control membership function based on the network latency time and latency tolerance time threshold; The APP control membership degree is obtained based on the APP control membership function.

5. The multimodal intelligent light-controlled curtain control method as described in claim 2, characterized in that, The specific method for obtaining the membership degree of illumination control includes the following steps: The rate of change of light intensity is obtained based on the first curtain control parameters; Obtain the time decay factor used to dynamically suppress false triggering at night according to the day-night cycle; Construct a light control membership function based on the light intensity change rate and the time decay factor; The illumination control membership degree is obtained based on the illumination control membership function.

6. The multimodal intelligent light-controlled curtain control method as described in claim 2, characterized in that, The specific methods for obtaining the membership degree of voice control include the following steps: The speech recognition confidence level, confidence transition steepness, and confidence threshold are obtained based on the user's speech parameters. A voice control membership function is constructed based on the voice recognition confidence level, confidence transition steepness, and confidence threshold. The voice control membership degree is obtained based on the aforementioned voice control membership function.

7. The multimodal intelligent light-controlled curtain control method as described in claim 1, characterized in that, The specific method for controlling the opening and closing of curtains according to the curtain control commands includes the following steps: Obtain the incremental PID control function or the positional PID control function; In response to the curtain control command, the incremental PID control function or the positional PID control function is invoked to control the opening and closing of the curtain.

8. A multimodal intelligent light-controlled curtain control system, used to implement the multimodal intelligent light-controlled curtain control method as described in any one of claims 1-7, characterized in that, The control system includes: Physical buttons are used to obtain the first curtain control parameters input by the user; A remote terminal is used to acquire the second curtain control parameters input by the user; The speech recognition module is used to acquire user speech parameters; A light sensor is used to acquire real-time ambient light parameters; The instruction acquisition module is used to acquire curtain control instructions based on the first curtain control parameters, the second curtain control parameters, real-time ambient light parameters, and user voice parameters. The controller controls the opening and closing of the curtains according to the curtain control commands.

9. A multimodal intelligent light-controlled curtain control system as described in claim 8, characterized in that, The instruction acquisition module includes: The membership acquisition unit is used to acquire the membership degree of physical buttons based on the first curtain control parameters, the membership degree of APP control based on the second curtain control parameters, the membership degree of light control based on the real-time ambient light parameters, and the membership degree of voice control based on the user voice parameters. The weight acquisition unit is used to acquire the corresponding normalized weights based on the membership degree of the physical button, the membership degree of the APP control, the membership degree of the illumination, and the membership degree of the voice control. The instruction acquisition unit is used to acquire curtain control instructions based on the normalized weights.

10. A multimodal intelligent light-controlled curtain control system as described in claim 9, characterized in that, The controller includes: The function acquisition unit is used to acquire incremental PID control functions or positional PID control functions; The curtain control unit is used to respond to the curtain control command by calling the incremental PID control function or the positional PID control function to control the opening and closing of the curtain.