Sliding window control method, device, sliding window and storage medium

By combining weather data and vibration sensor data, determining the target state of the sliding sliding window and calculating the control data, the problem of low accuracy of opening and closing of smart doors and windows is solved, and higher control accuracy is achieved.

CN119411902BActive Publication Date: 2025-04-29GUANGDONG CHUANGGAO CURTAIN WALL DOORS & WINDOWS ENG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510012408.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-04-29
Estimated Expiration
2045-01-06

AI Technical Summary

Technical Problem

The accuracy of opening and closing of existing smart doors and windows is low, mainly due to the insufficient accuracy of meteorological information reflecting the external meteorological conditions of the window, which is affected by factors such as the installation direction, height, and terrain of the window.

Method used

By combining weather data and vibration data detected by vibration sensors, the target state of the sliding sliding window is determined, and the control data is calculated based on the target state and the current state, and the control motor is controlled to realize the opening and closing of the window.

Benefits of technology

Improves the control accuracy of sliding sliding windows, reduces window operation errors caused by single meteorological data judgment errors, and improves the accuracy of opening and closing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119411902B_ABST
    Figure CN119411902B_ABST
Patent Text Reader

Abstract

The present invention discloses a sliding sliding window control method, device, sliding sliding window and storage medium, belonging to the technical field of sliding window. The present invention is provided with a control motor and a vibration sensor in the sliding sliding window, and obtains meteorological data of the position where the sliding sliding window is located and vibration data detected by the vibration sensor; determines the target state of the sliding sliding window according to the vibration data and the meteorological data; determines control data according to the target state and the current state of the sliding sliding window at the current moment, and controls the control motor according to the control data, thereby achieving the technical effect of improving the accuracy of the control of the sliding sliding window.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sliding windows, and in particular to a sliding window control method, a sliding window control device, a sliding window and a storage medium. Background Art

[0002] As the demand for whole-house intelligence continues to increase, doors and windows are also gradually becoming intelligent. At present, network-based controlled windows have become the main method of automatic window control. Specifically, the user's remote instructions and weather information are obtained through the network, and the opening and closing of the windows are controlled according to the remote instructions and meteorological information. However, for such network-based controlled windows, it actually relies on the accuracy of remote instructions and meteorological information to ensure the correctness of window opening and closing. However, there are errors between the meteorological information and the actual external conditions of the windows. This error often comes from multiple reasons, such as: the direction of window installation, the installation height, the influence of terrain, etc. It can be seen that the above reasons lead to the insufficient accuracy of the meteorological information in reflecting the meteorological conditions outside the window, which leads to the problem of low accuracy in the opening and closing of smart doors and windows.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a sliding and sliding window control method, a sliding and sliding window control device, a sliding and sliding window and a storage medium, aiming to improve the control accuracy of the sliding and sliding window.

[0005] To achieve the above object, the present invention provides a sliding window control method, wherein the sliding window is provided with a control motor and a vibration sensor, and the sliding window control method comprises the following steps:

[0006] Acquire meteorological data of the location where the sliding window is located and vibration data detected by the vibration sensor;

[0007] determining a target state of the sliding window according to the vibration data and the meteorological data;

[0008] Control data is determined according to the target state and the current state of the sliding window at the current moment, and the control motor is controlled according to the control data.

[0009] Optionally, the meteorological data includes: air pressure data, wind speed data, wind direction data and precipitation data, and the step of determining the target state of the sliding window according to the vibration data and the meteorological data includes:

[0010] Determine preset vibration data according to the air pressure data, the wind speed data, the wind direction data and the precipitation data;

[0011] Determine first environmental data according to the preset vibration data and the vibration data;

[0012] The target state is determined according to the first environment data.

[0013] Optionally, the step of determining the first environmental data according to the preset vibration data and the vibration data includes:

[0014] Calculating an amplitude ratio according to a first average amplitude corresponding to the preset vibration data and a second average amplitude corresponding to the vibration data;

[0015] The first environmental data is determined according to the amplitude ratio and the meteorological data.

[0016] Optionally, the step of determining the first environmental data according to the amplitude ratio and the meteorological data includes:

