Anti-pinch control method and device for electric door and window, electric window and storage medium
By setting up multiple laser anti-clip modules in the electric door and window anti-clip system and adjusting the operating parameters of the module in combination with space-time information, the error triggering problem caused by direct sunlight is solved and the achievement rate of anti-clip function is improved.
Patent Information
- Application Number
- CN202510525751.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-04-25
AI Technical Summary
The existing electric door and window anti-clip system can easily cause false triggering when direct sunlight, reducing the achievement rate of anti-clip function.
By setting at least two laser anti-clip modules with opposite laser emission directions, they obtain their light intensity data and space-time information of electric doors and windows, determine the direction data of the doors and windows, and adjust the operating parameters of the laser anti-clip module accordingly.
Effectively adapt to various environmental conditions, improve the achievement rate of anti-clip functions of electric doors and windows, and reduce the occurrence of false triggers.
Smart Images

Figure CN120061664A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart homes, and in particular, to a method and device for controlling anti-pinch of electric doors and windows, an electric window, and a storage medium. Background Art
[0002] With the continuous improvement of people's requirements for the living environment, electric doors and windows have become a common choice in people's living spaces. Currently, in order to prevent users from being pinched by electric doors and windows, a laser anti-pinch system is generally used, that is, a laser transmitter and a laser receiver are set up. By whether the optical signal of the received laser is received, it is judged whether there is an object on the closing path, so as to realize the anti-pinch function. However, this anti-pinch method is prone to false triggering when the sun shines directly. This situation is common in the case where the house type is north-south facing and the balcony is east-west facing, thus resulting in the achievement rate of the anti-pinch function.
[0003] The above content is only used to assist in understanding the technical solution of the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide a method and device for controlling anti-pinch of electric doors and windows, an electric window, and a storage medium, aiming to improve the achievement rate of the anti-pinch function.
[0005] To achieve the above object, the present invention provides a method for controlling anti-pinch of electric doors and windows, at least two laser anti-pinch modules with opposite laser emission directions are set, and the method for controlling anti-pinch of electric doors and windows includes the following steps: Obtain the light intensity data of the at least two laser anti-pinch modules, and obtain the spatio-temporal information of the electric doors and windows; Determine the direction data of the door and window orientation according to the at least two light intensity data and the spatio-temporal information; Adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatio-temporal information.
[0006] Optionally, the step of determining the direction data of the door and window orientation according to the at least two light intensity data and the spatio-temporal information includes: Determine the ambient light data according to the at least two light intensity data; Determine the sun azimuth data according to the spatio-temporal information, and the sun azimuth data is the position information of the sun at each moment; Determine the direction data of the door and window orientation according to the ambient light data and the sun azimuth data. The operating parameters include at least one of a laser intensity parameter, a light intensity threshold of the laser anti-pinch module, and a shielding value of the laser anti-pinch module. When the shielding value of the laser anti-pinch module is 1, it means shielding, and when the shielding value of the laser anti-pinch module is 0, it means not shielding.
[0007] Optionally, the step of determining ambient light data based on the at least two light intensity data includes: Extract the background noise data of the at least two laser anti-pinch modules respectively, and use the background noise data as the ambient light intensity data to obtain at least two sets of ambient light intensity data; Determine the virtual light source position information corresponding to the ambient light at each moment according to the at least two sets of ambient light intensity data, where the virtual light source position information is the information of the relative position between the virtual light source and the electric door window; Use the virtual light source position information corresponding to the ambient light at each moment as the ambient light data.
[0008] Optionally, the ambient light data includes: the virtual light source position information corresponding to the ambient light at each moment, and the step of determining the direction data of the door window orientation according to the ambient light data and the sun azimuth data includes: Construct a virtual coordinate space according to the sun azimuth data, and determine the virtual sun position corresponding to the sun position at each moment; Determine the direction data of the door window orientation according to the virtual light source position information and the virtual sun position.
[0009] Optionally, the step of determining the direction data of the door window orientation according to the virtual light source position information and the virtual sun position includes: Calculate the virtual door window position of the electric door window based on the virtual sun position and the virtual light source position information corresponding to the same time to obtain a plurality of virtual door window positions; Determine the first door window position according to the plurality of virtual door window positions; Determine the direction data of the door window orientation according to the first door window position.
[0010] Optionally, a positioning terminal is provided, and the step of obtaining the spatio-temporal information of the electric door window includes: Control the positioning terminal to receive the position information and the time information, and use the position information and the time information as the spatio-temporal information.
[0011] Optionally, the operating parameters include: laser intensity parameter, light intensity threshold of the laser anti-pinch module, and shielding value of the laser anti-pinch module.
[0012] In addition, to achieve the above object, the present invention also provides an electric door window anti-pinch control device, and the electric door window anti-pinch control device includes: An acquisition module, configured to acquire the light intensity data of the at least two laser anti-pinch modules and acquire the spatio-temporal information of the electric door window; An analysis module, configured to determine the direction data of the door window orientation according to the at least two light intensity data and the spatio-temporal information; An adjustment module, configured to adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatio-temporal information.
[0013] In addition, to achieve the above object, the present invention further provides an electric window, which includes: a memory, a processor, and an electric door and window anti-pinch control program stored on the memory and executable on the processor. The electric door and window anti-pinch control program is configured to implement the steps of the electric door and window anti-pinch control method described in any one of the above.
[0014] In addition, to achieve the above object, a storage medium stores an electric door and window anti-pinch control program. When the electric door and window anti-pinch control program is executed by a processor, it implements the steps of the electric door and window anti-pinch control method described in any one of the above.
[0015] The present invention provides an electric door and window anti-pinch control method. The method obtains the light intensity data of at least two laser anti-pinch modules and obtains the spatio-temporal information of the electric door and window; determines the direction data of the door and window orientation according to the at least two light intensity data and the spatio-temporal information; adjusts the operating parameters of the laser anti-pinch module according to the direction data and the spatio-temporal information. Compared with the current anti-pinch technology, it can effectively adapt to various environmental conditions and improve the achievement rate of the anti-pinch function of the electric door and window. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a schematic structural diagram of an electric window in a hardware operating environment related to the embodiment solution of the present invention; Figure 2 is a schematic flowchart of the first embodiment of the electric door and window anti-pinch control method of the present invention; Figure 3 is a schematic flowchart of the third embodiment of the electric door and window anti-pinch control method of the present invention; Figure 4 is a schematic flowchart of the fourth embodiment of the electric door and window anti-pinch control method of the present invention; The realization, functional features, and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0017] 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.
[0018] Refer to Figure 1 , Figure 1 is a schematic structural diagram of an electric window in a hardware operating environment related to the embodiment solution of the present invention.
[0019] As Figure 1As shown, the electric window may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a memory 1003, and a laser anti-pinch module 1004. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The memory 1003 may be a high-speed Random Access Memory (RAM) or a stable Non-Volatile Memory (NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001. Preferably, the electric window may also include: a positioning terminal. The network interface and the positioning terminal can be used in different scenarios. Specifically, the positioning terminal here may include: a Beidou positioning module, where the current position information and time information are obtained through the Beidou positioning module, and then the angle of the sun at the current moment can be determined through an algorithm. Further, the angle information of the sun after the current moment can also be determined.
[0020] In addition, in order to obtain spatio-temporal information, the electric window may include: a network interface, which can replace the positioning terminal in the scenario of a fixed and unchanging position. The current position information is set by the user through connecting to the network, and the time information is obtained through the network.
[0021] Those skilled in the art can understand that Figure 1 the structure shown in
[0022] does not constitute a limitation on the electric window, and it may include more or fewer components than shown in the figure, or combine some components, or have different component arrangements. Figure 1 As shown in
[0023] the memory 1003, as a storage medium, may include an operating system, a data storage module, a user interface module, and an electric window anti-pinch control program.
[0024] An embodiment of the present invention provides an electric window anti-pinch control method. Referring to Figure 2 , Figure 2 is a schematic flowchart of the first embodiment of an electric window anti-pinch control method of the present invention.
[0025] In this embodiment, at least two laser anti-pinch modules with opposite laser emission directions are set, and the electric window anti-pinch control method includes: Step S1, obtain the light intensity data of the at least two laser anti-pinch modules, and obtain the spatio-temporal information of the electric door or window; Different types of laser anti-pinch modules may differ in realizing the anti-pinch function. Therefore, the two laser anti-pinch modules here can be selected according to the type of the electric door or window. Common laser anti-pinch modules generally determine by measuring the time difference between laser emission and return. In some special scenarios, due to the excessive intensity of ambient light, the laser anti-pinch module may fail. Preferably, the at least two laser anti-pinch modules here have the same model. The reason for setting at least two laser anti-pinch modules with opposite laser emission directions is that the ambient light is actually not the same everywhere. For example, the ambient light detected by the laser anti-pinch module directly irradiated by sunlight is actually much greater than that detected by the laser anti-pinch module not directly irradiated. The spatio-temporal information here can include position and time. Preferably, the laser anti-pinch module here is a transceiver-integrated laser anti-pinch module. Compared with the laser anti-pinch module where the laser emission and laser reception are not on the same side, it can reduce the steps of calibrating the laser position and improve the installation efficiency.
[0026] Step S2, determine the direction data of the door or window orientation according to the at least two light intensity data and the spatio-temporal information; Specifically, the situation of ambient light can be determined through at least two light intensity data. When the difference between the light intensity data is greater than the pre-reviewed light intensity difference, it is determined that the ambient light has a certain direction, so as to judge the position of the light source based on the difference between the light intensity data. In daily life, the light source generally refers to the sun. And determine the current position of the sun according to the spatio-temporal information. Furthermore, the orientation direction of the electric door or electric window can be determined based on the position of the light source and the current position of the sun.
[0027] Step S3, adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatio-temporal information, where the operating parameters include at least one of: laser intensity parameter, light intensity threshold of the laser anti-pinch module, and shielding value of the laser anti-pinch module. When the shielding value of the laser anti-pinch module is 1, it means shielding, and when the shielding value of the laser anti-pinch module is 0, it means not shielding.
[0028] After determining the direction data and the spatio-temporal information, the operating parameters of the laser anti-pinch module can be adjusted according to the direction data and the spatio-temporal information. Optionally, set a first time interval, and within the first time interval, determine whether there is an object block only according to the laser anti-pinch module in one direction.
[0029] In this embodiment, by obtaining the light intensity data of the at least two laser anti-pinch modules and obtaining the spatio-temporal information of the electric window; determining the direction data of the window orientation according to the at least two light intensity data and the spatio-temporal information; and adjusting the operating parameters of the laser anti-pinch module according to the direction data and the spatio-temporal information, compared with the current anti-pinch technology, it can effectively adapt to various environmental conditions and improve the achievement rate of the anti-pinch function of the electric window.
[0030] Further, based on the first embodiment, a second embodiment of the anti-pinch control method for the electric window of the present invention is proposed. In this embodiment, a positioning terminal is provided, and the step of obtaining the spatio-temporal information of the electric window includes: Controlling the positioning terminal to receive the position information and time information, and using the position information and the time information as the spatio-temporal information.
[0031] The positioning terminal here is a positioning sensor, specifically a positioning sensor with GPS positioning function and / or Beidou positioning function. In this embodiment, the use of the positioning terminal actually corresponds to a special scenario. The technical solution of this embodiment is mainly applied to movable houses. Currently, movable houses include space capsule movable houses, temporary plank houses, etc. Among them, space capsule movable houses generally use high-strength and lightweight materials, and the cost is lower than that of traditional house construction. Movable houses are generally set near tourist attractions as supplementary living spaces. Since the number of people in tourist attractions is affected by seasons and festivals, such movable houses will move regularly. In this embodiment, a positioning terminal with lower accuracy can be selected to further reduce costs and realize automatic control of anti-pinch parameters locally. In other embodiments, the position and time information of the window can be obtained through networking. The position information is filled in and uploaded by the user to the server, and steps S1, S2, and S3 are executed on the server. Specifically, the server sends a parameter adjustment instruction to realize the adjustment of the parameters of the laser anti-pinch module.
[0032] Further, based on the first embodiment or the second embodiment, a third embodiment of the anti-pinch control method for the electric window of the present invention is proposed. In this embodiment, referring to Figure 3 , the step of determining the direction data of the window orientation according to the at least two light intensity data and the spatio-temporal information includes: Step S21, determining the ambient light data according to the at least two light intensity data; In this embodiment, the light intensity data here refers to the data collected by the laser anti-pinch module. Each laser anti-pinch module corresponds to one piece of the light intensity data. In this embodiment, a laser anti-pinch module with ambient light detection can be selected.
[0033] Step S22: Determine the solar azimuth data according to the spatio-temporal information, where the solar azimuth data is the position information of the sun at each moment. Specifically, the spatio-temporal information may include longitude and latitude information. Based on the longitude and latitude data, the solar azimuth data at each time can be determined. Specifically, a mapping table can be set up so that the solar azimuth data can be determined according to the longitude and latitude information and time. The mapping table may include: longitude, latitude, time, solar azimuth angle, and solar altitude angle. Of course, the solar azimuth angle and solar altitude angle can also be determined through the solar azimuth angle formula and the solar altitude angle formula. For example: On the summer solstice at the Tropic of Cancer, the corresponding sunrise azimuth angle is about 23.5° northeast, and the sunset azimuth angle is about 23.5° northwest.
[0034] Step S23: Determine the direction data of the door and window orientation according to the ambient light data and the solar azimuth data.
[0035] In this embodiment, when the light intensity of the ambient light on at least one side changes with time in the same trend as the solar azimuth change, it is determined that this direction is the orientation of the door and window. In other embodiments, different methods can be used to determine the direction data of the door and window orientation for different precisions. For example: When the direction data of the door and window orientation only needs to be determined among the following direction options, a technical solution with a lower computing cost can be used. The direction options include: due east, due west, due north, due south, southeast, northeast, southwest, and northwest.
[0036] Specifically, for an embodiment that only includes two laser anti-pinch modules, in a region located at a certain position in the Northern Hemisphere, two ambient light data corresponding to sunrise time and sunset time are obtained. When the sum of the two ambient light data corresponding to the sunrise time is greater than the sum of the two ambient light data corresponding to the sunset time, and at any same moment, the two ambient light data are less than a preset ambient light threshold, the direction data is determined to be northeast; when the sum of the two ambient light data corresponding to the sunrise time is less than the sum of the two ambient light data corresponding to the sunset time, and at any same moment, the two ambient light data are less than a preset ambient light threshold, the direction data is determined to be northwest; when the sum of the two ambient light data corresponding to the sunrise time is equal to the sum of the two ambient light data corresponding to the sunset time, and at any same moment, the two ambient light data are less than a preset ambient light threshold, the direction data is determined to be due north; when the sum of the two ambient light data corresponding to the sunrise time is greater than the sum of the two ambient light data corresponding to the sunset time, and at any same moment, the two ambient light data are greater than a preset ambient light threshold, the direction data is determined to be southeast; when the sum of the two ambient light data corresponding to the sunrise time is less than the sum of the two ambient light data corresponding to the sunset time, and at any same moment, the two ambient light data are greater than a preset ambient light threshold, the direction data is determined to be southwest; when the sum of the two ambient light data corresponding to the sunrise time is equal to the sum of the two ambient light data corresponding to the sunset time, and at any same moment, the two ambient light data are greater than a preset ambient light threshold, the direction data is determined to be due south. This method is based on the fact that north-facing doors and windows are difficult to be directly irradiated by sunlight and have a large error. It is equivalent to achieving a lower demand for computing resources by setting the accuracy corresponding to a reasonable direction.
[0037] In this embodiment, the ambient light data is determined through the at least two light intensity data; the solar azimuth data is determined according to the spatio-temporal information, and the solar azimuth data is the position information of the sun at each moment; the direction data of the door and window orientation is determined according to the ambient light data and the solar azimuth data. Thereby, the operating parameters of the laser anti-pinch module can be improved.
[0038] Further, based on any of the above embodiments, a fourth embodiment of the electric door and window anti-pinch control method of the present invention is proposed. Referring to Figure 4 , in this embodiment, the step of determining the ambient light data according to the at least two light intensity data includes: Step S211, respectively extract the background noise data of the at least two laser anti-pinch modules, and use the background noise data as the ambient light intensity data to obtain at least two sets of ambient light intensity data; In this embodiment, for the use of ambient light intensity data, in fact, the relative value of two ambient light intensity data is used. Optionally, before leaving the factory, the first mapping relationship between the preset background noise data and the preset ambient light intensity can be preset through calibration tests, and after obtaining the background noise data, the ambient light intensity data is determined according to the first mapping relationship.
[0039] Step S212: Determine the virtual light source position information corresponding to the ambient light at each moment according to the at least two sets of ambient light intensity data, where the virtual light source position information is the information on the relative position between the virtual light source and the electric door and window; Calculate the first total light intensity of two ambient lights corresponding to each moment according to the at least two sets of ambient light intensity data, so as to obtain the first total light intensity varying with time. Specifically, based on the time within a day, determine the position information of the virtual light source according to the change of the first total light intensity with time; when the first total light intensity corresponding to the morning time period is greater than the first total light intensity corresponding to the afternoon time period, determine that the virtual light source position is in the eastward direction; when the first total light intensity corresponding to the afternoon time period is greater than the first total light intensity corresponding to the morning time period, determine that the virtual light source position is in the westward direction; when the first total light intensity corresponding to the morning time period is equal to the first total light intensity corresponding to the afternoon time period, determine that the virtual light source position is in the due south or due north direction. In addition, calculate the first light intensity ratio of two ambient lights corresponding to the same moment according to the at least two sets of ambient light intensity data, and determine the included angle between the light ray of the virtual light source and the laser emission direction of the laser anti-pinch module according to the first light intensity ratio. Thus, the position of the virtual light source at each time can be determined.
[0040] Step S213: Use the virtual light source position information corresponding to the ambient light at each moment as the ambient light data.
[0041] Specifically, use the virtual light source position information corresponding to the ambient light at each moment as the ambient light data.
[0042] In this embodiment, by separately extracting the background noise data of the at least two laser anti-pinch modules and using the background noise data as the ambient light intensity data, at least two sets of ambient light intensity data are obtained; determine the virtual light source position information corresponding to the ambient light at each moment according to the at least two sets of ambient light intensity data, where the virtual light source position information is the information on the relative position between the virtual light source and the electric door and window; use the virtual light source position information corresponding to the ambient light at each moment as the ambient light data, thereby realizing the determination of the virtual light source position information without the need for additional recording of ambient light, and thus reducing costs.
[0043] Further, based on any of the above embodiments, a fifth embodiment of the electric door and window anti-pinch control method of the present invention is proposed. In this embodiment, the ambient light data includes: the virtual light source position information corresponding to the ambient light at each moment. The step of determining the direction data of the door and window orientation according to the ambient light data and the sun azimuth data includes: Construct a virtual coordinate space based on the solar azimuth data, and determine the corresponding virtual solar positions of the sun at each moment. Determine the direction data of the door and window orientation according to the virtual light source position information and the virtual solar position.
[0044] In this embodiment, an origin can be set, and the virtual solar position of the sun in the coordinate system can be determined according to the solar azimuth data, and the position of the virtual light source can be made the same as the virtual solar position. Then, according to the virtual light source position information, calculate the position of the door and window, so as to determine the direction data.
[0045] Further, the step of determining the direction data of the door and window orientation according to the virtual light source position information and the virtual solar position includes: Calculate the virtual door and window positions of the electric door and window according to the virtual solar position and the virtual light source position information corresponding to the same time, and obtain a plurality of virtual door and window positions; Determine the first door and window position according to the plurality of virtual door and window positions; Determine the direction data of the door and window orientation according to the first door and window position.
[0046] Determine the center point of the door and window position according to the positions of the plurality of virtual doors and windows, and use the position of the door and window center point as the first door and window position.
[0047] In this embodiment, it should be noted that due to weather changes, reflections from nearby buildings, etc., the data may have certain anomalies. Optionally, the light intensity data of the at least two laser anti-pinch modules for more than one day can be obtained to determine the direction data of the door and window orientation, improving the accuracy of the orientation. At the same time, in this embodiment, it is not determined by the data of a single time period, but combined with the data at each moment during the day, and the deviation of the direction data caused by the change of ambient light is effectively avoided through statistical methods.
[0048] Further, the operating parameters include: laser intensity parameter, light intensity threshold of the laser anti-pinch module, and shielding value of the laser anti-pinch module.
[0049] In this embodiment, according to the changes in orientation and season, the operating parameters can be adjusted once a week. The operating parameters can be within a certain period of time. In addition, during the activation of the shielding function, the laser intensity of the unshielded module is automatically increased to the range of 120%-150% of the normal value to ensure the accuracy of detection. The parameters of the laser anti-pinch module can be verified at a preset frequency. When the actual total power of the laser anti-pinch module exceeds the maximum allowable value of the system, stop executing the step of increasing the laser intensity.
[0050] In addition, an electric window anti-pinch control device is proposed in an embodiment of the present invention. The electric window anti-pinch control device includes: An acquisition module, configured to acquire the light intensity data of the at least two laser anti-pinch modules and acquire the spatio-temporal information of the electric window; An analysis module, configured to determine the direction data of the window orientation according to the at least two light intensity data and the spatio-temporal information; An adjustment module, configured to adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatio-temporal information.
[0051] The steps of the electric window anti-pinch control method described in any one of the above can be implemented by an electric window anti-pinch control device.
[0052] In addition, an electric window is proposed in an embodiment of the present invention. The electric window includes a memory, a processor, and an electric window anti-pinch control program stored on the memory and executable on the processor. The electric window anti-pinch control program is configured to implement the steps of the electric window anti-pinch control method described in any one of the above.
[0053] In addition, a storage medium is proposed in an embodiment of the present invention. An electric window anti-pinch control program is stored on the storage medium. When the electric window anti-pinch control program is executed by a processor, the steps of the electric window anti-pinch control method described in any one of the above are implemented.
[0054] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or system including the element.
[0055] 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.
[0056] Through the description of the above embodiments, 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. Of course, they can also be implemented through hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to enable a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
[0057] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A method for controlling electric door and window anti-pinch, characterized in that: At least two laser anti-pinch modules with opposite laser emission directions are provided, and the electric door and window anti-pinch control method comprises the following steps: Acquire light intensity data of the at least two laser anti-pinch modules, and acquire temporal and spatial information of the electric doors and windows; Determine the direction data of the door and window orientation according to the at least two light intensity data and the spatiotemporal information; The operating parameters of the laser anti-pinch module are adjusted according to the direction data and the spatiotemporal information, wherein the operating parameters include: a laser intensity parameter, a light intensity threshold of the laser anti-pinch module, and at least one of a shielding value of the laser anti-pinch module. When the shielding value of the laser anti-pinch module is 1, it indicates shielding; and when the shielding value of the laser anti-pinch module is 0, it indicates unshielded.
2. The electric door and window anti-pinch control method according to claim 1, characterized in that: The step of determining the direction data of the door and window orientation according to the at least two light intensity data and the spatiotemporal information comprises: determining ambient light data according to the at least two light intensity data; Determine solar position data according to the spatiotemporal information, wherein the solar position data is the position information of the sun at each moment; The direction data of the doors and windows is determined according to the ambient light data and the sun position data.
3. The electric door and window anti-pinch control method according to claim 2, characterized in that: The step of determining the ambient light data according to the at least two light intensity data comprises: Extracting background noise data of the at least two laser anti-pinch modules respectively, and using the background noise data as ambient light intensity data, to obtain at least two sets of ambient light intensity data; Determine virtual light source position information corresponding to the ambient light at each moment according to the at least two sets of ambient light intensity data, wherein the virtual light source position information is information about the relative position of the virtual light source and the electric door and window; The virtual light source position information corresponding to the ambient light at each moment is used as the ambient light data.
4. The electric door and window anti-pinch control method according to claim 2, characterized in that: The ambient light data includes: virtual light source position information corresponding to the ambient light at each moment, and the step of determining the direction data of the door and window orientation according to the ambient light data and the sun position data includes: Constructing a virtual coordinate space according to the solar position data, and determining a virtual solar position corresponding to the solar position at each time; The direction data of the doors and windows is determined according to the virtual light source position information and the virtual sun position.
5. The electric door and window anti-pinch control method according to claim 4, characterized in that: The step of determining the direction data of the doors and windows according to the virtual light source position information and the virtual sun position comprises: Calculate the virtual door and window positions of electric doors and windows using the virtual sun position and the virtual light source position information corresponding to the same time to obtain multiple virtual door and window positions; Determine a first door and window position according to a plurality of virtual door and window positions; The direction data of the door and window orientation is determined according to the first door and window position.
6. The electric door and window anti-pinch control method according to any one of claims 1 to 5, characterized in that: A positioning terminal is provided, and the step of obtaining the temporal and spatial information of the electric doors and windows includes: The positioning terminal is controlled to receive the position information and the time information, and the position information and the time information are used as the time-space information.
7. The electric door and window anti-pinch control method according to any one of claims 1 to 5, characterized in that: The operating parameters include: laser intensity parameters, light intensity threshold of the laser anti-pinch module and shielding value of the laser anti-pinch module.
8. An anti-pinch control device for electric doors and windows, characterized in that: The electric door and window anti-pinch control device comprises: An acquisition module, used to acquire light intensity data of the at least two laser anti-pinch modules and acquire temporal and spatial information of the electric doors and windows; An analysis module, used to determine direction data of the door and window orientations according to the at least two light intensity data and the spatiotemporal information; The adjustment module is used to adjust the operating parameters of the laser anti-pinch module according to the direction data and the time-space information.
9. An electric window, characterized in that: The electric window includes: a memory, a processor, and an electric door and window anti-pinch control program stored in the memory and executable on the processor, wherein the electric door and window anti-pinch control program is configured to implement the steps of the electric door and window anti-pinch control method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores an electric door and window anti-pinch control program, and when the electric door and window anti-pinch control program is executed by the processor, the steps of the electric door and window anti-pinch control method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Anti-pinch control method and device of cabinet air conditioner and cabinet air conditioner
CN111912077A
Elevator door control method and anti-pinch detection module
CN113460839A
Intelligent door control method and device, storage medium and equipment
CN114809850A
Intelligent door and window system and automatic control method thereof
CN117166872A
Laser data processing method and device and laser sensor
CN119335554A