Electric door and window anti-pinch control method, device, electric window and storage medium
By setting at least two laser anti-clip modules with opposite laser emission directions on the electric doors and windows, and adjusting the operating parameters in combination with light intensity data and space-time information, the problem of false triggering of the electric doors and windows anti-clip system when 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
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2045-04-25
AI Technical Summary
The anti-clip system of existing electric doors and windows is easily triggered by mistake when direct sunlight, resulting in a low achievement rate of anti-clip function.
Set at least two laser anti-clip modules with opposite laser emission directions. By acquiring light intensity data and space-time information, the operating parameters of the laser anti-clip module, including laser intensity and shielding value, are adjusted to adapt to different environmental conditions.
It improves the achievement rate of anti-clip functions of electric doors and windows, adapts to various environmental conditions, and reduces false triggering.
Smart Images

Figure CN120061664B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart homes, and in particular to an anti-pinch control method and device for electric doors and windows, an electric window, and a storage medium. Background Art
[0002] As people's requirements for living environment continue to increase, electric doors and windows have become a common choice in people's living spaces. At present, 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 to determine whether there are objects on the closing path by receiving the laser light signal, thereby realizing the anti-pinch function. However, this anti-pinch method is prone to false triggering when the sun is directly shining. This situation is common in cases where the house is facing north and south and the balcony is facing east and west, which leads to the low 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 constitute an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide an anti-pinch control method and device for 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 objectives, the present invention provides an anti-pinch control method for electric doors and windows, which includes at least two laser anti-pinch modules with opposite laser emission directions. The anti-pinch control method for electric doors and windows includes the following steps:
[0006] Obtaining light intensity data of the at least two laser anti-pinch modules and obtaining spatiotemporal information of the electric doors and windows;
[0007] Determine direction data of doors and windows according to the at least two light intensity data and the spatiotemporal information;
[0008] The operating parameters of the laser anti-pinch module are adjusted according to the direction data and the spatiotemporal information.
[0009] Optionally, the step of determining the direction data of the door and window orientations according to the at least two light intensity data and the spatiotemporal information includes:
[0010] determining ambient light data based on the at least two light intensity data;
[0011] Determine solar position data based on the spatiotemporal information, where the solar position data is the position information of the sun at each moment;
[0012] The direction data of the doors and windows is determined based on the ambient light data and the solar position data. The operating parameters include: a laser intensity parameter, a light intensity threshold of the laser anti-pinch module, and at least one of the shielding values of the laser anti-pinch module. When the shielding value of the laser anti-pinch module is 1, it indicates shielding; when the shielding value of the laser anti-pinch module is 0, it indicates unshielded.
[0013] Optionally, the step of determining ambient light data according to the at least two light intensity data includes:
[0014] 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;
[0015] Determining 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;
[0016] The virtual light source position information corresponding to the ambient light at each moment is used as the ambient light data.
[0017] Optionally, 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 doors and windows according to the ambient light data and the sun position data includes:
[0018] Constructing a virtual coordinate space based on the solar position data, and determining the virtual solar position corresponding to the solar position at each moment;
[0019] Direction data of doors and windows is determined according to the virtual light source position information and the virtual sun position.
[0020] Optionally, 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 includes:
[0021] Calculating 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;
[0022] determining a first door and window position according to a plurality of virtual door and window positions;
[0023] Determine direction data of the door and window orientations according to the first door and window positions.
[0024] Optionally, a positioning terminal is provided, and the step of obtaining the spatiotemporal information of the electric doors and windows includes:
[0025] The positioning terminal is controlled to receive position information and time information, and the position information and time information are used as spatiotemporal information.
[0026] Optionally, the operating parameters include: a laser intensity parameter, a light intensity threshold of the laser anti-pinch module, and a shielding value of the laser anti-pinch module.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also provides an electric door and window anti-pinch control device, the electric door and window anti-pinch control device comprising:
[0028] An acquisition module, configured to acquire light intensity data of the at least two laser anti-pinch modules and acquire spatiotemporal information of the electric doors and windows;
[0029] An analysis module, configured to determine direction data of door and window orientations based on the at least two light intensity data and the spatiotemporal information;
[0030] An adjustment module is used to adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatiotemporal information.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also 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 runnable on the processor, and 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 items.
[0032] In addition, to achieve the above purpose, a storage medium is provided, on which an electric door and window anti-pinch control program is stored, 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 described in any one of the above items are implemented.
[0033] The present invention proposes a method for controlling anti-pinch operation of electric doors and windows. The method obtains light intensity data of at least two laser anti-pinch modules and obtains spatiotemporal information of the electric doors and windows; determines direction data of the doors and windows according to the at least two light intensity data and the spatiotemporal information; and adjusts the operating parameters of the laser anti-pinch module according to the direction data and the spatiotemporal information. Compared with the current anti-pinch technology, the method can effectively adapt to various environmental conditions and improve the achievement rate of the anti-pinch function of electric doors and windows. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 1 is a schematic diagram of the structure of the electric window in the hardware operating environment involved in the embodiment of the present invention;
[0035] Figure 2 This is a flow chart of a first embodiment of the anti-pinch control method for electric doors and windows of the present invention;
[0036] Figure 3 1 is a flow chart of a third embodiment of the anti-pinch control method for electric doors and windows according to the present invention;
[0037] Figure 4 1 is a flow chart of a fourth embodiment of the anti-pinch control method for electric doors and windows according to the present invention;
[0038] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0039] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0040] Reference Figure 1 , Figure 1 This is a schematic diagram of the electric window structure of the hardware operating environment involved in the embodiment of the present invention.
[0041] like Figure 1 As 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. Communication bus 1002 is used to enable communication between these components. Memory 1003 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Memory 1005 may optionally be a storage device independent of processor 1001. Preferably, the electric window may also include a positioning terminal. The network interface and positioning terminal can be used in different scenarios. Specifically, the positioning terminal may include a Beidou positioning module. The Beidou positioning module obtains current position and time information, and then uses an algorithm to determine the sun's angle at the current moment. Furthermore, the sun's angle after the current moment can be determined.
[0042] In addition, in order to obtain time and space information, the electric window can include: a network interface, which can replace the positioning terminal in a scenario of a fixed and unchanging position. The user can set the current location information by connecting to the network and obtain time information through the network.
[0043] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electric window, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0044] like Figure 1 As shown, the memory 1003 as a storage medium may include an operating system, a data storage module, a user interface module, and an electric door and window anti-pinch control program.
[0045] The processor 1001 and the memory 1003 in the electric window of the present invention can be set in the electric window. The electric window calls the electric door and window anti-pinch control program stored in the memory 1003 through the processor 1001 and executes the electric door and window anti-pinch control method provided by the embodiment of the present invention.
[0046] The embodiment of the present invention provides an anti-pinch control method for electric doors and windows, referring to Figure 2 , Figure 2 This is a flow chart of a first embodiment of an anti-pinch control method for electric doors and windows according to the present invention.
[0047] In this embodiment, at least two laser anti-pinch modules with opposite laser emission directions are provided, and the electric door and window anti-pinch control method includes:
[0048] Step S1, obtaining light intensity data of the at least two laser anti-pinch modules and obtaining spatiotemporal information of the electric doors and windows;
[0049] Different types of laser anti-pinch modules will have different functions in achieving anti-pinch functions. Therefore, the two laser anti-pinch modules here can be selected according to the type of electric doors and windows. Common laser anti-pinch modules are generally determined by measuring the time difference between laser emission and return. In some special scenarios, the laser anti-pinch module will fail due to the excessive intensity of the ambient light. Preferably, at least two laser anti-pinch modules here are of the same model. At least two laser anti-pinch modules with opposite laser emission directions are set here. The reason is that the ambient light is not actually the same everywhere. For example, the ambient light detected by the laser anti-pinch module that is directly exposed to sunlight is actually much greater than the ambient light detected by the laser anti-pinch module that is not directly exposed to sunlight. The spatiotemporal information here can include position and time. Preferably, the laser anti-pinch module here is an integrated transceiver laser anti-pinch module. Compared with the laser anti-pinch module in which the laser emission and laser reception are not on the same side, the steps of calibrating the laser position can be reduced, thereby improving the efficiency of installation.
[0050] Step S2, determining direction data of the doors and windows according to the at least two light intensity data and the spatiotemporal information;
[0051] Specifically, the ambient light situation can be determined using at least two sets of light intensity data. When the difference between the light intensity data is greater than a pre-determined light intensity difference, the ambient light is determined to have a specific direction. The position of the light source can then be determined based on the difference in light intensity data. In daily life, the light source is typically the sun. The sun's current position can then be determined based on spatiotemporal information. Furthermore, the direction of the power door or window can be determined based on the position of the light source and the sun's current position.
[0052] Step S3, adjusting the operating parameters of the laser anti-pinch module according to the direction data and the spatiotemporal information, the operating parameters including: laser intensity parameters, light intensity threshold of the laser anti-pinch module and at least one of the 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.
[0053] After determining the direction data and the spatiotemporal information, the operating parameters of the laser anti-pinch module can be adjusted according to the direction data and the spatiotemporal information. Optionally, a first time interval is set, and within the first time interval, the laser anti-pinch module is used to determine whether there is an object blocking the object based on only one direction.
[0054] In this embodiment, by obtaining the light intensity data of the at least two laser anti-pinch modules and the spatiotemporal information of the electric doors and windows; determining the direction data of the doors and windows according to the at least two light intensity data and the spatiotemporal information; and adjusting the operating parameters of the laser anti-pinch module according to the direction data and the spatiotemporal 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 electric doors and windows.
[0055] Furthermore, based on the first embodiment, a second embodiment of the anti-pinch control method for electric doors and windows of the present invention is proposed. In this embodiment, a positioning terminal is provided, and the step of obtaining the spatiotemporal information of the electric doors and windows includes:
[0056] The positioning terminal is controlled to receive position information and time information, and the position information and time information are used as spatiotemporal information.
[0057] The positioning terminal here is a positioning sensor, specifically a positioning sensor with GPS and / or Beidou positioning capabilities. In this embodiment, the use of a positioning terminal corresponds to a specific scenario. The technical solution of this embodiment is primarily applicable to mobile homes. Current mobile homes include capsule homes and temporary prefabricated houses. Capsule homes are generally made of high-strength, lightweight materials, resulting in lower construction costs than traditional homes. Mobile homes are typically located near tourist attractions as supplemental living space. Since the flow of people at tourist attractions is affected by seasons and festivals, these types of mobile homes are often moved regularly. In this embodiment, a positioning terminal with lower accuracy can be selected to further reduce costs and enable automatic local control of anti-pinch parameters. In other embodiments, the location and time information of doors and windows can be obtained via networking. The user enters the location information and uploads it to a server. Steps S1, S2, and S3 are executed on the server. Specifically, the server sends parameter adjustment instructions to adjust the parameters of the laser anti-pinch module.
[0058] Further, based on the first embodiment or the second embodiment, a third embodiment of an electric door and window anti-pinch control method of the present invention is proposed. In this embodiment, referring to Figure 3 The step of determining the direction data of the door and window orientations according to the at least two light intensity data and the spatiotemporal information includes:
[0059] Step S21, determining ambient light data according to the at least two light intensity data;
[0060] 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 light intensity data. In this embodiment, a laser anti-pinch module with ambient light detection can be selected.
[0061] Step S22, determining solar position data according to the spatiotemporal information, wherein the solar position data is the position information of the sun at each moment;
[0062] Specifically, spatiotemporal information may include longitude and latitude information, and the sun's position data at various times may be determined based on the longitude and latitude data. Specifically, a mapping table may be provided so that the sun's position data may be determined based on the longitude and latitude information and time. The mapping table may include: longitude, latitude, time, solar azimuth, and solar altitude. Of course, the solar azimuth and solar altitude formulas may also be used to determine the solar azimuth and solar altitude formulas. For example, at the summer solstice at the Tropic of Cancer, the corresponding sunrise azimuth is approximately 23.5° northeast, and the sunset azimuth is approximately 23.5° northwest.
[0063] Step S23: determining the direction data of the doors and windows according to the ambient light data and the sun position data.
[0064] In this embodiment, when the intensity of the ambient light on at least one side changes over time in a manner consistent with the changing trend of the sun's position, the direction is determined to be the orientation of the doors and windows. In other embodiments, different methods can be used to determine the directional data of the door and window orientations for different levels of accuracy. For example, when the directional data of the door and window orientations only needs to be determined from the following direction options, a technical solution with lower computational costs can be used. The direction options include: due east, due west, due north, due south, southeast, northeast, southwest, and northwest.
[0065] Specifically, for an embodiment including only two laser anti-pinch modules, the location is in the northern hemisphere, and two ambient light data corresponding to the sunrise time and the 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 the two ambient light data at any same time are less than the 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 the two ambient light data at any same time are less than the 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 the two ambient light data at any same time are less than the preset ambient light threshold, the direction data is determined to be northwest. When the two ambient light data are less than the preset ambient light threshold, the direction data is determined to be due north; when the sum of the two ambient light data corresponding to sunrise time is greater than the sum of the two ambient light data corresponding to sunset time, and if the two ambient light data at any time are greater than the preset ambient light threshold, the direction data is determined to be southeast; when the sum of the two ambient light data corresponding to sunrise time is less than the sum of the two ambient light data corresponding to sunset time, and if the two ambient light data at any time are greater than the preset ambient light threshold, the direction data is determined to be southwest; when the sum of the two ambient light data corresponding to sunrise time is equal to the sum of the two ambient light data corresponding to sunset time, and if the two ambient light data at any time are greater than the 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 less likely to be exposed to direct sunlight and have large errors. It is equivalent to setting a reasonable direction corresponding accuracy, thereby achieving lower computing resource requirements.
[0066] In this embodiment, ambient light data is determined using the at least two light intensity data sets; solar position data, representing the sun's position at various times, is determined based on the spatiotemporal information; and directional data regarding the orientation of doors and windows is determined based on the ambient light data and the solar position data. This improves the operating parameters of the laser anti-pinch module.
[0067] Further, based on any of the above embodiments, a fourth embodiment of an 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 based on the at least two light intensity data includes:
[0068] Step S211, 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;
[0069] In this embodiment, the use of ambient light intensity data actually uses the relative value of the two ambient light intensity data. Optionally, a first mapping relationship between the noise floor data and the preset ambient light intensity can be preset through calibration testing before leaving the factory. After obtaining the noise floor data, the ambient light intensity data is determined based on the first mapping relationship.
[0070] Step S212, determining virtual light source position information corresponding to the ambient light at each moment based on 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;
[0071] The first summed light intensity of the two ambient lights corresponding to each moment is calculated based on the at least two sets of ambient light intensity data, thereby obtaining a first summed light intensity based on time variation. Specifically, based on the time of day, the position information of the virtual light source is determined based on the change of the first summed light intensity over time. When the first summed light intensity corresponding to the morning time period is greater than the first summed light intensity corresponding to the afternoon time period, the virtual light source position is determined to be in the east direction. When the first summed light intensity corresponding to the afternoon time period is greater than the first summed light intensity corresponding to the morning time period, the virtual light source position is determined to be in the west direction. When the first summed light intensity corresponding to the morning time period is equal to the first summed light intensity corresponding to the afternoon time period, the virtual light source position is determined to be in the south or north direction. In addition, the first light intensity ratio of the two ambient lights corresponding to each same moment is calculated based on the at least two sets of ambient light intensity data, and the angle between the light of the virtual light source and the laser emission direction of the laser anti-pinch module is determined based on the first light intensity ratio. This allows the position of the virtual light source to be determined at each time.
[0072] Step S213 : Using the virtual light source position information corresponding to the ambient light at each moment as the ambient light data.
[0073] Specifically, the virtual light source position information corresponding to the ambient light at each moment is used as the ambient light data.
[0074] In this embodiment, by respectively extracting the background noise data of the at least two laser anti-pinch modules and using the background noise data as ambient light intensity data, at least two sets of ambient light intensity data are obtained; the virtual light source position information corresponding to the ambient light at each moment is determined based on the at least two sets of ambient light intensity data, and the virtual light source position information is the information of the relative position of the virtual light source and the electric doors and windows; the virtual light source position information corresponding to the ambient light at each moment is used 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, thereby reducing costs.
[0075] Furthermore, based on any of the above embodiments, a fifth embodiment of a method for controlling anti-pinch operation of electric doors and windows is proposed. In this embodiment, 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 based on the ambient light data and the sun position data includes:
[0076] Constructing a virtual coordinate space based on the solar position data, and determining the virtual solar position corresponding to the solar position at each moment;
[0077] Direction data of doors and windows is determined according to the virtual light source position information and the virtual sun position.
[0078] In this embodiment, an origin can be set, and the virtual sun position of the sun in the coordinate system can be determined based on the sun orientation data, and the position of the virtual light source can be made the same as the virtual sun position. The position of doors and windows can be calculated based on the virtual light source position information to determine the direction data.
[0079] Furthermore, 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 includes:
[0080] Calculating 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;
[0081] determining a first door and window position according to a plurality of virtual door and window positions;
[0082] Determine direction data of the door and window orientations according to the first door and window positions.
[0083] The center point of the door and window positions is determined according to the positions of the multiple virtual doors and windows, and the position of the door and window center point is used as the first door and window position.
[0084] In this embodiment, it should be noted that data anomalies may occur due to weather changes, reflections from nearby buildings, and other factors. Optionally, light intensity data from the at least two laser anti-pinch modules over more than one day can be collected to determine the direction data for the door and window orientation, thereby improving the accuracy of the orientation. Furthermore, in this embodiment, the direction data is determined not based on data from a single time period, but rather on a combination of data from various times throughout the day. This statistical approach effectively avoids deviations in the direction data due to changes in ambient light.
[0085] Furthermore, 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.
[0086] In this embodiment, the operating parameters can be adjusted weekly based on changes in orientation and season. Furthermore, during the activation of the shielding function, the laser intensity of the unshielded module is automatically increased to 120-150% of the normal value to ensure detection accuracy. The parameters of the laser anti-pinch module can be checked at a preset frequency. When the actual total power of the laser anti-pinch module exceeds the maximum allowable value of the system, the step of increasing the laser intensity is stopped.
[0087] In addition, an embodiment of the present invention further provides an anti-pinch control device for electric doors and windows, the anti-pinch control device for electric doors and windows comprising:
[0088] An acquisition module, configured to acquire light intensity data of the at least two laser anti-pinch modules and acquire spatiotemporal information of the electric doors and windows;
[0089] An analysis module, configured to determine direction data of door and window orientations based on the at least two light intensity data and the spatiotemporal information;
[0090] An adjustment module is used to adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatiotemporal information.
[0091] The steps of any of the above-mentioned electric door and window anti-pinch control methods can be implemented using an electric door and window anti-pinch control device.
[0092] In addition, an embodiment of the present invention also proposes 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 on the memory and runnable on the processor, and 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 items.
[0093] In addition, an embodiment of the present invention further proposes a storage medium on which an electric door and window anti-pinch control program is stored. When the electric door and window anti-pinch control program is executed by a processor, the steps of any of the above-mentioned electric door and window anti-pinch control methods are implemented.
[0094] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0095] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0096] 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 the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this 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 enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0097] 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 description 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 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 includes the following steps: Obtaining light intensity data of the at least two laser anti-pinch modules and obtaining spatiotemporal information of the electric doors and windows; Determine direction data of doors and windows 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. 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; when the shielding value of the laser anti-pinch module is 0, it indicates unshielded.
2. The anti-pinch control method for electric doors and windows according to claim 1, characterized in that: The step of determining the direction data of the door and window orientations according to the at least two light intensity data and the spatiotemporal information comprises: determining ambient light data based on the at least two light intensity data; Determine solar position data based on the spatiotemporal information, where the solar position data is the position information of the sun at each moment; Direction data of doors and windows is determined according to the ambient light data and the sun position data.
3. The anti-pinch control method for electric doors and windows 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; Determining 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 anti-pinch control method for electric doors and windows 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 doors and windows according to the ambient light data and the sun position data includes: Constructing a virtual coordinate space based on the solar position data, and determining the virtual solar position corresponding to the solar position at each moment; Direction data of doors and windows is determined according to the virtual light source position information and the virtual sun position.
5. The anti-pinch control method for electric doors and windows 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 includes: Calculating 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; determining a first door and window position according to a plurality of virtual door and window positions; Determine direction data of the door and window orientations according to the first door and window positions.
6. The anti-pinch control method for electric doors and windows according to any one of claims 1 to 5, characterized in that: A positioning terminal is provided, and the step of obtaining the spatiotemporal information of the electric doors and windows includes: The positioning terminal is controlled to receive position information and time information, and the position information and time information are used as spatiotemporal information. 7.An anti-pinch control device for electric doors and windows, characterized in that: The electric door and window anti-pinch control device includes: An acquisition module is used to acquire light intensity data of at least two laser anti-pinch modules and obtain spatiotemporal information of electric doors and windows; An analysis module, configured to determine direction data of door and window orientations based on the at least two light intensity data and the spatiotemporal information; An adjustment module is used to adjust the operating parameters of the laser anti-pinch module according to the direction data and the spatiotemporal information.
8. 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 runnable 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 according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores an electric door and window anti-pinch control program, which, when executed by the processor, implements the steps of the electric door and window anti-pinch control method according to any one of claims 1 to 6.
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