[0017] Calculate the first wind speed data at the current moment according to the wind speed data and the amplitude ratio;

[0018] Calculate first precipitation data at a current moment according to the precipitation data and the amplitude ratio;

[0019] The first wind speed data and the first precipitation data are used as the first environmental data.

[0020] Optionally, the first environmental data includes: first wind speed data and first precipitation data, the target state includes: an open state and a closed state of a movable sash of the sliding window, and the step of determining the target state according to the first environmental data includes:

[0021] Calculating an environmental index according to the first wind speed data and the first precipitation data;

[0022] When the environmental index is greater than or equal to a preset environmental index, determining that the target state is a closed state;

[0023] When the environmental index is less than the preset environmental index, the target state is determined to be an on state.

[0024] Optionally, the guide rail at the closing position of the movable leaf of the sliding sliding window is arc-shaped, the target state includes: the open state and the closed state of the movable leaf of the sliding sliding window, the closed state includes different pressing states, and the different pressing states correspond to the pressing strength of the sliding sliding window, and the step of determining the control data according to the target state and the current state of the sliding sliding window at the current moment includes:

[0025] Calculate the output torque of the control motor according to the compression force corresponding to the target state and the thrust conversion formula corresponding to the arc shape;

[0026] Determine the operating time and operating speed of the control motor according to the first position of the movable sash of the sliding window corresponding to the current state and the second position corresponding to the target state;

[0027] The output torque, the operating time, and the operating speed are used as the control data.

[0028] Optionally, before the step of controlling the control motor according to the control data, the method further includes:

[0029] Controlling the infrared human body sensor to detect the information of people at the closed opening of the sliding window in real time;

[0030] When the personnel information indicates that there is a person, a prompt message for the sliding window to move is sent;

[0031] When the person information indicates that no person exists, it is determined to execute a step of controlling the control motor according to the control data.

[0032] In addition, to achieve the above-mentioned purpose, the present invention further provides a sliding and sliding window control device, which is provided with a control motor and a vibration sensor, and the sliding and sliding window control device comprises:

[0033] An acquisition module, used for acquiring meteorological data of the location where the sliding window is located and vibration data detected by the vibration sensor;

[0034] a detection module, configured to determine a target state of the sliding window according to the vibration data and the meteorological data;

[0035] A control module is used to determine control data according to the target state and the current state of the sliding window at a current moment, and control the control motor according to the control data.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a sliding sliding window, which includes: a memory, a processor, and a sliding sliding window control program stored in the memory and executable on the processor, and the sliding sliding window control program is configured to implement the steps of the sliding sliding window control method described in any one of the above items.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a sliding window control program is stored. When the sliding window control program is executed by a processor, the steps of the sliding window control method described in any one of the above items are implemented.

[0038] The present invention proposes a sliding window control method, which determines the target state of the sliding window through the vibration data and the meteorological data; it can avoid the judgment error caused by single meteorological data, and determine the control data according to the target state and the current state of the sliding window at the current moment, which can effectively improve the control of the sliding window, and thus improve the accuracy of opening and closing the sliding window. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the structure of the mechanical parts of the sliding window in the hardware operating environment involved in the embodiment of the present invention;

[0040] Figure 2 It is a partial structural cross-sectional view of the side sliding window of the mechanical component of the present invention;

[0041] Figure 3 It is a schematic diagram of the connection structure between the pulley block and the window frame of the mechanical component of the present invention;

[0042] Figure 4 It is a schematic diagram of the connection structure between the guide member and the window frame of the mechanical component of the present invention;

[0043] Figure 5 It is a structural schematic diagram of the pulley block of the mechanical component of the present invention;

[0044] Figure 6 It is a structural schematic diagram of the homing block of the mechanical component of the present invention;

[0045] Figure 7 is a top view of the homing block of the mechanical component of the present invention;

[0046] Figure 8 It is a structural schematic diagram of the guide member of the mechanical component of the present invention;

[0047] Fig. 9 It is a control logic diagram of a sliding window in a hardware operating environment involved in an embodiment of the present invention;

[0048] Fig.10 It is a flowchart of a first embodiment of a sliding window control method of the present invention;

