Vehicle window control method and apparatus, vehicle
By acquiring heat source characteristics and target object information along the window's upward path and combining this with a pre-set model analysis, the system accurately distinguishes between living and non-living objects, triggering protective actions in advance. This solves the problem of existing window anti-pinch technologies being unable to predict obstacles, achieving non-contact obstacle perception and a highly accurate improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2026-01-30
- Publication Date
- 2026-06-12
Smart Images

Figure CN122190585A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a window control method, a vehicle, and a window control device. Background Technology
[0002] With the increasing trend of intelligent development in modern automobiles, the safety requirements for power windows, as a basic comfort feature, are becoming increasingly stringent. According to relevant regulations, power windows must have anti-pinch functionality, and the anti-pinch area is clearly defined as the region where a person's body might be pinched during the window's closing process (typically the area from 50mm from the bottom edge of the window frame to the top of the window). Currently, automakers generally use a "lock detection + motor current / Hall signal ripple analysis" mechanism for anti-pinch triggering. That is, when the window encounters resistance during closing, causing a sudden increase in motor load, a rise in current, or abnormal ripple in the Hall signal, the controller determines that an obstacle exists and immediately reverses the window.
[0003] However, this technology has a fundamental flaw: the anti-pinch action only activates "after it's clamped," meaning it only triggers the reversal after the obstacle has been subjected to a clamping force of at least 50N. This poses a significant risk of bruising, fractures, or even suffocation to soft tissues such as children's fingers and pets' heads. Furthermore, the technology only works within the legally defined "anti-pinch zone" and cannot distinguish between real obstacles and non-dangerous interferences such as wind pressure or foreign objects getting stuck, resulting in a high false trigger rate and negatively impacting the user experience. Summary of the Invention
[0004] This application aims to at least partially address one of the technical problems in related technologies. To this end, the first objective of this application is to propose a window control method that, when a living being is detected to be less than a preset safety threshold at the upper edge of the window, immediately stops the window from rising and performs a reversal operation, causing the window to quickly descend to a safe position. This transforms the "passive triggering" mode of traditional anti-pinch technology into "active predictive protection." Simultaneously, this method, through the fusion analysis of heat source characteristic information (such as the infrared thermal radiation characteristics of a human or pet) and target object information (such as object contours and movement trajectories), can accurately distinguish between real living beings and non-living interference (such as fallen leaves, plastic bags, etc.), significantly reducing the false trigger rate. This ensures safety while improving the user's experience of window control. It can trigger protective actions before the window fully contacts a living being, effectively preventing clamping forces from causing harm. It achieves non-contact obstacle perception throughout the window's travel, overcoming regulatory area restrictions and improving user experience and recognition accuracy.
[0005] The second objective of this application is to propose a vehicle.
[0006] The third objective of this application is to provide a vehicle window control device.
[0007] To achieve the above objectives, a first aspect of this application proposes a vehicle window control method, the method comprising: acquiring heat source characteristic information and target object information along the upward path of the vehicle window during the upward movement of the vehicle window at a preset rate; acquiring the distance between the life form and the upper edge of the vehicle window if it is determined based on the heat source characteristic information and the target object information; and controlling the vehicle window based on the distance.
[0008] According to the window control method of this application embodiment, during the process of the window rising at a preset rate, heat source feature information and target object information on the window's rising path are acquired. If it is determined that a living being exists on the rising path based on the heat source feature information and target object information, the distance between the living being and the upper edge of the window is acquired, and the window is controlled based on this distance. Therefore, this method can trigger protective actions before the window fully contacts the living being, effectively avoiding injury to the living being caused by clamping force, achieving non-contact obstacle perception throughout the window's entire travel range, overcoming regulatory area restrictions, and improving user experience and recognition accuracy.
[0009] In addition, the window control method according to the above embodiments of this application may also have the following additional technical features: According to one embodiment of this application, the heat source feature information includes heat source distribution data, and the target object information includes movement speed, acceleration, and contour shape. Determining the presence of a living organism on the ascending path based on the heat source feature information and the target object information includes: using the heat source distribution data, movement speed, acceleration, and contour shape as input to a preset model to obtain a probability of a living organism, wherein the preset model is trained and generated based on sample data of heat source distribution data, target object movement parameters, and contour shapes under different environments; and determining the presence of a living organism on the ascending path when the probability of a living organism is greater than or equal to a preset probability threshold.
[0010] According to one embodiment of this application, controlling the vehicle window based on the distance includes: controlling the vehicle window to descend or stop when the distance is within a first preset distance range; and controlling the vehicle window to rise at a target rate when the distance is within a second preset distance range, wherein the target rate is less than the preset rate, and the upper limit of the first preset distance range is less than or equal to the lower limit of the second preset distance range.
[0011] According to one embodiment of this application, the method further includes: issuing a warning when the distance is within a third preset distance range, wherein the lower limit of the third preset distance range is greater than or equal to the upper limit of the second preset distance range.
[0012] According to one embodiment of this application, the method further includes: when the probability of a living organism is less than a preset probability threshold, acquiring environmental information, wherein the environmental information includes wind speed and / or rainfall; and when the wind speed is greater than a preset wind speed threshold and / or the rainfall is greater than a preset rainfall threshold, determining that there is no living organism on the ascent path.
[0013] According to one embodiment of this application, the method further includes: obtaining the location of the heat source corresponding to the heat source point with the highest temperature in the heat source distribution data, and obtaining the pressure location when the upper edge of the car window contacts the target object; if the position difference between the pressure location and the heat source location is greater than a preset difference threshold, determining that the target object is a non-living object.
[0014] According to one embodiment of this application, the method further includes: determining the aspect ratio and size of the target object based on the outline shape; and controlling the window to descend when the aspect ratio is less than a preset ratio threshold, the size is less than a preset size threshold, the moving speed is greater than a preset moving speed threshold, and the acceleration is greater than a preset acceleration threshold.
[0015] According to one embodiment of this application, the method further includes: obtaining the contact pressure and contact duration when the upper edge of the window contacts the living body; and controlling the window to descend or stop when the contact pressure is greater than a preset pressure threshold and the contact duration is greater than a preset contact duration threshold.
[0016] To achieve the above objectives, a vehicle is provided in the second aspect of this application, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the above-described window control method.
[0017] According to the vehicle embodiment of this application, by executing the above-described window control method, a protective action can be triggered in advance before the window fully contacts a living person, effectively avoiding the clamping force from causing harm to the living person, realizing non-contact obstacle perception throughout the window's travel range, breaking through regulatory area restrictions, and improving user experience and recognition accuracy.
[0018] To achieve the above objectives, a third aspect of this application provides a vehicle window control device, comprising: a first acquisition module, configured to acquire heat source characteristic information and target object information along the upward path of the vehicle window during the upward movement of the window at a preset rate; a second acquisition module, configured to acquire the relative position of the living being and the upper edge of the window if it is determined based on the heat source characteristic information and the target object information that a living being exists along the upward path; and a control module, configured to control the vehicle window based on the relative position.
[0019] According to the vehicle window control device of this application embodiment, a first acquisition module is used to acquire heat source feature information and target object information on the upward path of the vehicle window during the upward movement of the window at a preset rate. A second acquisition module is used to acquire the relative position of the living body and the upper edge of the window when it is determined that a living body exists on the upward path based on the heat source feature information and target object information. A control module is used to control the window based on the relative position. Therefore, this device can trigger a protective action before the window fully contacts the living body, effectively avoiding injury to the living body caused by clamping force, achieving non-contact obstacle perception throughout the entire window's travel, breaking through regulatory area restrictions, and improving user experience and recognition accuracy.
[0020] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0021] Figure 1 This is a flowchart of a window control method according to an embodiment of this application.
[0022] Figure 2 This is a flowchart illustrating a specific example of a window control method according to this application.
[0023] Figure 3 This is a block diagram of a vehicle according to an embodiment of this application.
[0024] Figure 4 This is a block diagram of a window control device according to an embodiment of this application. Detailed Implementation
[0025] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0026] The following description, with reference to the accompanying drawings, describes the window control method, vehicle, and window control device proposed in the embodiments of this application.
[0027] Figure 1 This is a flowchart of a window control method according to an embodiment of this application.
[0028] like Figure 1 As shown, the window control method of this application embodiment may include the following steps: S1: As the window rises at a preset rate, acquire heat source characteristic information and target object information along the window's rising path. The preset rate can be determined according to the actual situation.
[0029] S2, if it is determined that there is a living being on the upward path based on the heat source feature information and the target object information, obtain the distance between the living being and the upper edge of the car window.
[0030] S3 controls the windows based on distance.
[0031] Specifically, during the process of the car window rising at a preset rate, heat source characteristic information and target object information along the window's rising path are acquired. The preset rate refers to the initial speed set for the window during automatic rising; for example, the window motor control unit drives the window to rise at a fixed rate according to preset parameters, such as 1 cm / s.
[0032] Heat source characteristic information refers to the temperature distribution and gradient changes along the rising path of the car window, detected by a thermal imaging sensor. Specifically, heat source characteristic information can include the temperature value of the heat source, the temperature change trend, and the position coordinates of the heat source within the rising path of the window, such as by real-time acquisition through an infrared temperature sensor installed inside the window frame. Furthermore, the infrared temperature sensor can cover the entire travel area of the window, with a resolution ≥0.5℃, and can detect the surface temperature of objects around the window. For example, when the window rises, the thermal imaging sensor detects an area with a temperature of 37℃, and the temperature in this area gradually decreases outwards, forming a temperature gradient.
[0033] Target object information refers to features such as the outline, size, and speed of objects along the window's rising path, detected by millimeter-wave radar, ultrasonic sensors, cameras, etc. For example, millimeter-wave radar generates point cloud data of the object's outline by transmitting and receiving millimeter-wave signals, detecting the object's shape, size, and speed. Alternatively, ultrasonic sensors calculate the distance between the object and the window by emitting high-frequency sound waves and receiving the echoes. High-definition cameras located in the rearview mirrors and at the top of the window, combined with image recognition algorithms, can also be used to accurately determine the presence of objects such as human limbs or pets that might obstruct the window's rising.
[0034] After acquiring heat source characteristic information and target object information, the presence of a living being along the upward path can be determined based on these information. For example, analyzing heat source characteristic information can help determine the presence of a living being. This involves checking for a temperature range of 36-38°C in the thermal imaging image, or analyzing the temperature gradient distribution to confirm the typical characteristics of a living being. For instance, if a thermal imaging sensor detects a region with a temperature of 37°C that gradually decreases outwards, it can be preliminarily identified as a living being. Further analysis of the target object information can then confirm the presence of a living being. For example, using millimeter-wave radar point cloud data, the aspect ratio and edge continuity of the object can be extracted, and the object's speed and acceleration can be detected to determine if they match the motion characteristics of a living being. For instance, if millimeter-wave radar detects an object with an aspect ratio of 5:1, a speed of 0.3 m / s, and an acceleration of 1 m / s², it can be further confirmed as a living being. Therefore, by combining heat source characteristic information and target object information, a comprehensive judgment can be made regarding the presence of a living being. If both heat source characteristic information and target object information match information related to a living being, it can be determined that a living being exists during the window's upward movement.
[0035] Once the presence of a living being is confirmed, the distance between the living being and the top edge of the window can be obtained. For example, an ultrasonic sensor can be used to measure the distance, or point cloud data from millimeter-wave radar can be used to calculate the distance. For instance, the ultrasonic sensor detects a distance of 12cm between the living being and the top edge of the window. After determining the distance, the window can be controlled based on that distance. Different distances result in different window control methods. For example, when the distance between the living being and the top edge of the window is greater than a preset safe distance threshold (e.g., 10cm), such as when the current distance is 12cm, the window can continue to close normally according to the original upward command until it is completely closed. However, when the detected distance is less than or equal to this safe distance threshold, such as when the current distance is 5cm, the window control module will immediately trigger a stop-rising action. Furthermore, if the current distance is further shortened, such as when the current distance is 1cm, the window can be controlled to descend a certain distance to avoid crushing injury to the living being.
[0036] Therefore, through the aforementioned distance-based window control logic, real-time and precise protection can be provided for any living beings that may be present during the window's upward movement. This control method not only considers the safety risk levels at different distances and achieves graded responses by setting safety distance thresholds, but also ensures the convenience of normal window use while quickly taking measures to stop or lower the window when approaching a dangerous distance. Furthermore, it achieves anti-pinch control without any contact throughout the process, effectively preventing crush injuries caused by accidental window operation or the unexpected approach of living beings, significantly improving the safety and intelligence level of vehicle use.
[0037] According to one embodiment of this application, the heat source feature information includes heat source distribution data, and the target object information includes movement speed, acceleration, and contour shape. Determining the presence of a living being on the ascent path based on the heat source feature information and the target object information includes: using the heat source distribution data, movement speed, acceleration, and contour shape as input to a preset model to obtain the probability of a living being; wherein the preset model is trained and generated based on sample data of heat source distribution data, target object movement parameters, and contour shape under different environments; and determining the presence of a living being on the ascent path if the probability of a living being is greater than or equal to a preset probability threshold. The preset probability threshold can be determined according to the actual situation.
[0038] Specifically, heat source characteristic information can include heat source distribution data, and target object information includes movement speed, acceleration, and outline shape. In other words, in practical applications, heat source distribution data reflects the heat dissipation of the target object, which is crucial for distinguishing between living and non-living entities. For example, living entities such as the human body typically exhibit a relatively stable and specific pattern of heat source distribution. Movement speed and acceleration help determine the target object's motion state—whether it is stationary, moving at a constant speed, or accelerating—different motion states often correspond to different potential risk levels. Outline shape information further assists in identifying the type of target object. For instance, the outline of a human body differs significantly from the outlines of other non-living objects; by analyzing the outline shape, it is possible to more accurately determine whether it is a potentially trapped living entity.
[0039] By using this multi-dimensional information—heat source distribution data, movement speed, acceleration, and contour shape—as input to a pre-defined model, the model can comprehensively consider the target object from multiple perspectives, thereby more accurately calculating the probability that the target object is a living organism. This pre-defined model is trained on a large amount of sample data from different environments. This sample data covers various possible heat source distributions, target object movement parameters, and different contour shapes, enabling the model to maintain high recognition accuracy even in complex and ever-changing real-world scenarios. When the calculated probability of a living organism is greater than or equal to a pre-defined probability threshold, it is determined that a living organism exists on the ascent path, and corresponding anti-pinch control measures are triggered in a timely manner to ensure personnel safety.
[0040] The heat source distribution data, movement speed, acceleration, and contour shape are used as input features and fed into a pre-defined model. Input features include core temperature, temperature gradient, aspect ratio, edge continuity, movement speed, and acceleration. For example, input features might include: core temperature 37℃, temperature gradient decay pattern, aspect ratio 5:1, movement speed 0.3 m / s, and acceleration 1 m / s². The pre-defined model can be trained using deep learning algorithms (such as lightweight 3D-CNN (3D-Convolutional Neural Network)). The model learns the characteristics of living and non-living objects through a large amount of sample data, including heat source distribution data under different environments, target object movement parameters, and contour shape. For example, the pre-defined model calculates the probability of identifying a living object as 0.85.
[0041] After obtaining the probability of a living being, the relationship between this probability and a preset probability threshold is compared. For example, a threshold of 0.9 or higher is typically set to indicate a high confidence level in the model regarding the presence of a living being. If the probability of a living being is greater than or equal to the preset probability threshold, then the presence of a living being on the upward path is confirmed. For instance, if the probability of a living being is ≥0.9, it can be confirmed that a living being exists on the path where the car window rises.
[0042] Furthermore, multi-sensor data streams can be synchronized via timestamps to ensure spatiotemporal consistency. This means that data from thermal imaging sensors and millimeter-wave radar need to be tagged with a unified timestamp to maintain synchronization across time. For example, when a thermal imaging sensor acquires heat source distribution data, it records a timestamp T1. Simultaneously, the millimeter-wave radar acquires motion parameters such as the distance and velocity of the target object and records the same timestamp T1, ensuring accurate matching of multi-source data at the same moment. Through spatiotemporal consistency processing, the thermal characteristic information of living beings provided by the thermal imaging sensor and the precise motion trajectory information provided by the millimeter-wave radar can be deeply integrated, further improving the accuracy and reliability of determining the presence of living beings in the rising path of the vehicle window, effectively avoiding misjudgments caused by errors in single sensor data or environmental interference.
[0043] Therefore, by accurately determining whether a living being is present in the path of the rising window, the window control system will immediately trigger a protective mechanism when a living being is detected. This mechanism may interrupt the window's rising action and control it to descend to a safe position, effectively preventing injuries such as pinching. Conversely, if no living being is detected, the window can rise normally, ensuring vehicle safety without affecting the window's normal function. This window control logic based on living being detection significantly improves the safety performance of the window system, providing reliable safety for occupants, especially vulnerable groups such as children. It can accurately determine the presence of a living being in various complex environments, achieving seamless anti-pinch protection and improving the safety and reliability of electric windows.
[0044] In addition, in one embodiment of this application, the preset model can also be updated. For example, when three consecutive false triggers are detected (e.g., failure to accurately identify the action of pinching an umbrella), an online retraining process will be automatically triggered to dynamically increase the weight of the scene sample to improve the recognition accuracy. At the same time, an offline model distillation operation is performed every morning to effectively integrate the new feature data collected that day into the global knowledge base to continuously optimize model performance and generalization ability.
[0045] Through a dynamic update mechanism of the preset model, the window control system possesses adaptive learning capabilities, continuously evolving as real-world usage scenarios become more diverse. When the vehicle encounters new and complex situations during daily use, such as interference from obstacles of different materials and shapes, the system can adjust model parameters and feature weights in a targeted manner through accidental trigger feedback and data accumulation, avoiding recognition blind spots caused by fixed model parameters. Daily offline model distillation ensures that newly collected effective data can be efficiently integrated, preserving effective experience from historical training while quickly absorbing feature patterns from new scenarios. This allows the preset model to maintain high recognition accuracy and environmental adaptability, further enhancing the reliability and intelligence of the window control method in complex and ever-changing real-world application scenarios.
[0046] The detection sensitivity for non-living interference can be dynamically adjusted based on wind speed and rainfall (e.g., α = 1 - 0.2 × (wind speed / 10)). This detection sensitivity is primarily used in the window control system for identifying and filtering non-living interference. In the obstacle detection logic of the window anti-pinch function, obstacle feature data within the window's operating area can be collected in real time and combined with a preset sensitivity parameter α for comprehensive judgment. When a suspected obstacle is detected, the system first distinguishes between living and non-living features through feature extraction. For interference targets determined to be non-living (such as plastic bags, fallen leaves, etc.), the dynamically adjusted sensitivity parameter α is introduced into the decision threshold calculation. For example, when the vehicle is in a high-wind environment (such as a wind speed of 10 m / s), α = 0.8 can be calculated using the formula α = 1 - 0.2 × (wind speed / 10). In this case, the system will reduce its sensitivity to detecting non-living objects, that is, increase the trigger threshold for such targets, and avoid the window from stopping erroneously due to light objects being briefly blocked by strong winds. In low-wind or windless environments (such as a wind speed of 1 m / s), the α value is close to 0.98, and the system is more sensitive to detecting non-living objects. It can more accurately identify and avoid static obstacles that may affect the normal operation of the window, thereby ensuring safety while minimizing unnecessary anti-pinch triggers and improving the smoothness of window control and user experience.
[0047] By appropriately adjusting the sensitivity, the system can maintain stable and reliable operation even under complex weather conditions. This method of dynamically optimizing the detection strategy based on environmental parameters further improves the accuracy of living being detection and the robustness of the system, enabling the anti-pinch window system to better adapt to different usage scenarios.
[0048] According to one embodiment of this application, controlling a vehicle window based on distance includes: controlling the window to descend or stop when the distance is within a first preset distance range; and controlling the window to rise at a target rate when the distance is within a second preset distance range, wherein the target rate is less than a preset rate, and the upper limit of the first preset distance range is less than or equal to the lower limit of the second preset distance range. The first preset distance range, the second preset distance range, and the target rate can be determined according to actual conditions.
[0049] Specifically, when controlling the car window based on distance, the current distance range is determined. In one embodiment of this application, two preset distance ranges can be defined according to the actual situation for graded intervention of the car window's movement. When the distance is within the first preset distance range, the car window can be controlled to descend or stop. The first preset distance range is a forced reversal zone; that is, when the distance between a living person and the upper edge of the car window is within this range, the car window is immediately controlled to descend in the reverse direction to ensure safety, or the car window can be controlled to stop to ensure that the living person is not further trapped. For example, the first preset distance range can be set to 0 to 8 mm.
[0050] When the distance is within a second preset distance range, the window can be controlled to rise at a target rate, which is lower than the preset rate. That is, the second preset distance range is when the distance between a living person and the top edge of the window is within this range, allowing the window to continue rising at a lower target rate. The target rate is lower than the preset rate to minimize the impact on the normal window operation while ensuring the safety of the living person. For example, if the preset rate is the maximum normal rising rate of the window (2 cm / s), the target rate can be set to 0.5 cm / s. This significantly reduces the clamping force and potential injury risk even if the window comes into contact with a living person during its continued rise. Simultaneously, while the window rises at the target rate, the distance between the living person and the top edge of the window is continuously monitored. If the distance further decreases and enters the first preset distance range, the window's reverse descent or stop mechanism is immediately triggered. This tiered control strategy, by taking differentiated intervention measures for different distance ranges, provides mandatory protection when danger is imminent while maintaining some window functionality within a relatively safe distance, thus improving the safety and practicality of window control. The upper limit of the first preset distance range is less than or equal to the lower limit of the second preset distance range, and the second preset distance range can be set to 8mm to 15mm.
[0051] In addition, in one embodiment of this application, the preset distance range can be dynamically adjusted according to actual conditions (such as vehicle model, user habits, environmental conditions, etc.). For example, the user can adjust the preset distance range through the vehicle system, or the preset distance range can be automatically adjusted according to environmental conditions (such as wind speed, rainfall).
[0052] For example, current sensors detect the real-time distance between a living being and the top edge of a car window. For instance, an ultrasonic sensor is installed at the edge of the window, with a sampling frequency ≥1kHz and a resolution ≤0.5mm. For example, if the detected distance between the living being and the top edge of the window is 12mm, within a second preset distance range, the window can be controlled to rise at a low rate, such as 0.5cm / s. This allows the window to continue rising while ensuring safety, avoiding unnecessary stopping or lowering. When the distance is less than or equal to 8mm, the window can be immediately controlled to descend in the opposite direction or stop. This ensures that emergency measures can be taken immediately when a living being is very close to the window, preventing injury.
[0053] Therefore, this distance-range-based hierarchical control strategy allows for a more refined balance between the safety and ease of use of window operation. When a living person is within the second preset distance range (e.g., 8mm to 15mm), the window continues to rise at a low speed. This avoids frequent interruptions due to slight obstruction or misjudgment, ensuring smooth normal window operation, and significantly reduces potential collision impact due to the reduced speed. Conversely, once a living person enters the first preset distance range (e.g., 0 to 8mm), a high-risk area, the window immediately stops or reverses its direction, terminating the dangerous action in the shortest possible time and minimizing the risk of crushing. This hierarchical dynamic response mechanism ensures that window control is neither overly sensitive, affecting user experience, nor slow, compromising safety, achieving a harmonious balance between safety and efficiency. Meanwhile, by combining high-frequency sampling (e.g., ≥1kHz) and high-precision resolution (e.g., ≤0.5mm) of the sensors, the entire control process can achieve millisecond-level response, ensuring that when a living being accidentally approaches, the window system has sufficient time to complete the entire process from detection and judgment to execution of protective actions, further improving the reliability and timeliness of anti-pinch protection and enhancing the safety and reliability of automotive power windows.
[0054] According to one embodiment of this application, the window control method further includes: issuing a warning when the distance is within a third preset distance range, wherein the lower limit of the third preset distance range is greater than or equal to the upper limit of a second preset distance range. The third preset distance range can be determined according to actual circumstances.
[0055] Specifically, the system assesses the current distance and issues a warning if the distance falls within a third preset range. For example, this third preset range could be set to 15mm to 20mm. For instance, if the ultrasonic sensor detects a distance of 20mm, a warning can be issued. The window control unit might send a control signal to the vehicle's audible and visual alarm module, displaying a prominent yellow warning icon on the dashboard accompanied by a short beep, to alert the driver or passengers to a potentially approaching object near the window. This warning doesn't directly trigger the window's braking or reversing action; instead, it provides an advance warning from a safe distance, giving the user an opportunity to adjust their actions or pay attention to their surroundings, thus reducing the risk of injury from the outset.
[0056] Therefore, by setting multiple preset distance ranges and corresponding control strategies, this window control method can achieve refined and intelligent management of the window's movement process. From warning prompts at the third preset distance range, to deceleration and buffering at the second preset distance range, and then to emergency stop or reversal at the first preset distance range, a complete progressive safety protection mechanism is formed. This mechanism not only fully considers the risk level of object approach at different distances, but also provides users with reaction time through early warnings, and takes proactive intervention measures when necessary, effectively balancing the convenience and safety of window operation, significantly reducing the probability of window pinching accidents, and improving the overall safety performance of vehicle use.
[0057] According to one embodiment of this application, the window control method further includes: acquiring environmental information, including wind speed and / or rainfall, when the probability of a living being is less than a preset probability threshold; and determining that no living being exists on the ascending path when the wind speed is greater than a preset wind speed threshold and / or the rainfall is greater than a preset rainfall threshold. The preset wind speed threshold and the preset rainfall threshold can be determined according to actual conditions.
[0058] Specifically, after calculating the probability of a living being using a preset model, if the probability is less than a preset probability threshold, it indicates a low likelihood of a living being present on the current window's upward path. However, to further eliminate false alarms, current environmental information can be actively acquired. This information primarily includes real-time wind speed data and / or rainfall data, or both. This is because under extreme weather conditions, such as strong winds, rapidly flowing air may interfere with the window sensors, causing them to falsely detect signals resembling living activity. Similarly, heavy rainfall can affect sensor judgment due to the dense impact of raindrops or the flow of water. When the corresponding sensors detect wind speeds exceeding a preset wind speed threshold, or rainfall exceeding a preset rainfall threshold, or both simultaneously, it can be reasonably inferred that the previously detected low-probability living being signal was likely due to interference from adverse environmental factors, rather than the actual presence of a living being. Therefore, in this case, it will be ultimately determined that no living being exists on the window's upward path, allowing the window to continue its upward operation. This avoids abnormal window closures caused by environmental interference, ensuring the window operation proceeds normally while prioritizing safety.
[0059] For example, an anemometer, mounted externally to the vehicle, measures the current ambient wind speed with an accuracy of ±2 km / h, providing real-time wind speed readings. For instance, the anemometer might detect a current wind speed of 20 km / h. A rain sensor, also externally mounted to the vehicle, measures the current ambient rainfall with a resolution of 0.01 mm / min, providing real-time rainfall readings. For example, the rain sensor might detect a current rainfall of 3 mm / min. Preset wind speed thresholds are used to determine if there is interference from wind speed; for example, a preset wind speed threshold of 15 km / h. Preset rainfall thresholds are used to determine if there is interference from rainfall; for example, a preset rainfall threshold of 2 mm / min.
[0060] If the anemometer detects a current wind speed of 20 km / h, which is greater than the preset wind speed threshold of 15 km / h, it can be determined as wind speed interference. Alternatively, if the rain sensor detects a current rainfall of 3 mm / min, which is greater than the preset rainfall threshold of 2 mm / min, it can be determined as rainfall interference. Or, combining wind speed and rainfall information, if the anemometer detects a wind speed of 20 km / h and the rain sensor detects rainfall of 3 mm / min, it can be determined that there are no living organisms on the ascent path.
[0061] This ensures that the car window can accurately determine the presence of living beings in complex environments, thereby improving the safety and reliability of electric car windows.
[0062] According to one embodiment of this application, the window control method further includes: acquiring the location of the heat source corresponding to the highest temperature heat source point in the heat source distribution data, and acquiring the pressure location when the upper edge of the window contacts the target object; if the position difference between the pressure location and the heat source location is greater than a preset difference threshold, determining that the target object is a non-living object. The preset difference threshold can be determined according to the actual situation.
[0063] Specifically, the temperature distribution along the upward path of the car window is detected using a thermal imaging sensor. For example, the thermal imaging sensor detects an area with a temperature of 37°C, and the temperature gradually decreases outward from this area. First, the location of the heat source corresponding to the highest temperature point in the heat source distribution data is obtained. For example, the point with the highest temperature in the thermal image is detected, and the two-dimensional or three-dimensional position coordinates of this core temperature point are extracted using image processing algorithms. For example, if the thermal imaging sensor detects a heat source point with a core temperature of 37°C, its position coordinates are (x1, y1). Next, the pressure position when the upper edge of the car window contacts the target object is obtained. For example, if the pressure sensor detects a pressure value of 3N when the upper edge of the car window contacts the target object, its position coordinates are (x2, y2).
[0064] After obtaining the heat source and pressure locations, the positional difference between the pressure and heat source locations can be calculated. If the positional difference is greater than a preset threshold, the target object can be determined to be non-living. The two-dimensional or three-dimensional distance between the heat source location (x1, y1) and the pressure location (x2, y2) can be calculated. For example, if the heat source location (x1, y1) = (10, 20) and the pressure location (x2, y2) = (25, 20), the positional difference can be calculated as D = 15cm. The preset threshold can be set to 10cm; if the current positional difference is greater than the preset threshold, the target object can be determined to be non-living. For example, if the pressure location detected at the top edge of the car window is located in the left side of the window, while the heat source location corresponding to the highest temperature point in the heat source distribution data is located in the right side of the window, and the horizontal distance between the two is 15cm, exceeding the preset threshold (e.g., 10cm), then the target object can be determined to be non-living. This is because the heat source center of a living organism and the location where pressure is applied usually have a high degree of consistency. When the two positions deviate significantly, it is more likely that non-living objects such as umbrella handles and hands separate, or plastic bags, branches, etc., come into contact with the upper edge of the car window and block the heat source detection area due to external factors (such as wind).
[0065] Therefore, by introducing a mechanism to determine the difference between the pressure location and the heat source location, it is possible to further eliminate interference from non-living entities in window control, improve the accuracy of living entity detection, and thus provide more comprehensive protection for the safety of people inside the vehicle, especially children, while ensuring the normal function of the windows.
[0066] According to one embodiment of this application, the window control method further includes: determining the aspect ratio and size of the target object based on its contour shape; and controlling the window to descend when the aspect ratio is less than a preset ratio threshold, the size is less than a preset size threshold, and the moving speed is greater than a preset moving speed threshold and the acceleration is greater than a preset acceleration threshold. The preset ratio threshold, preset size threshold, preset moving speed threshold, and preset acceleration threshold can be determined according to actual conditions.
[0067] Specifically, after acquiring the outline shape of a target object along the rising path of the vehicle window using millimeter-wave radar, the aspect ratio and size of the target object can be determined based on the outline shape. For example, the aspect ratio and size of the target object are first extracted from the outline point cloud data to determine the length and width of the target object, and the ratio of the length to the width of the target object is calculated. For example, if the millimeter-wave radar detects that the length of the target object is 3cm and the width is 1cm, then the aspect ratio is 3:1. The moving speed and acceleration of the target object are then detected using millimeter-wave radar. For example, if the current millimeter-wave radar detects that the moving speed of the target object is 0.6m / s and the current millimeter-wave radar detects that the acceleration of the target object is 1.2m / s².
[0068] The preset ratio threshold is used to determine whether the aspect ratio of the target object's shape meets a specific standard. For example, the preset ratio threshold is 5:1. The preset size threshold is used to determine whether the size of the target object meets a specific standard. For example, the preset size threshold is 3cm. The preset movement speed threshold is used to determine whether the movement speed of the target object meets a specific standard. For example, the preset movement speed threshold is 0.5m / s. The preset acceleration threshold is used to determine whether the acceleration of the target object meets a specific standard. For example, the preset acceleration threshold is 1m / s².
[0069] If the aspect ratio of the current target object is 3:1, which is less than the preset ratio of 5:1, the size is 1cm, which is less than the preset size threshold of 3cm, the moving speed is 0.6m / s, which is greater than the preset moving speed threshold of 0.5m / s, and the acceleration of the target object is 1.2m / s², which is greater than the preset acceleration threshold of 1m / s², it indicates that the current object is a small-sized outline with high-frequency movement. This object is consistent with the characteristics of a child or a pet. At this time, the car window can be lowered a certain distance to avoid the risk of being pinched, and at the same time, the buzzer in the car will be triggered to emit a warning sound to remind the driver or passengers to pay attention to the activities of children or pets near the car window.
[0070] Therefore, it is possible to accurately determine the nature of target objects in complex environments and take corresponding control measures, thereby improving the safety and reliability of electric car windows.
[0071] According to one embodiment of this application, the vehicle window control method further includes: acquiring the contact pressure and contact duration when the upper edge of the vehicle window contacts a living person; and controlling the vehicle window to descend or stop when the contact pressure is greater than a preset pressure threshold and the contact duration is greater than a preset contact duration threshold. The preset pressure threshold and preset contact duration threshold can be determined according to actual conditions.
[0072] Specifically, if the aforementioned window control method fails to accurately identify a living being during the window's upward movement, a second safety mechanism can be implemented by installing a pressure sensor and a contact duration timer along the upper edge of the window. The sensor can acquire the contact pressure and duration when the upper edge of the window contacts a living being. For example, the pressure sensor detects a pressure of 10N, and the timer records a contact duration of 700ms. After acquiring the contact pressure and duration, the sensor can determine the relationship between the contact pressure and a preset pressure threshold, and the contact duration can determine the relationship between the contact duration and a preset contact duration threshold. If the contact pressure exceeds the preset pressure threshold and the contact duration exceeds the preset contact duration threshold, the window can be controlled to descend or stop. The preset pressure threshold, which determines whether the contact pressure is too high, can be set to 3N. The preset contact duration threshold, which determines whether the contact duration is too long, can be set to 500ms.
[0073] In other words, when the upper edge of the window comes into contact with a living person, the pressure sensor collects contact pressure data in real time, while the contact duration timer records the duration of contact simultaneously. If the contact pressure value detected by the pressure sensor exceeds a preset pressure threshold (e.g., 3N, which can be adjusted according to vehicle design standards and safety requirements), and the contact duration time recorded by the contact duration timer is greater than the preset contact duration threshold (e.g., 0.5 seconds), the control unit will immediately determine that the window is in a risky state of pinching a person and quickly issue a control command to drive the window motor to reverse and lower the window a certain distance (e.g., 5cm), or directly control the window motor to stop operating, in order to avoid further harm to the living person from continuous pinching.
[0074] This effectively compensates for potential omissions in the preceding identification methods, providing dual protection and further enhancing the safety of the vehicle window operation.
[0075] The following is combined with Figure 2 The method described in this application is used to describe the method.
[0076] As a specific example, the window control method of this application may include the following steps: S101, during the process of the window rising at a preset rate, acquire heat source feature information and target object information along the window's rising path. The heat source feature information includes heat source distribution data, and the target object information includes moving speed, acceleration, and outline shape.
[0077] S102, take heat source distribution data, movement speed, acceleration and contour shape as input to the preset model to obtain the probability of the living organism. The preset model is generated by training based on sample data of heat source distribution data, target object movement parameters and contour shape under different environments.
[0078] S103, determine whether the probability of the life form is greater than or equal to the preset probability threshold. If yes, proceed to step S104; if no, proceed to step S109.
[0079] S104, determine that there is a living being on the upward path, and obtain the distance between the living being and the upper edge of the window.
[0080] S105, Determine if the distance is within the first preset distance range. If yes, proceed to step S106. If no, proceed to step S107.
[0081] S106 controls the window to lower or stop.
[0082] S107, Determine if the distance is within the second preset distance range. If yes, proceed to step S108; otherwise, proceed to step S113.
[0083] S108 controls the window to rise at a target rate, where the target rate is less than a preset rate.
[0084] S109, determine whether the probability of the life form is less than a preset probability threshold. If yes, proceed to step S110; if no, proceed to step S101.
[0085] S110, Obtain environmental information, including wind speed and / or rainfall.
[0086] S111, determine whether the wind speed is greater than a preset wind speed threshold and / or whether the rainfall is greater than a preset rainfall threshold. If yes, proceed to step S112; if no, proceed to step S101.
[0087] S112, after confirming that there are no living beings on the upward path, control the window to rise at a preset rate.
[0088] S113, determine whether the distance is within the third preset distance range. If yes, proceed to step S114; if no, proceed to step S104.
[0089] S114 issues a warning.
[0090] In summary, the window control method according to the embodiments of this application acquires heat source characteristic information and target object information along the window's upward path during the window's ascent at a preset rate. If a living being is determined to exist along the upward path based on the heat source characteristic information and target object information, the distance between the living being and the upper edge of the window is acquired, and the window is controlled based on this distance. Therefore, this method can trigger protective actions before the window fully contacts the living being, effectively preventing clamping forces from causing harm to the living being. It achieves non-contact obstacle perception throughout the window's travel, overcomes regulatory area restrictions, and improves user experience and recognition accuracy.
[0091] Corresponding to the above embodiments, this application also proposes a vehicle.
[0092] like Figure 3 As shown, the vehicle 200 in this embodiment may include: a memory 210, a processor 220, and a program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the program, it implements the above-described window control method.
[0093] According to the vehicle embodiment of this application, by executing the above-described window control method, a protective action can be triggered in advance before the window fully contacts a living person, effectively avoiding the clamping force from causing harm to the living person, realizing non-contact obstacle perception throughout the window's travel range, breaking through regulatory area restrictions, and improving user experience and recognition accuracy.
[0094] Corresponding to the above embodiments, this application also proposes a vehicle window control device.
[0095] like Figure 4 As shown, the window control device 100 of this application embodiment includes: a first acquisition module 110, a second acquisition module 120 and a control module 130.
[0096] The first acquisition module 110 is used to acquire heat source feature information and target object information along the upward path of the window as it rises at a preset rate. The second acquisition module 120 is used to acquire the relative position of the living being and the upper edge of the window if it is determined that a living being exists on the upward path based on the heat source feature information and the target object information. The control module 130 is used to control the window based on the relative position.
[0097] According to one embodiment of this application, the heat source feature information includes heat source distribution data, and the target object information includes movement speed, acceleration, and contour shape. The second acquisition module 120 determines that there is a living organism on the ascending path based on the heat source feature information and the target object information. Specifically, it is used to: use the heat source distribution data, movement speed, acceleration, and contour shape as input to a preset model to obtain the probability of a living organism, wherein the preset model is trained and generated based on sample data of heat source distribution data, target object movement parameters, and contour shape under different environments; and determine that there is a living organism on the ascending path when the probability of a living organism is greater than or equal to a preset probability threshold.
[0098] According to one embodiment of this application, the control module 130 controls the window based on distance, specifically for: controlling the window to descend or stop when the distance is within a first preset distance range; and controlling the window to rise at a target rate when the distance is within a second preset distance range, wherein the target rate is less than the preset rate, and the upper limit of the first preset distance range is less than or equal to the lower limit of the second preset distance range.
[0099] According to one embodiment of this application, the control module 130 is further configured to: issue a warning when the distance is within a third preset distance range, wherein the lower limit of the third preset distance range is greater than or equal to the upper limit of the second preset distance range.
[0100] According to one embodiment of this application, the second acquisition module 120 is further configured to: acquire environmental information when the probability of a living organism is less than a preset probability threshold, wherein the environmental information includes wind speed and / or rainfall; and determine that there is no living organism on the ascending path when the wind speed is greater than a preset wind speed threshold and / or the rainfall is greater than a preset rainfall threshold.
[0101] According to one embodiment of this application, the second acquisition module 120 is further configured to: acquire the location of the heat source corresponding to the heat source point with the highest temperature in the heat source distribution data, and acquire the pressure location when the upper edge of the car window contacts the target object; if the position difference between the pressure location and the heat source location is greater than a preset difference threshold, determine that the target object is a non-living object.
[0102] According to one embodiment of this application, the control module 130 is further configured to: determine the aspect ratio and size of the target object based on its contour shape; and control the window to descend when the aspect ratio is less than a preset ratio threshold, the size is less than a preset size threshold, and the moving speed is greater than a preset moving speed threshold and the acceleration is greater than a preset acceleration threshold.
[0103] According to one embodiment of this application, the control module 130 is further configured to: obtain the contact pressure and contact duration when the upper edge of the window comes into contact with a living person; and control the window to descend or stop when the contact pressure is greater than a preset pressure threshold and the contact duration is greater than a preset contact duration threshold.
[0104] It should be noted that for details not disclosed in the window control device of this application embodiment, please refer to the details disclosed in the window control method of this application embodiment, which will not be repeated here.
[0105] According to the vehicle window control device of this application embodiment, a first acquisition module is used to acquire heat source feature information and target object information on the upward path of the vehicle window during the upward movement of the window at a preset rate. A second acquisition module is used to acquire the relative position of the living body and the upper edge of the window when it is determined that a living body exists on the upward path based on the heat source feature information and target object information. A control module is used to control the window based on the relative position. Therefore, this device can trigger a protective action before the window fully contacts the living body, effectively avoiding injury to the living body caused by clamping force, achieving non-contact obstacle perception throughout the entire window's travel, breaking through regulatory area restrictions, and improving user experience and recognition accuracy.
[0106] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0107] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0108] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0109] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0110] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0111] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for controlling vehicle windows, characterized in that, The method includes: During the process of the window rising at a preset rate, heat source characteristic information and target object information are acquired along the window's rising path; If it is determined that a living being exists on the upward path based on the heat source feature information and the target object information, the distance between the living being and the upper edge of the car window is obtained. The window is controlled based on the distance.
2. The vehicle window control method according to claim 1, characterized in that, The heat source feature information includes heat source distribution data, and the target object information includes movement speed, acceleration, and outline shape. Determining the presence of a living organism on the ascent path based on the heat source feature information and the target object information includes: The heat source distribution data, the moving speed, the acceleration, and the contour shape are used as inputs to a preset model to obtain the probability of a living organism. The preset model is generated by training based on sample data of heat source distribution data, target object movement parameters, and contour shape under different environments. If the probability of a living being is greater than or equal to a preset probability threshold, it is determined that a living being exists on the ascent path.
3. The vehicle window control method according to claim 1, characterized in that, The control of the vehicle window based on the distance includes: When the distance is within a first preset distance range, control the window to lower or stop; When the distance is within a second preset distance range, the window is controlled to rise at a target rate, wherein the target rate is less than the preset rate, and the upper limit of the first preset distance range is less than or equal to the lower limit of the second preset distance range.
4. The window control method according to claim 3, characterized in that, The method further includes: If the distance is within a third preset distance range, a warning will be issued, wherein the lower limit of the third preset distance range is greater than or equal to the upper limit of the second preset distance range.
5. The window control method according to claim 2, characterized in that, The method further includes: When the probability of a living organism is less than the preset probability threshold, environmental information is acquired, wherein the environmental information includes wind speed and / or rainfall. If the wind speed is greater than a preset wind speed threshold and / or the rainfall is greater than a preset rainfall threshold, it is determined that there are no living organisms on the upward path.
6. The vehicle window control method according to claim 2, characterized in that, The method further includes: Obtain the location of the heat source with the highest temperature in the heat source distribution data, and obtain the pressure position when the upper edge of the car window contacts the target object; If the positional difference between the pressure location and the heat source location is greater than a preset difference threshold, the target object is determined to be a non-living object.
7. The vehicle window control method according to claim 2, characterized in that, The method further includes: The aspect ratio and dimensions of the target object are determined based on the outline shape; When the aspect ratio is less than a preset ratio threshold, the size is less than a preset size threshold, the moving speed is greater than a preset moving speed threshold, and the acceleration is greater than a preset acceleration threshold, the window is controlled to descend.
8. The vehicle window control method according to claim 1, characterized in that, The method further includes: The contact pressure and contact duration when the upper edge of the vehicle window comes into contact with the living organism are obtained; If the contact pressure is greater than a preset pressure threshold and the contact duration is greater than a preset contact duration threshold, the window is controlled to descend or stop.
9. A vehicle, characterized in that, include: A memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the window control method according to any one of claims 1-8.
10. A vehicle window control device, characterized in that, The device includes: The first acquisition module is used to acquire heat source feature information and target object information along the upward path of the window during the process of the window rising at a preset rate. The second acquisition module is used to acquire the relative position of the living organism and the upper edge of the car window when it is determined that there is a living organism on the upward path based on the heat source feature information and the target object information. A control module is used to control the window based on the relative position.