Car window anti-pinch control method and system
By acquiring information about the operating status of the vehicle window, identifying the bump level and temperature level, and establishing a clamping weighted mechanism, the problem of false triggering and missed detection in traditional anti-pinch algorithms under complex working conditions is solved, and high-precision anti-pinch detection is achieved.
Patent Information
- Application Number
- CN202511570462.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2025-12-16
AI Technical Summary
Traditional anti-pinch algorithms for car windows are prone to false triggering or missed detection of clamping under complex working conditions, and are difficult to dynamically adapt to changes in the environment.
By acquiring information about the operating status of the vehicle window, identifying the bump level and temperature level, establishing a clamping weighted mechanism, and combining current, position, temperature, and vibration data to determine the clamping risk, the signal filtering parameters of the anti-pinch algorithm are dynamically adjusted to form a closed-loop control.
It improves the accuracy and adaptability of anti-pinch detection, solves the problem of false triggering on bumpy road sections, separates vibration noise from the actual clamping signal, and adapts to different vehicle models and complex environments.
Smart Images

Figure CN121138679A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more specifically, to a method and system for preventing window pinching. Background Technology
[0002] With the development of automotive electronics technology, people's requirements for automotive safety and comfort are increasing, and the anti-pinch function of power windows has become a standard feature of automobiles.
[0003] Traditional anti-pinch algorithms for car windows primarily rely on Hall effect sensors to detect window position changes or sudden changes in motor current to determine pinching events. However, these algorithms suffer from several shortcomings under complex operating conditions. First, when driving on bumpy roads, vehicle vibrations can cause abrupt changes in the window position sensor signal, or fluctuations in motor current due to mechanical shocks, potentially leading to false triggering of the anti-pinch mechanism or missed detection of pinching. Second, in high and low temperature environments, low temperatures increase motor resistance, harden rubber seals, and raise the current baseline; high temperatures reduce motor efficiency and cause mechanical components to expand, both affecting the accuracy of the anti-pinch threshold setting. Furthermore, in traditional embedded architectures, the anti-pinch logic is tightly bound to the hardware, making it difficult to dynamically adapt to environmental changes.
[0004] Therefore, how to provide a method and system for preventing car windows from being pinched has become a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0005] The purpose of this invention is to provide a new technical solution for a method and system for preventing vehicle windows from being pinched.
[0006] According to a first aspect of the present invention, a method for preventing vehicle window pinching is provided, comprising the following steps:
[0007] Step S1: Obtain the operating status information of the vehicle window;
[0008] Step S2: Based on the operating status information of the vehicle window, preprocess the operating status information;
[0009] Step S3: Obtain the vehicle's bump level and temperature level;
[0010] Step S4: Select the corresponding anti-pinch mode based on the vehicle's bump level and temperature level;
[0011] Step S5: Establish a clamping weighted mechanism based on the vehicle's four-dimensional data of current, position, temperature, and vibration;
[0012] Step S6: Based on the clamping weighting mechanism, the selected anti-clamping mode is weighted to determine whether there is a clamping risk. If so, the motor is controlled to reverse for 2 seconds and the execution result is fed back to form a closed loop.
[0013] Optionally, the window operating status information includes motor current information, window position information, vehicle body acceleration information, and ambient temperature information.
[0014] Optionally, step S2 includes the following steps:
[0015] Step S201: Determine the bump level based on the operating status information of the vehicle window;
[0016] Step S202: By filtering and fusing the motor current and Hall signal, vibration noise and actual clamping signal are separated;
[0017] Step S203: Construct a temperature-resistance mapping table based on ambient temperature and motor temperature, and dynamically correct the anti-pinch current threshold.
[0018] Optionally, after step S203, the following steps are also included:
[0019] Step S204: Obtain the window movement speed and temperature change rate;
[0020] Step S205: Based on the window movement speed and temperature change rate, predict the friction coefficient of the sealing strip.
[0021] Optionally, the vehicle's bump level is as follows: when the vehicle body acceleration is in the range of 0.1g to 0.3g, it is judged as slight bump; when the vehicle body acceleration is in the range of 0.3g to 0.6g, it is judged as moderate bump; when the vehicle body acceleration is greater than 0.6g, it is judged as severe bump.
[0022] Optionally, step S4 includes the following steps:
[0023] Step S401: Based on the vehicle's bump level, adopt the corresponding anti-pinch strategy;
[0024] Step S402: Based on the vehicle's temperature rating, determine whether the temperature rating is greater than or below -30℃ or greater than 50℃. If so, adopt the anti-pinch strategy based on current trend prediction.
[0025] Optionally, the weights of current, position, temperature, and vibration are 0-1 respectively. When the weight is greater than or equal to 0.7, it indicates that there is a risk of clamping.
[0026] Optionally, after step S6, the following steps are also included:
[0027] Step S7: Obtain time t;
[0028] Step S8: Determine whether time t is greater than the preset time. If yes, proceed to step S9; otherwise, proceed to step S7.
[0029] Step S9: Obtain the clamping status;
[0030] Step S10: Determine whether the clamping situation has been released. If so, continue normal operation. If the clamping situation has not been released, control the motor to reverse for 2 seconds again until the clamping is released.
[0031] According to a second aspect of the present invention, a vehicle window anti-pinch control system is provided, comprising a vehicle controller, an environmental sensing device, an anti-pinch calculation device, an execution control device, a vibration filtering device, and a temperature compensation device;
[0032] The vehicle controller is electrically connected to the environmental sensing device, the anti-pinch calculation device, the execution control device, the vibration filtering device, and the temperature compensation device, respectively. The environmental sensing device is used to detect window position information, current information, acceleration information, ambient temperature information, and motor temperature information. The vibration filtering device is used to determine the bump level based on the vehicle acceleration information. The temperature compensation device is used to correct the anti-pinch current threshold.
[0033] The anti-pinch calculation device is used to calculate four-dimensional data of current, position, temperature and vibration, and judges the clamping risk through a weighted mechanism. The execution control device controls the motor operation according to the clamping risk.
[0034] Optionally, the temperature compensation device corrects the anti-pinch current threshold by increasing the current threshold by 20% when the ambient temperature is below -20°C and decreasing the current threshold by 15% when the ambient temperature is above 50°C.
[0035] The beneficial effects of this invention are as follows:
[0036] This invention first acquires the operating status information of the vehicle window; based on this information, it preprocesses the data; then, it acquires the vehicle's bump level and temperature level, and selects the corresponding anti-pinch mode accordingly; next, it establishes a clamping weighting mechanism based on the vehicle's four-dimensional data of current, position, temperature, and vibration; and based on this mechanism, it weights the selected anti-pinch mode to determine if there is a clamping risk. If so, it controls the motor to reverse for 2 seconds and feeds back the execution result, forming a closed loop. This invention identifies the bump level by vibration status and dynamically adjusts the signal filtering parameters of the anti-pinch algorithm, effectively solving the problem of false triggering caused by bumpy road sections. It can also separate vibration noise from the actual clamping signal, improving the accuracy of anti-pinch detection and adapting to the needs of different vehicle models and complex environments.
[0037] Other features and advantages of the invention will become clear from the following detailed description of exemplary embodiments of the invention with reference to the accompanying drawings. Attached Figure Description
[0038] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the invention and, together with their description, serve to explain the principles of the invention.
[0039] Figure 1 This is a flowchart of the anti-pinch control method for vehicle windows according to the present invention;
[0040] Figure 2 A flowchart of another embodiment of the anti-pinch control method for vehicle windows of the present invention;
[0041] Figure 3 A flowchart illustrating another embodiment of the anti-pinch control method for vehicle windows of the present invention;
[0042] Figure 4 This is a flowchart of another embodiment of the anti-pinch control method for vehicle windows of the present invention. Detailed Implementation
[0043] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the invention.
[0044] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0045] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0046] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0047] like Figures 1 to 4 As shown, this embodiment of the invention provides a method for controlling the anti-pinch function of a vehicle window, including the following steps:
[0048] Step S1: Obtain the operating status information of the vehicle window;
[0049] Step S2: Based on the operating status information of the vehicle window, preprocess the operating status information;
[0050] Step S3: Obtain the vehicle's bump level and temperature level;
[0051] Step S4: Select the corresponding anti-pinch mode based on the vehicle's bump level and temperature level;
[0052] Step S5: Establish a clamping weighted mechanism based on the vehicle's four-dimensional data of current, position, temperature, and vibration;
[0053] Step S6: Based on the clamping weighting mechanism, the selected anti-clamping mode is weighted to determine whether there is a clamping risk. If so, the motor is controlled to reverse for 2 seconds and the execution result is fed back to form a closed loop.
[0054] This invention first acquires the operating status information of the vehicle window; based on this information, it preprocesses the data; then, it acquires the vehicle's bump level and temperature level, and selects the corresponding anti-pinch mode accordingly; next, it establishes a clamping weighting mechanism based on the vehicle's four-dimensional data of current, position, temperature, and vibration; and based on this mechanism, it weights the selected anti-pinch mode to determine if there is a clamping risk. If so, it controls the motor to reverse for 2 seconds and feeds back the execution result, forming a closed loop. This invention identifies the bump level by vibration status and dynamically adjusts the signal filtering parameters of the anti-pinch algorithm, effectively solving the problem of false triggering caused by bumpy road sections. It can also separate vibration noise from the actual clamping signal, improving the accuracy of anti-pinch detection and adapting to the needs of different vehicle models and complex environments.
[0055] In one embodiment of the anti-pinch control method for vehicle windows of the present invention, the operating status information of the vehicle window includes motor current information, window position information, vehicle body acceleration information, and ambient temperature information.
[0056] Specifically, the position information of the car window is collected by the Hall sensor with a position resolution of 0.1mm;
[0057] Motor current information was collected, with a measurement range of 0~20A and a resolution of 100mA. Vehicle acceleration information was collected using a triaxial accelerometer, with a measurement range of ±2g and a resolution of 0.01g.
[0058] Ambient temperature information is collected using a thermistor, with a measurement range of -40℃ to 100℃ and a resolution of 1℃. Motor temperature information is also collected using a thermistor, with a measurement range of -40℃ to 150℃ and a resolution of 1℃.
[0059] In one embodiment of the anti-pinch control method for vehicle windows of the present invention, such as Figure 2 As shown, step S2 includes the following steps:
[0060] Step S201: Determine the bump level based on the operating status information of the vehicle window;
[0061] Step S202: By filtering and fusing the motor current and Hall signal, vibration noise and actual clamping signal are separated;
[0062] Step S203: Construct a temperature-resistance mapping table based on ambient temperature and motor temperature, and dynamically correct the anti-pinch current threshold.
[0063] Specifically, vehicle bump levels are categorized as slight bumps, moderate bumps, and severe bumps. When the vehicle acceleration is in the range of 0.1g to 0.3g, it is classified as a slight bump, and a filtering method with a data acquisition window length of 10 and a weighting coefficient of 0.1 is used. When the vehicle acceleration is in the range of 0.3g to 0.6g, it is classified as a moderate bump, and an exponential filtering method with a data acquisition window length of 15 and a weighting coefficient of 0.2 is used. When the vehicle acceleration is greater than 0.6g, it is classified as a severe bump, and a filtering method with a data acquisition window length of 20 and a weighting coefficient of 0.3 is used. The filtering parameters are dynamically adjusted based on the bump level to optimize the signal denoising effect.
[0064] This invention separates vibration noise from the actual clamping signal by using filtering and fusion processing of motor current and Hall signal.
[0065] In one embodiment of the anti-pinch control method for vehicle windows of the present invention, such as Figure 2 As shown, after step S203, the following steps are also included:
[0066] Step S204: Obtain the window movement speed and temperature change rate;
[0067] Step S205: Based on the window movement speed and temperature change rate, predict the friction coefficient of the sealing strip.
[0068] Specifically, the present invention can construct a temperature-resistance mapping table based on ambient temperature and motor temperature, and dynamically correct the anti-pinch current threshold.
[0069] When the ambient temperature is below -20℃, the current threshold increases by 20%; when the ambient temperature is above 50℃, the current threshold decreases by 15%.
[0070] This invention predicts the friction coefficient of the sealing strip by combining the movement speed of the window with the rate of temperature change. When the rate of temperature change is greater than 5℃ / min, the current threshold is temporarily increased by 10% to avoid misjudgment of resistance due to sudden cooling and heating.
[0071] This invention uses a temperature sensing device to collect ambient temperature and motor temperature in real time, constructs a temperature-resistance mapping table, and dynamically corrects the anti-pinch current threshold, avoiding the problem of inaccurate threshold setting under high and low temperature environments; and combines the window movement speed and temperature change rate to predict the friction coefficient of the sealing strip, effectively preventing misjudgment due to sudden changes in resistance caused by sudden cooling and heating.
[0072] In one embodiment of the anti-pinch control method for vehicle windows of the present invention, such as Figure 3 As shown, step S4 includes the following steps:
[0073] Step S401: Based on the vehicle's bump level, adopt the corresponding anti-pinch strategy;
[0074] Step S402: Based on the vehicle's temperature rating, determine whether the temperature rating is greater than or below -30℃ or greater than 50℃. If so, adopt the anti-pinch strategy based on current trend prediction.
[0075] Specifically, the present invention can select a corresponding anti-pinch strategy according to the current state of the vehicle, including normal mode, bumpy mode, low temperature mode and high temperature mode.
[0076] Normal mode is for driving on a smooth road surface, bumpy mode is for driving on a bumpy road, and low temperature mode and high temperature mode are for driving in extreme temperatures (below -30℃ or above 50℃).
[0077] When the vehicle is traveling in bumpy mode, it employs an anti-pinch strategy based on position-acceleration correlation analysis. Anti-pinch is triggered when the vehicle's positional deviation exceeds 5mm and the acceleration exceeds 0.5g. When the vehicle is traveling in extreme temperatures, it uses an anti-pinch strategy based on current trend prediction. Anti-pinch is triggered when the current value exhibits an exponential increasing trend for three consecutive cycles. When the vehicle is traveling on a smooth road surface, it employs an anti-pinch strategy based on voltage-current correlation analysis. This method is conventional and will not be described here.
[0078] It should be noted that turbulence mode and extreme weather can be superimposed, that is, the anti-pinch strategy of position-acceleration correlation analysis and the anti-pinch strategy of current trend prediction can be used together.
[0079] This invention identifies the level of bumpiness by vibration status and dynamically adjusts the signal filtering parameters in the anti-pinch system, effectively solving the problem of false triggering caused by bumpy road sections; and by using filtering to process motor current and Hall signals, it can separate vibration noise from the actual clamping signal, improving the accuracy of anti-pinch detection.
[0080] Furthermore, this invention uses four-dimensional data of current, position, temperature, and vibration to assess clamping risk through a weighted mechanism, thereby improving the reliability of anti-pinch decision-making. On bumpy road sections, an anti-pinch strategy based on position-acceleration correlation analysis is prioritized, while an anti-pinch strategy based on current trend prediction is enabled under extreme temperatures. This achieves multi-modal anti-pinch decision-making and enhances the algorithm's adaptability under complex working conditions.
[0081] In one embodiment of the anti-pinch control method for car windows of the present invention, the weights of current, position, temperature and vibration are 0-1 respectively. When the weight is greater than or equal to 0.7, it indicates that there is a risk of being pinched.
[0082] Specifically, when the weights of current, position, temperature, and vibration are 0.4, 0.3, 0.2, and 0.1 respectively, the weighted score exceeds 0.7, indicating that there is a risk of clamping.
[0083] In one embodiment of the anti-pinch control method for vehicle windows of the present invention, such as Figure 4 As shown, after step S6, the following steps are also included:
[0084] Step S7: Obtain time t;
[0085] Step S8: Determine whether time t is greater than the preset time. If yes, proceed to step S9; otherwise, proceed to step S7.
[0086] Step S9: Obtain the clamping status;
[0087] Step S10: Determine whether the clamping situation has been released. If so, continue normal operation. If the clamping situation has not been released, control the motor to reverse for 2 seconds again until the clamping is released.
[0088] The anti-pinch control method for vehicle windows of the present invention achieves high precision in complex working conditions and effectively solves the problems of false triggering and failure of traditional algorithms.
[0089] According to a second aspect of the present invention, a vehicle window anti-pinch control system is provided, comprising a vehicle controller, an environmental sensing device, an anti-pinch calculation device, an execution control device, a vibration filtering device, and a temperature compensation device;
[0090] The vehicle controller is electrically connected to the environmental sensing device, the anti-pinch calculation device, the execution control device, the vibration filtering device, and the temperature compensation device, respectively. The environmental sensing device is used to detect window position information, current information, acceleration information, ambient temperature information, and motor temperature information. The vibration filtering device is used to determine the bump level based on the vehicle acceleration information. The temperature compensation device is used to correct the anti-pinch current threshold.
[0091] The anti-pinch calculation device is used to calculate four-dimensional data of current, position, temperature and vibration, and judges the clamping risk through a weighted mechanism. The execution control device controls the motor operation according to the clamping risk.
[0092] This invention decouples the algorithm from the hardware by separating the window control function into independent services, supports dynamic loading of extended services such as temperature compensation and vibration filtering, improves the flexibility of the window anti-pinch control system, and can adapt to the needs of different vehicle models and complex environments.
[0093] In one embodiment of the anti-pinch control system for car windows of the present invention, the temperature compensation device corrects the anti-pinch current threshold so that when the ambient temperature is below -20°C, the current threshold is increased by 20%, and when the ambient temperature is above 50°C, the current threshold is decreased by 15%.
[0094] While specific embodiments of the invention have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of the invention. Those skilled in the art should understand that modifications can be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims
1. A method for controlling anti-pinch of vehicle windows, characterized in that, Includes the following steps: Step S1: Obtain the operating status information of the vehicle window; Step S2: Based on the operating status information of the vehicle window, preprocess the operating status information; Step S3: Obtain the vehicle's bump level and temperature level; Step S4: Select the corresponding anti-pinch mode based on the vehicle's bump level and temperature level; Step S5: Establish a clamping weighted mechanism based on the vehicle's four-dimensional data of current, position, temperature, and vibration; Step S6: Based on the clamping weighting mechanism, the selected anti-clamping mode is weighted to determine whether there is a clamping risk. If so, the motor is controlled to reverse for 2 seconds and the execution result is fed back to form a closed loop.
2. The anti-pinch control method for vehicle windows according to claim 1, characterized in that, The window operating status information includes motor current information, window position information, vehicle body acceleration information, and ambient temperature information.
3. The anti-pinch control method for vehicle windows according to claim 2, characterized in that, Step S2 includes the following steps: Step S201: Determine the bump level based on the operating status information of the vehicle window; Step S202: By filtering and fusing the motor current and Hall signal, vibration noise and actual clamping signal are separated; Step S203: Construct a temperature-resistance mapping table based on ambient temperature and motor temperature, and dynamically correct the anti-pinch current threshold.
4. The anti-pinch control method for vehicle windows according to claim 3, characterized in that, Following step S203, the following steps are also included: Step S204: Obtain the window movement speed and temperature change rate; Step S205: Based on the window movement speed and temperature change rate, predict the friction coefficient of the sealing strip.
5. The anti-pinch control method for vehicle windows according to claim 1, characterized in that, The vehicle's bump level is as follows: when the vehicle body acceleration is in the range of 0.1g to 0.3g, it is judged as slight bump; when the vehicle body acceleration is in the range of 0.3g to 0.6g, it is judged as moderate bump; when the vehicle body acceleration is greater than 0.6g, it is judged as severe bump.
6. The anti-pinch control method for vehicle windows according to claim 1, characterized in that, Step S4 includes the following steps: Step S401: Based on the vehicle's bump level, adopt the corresponding anti-pinch strategy; Step S402: Based on the vehicle's temperature rating, determine whether the temperature rating is greater than or below -30℃ or greater than 50℃. If so, adopt the anti-pinch strategy based on current trend prediction.
7. The anti-pinch control method for vehicle windows according to claim 1, characterized in that, The weights for current, position, temperature, and vibration are 0-1 respectively. When the weight is greater than or equal to 0.7, it indicates that there is a risk of clamping.
8. The anti-pinch control method for vehicle windows according to claim 1, characterized in that, Following step S6, the following steps are also included: Step S7: Obtain time t; Step S8: Determine whether time t is greater than the preset time. If yes, proceed to step S9; otherwise, proceed to step S7. Step S9: Obtain the clamping status; Step S10: Determine whether the clamping situation has been released. If so, continue normal operation. If the clamping situation has not been released, control the motor to reverse for 2 seconds again until the clamping is released.
9. A vehicle window anti-pinch control system, characterized in that, Vehicle controller, environmental sensing device, anti-pinch computing device, execution control device, vibration filtering device, and temperature compensation device; The vehicle controller is electrically connected to the environmental sensing device, the anti-pinch calculation device, the execution control device, the vibration filtering device, and the temperature compensation device, respectively. The environmental sensing device is used to detect window position information, current information, acceleration information, ambient temperature information, and motor temperature information. The vibration filtering device is used to determine the bump level based on the vehicle acceleration information. The temperature compensation device is used to correct the anti-pinch current threshold. The anti-pinch calculation device is used to calculate four-dimensional data of current, position, temperature and vibration, and judges the clamping risk through a weighted mechanism. The execution control device controls the motor operation according to the clamping risk.
10. The anti-pinch control system for vehicle windows according to claim 9, characterized in that, The temperature compensation device corrects the anti-pinch current threshold so that when the ambient temperature is below -20℃, the current threshold is increased by 20%, and when the ambient temperature is above 50℃, the current threshold is decreased by 15%.