[0049] Fig.11 It is a flow chart of a second embodiment of a sliding window control method of the present invention;

[0050] Fig.12 It is a flowchart diagram of a third embodiment of a sliding window control method of the present invention.

[0051] The realization of the purpose, functional features and advantages of the present invention will be further described in conjunction with embodiments and with reference to the accompanying drawings;

[0052] Description of reference numerals:

[0053] 1. Window frame; 11. Slide rail; 12. Slide groove; 2. Fixed window; 3. Side pressure window; 4. Pulley block; 41. Connecting frame; 42. Limiting frame; 43. Pulley; 5. Seal; 6. Return block; 61. Guide groove; 611. Carrying area; 612. Transition area; 613. Locking area; 62. Locking hole; 7. Guide; 71. Connecting seat; 711. Fine-tuning hole; 72. Guide wheel. DETAILED DESCRIPTION

[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0055] Further, preferably, Figure 1-Figure 8 As shown, the sliding sliding window here can specifically be a lateral sliding sliding window, and the mechanical components of the sliding sliding window here may include: a window frame 1, a fixed window 2 and a side pressure window 3, the window frame 1 is provided with a slide rail 11 and a slide groove 12; the fixed window 2 is fixedly connected to the window frame 1; a pulley group 4 is provided on the side pressure window 3, the pulley group 4 is slidably connected to the slide rail 11, and a seal 5 is provided between the fixed window 2 and the side pressure window 3; wherein, a plurality of return blocks 6 are provided on the window frame 1, and guide members 7 are respectively installed around the side pressure window 3, each guide member 7 is slidably connected to the slide groove 12, each guide member 7 is correspondingly arranged with each return block 6, and each return block 6 is provided with a guide groove 61, the guide groove 61 is adapted to the corresponding guide member 7, and the guide groove 61 is connected to the slide groove 12. By setting the return block 6 and the guide member 7, when the side pressure window 3 is pushed to the position of the return block 6, the guide member 7 will slide laterally together with the pulley group 4 according to the stroke of the guide groove 61, thereby moving toward the direction of the fixed window 2, effectively pressing the sealing member 5, and realizing multi-directional adjustment of the side pressure window 3 during the sliding process, ensuring that the seal between the side pressure window 3 and the window frame 1 is tighter, significantly improving the overall sealing performance of the window, and effectively avoiding indoor moisture, water seepage and other problems caused by poor window sealing.

[0056] Furthermore, the mechanical component may also have the following additional technical features: the guide groove 61 includes an advance zone 611, a transition zone 612 and a locking zone 613, the advance zone 611, the transition zone 612 and the locking zone 613 are connected and communicated in sequence, and the distance from the advance zone 611 to the fixed window 2 is greater than the distance from the locking zone 613 to the fixed window 2. The advance zone 611 allows the side pressure window 3 to have a relatively loose space at the beginning of sliding, reduces the resistance during the initial sliding, and enables the side pressure window 3 to start moving more easily; when the side pressure window 3 enters the transition zone 612, it will gradually feel the guiding force from the entire guide groove 61, so that the side pressure window 3 can smoothly transition from the advance zone 611 to the locking zone 613; when the side pressure window 3 enters the locking zone 613, the distance between it and the fixed window 2 is minimized, and the seal 5 is compressed to achieve a tight seal. It is ensured that the side pressure window 3 can evenly press the seal 5 when closing, thereby improving the sealing effect.

[0057] Furthermore, the following additional technical features may be provided: all transition angles between the advance area 611, the transition area 612 and the locking area 613 are rounded transitions. The friction between the side pressure window 3 and the edge of the guide groove 61 during the sliding process is reduced, so that the sliding of the window sash is more stable and smooth, thereby extending the service life.

[0058] Furthermore, it may also have the following additional technical features: the guide member 7 includes a connecting seat 71 and a guide wheel 72, the connecting seat 71 is fixedly connected to the side pressure window 3, the guide wheel 72 is rotatably connected to the connecting seat 71, the guide wheel 72 is slidably connected to the slide groove 12, and the guide groove 61 is adapted to the corresponding guide wheel 72, thereby ensuring that the side pressure window 3 can move along a predetermined trajectory during the sliding process, thereby improving the positioning accuracy of the window sash.

[0059] Furthermore, the following additional technical features may be provided: a fine adjustment hole 711 is provided on the connection seat 71, and the connection seat 71 is fixedly connected to the side pressure window 3 through the fine adjustment hole 711. This ensures accurate alignment between the guide member 7 and the slide groove 12 and the side pressure window 3, thereby enhancing adaptability.

[0060] Reference Fig. 9 , Fig. 9 The present invention is a schematic diagram of the control logic of a sliding window in a hardware operating environment according to an embodiment of the present invention.

[0061] like Fig. 9As shown, the sliding window may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a mechanical component 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0062] Preferably, the mechanical component 1003 includes a control motor, and the opening and closing of the sliding window is controlled by the control motor.

[0063] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the sliding window, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0064] like Fig. 9 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a sliding window control program.

[0065] exist Fig. 9 In the sliding sliding window shown, the network interface 1004 is mainly used for data communication with other devices; the mechanical component 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the sliding sliding window of the present invention can be set in the sliding sliding window, and the sliding sliding window calls the sliding sliding window control program stored in the memory 1005 through the processor 1001, and executes the sliding sliding window control method provided by the embodiment of the present invention.

[0066] The embodiment of the present invention provides a sliding window control method, referring to Fig.10 , Figure 2 The figure is a flow chart of a first embodiment of a sliding window control method of the present invention.

[0067] In this embodiment, the sliding window control method includes:

[0068] Step S1, obtaining meteorological data of the location where the sliding window is located and vibration data detected by the vibration sensor;

[0069] The location of the sliding window here can specifically be the installation address of the sliding window. The meteorological data can be obtained from the weather forecast of the area corresponding to the installation address. The specific meteorological data includes the forecast: forecast wind speed, and can also include: weather conditions, temperature, precipitation probability, precipitation, wind direction, air quality, visibility and at least one or more of the ultraviolet index. The vibration sensor here is used to detect the vibration data of the sliding window. Since meteorological data can only represent the main weather information of a region, the weather conditions on the outer surface of the wall where the sliding window is installed are often different from the meteorological data. The vibration data detected by the vibration sensor can often reflect the impact of the weather on the sliding window, because the wind speed, wind direction, raindrops, etc. can produce different vibration conditions on the window. Different data can be obtained by performing different types of data analysis on the vibration data.

[0070] Step S2, determining a target state of the sliding window according to the vibration data and the meteorological data;

[0071] Optionally, the real-time wind speed currently actually acting on the sliding window is determined according to the vibration data, and the wind speed of the meteorological data is the forecast wind speed; at least one wind speed threshold is determined according to the rainfall probability and the forecast wind speed; in this embodiment, preferably, the number of wind speed thresholds is 1, and when the real-time wind speed is higher than or equal to the wind speed threshold, the target state of the sliding window is determined to be a closed state; when the real-time wind speed is lower than the wind speed threshold, the target state of the sliding window is determined to be an open state; of course, the greater the number of wind speed thresholds, the greater the number of corresponding target state types; optionally, the rainfall probability here can also be replaced by air quality.

[0072] Step S3, determining control data according to the target state and the current state of the sliding window at the current moment, and controlling the control motor according to the control data.

[0073] Preferably, the control motor is arranged at the bottom and / or the top of the sliding sliding window; it is used to drive the movement of the movable leaf of the sliding sliding window and realize the control of the sliding sliding window, such as opening, closing, etc. Preferably, the window opening of the sliding sliding window can also be controlled, where the window opening is the degree of opening and closing of the sliding sliding window. In addition, the closing tightness of the sliding sliding window can also be controlled. A control motor for pressing the sliding sliding window can be arranged, so that the closing pressure of the sliding sliding window can be controlled by the control motor. The control data is determined by the target state and the current state of the sliding sliding window at the current moment, so that the accuracy of the control instruction to the control motor can be improved.

[0074] In this embodiment, the target state of the sliding window is determined by the vibration data and the meteorological data; the judgment error caused by a single meteorological data can be avoided, and the control data is determined according to the target state and the current state of the sliding window at the current moment, which can effectively improve the control of the sliding window, thereby improving the accuracy of opening and closing the sliding window.

[0075] Further, based on the first embodiment, a second embodiment of the sliding window control method of the present invention is proposed. In this embodiment, referring to Fig.11 The meteorological data includes: air pressure data, wind speed data, wind direction data and precipitation data, and the step of determining the target state of the sliding window according to the vibration data and the meteorological data includes:

[0076] Step S21, determining preset vibration data according to the air pressure data, the wind speed data, the wind direction data and the precipitation data;

[0077] It should be noted that the historical vibration data of various types of sliding windows under different wind speeds and different air pressures can be collected in the laboratory in advance, and the corresponding relationship between the historical vibration data and different wind speeds and air pressures can be established. Further, in other embodiments, the vibration data under various weather conditions can also be collected, and then the preset vibration data can be determined based on the air pressure data, the wind speed data, the wind direction data, the precipitation data and the corresponding relationship. It should be noted that in actual applications, the wind speed data is the main influencing data of the vibration data of the sliding window. Therefore, in some embodiments, the preset vibration data can be directly determined based on the wind speed data.

[0078] Step S22, determining first environmental data according to the preset vibration data and the vibration data;

[0079] The vibration data here is data collected in real time. Optionally, the preset vibration data is compared with the vibration data. Specifically, the vibration amplitude, vibration period, etc. can be compared. When the result of the comparison between the preset vibration data and the vibration data matches, it can be determined that the meteorological data is the current first environmental data. In this embodiment, the vibration data is not directly used to judge the environmental conditions, but is based on the comparison between the real-time vibration data and the preset vibration data to judge whether the weather conditions actually occur.

[0080] Step S23: determining the target state according to the first environment data.

[0081] The data type of the data included in the first environmental data here can be the same as the meteorological data, that is, it can include at least one or more of: weather conditions, temperature, precipitation probability, precipitation, wind direction, air quality, visibility and ultraviolet index. The first environmental data here corresponds to the target state, so that the target state can be determined after determining the first environmental data.

[0082] In this embodiment, preset vibration data is determined by the air pressure data, the wind speed data, the wind direction data and the precipitation data; first environmental data is determined based on the preset vibration data and the vibration data, it is verified whether the meteorological data actually occurs in the actual environment of the sliding window, and the target state is determined based on the first environmental data, thereby improving the accuracy of the sliding window.

[0083] Further, the step of determining the first environment data according to the preset vibration data and the vibration data includes:

[0084] Calculating an amplitude ratio according to a first average amplitude corresponding to the preset vibration data and a second average amplitude corresponding to the vibration data;

[0085] The first environmental data is determined according to the amplitude ratio and the meteorological data.

[0086] It should be noted that, in addition to being able to determine that the meteorological data is the current first environmental data when the comparison results match according to the preset vibration data and the vibration data. The first environmental data can also be judged based on the difference between the preset vibration data and the vibration data. Of course, in this embodiment, the specific data is the amplitude ratio calculated by the first average amplitude and the second average amplitude. In addition, in other embodiments, it can also be the ratio of the first maximum amplitude corresponding to the preset vibration data and the second maximum amplitude corresponding to the vibration data within a period of time. In this embodiment, when the vibration ratio is greater than 1, the first environmental data is determined to be the meteorological data multiplied by the vibration ratio. This method can effectively avoid vibrations caused by non-weather reasons, thereby avoiding abnormal closure of the sliding door, for example: the meteorological data is sunny and the wind speed is 0. At this time, if there is a large real-time vibration data, it will not affect the judgment of the first environmental data. This is because although the vibration data is highly correlated with the wind speed, it is also necessary to exclude human influence or other organisms, such as: the influence of animals.

[0087] In this embodiment, an amplitude ratio is calculated based on a first average amplitude corresponding to the preset vibration data and a second average amplitude corresponding to the vibration data, and the first environmental data is determined based on the amplitude ratio and the meteorological data. In addition to realizing the determination of whether the actual environment is the environment corresponding to the meteorological data, other environmental conditions other than the meteorological data can also be effectively judged, thereby improving the scope of determining the first environmental data. Moreover, since the first environmental data is not determined solely by vibration, abnormal closing of the sliding window caused by vibration abnormalities caused by other factors outside the environment can be avoided.

[0088] Furthermore, the step of determining the first environmental data according to the amplitude ratio and the meteorological data includes:

[0089] Calculate the first wind speed data at the current moment according to the wind speed data and the amplitude ratio;

[0090] Calculate first precipitation data at a current moment according to the precipitation data and the amplitude ratio;

[0091] The first wind speed data and the first precipitation data are used as the first environmental data.

[0092] Preferably, since the wind speed data is the factor that mainly affects the vibration data, the first wind speed data at the current moment is calculated according to the wind speed data and the amplitude ratio, and the first precipitation data at the current moment is calculated according to the precipitation data and the amplitude ratio. The precipitation data here can be one of the precipitation within 1 hour, the precipitation within 6 hours, the precipitation within 12 hours, and the precipitation within 24 hours. In addition, the above-mentioned precipitation amount can be rainfall. It should be noted that, in general, wind speed and rainfall include different correlation situations in different weather. For example: in typhoon weather, there is a positive correlation between wind speed and precipitation. In the eye of the typhoon, the wind speed is low, the air pressure is low, and there is generally no precipitation; while for the same typhoon in the storm circle, the wind speed of the storm circle is higher than the wind speed of the eye, the air pressure of the storm circle is higher than the air pressure of the eye, and the precipitation of the storm circle is higher than the precipitation of the eye. Therefore, after calculating the first wind speed data at the current moment by the wind speed data and the amplitude ratio, the environmental conditions can be accurately determined. Furthermore, the first precipitation data is calculated using the precipitation data, the amplitude ratio, and a rainfall conversion coefficient corresponding to the weather conditions. The rainfall conversion coefficient here varies depending on the weather conditions, such as typhoon weather, clear weather, convective weather, etc.

[0093] In this embodiment, the first wind speed data at the current moment is calculated according to the wind speed data and the amplitude ratio; the first precipitation data at the current moment is calculated according to the precipitation data and the amplitude ratio; this actually solves the problem that the current precipitation cannot be determined based on the vibration data, and the first wind speed data and the first precipitation data are used as the first environmental data, so that complete environmental data can be obtained, thereby improving the control accuracy of the sliding window.

[0094] Further, based on the first embodiment or the second embodiment, a third embodiment of the sliding window control method of the present invention is proposed. In this embodiment, referring to Fig.12 The first environmental data includes: first wind speed data and first precipitation data, the target state includes: an open state and a closed state of a movable leaf of a sliding window, and the step of determining the target state according to the first environmental data includes:

[0095] Step S231, calculating an environmental index according to the first wind speed data and the first precipitation data;

[0096] It should be noted that the first wind speed data and the first precipitation data here can be used as environmental indicators, and can also be calculated to calculate the environmental indicators. Based on the first embodiment, the environmental indicators may include a windowsill moisture index, and the windowsill moisture index is calculated based on the first wind speed data and the first precipitation data. Based on the second embodiment, the first wind speed data and the first precipitation data are used as environmental indicators.

[0097] Step S232, when the environmental index is greater than or equal to the preset environmental index, determining that the target state is a closed state;

[0098] Step S233: when the environmental index is less than the preset environmental index, determining that the target state is an on state.

[0099] In this embodiment, the target state includes a closed state and an open state. In other embodiments, more different target states may be included.

[0100] In this embodiment, the environmental index is calculated based on the first wind speed data and the first precipitation data; when the environmental index is greater than or equal to the preset environmental index, the target state is determined to be a closed state; when the environmental index is less than the preset environmental index, the target state is determined to be an open state. In fact, different environmental conditions can be accurately classified and the corresponding target states can be determined, thereby achieving accurate control of the sliding window.

[0101] Further, based on any of the above-mentioned embodiments, a fourth embodiment of the sliding sliding window control method of the present invention is proposed. In this embodiment, the guide rail at the closing position of the movable leaf of the sliding sliding window is arc-shaped, and the target state includes: the open state and the closed state of the movable leaf of the sliding sliding window, and the closed state includes different clamping states, and the different clamping states correspond to the clamping strength of the sliding sliding window. The step of determining the control data according to the target state and the current state of the sliding sliding window at the current moment includes:

[0102] Calculate the output torque of the control motor according to the compression force corresponding to the target state and the thrust conversion formula corresponding to the arc shape;

[0103] Determine the operating time and operating speed of the control motor according to the first position of the movable sash of the sliding window corresponding to the current state and the second position corresponding to the target state;

[0104] The output torque, the operating time, and the operating speed are used as the control data.

[0105] In this embodiment, based on Figures 1 to 8 The mechanical structure, that is, the guide rail may include a slide rail 11 and a slide groove 12, and the control motor may drive the pulley block 4 to operate, and the specific setting position of the control motor is not limited.

[0106] Specifically, as shown in the arc setting of the guide groove 61, when the control motor pushes the movable sash of the side pressure window into the transition zone 612, the control data of the control motor needs to be increased adaptively. This is because when entering the transition zone 612, the output of the motor is actually converted into a pressing force on the sliding window. Figures 1 to 8 The mechanical structure in the control unit has a corresponding clamping force control requirement. Therefore, the output torque of the control motor is calculated according to the clamping force corresponding to the target state and the thrust conversion formula corresponding to the arc shape, and the operating time and operating speed of the control motor are determined according to the first position of the movable sash of the sliding window corresponding to the current state and the second position corresponding to the target state; the output torque, the operating time and the operating speed are used as the control data. Furthermore, it should be noted that the thrust conversion formula corresponding to the arc shape here is determined according to the actual transition zone 612, and the transition zones 612 with different size parameters can correspond to different thrust conversion formulas. It should be noted that the motor and sensor are not limited to a specific installation position.

[0107] In this embodiment, through innovation in the mechanical structure and calculating the output torque of the control motor by using the compression force corresponding to the target state and the thrust corresponding to the arc shape, the control of the sliding window in different target states is achieved as a whole.

[0108] Furthermore, before the step of controlling the control motor according to the control data, the method further includes:

[0109] Controlling the infrared human body sensor to detect the information of people at the closed opening of the sliding window in real time;

[0110] When the personnel information indicates that there is a person, a prompt message for the sliding window to move is sent;

[0111] When the person information indicates that no person exists, it is determined to execute a step of controlling the control motor according to the control data.

[0112] In this embodiment, an infrared human body sensor is provided to avoid pinching injuries caused when controlling the operation of the sliding window.

[0113] In addition, an embodiment of the present invention further provides a sliding window control device, wherein the sliding window control device is provided with a control motor and a vibration sensor, and the sliding window control device comprises:

[0114] An acquisition module, used for acquiring meteorological data of the location where the sliding window is located and vibration data detected by the vibration sensor;

[0115] a detection module, configured to determine a target state of the sliding window according to the vibration data and the meteorological data;

[0116] A control module is used to determine control data according to the target state and the current state of the sliding window at a current moment, and control the control motor according to the control data.

[0117] Based on the same concept as the method in the above embodiment, a sliding window control device provided in the present application can realize the specific contents described in the above embodiment.

[0118] In addition, an embodiment of the present invention also proposes a sliding sliding window, which includes: a memory, a processor, and a sliding sliding window control program stored in the memory and executable on the processor, wherein the sliding sliding window control program is configured to implement the steps of the sliding sliding window control method described in any one of the above items.

[0119] In addition, an embodiment of the present invention further provides a storage medium, on which a sliding window control program is stored. When the sliding window control program is executed by a processor, the steps of any one of the above-mentioned sliding window control methods are implemented.

[0120] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0121] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0123] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A sliding window control method, characterized in that: The sliding window is provided with a control motor and a vibration sensor, and the sliding window control method comprises the following steps: Acquire meteorological data of the location where the sliding window is located and vibration data detected by the vibration sensor; determining a target state of the sliding window according to the vibration data and the meteorological data; Determining control data according to the target state and the current state of the sliding window at the current moment, and controlling the control motor according to the control data; The guide rail at the closing position of the movable leaf of the sliding sliding window is arc-shaped, the target state includes: the open state and the closed state of the movable leaf of the sliding sliding window, the closed state includes different pressing states, and the different pressing states correspond to the pressing strength of the sliding sliding window. The step of determining the control data according to the target state and the current state of the sliding sliding window at the current moment includes: Calculate the output torque of the control motor according to the compression force corresponding to the target state and the thrust conversion formula corresponding to the arc shape; Determine the operating time and operating speed of the control motor according to the first position of the movable sash of the sliding window corresponding to the current state and the second position corresponding to the target state; The output torque, the operating time, and the operating speed are used as the control data.

2. The sliding window control method according to claim 1, characterized in that: The meteorological data includes: air pressure data, wind speed data, wind direction data and precipitation data. The step of determining the target state of the sliding window according to the vibration data and the meteorological data includes: Determine preset vibration data according to the air pressure data, the wind speed data, the wind direction data and the precipitation data; Determine first environmental data according to the preset vibration data and the vibration data; The target state is determined according to the first environment data.

3. The sliding window control method according to claim 2, characterized in that: The step of determining the first environmental data according to the preset vibration data and the vibration data comprises: Calculating an amplitude ratio according to a first average amplitude corresponding to the preset vibration data and a second average amplitude corresponding to the vibration data; The first environmental data is determined according to the amplitude ratio and the meteorological data.

4. The sliding window control method according to claim 3, characterized in that: The step of determining the first environmental data according to the amplitude ratio and the meteorological data comprises: Calculate the first wind speed data at the current moment according to the wind speed data and the amplitude ratio; Calculate first precipitation data at a current moment according to the precipitation data and the amplitude ratio; The first wind speed data and the first precipitation data are used as the first environmental data.

5. The sliding window control method according to claim 4, characterized in that: The first environmental data includes: first wind speed data and first precipitation data, the target state includes: an open state and a closed state of a movable sash of the sliding window, and the step of determining the target state according to the first environmental data includes: Calculating an environmental index according to the first wind speed data and the first precipitation data; When the environmental index is greater than or equal to a preset environmental index, determining that the target state is a closed state; When the environmental index is less than the preset environmental index, the target state is determined to be an on state.

6. The sliding window control method according to claim 5, characterized in that: Before the step of controlling the control motor according to the control data, the method further includes: Controlling the infrared human body sensor to detect the information of people at the closed opening of the sliding window in real time; When the personnel information indicates that there is a person, a prompt message for the sliding window to move is sent; When the person information indicates that no person exists, it is determined to execute a step of controlling the control motor according to the control data.

7. A sliding window control device, characterized in that: The sliding window control device is provided with a control motor and a vibration sensor, and the sliding window control device comprises: An acquisition module, used for acquiring meteorological data of the location where the sliding window is located and vibration data detected by the vibration sensor; a detection module, configured to determine a target state of the sliding window according to the vibration data and the meteorological data; A control module is used to determine control data according to the target state and the current state of the sliding sliding window at the current moment, and control the control motor according to the control data; the guide rail at the closed position of the movable leaf of the sliding sliding window is arc-shaped, the target state includes: the open state and the closed state of the movable leaf of the sliding sliding window, the closed state includes different pressing states, and the different pressing states correspond to the pressing strength of the sliding sliding window. The step of determining the control data according to the target state and the current state of the sliding sliding window at the current moment includes: Calculate the output torque of the control motor according to the compression force corresponding to the target state and the thrust conversion formula corresponding to the arc shape; Determine the operating time and operating speed of the control motor according to the first position of the movable sash of the sliding window corresponding to the current state and the second position corresponding to the target state; The output torque, the operating time, and the operating speed are used as the control data.

8. A sliding window, characterized in that: The sliding and sliding window comprises: a memory, a processor and a sliding and sliding window control program stored in the memory and executable on the processor, wherein the sliding and sliding window control program is configured to implement the steps of the sliding and sliding window control method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium stores a sliding window control program, and when the sliding window control program is executed by the processor, the steps of the sliding window control method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Intelligent weather induction automatic switching window

    CN109322580A