A method, device and vehicle for detecting anti-pinch properties of car windows
By collecting capacitance changes and current ripple values, the anti-pinch judgment threshold is dynamically adjusted, solving the problem of fixed and unadjustable sensitivity of the window anti-pinch system, realizing flexible anti-pinch control, and improving safety and adaptability.
Patent Information
- Application Number
- CN202611567084.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-10
- Publication Date
- 2026-11-17
AI Technical Summary
Existing anti-pinch window systems have fixed and unadjustable sensitivity, making it impossible to adapt to the diverse needs of different users and difficult to balance anti-pinch safety with the probability of false triggering.
By collecting capacitance changes and current ripple values during the movement of the car window, the anti-pinch judgment threshold is dynamically adjusted using a correction coefficient. Combined with user adjustment and occupant identification, flexible anti-pinch control is achieved.
It enables flexible adjustment of the anti-pinch window system to adapt to different scenarios and user needs, improves anti-pinch recognition capability and safety, and reduces false triggering.
Smart Images

Figure CN123109494A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of anti-pinch technology for vehicle windows, specifically to a method, device, and vehicle for detecting anti-pinch technology for vehicle windows. Background Technology
[0002] Anti-pinch systems for car windows generally use either current ripple detection or capacitance detection alone, or a combination of both, to achieve clamping recognition. Currently, the sensitivity of mainstream anti-pinch systems is fixed at the factory and cannot be adjusted manually. This mode is insufficient for diverse driving scenarios. The protection needs of private and commercial vehicles differ, and families with child passengers and ordinary car users have different requirements for anti-pinch protection levels and their tolerance for accidental pinching. Fixed sensitivity is insufficient to meet these diverse needs.
[0003] Meanwhile, it is difficult to reconcile the conflict between safety protection and false triggering with fixed sensitivity. Increasing the system sensitivity can better identify minor clamping risks and improve the safety of use, but it will be more susceptible to mechanical friction and environmental interference, resulting in false clamping. Lowering the sensitivity can effectively avoid unnecessary false triggering, but it is easy to miss slight obstructions and reduce the anti-pinch protection capability. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, device and vehicle for detecting anti-pinch of vehicle windows, in order to solve the problems that the sensitivity of anti-pinch of vehicle windows is fixed and cannot be adjusted, the applicable scenarios are limited, it is impossible to take into account the differentiated needs of different users, and it is difficult to balance the safety of anti-pinch and the probability of false triggering.
[0005] In a first aspect, embodiments of the present invention provide a method for detecting anti-pinch mechanisms in vehicle windows, the method comprising: Collect the capacitance change and current ripple value of the car window during its movement; Detect whether the capacitance change value and the current ripple value are valid; If at least one of the capacitance change value and the current ripple value is valid, then the anti-pinch evaluation value is calculated based on the valid data of the capacitance change value and the current ripple value. By comparing the anti-pinch assessment value with the anti-pinch judgment threshold, it is determined whether the window anti-pinch control is triggered. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
[0006] Furthermore, the detection of the capacitance change value and the current ripple value includes: Obtain the anti-pinch sensitivity corresponding to the window, and the correction coefficient corresponding to the anti-pinch sensitivity; Obtain the basic capacitance threshold and the basic current ripple threshold; The base capacitance threshold is corrected using the correction coefficient to obtain the target capacitance threshold, and the base current ripple threshold is corrected using the correction coefficient to obtain the target current ripple threshold. The capacitance change value is compared with the target capacitance threshold to determine whether the capacitance change value is valid, and the current ripple value is compared with the target current ripple threshold to determine whether the current ripple value is valid.
[0007] Furthermore, the step of correcting the base capacitance threshold using the correction coefficient to obtain the target capacitance threshold, and correcting the base current ripple threshold using the correction coefficient to obtain the target current ripple threshold, includes: The real-time position of the vehicle window during its movement is collected, and the operating section of the vehicle window is determined based on the real-time position. Obtain the compensation coefficient corresponding to the running section, wherein the compensation coefficient gradually decreases as the window travels from the bottom starting section to the top ending section; The correction coefficient is updated using the compensation coefficient to obtain the updated correction coefficient; The updated correction coefficient is used to correct the base capacitance threshold to obtain the target capacitance threshold, and the updated correction coefficient is used to correct the base current ripple threshold to obtain the target current ripple threshold.
[0008] Furthermore, the method also includes: The current anti-pinch sensitivity of the window is determined based on the user-triggered sensitivity adjustment operation. Alternatively, the occupants in the corresponding areas of each window in the vehicle can be identified to obtain the occupant type, and the anti-pinch sensitivity of the corresponding window can be set according to the occupant type.
[0009] Furthermore, the step of calculating the anti-pinch evaluation value based on the valid data in the capacitance change value and the current ripple value includes: Obtain the weights corresponding to the valid data in the capacitance change value and the current ripple value; Based on the valid data and the corresponding weights, the anti-pinch evaluation value is calculated.
[0010] Furthermore, the step of comparing the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control includes: If the anti-pinch evaluation value is greater than or equal to the anti-pinch determination threshold, then the window anti-pinch control is triggered. or, If the anti-pinch assessment value is less than the anti-pinch determination threshold, then it is determined that the window anti-pinch control will not be triggered.
[0011] Furthermore, the method also includes: Obtain real-time operating parameters of the vehicle and / or real-time behavioral parameters of passengers inside the vehicle; Based on the real-time operating parameters and / or the real-time behavior parameters, the basic anti-pinch judgment threshold corresponding to the anti-pinch sensitivity is updated to obtain the anti-pinch judgment threshold.
[0012] Furthermore, the method also includes: When the anti-pinch control of the vehicle window is triggered, the corresponding anti-pinch control operation is performed according to the extent by which the anti-pinch evaluation value exceeds the anti-pinch judgment threshold.
[0013] Secondly, embodiments of the present invention provide a vehicle window anti-pinch detection device, the device comprising: The data acquisition module is used to collect the capacitance change value and current ripple value of the car window during its movement. The detection module is used to detect whether the capacitance change value and the current ripple value are valid; The calculation module is used to calculate the anti-pinch evaluation value based on the valid data of the capacitance change value and the current ripple value if at least one of the capacitance change value and the current ripple value is valid. The comparison module is used to compare the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
[0014] Thirdly, embodiments of the present invention provide a computer device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.
[0015] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause a computer to perform the method described in the first aspect or any of its corresponding embodiments.
[0016] This application flexibly determines the anti-pinch judgment threshold based on the anti-pinch sensitivity, instead of using a fixed value, thus addressing the shortcomings of unadjustable sensitivity and limited adaptability. Secondly, it simultaneously collects capacitance change values and current ripple values and verifies the validity of both types of data, broadening the obstruction recognition range and adapting to diverse protection needs in different scenarios. Then, it calculates the anti-pinch evaluation value based on the valid data, achieving a fusion judgment of the two types of detection information, resulting in a more comprehensive identification basis. Finally, the corresponding anti-pinch judgment threshold can be adjusted by changing the sensitivity; high sensitivity easily identifies obstructions and ensures safety, while low sensitivity reduces the likelihood of false triggering, catering to different user preferences and balancing anti-pinch safety with the probability of false triggering. Attached Figure Description
[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a schematic flowchart of a vehicle window anti-pinch detection method according to some embodiments of the present invention; Figure 2 This is a flowchart illustrating another method for detecting anti-pinch mechanisms for vehicle windows according to some embodiments of the present invention; Figure 3 This is a schematic diagram of the anti-pinch sensitivity setting according to some embodiments of the present invention; Figure 4 This is a flowchart illustrating another method for detecting anti-pinch mechanisms for vehicle windows according to some embodiments of the present invention; Figure 5 This is a structural block diagram of a vehicle window anti-pinch detection device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] According to embodiments of the present invention, a method, apparatus and vehicle for detecting anti-pinch of vehicle windows are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be executed in a different order than that shown here.
[0021] This embodiment provides a method for detecting anti-pinch mechanisms in vehicle windows. Figure 1 This is a flowchart of a method for detecting anti-pinch mechanisms of vehicle windows according to an embodiment of the present invention, as shown below. Figure 1 As shown, the process includes the following steps: Step S101: Collect the capacitance change value and current ripple value of the car window during its movement.
[0022] In this embodiment, the controller performs high-frequency real-time sampling through the built-in capacitive sensing module of the window throughout the entire process of the window's raising and lowering movement. It continuously collects the static reference capacitance value of the window glass and the surrounding sensing area, compares it with the real-time capacitance value during dynamic operation, and continuously captures capacitance offset data caused by the approach of foreign objects, limb obstruction, and contact obstruction. After removing invalid noise signals such as electrostatic interference and weak environmental noise through hardware filtering, the controller calculates the real-time dynamic difference and finally outputs the capacitance change value of the window under the motion condition.
[0023] Meanwhile, during the operation of the window drive motor, the controller continuously collects the real-time operating current of the motor bus through the motor current sampling circuit. Using the standard current of the window running smoothly under no-load as the reference current, the controller removes the steady-state DC current component of the motor running at a constant speed in real time, and filters out the high-frequency current fluctuations and instantaneous current fluctuations caused by sudden changes in motor load, external obstruction, and fluctuations in running resistance. After eliminating instantaneous pulse interference, the current fluctuation amplitude is extracted, and finally the current ripple value during the window movement is obtained.
[0024] It should be noted that the capacitance change value is used to visually characterize whether there are foreign objects approaching, limbs obstructing, or other external obstructions in the sensing area outside the window. It is a sensing parameter for identifying close contact with the outside of the window and obstruction by non-rigid obstacles. It can capture subtle risk conditions such as slight proximity and obstruction by flexible objects that cannot be detected by the motor current, thus compensating for the blind spots of single current detection. The current ripple value is used to characterize the fluctuation of motor load and changes in mechanical resistance during the window raising and lowering process. It can visually reflect whether the window is subjected to sudden changes in resistance such as hard obstruction, mechanical jamming, or external pressure. It is a core electrical parameter for judging whether the mechanical operation of the window is obstructed or whether it is clamped by rigid obstacles, and can effectively identify the risk of window obstruction.
[0025] Step S102: Detect whether the capacitance change value and current ripple value are valid.
[0026] In this embodiment, the controller first determines the currently selected anti-pinch sensitivity of the window. High sensitivity is matched with a first proportional coefficient, standard sensitivity is matched with a second proportional coefficient, and low sensitivity is matched with a third proportional coefficient. The corresponding proportional coefficients are used to correct the basic capacitance threshold and the basic current ripple threshold respectively to obtain the target capacitance threshold and the target current ripple threshold that are adapted to the current sensitivity. Then, the capacitance change value is compared with the target capacitance threshold, and the current ripple value is compared with the target current ripple threshold. If the value exceeds the corresponding threshold, it is determined to be valid; otherwise, it is determined to be invalid.
[0027] It should be noted that "valid" indicates that the current fluctuations in capacitor and motor current reach the obstruction judgment standard, and there is a real risk of limbs or foreign objects blocking the window; "invalid" indicates that the parameter fluctuations are only from environmental and mechanical interference such as static electricity, rubber strip friction, and normal motor vibration, and there is no risk of clamping that needs to be protected against.
[0028] Step S103: If at least one of the capacitance change value and the current ripple value is valid, then calculate the anti-pinch evaluation value based on the valid data of the capacitance change value and the current ripple value.
[0029] In this embodiment of the application, the anti-pinch evaluation value is calculated based on the valid data in the capacitance change value and the current ripple value, including: obtaining the weights corresponding to the valid data in the capacitance change value and the current ripple value; and calculating the anti-pinch evaluation value based on the valid data and the corresponding weights.
[0030] Specifically, after the controller completes the validity determination of the capacitance change value and the current ripple value, it checks the determination results of the two sets of data one by one. As long as either the capacitance change value or the current ripple value is determined to be valid, it enters the weighted calculation process.
[0031] The controller first normalizes the two physical quantities, converting them to the 0~1 range according to the preset full-scale standard. It then uses the maximum detection range of the capacitor to perform a division operation on the change value of the capacitor to complete the normalization. Finally, it uses the maximum allowable current fluctuation range of the motor to convert and normalize the current ripple value, eliminating the problem of different units and dimensions of the two types of parameters and ensuring that the data can be combined for calculation.
[0032] Then, the locally preset weight configuration is retrieved, and the corresponding fixed weight parameters are matched according to the type of currently valid data. When both types of normalized data, namely capacitor and current ripple, are valid, the weights corresponding to capacitor and current ripple are retrieved simultaneously, and the sum of the two weights is 1. If only one type of data is valid, only the weight corresponding to that valid data is retrieved, and the other invalid data does not participate in the weight allocation. The normalized valid data is multiplied by its respective matched weight in turn, and the multiplication results are summed to finally obtain the quantized anti-pinch evaluation value in the range of 0 to 1.
[0033] Step S104: Compare the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
[0034] In this embodiment of the application, comparing the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control includes: ①If the anti-pinch assessment value is greater than or equal to the anti-pinch judgment threshold, then the window anti-pinch control will be triggered. After calculating the anti-pinch assessment value, the controller retrieves the anti-pinch judgment threshold adapted to the current vehicle operating conditions. The controller compares the anti-pinch assessment value with the dynamically updated anti-pinch judgment threshold. Once the anti-pinch assessment value is determined to be greater than or equal to the anti-pinch judgment threshold, the controller considers a real obstruction such as a limb or debris to exist within the window's lifting path, posing a safety hazard of pinching injury or damage to the window hardware. The controller then terminates the original upward movement of the window, issues an anti-pinch control command, and executes a reverse downward movement of the window to release the pinch risk through active reverse motion. The entire judgment process is executed in a high-frequency loop following the window's movement, without delay, and can respond promptly to sudden obstructions.
[0035] ②If the anti-pinch assessment value is less than the anti-pinch judgment threshold, then it is determined that the window anti-pinch control will not be triggered.
[0036] When the anti-pinch assessment value is less than the anti-pinch judgment threshold, the controller determines that the current capacitor fluctuations and motor current fluctuations are all from environmental electrostatic interference, normal friction of the window rubber strip, normal vibration of the motor under no-load, and other risk-free factors. There are no obstacles on the window lifting path that could cause pinching or jamming, and the overall operating environment is safe and stable. The controller will not issue any anti-pinch intervention commands and will continue to maintain the window's original predetermined raising or lowering action, ensuring that the window operates smoothly according to the user's operation.
[0037] Figure 2 This is a flowchart of a method for detecting anti-pinch mechanisms of vehicle windows according to an embodiment of the present invention, as shown below. Figure 2 As shown, the process includes the following steps: Step S201: Collect the capacitance change value and current ripple value of the car window during its movement.
[0038] In this embodiment, the controller performs high-frequency real-time sampling through the built-in capacitive sensing module of the window throughout the entire process of the window's raising and lowering movement. It continuously collects the static reference capacitance value of the window glass and the surrounding sensing area, compares it with the real-time capacitance value during dynamic operation, and continuously captures capacitance offset data caused by the approach of foreign objects, limb obstruction, and contact obstruction. After removing invalid noise signals such as electrostatic interference and weak environmental noise through hardware filtering, the controller calculates the real-time dynamic difference and finally outputs the capacitance change value of the window under the motion condition.
[0039] Meanwhile, during the operation of the window drive motor, the controller continuously collects the real-time operating current of the motor bus through the motor current sampling circuit. Using the standard current of the window running smoothly under no-load as the reference current, the controller removes the steady-state DC current component of the motor running at a constant speed in real time, and filters out the high-frequency current fluctuations and instantaneous current fluctuations caused by sudden changes in motor load, external obstruction, and fluctuations in running resistance. After eliminating instantaneous pulse interference, the current fluctuation amplitude is extracted, and finally the current ripple value during the window movement is obtained.
[0040] Step S202: Obtain the anti-pinch sensitivity of the car window and the correction coefficient corresponding to the anti-pinch sensitivity.
[0041] In this embodiment, the controller obtains the current effective anti-pinch sensitivity of the window. The anti-pinch sensitivity comes from two sources: one is that the user manually selects three levels of sensitivity (high, standard, and low) through the in-vehicle CSD button or mobile APP; the other is that in automatic mode, the in-vehicle camera and seat weight sensor identify the occupant type and automatically match the corresponding sensitivity.
[0042] After the controller completes the sensitivity confirmation, it retrieves the parameter table stored locally on the device and matches the corresponding initial correction coefficients one by one according to the sensitivity level. High sensitivity is matched with the first correction coefficient, standard sensitivity is matched with the second correction coefficient, and low sensitivity is matched with the third correction coefficient.
[0043] It should be noted that the magnitudes of the third correction coefficient > second correction coefficient > first correction coefficient are as follows: The first correction coefficient corresponds to the lowest sensitivity. Using this coefficient to amplify the base threshold results in lower target capacitance and target current ripple thresholds. Even small fluctuations in capacitance and current are sufficient to determine validity, achieving sensitive obstruction detection. The second correction coefficient for standard sensitivity falls in the middle range, providing a moderate threshold for judgment, balancing anti-pinch safety and accidental touch prevention. The third correction coefficient corresponds to the highest sensitivity, resulting in higher detection thresholds for both types of detection after multiplication calculations. Data is only considered valid when capacitance and motor current fluctuations are significant, maximizing the filtering of minor interferences from rubber strip friction and road bumps, reducing unnecessary accidental anti-pinch actions on the car window.
[0044] Step S203: Obtain the basic capacitance threshold and the basic current ripple threshold.
[0045] In this embodiment, the controller reads the pre-calibrated basic capacitance threshold and basic current ripple threshold according to the window number. The two basic thresholds are standard reference values calibrated through a large number of real vehicle tests before the vehicle leaves the factory. They correspond to the upper limit of capacitance fluctuation and the upper limit of normal motor current fluctuation when the window is raised and lowered smoothly under no load and without any external obstruction. They will not change with sensitivity or window position.
[0046] Step S204: Correct the basic capacitance threshold using a correction factor to obtain the target capacitance threshold, and correct the basic current ripple threshold using a correction factor to obtain the target current ripple threshold.
[0047] In this embodiment, a correction factor is used to correct the base capacitance threshold to obtain a target capacitance threshold, and a correction factor is used to correct the base current ripple threshold to obtain a target current ripple threshold, including: Step A1: Collect the real-time position of the window during its movement and determine the operating section of the window based on the real-time position.
[0048] The controller continuously collects the motor's operating pulse signals through the pulse position sensor configured in the window motor. It calculates the linear displacement of the window glass from the lowest guide rail by relying on the total number of pulses accumulated. In this way, it continuously collects the real-time position of the window throughout its movement. Whenever the window moves up or down, the position data is updated synchronously.
[0049] The controller internally stores interval judgment criteria based on the total lifting stroke, clearly defining the upper and lower displacement limits of the bottom starting segment, the middle running segment, and the top ending segment. These three segments completely cover the entire movement stroke of the window, with no gaps or overlaps. The real-time position displacement value is compared item by item with the displacement boundaries of each segment to determine the unique running segment to which the current segment belongs. Any change in position will immediately trigger a re-comparison and refresh of the segment results, and the judgment results are cached in real time in the running memory.
[0050] Step A2: Obtain the compensation coefficient corresponding to the running section, wherein the compensation coefficient gradually decreases as the window moves from the bottom starting section to the top ending section.
[0051] After determining the current operating section of the window, the controller reads the list of section parameters that have been pre-calibrated on the actual vehicle and retrieves the compensation coefficient for the current operating section according to the one-to-one matching rule. As the window moves from the bottom starting section to the top ending section, the compensation coefficient gradually decreases, with the compensation coefficient being the largest at the bottom starting section, intermediate in the middle operating section, and the smallest at the top ending section.
[0052] The variation of the compensation coefficient matches the safety requirements of different positions of the car window. In the bottom area, the pressure of the window rubber strip and mechanical sliding bring more interference from normal resistance. A larger compensation coefficient can raise the detection threshold and avoid normal mechanical friction from accidentally triggering the anti-pinch function. The top termination section has the highest risk of pinching injury. A smaller compensation coefficient lowers the detection threshold, and slight foreign object contact and obstruction can be detected.
[0053] Step A3: Update the correction coefficients using the compensation coefficients to obtain the updated correction coefficients.
[0054] The controller first retrieves the initial correction coefficients obtained based on user settings or occupant identification matching. High sensitivity corresponds to the first correction coefficient, standard sensitivity corresponds to the second correction coefficient, and low sensitivity corresponds to the third correction coefficient. The values of the three are ordered as follows: third correction coefficient > second correction coefficient > first correction coefficient.
[0055] The controller directly multiplies the acquired compensation coefficient with the initial correction coefficient, and the result is the updated correction coefficient. This update integrates the base magnification from the sensitivity level and the dynamic magnification from the window position. The initial correction coefficient determines the base level of the overall threshold, while the compensation coefficient dynamically scales the magnification according to the window position, thus ensuring that the correction coefficient is simultaneously constrained by both sensitivity and window position.
[0056] If the position of the window changes, the compensation coefficient is changed accordingly. The controller re-executes the multiplication operation to refresh the updated correction coefficient, so that the coefficient always adapts to the current sensitivity and window position.
[0057] Step A4: Correct the base capacitance threshold using the updated correction coefficient to obtain the target capacitance threshold, and correct the base current ripple threshold using the updated correction coefficient to obtain the target current ripple threshold.
[0058] The controller reads the basic capacitance threshold and the basic current ripple threshold. These two parameters are fixed reference values that have been calibrated under a large number of operating conditions at the factory. They represent the upper limit of capacitance fluctuation and the upper limit of motor current fluctuation when the window is running smoothly under no load and without any external obstruction. They are not affected by sensitivity or window position and remain fixed throughout the process.
[0059] The controller uses updated correction coefficients to perform threshold conversion. The calculation formula is: target capacitance threshold equals base capacitance threshold multiplied by the updated correction coefficient; target current ripple threshold equals base current ripple threshold multiplied by the updated correction coefficient. Both types of thresholds are scaled using the same coefficient, with adjustments completely synchronized. When the window is at the bottom starting section, the updated correction coefficient is larger, resulting in higher target thresholds for both types of thresholds, effectively filtering out common interferences such as rubber strip friction. When the window is at the top ending section, the overall coefficient is smaller, resulting in lower target thresholds and improved obstruction recognition sensitivity.
[0060] It should be noted that by dividing the operating section by collecting data on the window position, an iterative correction coefficient is used, gradually decreasing from top to bottom, to achieve adaptive changes in the detection threshold along the lifting stroke. The bottom of the window has a larger compensation coefficient and a higher threshold, resisting false triggering caused by friction from the rubber strip during start-up and fluctuations in motor load; the top of the window has a smaller compensation coefficient and a lower threshold, improving the sensitivity of easily pinched areas. Capacitance and current ripple thresholds are corrected simultaneously, ensuring consistent adaptability between the two detection dimensions. This solution addresses the differentiated control of interference and pinching risks at different window positions, resolving the issue of poor adaptability with a fixed threshold throughout the entire lifting stroke, balancing anti-pinch safety and anti-interference capabilities within the complete lifting stroke of the window.
[0061] Step S205: Compare the capacitance change value with the target capacitance threshold to determine whether the capacitance change value is valid, and compare the current ripple value with the target current ripple threshold to determine whether the current ripple value is valid.
[0062] In this embodiment, the controller compares the capacitance change value with the target capacitance threshold. If the capacitance change value is greater than the target capacitance threshold, the capacitance change value is determined to be valid, indicating that there is real interference such as a foreign object approaching, physical contact, or a flexible foreign object blocking the window sensing area, forming a valid risk signal. If the capacitance change value is less than or equal to the target capacitance threshold, the capacitance change value is determined to be invalid, and the relevant fluctuations come from risk-free noise such as static electricity or changes in ambient temperature and humidity.
[0063] The controller then performs a current dimension verification, comparing the current ripple value with the target current ripple threshold. If the current ripple value is greater than the target current ripple threshold, the current ripple value is deemed valid, indicating that the motor load has increased abnormally, the window has encountered a hard obstruction, or there is mechanical jamming. Otherwise, it is deemed invalid, and the fluctuation comes from normal motor vibration or smooth friction of the guide rail.
[0064] Step S206: If at least one of the capacitance change value and the current ripple value is valid, then calculate the anti-pinch evaluation value based on the valid data of the capacitance change value and the current ripple value.
[0065] In this embodiment, after the controller completes the validity determination of the capacitance change value and the current ripple value, it checks the determination results of the two sets of data one by one. As long as either the capacitance change value or the current ripple value is determined to be valid, the weighted calculation process is entered.
[0066] The controller first normalizes the two physical quantities, converting them to the 0~1 range according to the preset full-scale standard. It then uses the maximum detection range of the capacitor to perform a division operation on the change value of the capacitor to complete the normalization. Finally, it uses the maximum allowable current fluctuation range of the motor to convert and normalize the current ripple value, eliminating the problem of different units and dimensions of the two types of parameters and ensuring that the data can be combined for calculation.
[0067] Then, the locally preset weight configuration is retrieved, and the corresponding fixed weight parameters are matched according to the type of currently valid data. When both types of normalized data, namely capacitor and current ripple, are valid, the weights corresponding to capacitor and current ripple are retrieved simultaneously, and the sum of the two weights is 1. If only one type of data is valid, only the weight corresponding to that valid data is retrieved, and the other invalid data does not participate in the weight allocation. The normalized valid data is multiplied by its respective matched weight in turn, and the multiplication results are summed to finally calculate the quantized anti-pinch evaluation value in the range of 0 to 1.
[0068] Step S207: Compare the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
[0069] In this embodiment of the application, comparing the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control includes: ①If the anti-pinch assessment value is greater than or equal to the anti-pinch judgment threshold, then the window anti-pinch control will be triggered. After calculating the anti-pinch assessment value, the controller retrieves the anti-pinch judgment threshold adapted to the current vehicle operating conditions. The controller compares the anti-pinch assessment value with the dynamically updated anti-pinch judgment threshold. Once the anti-pinch assessment value is determined to be greater than or equal to the anti-pinch judgment threshold, the controller considers a real obstruction such as a limb or debris to exist within the window's lifting path, posing a safety hazard of pinching injury or damage to the window hardware. The controller then terminates the original upward movement of the window, issues an anti-pinch control command, and executes a reverse downward movement of the window to release the pinch risk through active reverse motion. The entire judgment process is executed in a high-frequency loop following the window's movement, without delay, and can respond promptly to sudden obstructions.
[0070] ②If the anti-pinch assessment value is less than the anti-pinch judgment threshold, then it is determined that the window anti-pinch control will not be triggered.
[0071] When the anti-pinch assessment value is less than the anti-pinch judgment threshold, the controller determines that the current capacitor fluctuations and motor current fluctuations are all from environmental electrostatic interference, normal friction of the window rubber strip, normal vibration of the motor under no-load, and other risk-free factors. There are no obstacles on the window lifting path that could cause pinching or jamming, and the overall operating environment is safe and stable. The controller will not issue any anti-pinch intervention commands and will continue to maintain the window's original predetermined raising or lowering action, ensuring that the window operates smoothly according to the user's operation.
[0072] It should be noted that, based on the selected anti-pinch sensitivity and corresponding correction coefficient, the basic thresholds for capacitance and current ripple are uniformly scaled and corrected, and the signal validity is determined by comparing the two parameters. Users can switch sensitivity levels as needed; high sensitivity lowers the detection threshold, improving the ability to detect small foreign objects and ensuring personal safety; low sensitivity raises the threshold, filtering interference from static electricity, mechanical vibration, etc., reducing false alarms. Both types of detection thresholds share a set of correction coefficients for synchronous adjustment, ensuring consistent matching of capacitance and current detection sensitivities and avoiding dimensional imbalance. Combining the advantages of flexible capacitance detection and rigid current resistance detection, it not only meets the personalized protection requirements of different households and vehicle models but also effectively alleviates the conflict between anti-pinch safety and false triggering.
[0073] In this embodiment of the application, the method further includes: ① Determine the current anti-pinch sensitivity setting of the window based on the user-triggered sensitivity adjustment operation; In this embodiment, the controller monitors the physical CSD buttons in the vehicle and various interactive signals sent by the in-vehicle mobile APP in real time, continuously captures the window anti-pinch sensitivity adjustment operation initiated by the user, and identifies the window position selected by the user. It can distinguish four independent window channels: driver's side, passenger side, driver's side rear, and passenger side rear, so as to realize separate configuration of the sensitivity of the four windows.
[0074] like Figure 3 As shown, when a user manually selects any of the three sensitivity levels—high, standard, or low—via the CSD screen or mobile app, the controller directly locks the anti-pinch sensitivity level of the currently selected window. High sensitivity corresponds to the first correction coefficient, standard sensitivity to the second, and low sensitivity to the third, with the three correction coefficients increasing sequentially. If the user selects automatic mode, the controller no longer receives manual settings and instead retrieves the corresponding occupant information collected by the in-vehicle camera and seat pressure sensor, dynamically matching and adapting the sensitivity based on the presence or absence of occupants, children, and other factors.
[0075] After the controller completes the gear selection, it stores the sensitivity information in the erasable memory unit for a long time. The information will not be lost when the power is off. It continuously listens for operation commands, and the sensitivity parameters of the corresponding window will be updated every time the user selects a new gear.
[0076] ② Identify the occupants in the corresponding areas of each window in the vehicle to obtain the occupant type, and set the anti-pinch sensitivity of the corresponding window according to the occupant type.
[0077] In this embodiment, the controller simultaneously activates two sets of sensing devices—a camera and an occupant sensor—after the vehicle is powered on. It separately collects identification data for the cabin area corresponding to each window in the driver's seat, passenger seat, behind the driver's seat, and behind the passenger seat. The camera can identify five types of targets: children, adults, the elderly, pets, and objects. The occupant sensor can only distinguish between children and adults. The two sets of identification data are aggregated by the controller to complete the fusion judgment.
[0078] The controller performs the final occupant classification according to the fusion rules: If a child is identified in any one of the identification paths, the final determination is that the child is the child. If all are identified as adults, they are classified as adults. If the camera recognizes an elderly person and the sensor identifies them as an adult, then they are considered an elderly person. The camera identifies pets and objects respectively.
[0079] The controller adjusts the sensitivity of the car window: if a child or elderly person is detected in the corresponding area, it automatically switches to high sensitivity, also known as child safety mode. In this mode, the anti-pinch force is controlled between 50 and 65N, the capacitance detection threshold is reduced by 15% to 20% compared to the factory standard, and the current ripple detection threshold is reduced by 10% to 15%, improving the ability to recognize minor obstructions and protecting people with limited mobility. If an adult, pet, or object is detected, a standard mode is uniformly applied, maintaining the anti-pinch force at 65 to 80N, directly using the factory-calibrated baseline threshold. The entire recognition and configuration logic operates independently for each car window.
[0080] In the embodiments of this application, such as Figure 4 As shown, the method also includes: Step S301: Obtain the real-time operating parameters of the vehicle and / or the real-time behavior parameters of the passengers inside the vehicle.
[0081] In this embodiment, the controller maintains a continuous data acquisition cycle after the vehicle is powered on, collecting various real-time operating parameters of the vehicle and / or real-time behavior parameters of passengers inside the vehicle. All data is collected according to the four window zones to ensure that the data of the left, right, front and rear windows are independent of each other and do not interfere with each other.
[0082] Real-time operating parameters cover multiple vehicle hardware status data, including vehicle speed, ambient temperature and humidity, real-time battery voltage, window lifting position, motor operating temperature, and road bump vibration signals. The vehicle speed signal is obtained from the vehicle's CAN bus, the temperature and humidity are collected by the in-vehicle temperature sensor, the voltage and motor temperature are sampled in real time by the electronic control acquisition circuit, and the bump data is obtained through the vehicle body vibration sensor, thus fully restoring the interference factors brought by the external operating environment of the vehicle.
[0083] Real-time passenger behavior parameters are collected by cameras around the windows, seat pressure sensors, and window capacitive sensing modules. The system can identify various approaches and touch behaviors, such as passengers' limbs approaching the windows, hands reaching towards the glass, heads sticking out of the windows, children frequently raising their hands to touch the windows, and pets pawing at the windows. It can also distinguish between quiet states, such as when there are only personal belongings in the car and no one is inside, or when passengers are sitting quietly without moving.
[0084] The controller caches all collected operating condition and behavior data in real time to high-speed memory, packages and stores them according to the corresponding window type, and continuously refreshes and updates them to ensure that all parameters are real-time.
[0085] Step S302: Based on real-time operating parameters and / or real-time behavior parameters, update the basic anti-pinch judgment threshold corresponding to the anti-pinch sensitivity to obtain the anti-pinch judgment threshold.
[0086] In the embodiments of this application, the controller supports both independent correction of a single parameter and combined correction of two types of parameters.
[0087] Regarding operating conditions, the higher the vehicle speed, the more severe the bumps, the greater the temperature and humidity deviation, and the stronger the environmental interference, the controller raises the basic anti-pinch judgment threshold according to a preset ratio to avoid false anti-pinch caused by vehicle driving vibration and temperature and humidity drift; when the battery voltage is low or the motor temperature is too high, the threshold is adjusted synchronously to adapt to electrical fluctuations.
[0088] Based on passenger behavior, the controller identifies high-risk behaviors such as children reaching out, touching their limbs to the window, and sticking their heads out. The controller then proactively lowers the basic anti-pinch threshold to improve the sensitivity of the anti-pinch response. If there are only items in the car and the passenger does not touch the window with any limbs, the controller maintains the basic threshold or slightly raises the threshold to reduce false triggers.
[0089] The controller multiplies the operating condition correction factor and the behavior correction factor to obtain a comprehensive correction factor. This comprehensive correction factor is then used to multiply and convert the factory-fixed basic anti-pinch detection threshold, ultimately generating an anti-pinch detection threshold adapted to the current driving environment and passenger actions. Any changes in vehicle operating conditions or passenger behavior will immediately trigger the controller to recalculate the correction factor and refresh the threshold, enabling the anti-pinch detection threshold to dynamically adapt to external environmental changes and occupant actions, balancing resistance to driving bumps and ensuring safety when passengers are close by.
[0090] In this embodiment of the application, the method further includes: when the window anti-pinch control is triggered, performing a corresponding anti-pinch control operation based on the extent to which the anti-pinch evaluation value exceeds the anti-pinch judgment threshold.
[0091] Specifically, after the controller determines that the anti-pinch assessment value is greater than or equal to the anti-pinch judgment threshold and formally triggers the window anti-pinch control logic, it will calculate the difference between the anti-pinch assessment value and the anti-pinch judgment threshold to obtain the risk exceedance range. Based on the preset range classification rules, it will match differentiated control strategies and refuse to uniformly execute the same action in all obstruction scenarios.
[0092] The controller pre-divides multiple amplitude ranges, with different ranges corresponding to the window's operating logic, drop distance, and motor output torque. The smaller the amplitude exceeds the range, the weaker the blocking force, which is likely due to soft foreign objects such as fingers or flexible fabrics being stuck. The larger the amplitude exceeds the range, the higher the blocking load, which is often due to hard objects or heavy limbs blocking the window.
[0093] The controller locks the current excessive range setting in real time, retrieves the control parameters bound to the setting, and configures the window lowering stroke, motor reverse rotation duration, and motor current limit accordingly. Throughout the process, the controller sends execution commands to the window drive motor, and manages the operation according to the severity of the risk. This avoids unnecessary inconvenience caused by the window lowering too much under slight obstruction, while maximizing the window's lowering under severe obstruction, thus fully avoiding the risk of pinching injuries and achieving refined hierarchical management of the anti-pinch action.
[0094] As an example, a three-level classification rule is preset: when the anti-pinch assessment value exceeds the judgment threshold by 0-0.2, it is considered a slight exceedance; 0.2-0.5, a moderate exceedance; and above 0.5, a severe exceedance. If the passenger-side window is raised while the vehicle is in motion, and a passenger's fingertip accidentally touches the edge of the glass, the capacitance change causes the anti-pinch assessment value to exceed the threshold by 0.15, which is considered a slight exceedance. The controller controls the window to fall back 3 cm, the motor operates at low torque, briefly releases the clamping space, and then pauses. The user can manually raise the window again. If a child's entire hand is trapped, the assessment value exceeds the threshold by 0.38, falling into the moderate range. The controller controls the window to fall back 8 cm in one go, and the motor maintains normal reverse torque. If the window frame is jammed by a hard object, the assessment value exceeds the threshold by 0.61, which is considered a severe obstruction. The controller controls the window to fall completely to the lowest position, while limiting automatic window raising for a short period. Manual button press is required to resume raising and lowering. This classification action matches different clamping risks.
[0095] This embodiment also provides a window anti-pinch detection device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0096] This embodiment provides a vehicle window anti-pinch detection device, such as... Figure 5 As shown, it includes: The acquisition module 501 is used to acquire the capacitance change value and current ripple value of the window during its movement. Detection module 502 is used to detect whether the capacitance change value and the current ripple value are valid; The calculation module 503 is used to calculate the anti-pinch evaluation value based on the valid data of the capacitance change value and the current ripple value if at least one of the capacitance change value and the current ripple value is valid. The comparison module 504 is used to compare the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
[0097] In this embodiment, the detection module 502 is used to obtain the anti-pinch sensitivity corresponding to the vehicle window and the correction coefficient corresponding to the anti-pinch sensitivity; obtain the basic capacitance threshold and the basic current ripple threshold; correct the basic capacitance threshold using the correction coefficient to obtain the target capacitance threshold, and correct the basic current ripple threshold using the correction coefficient to obtain the target current ripple threshold; compare the capacitance change value with the target capacitance threshold to determine whether the capacitance change value is valid, and compare the current ripple value with the target current ripple threshold to determine whether the current ripple value is valid.
[0098] In this embodiment, the detection module 502 is used to collect the real-time position of the window during its movement and determine the operating segment of the window based on the real-time position; obtain the compensation coefficient corresponding to the operating segment, wherein the compensation coefficient gradually decreases as the window moves from the bottom starting segment to the top ending segment; update the correction coefficient using the compensation coefficient to obtain the updated correction coefficient; correct the basic capacitance threshold using the updated correction coefficient to obtain the target capacitance threshold; and correct the basic current ripple threshold using the updated correction coefficient to obtain the target current ripple threshold.
[0099] In this embodiment of the application, the device further includes: a setting module, used to determine the current setting of the anti-pinch sensitivity of the window based on the sensitivity adjustment operation triggered by the user; or, to identify the occupants in the corresponding areas of each window in the vehicle, obtain the occupant type, and set the anti-pinch sensitivity of the corresponding window according to the occupant type.
[0100] In this embodiment, the calculation module 503 is used to obtain the weights corresponding to the valid data in the capacitance change value and the current ripple value; and to calculate the anti-pinch evaluation value based on the valid data and the corresponding weights.
[0101] In this embodiment of the application, the comparison module 504 is used to determine whether to trigger the window anti-pinch control if the anti-pinch evaluation value is greater than or equal to the anti-pinch judgment threshold; or, if the anti-pinch evaluation value is less than the anti-pinch judgment threshold, determine whether to trigger the window anti-pinch control.
[0102] In this embodiment of the application, the device further includes: an update module, used to acquire real-time operating parameters of the vehicle and / or real-time behavioral parameters of passengers in the vehicle; and to update the basic anti-pinch judgment threshold corresponding to the anti-pinch sensitivity based on the real-time operating parameters and / or real-time behavioral parameters to obtain the anti-pinch judgment threshold.
[0103] In this embodiment of the application, the device further includes an execution module, which is used to perform a corresponding anti-pinch control operation based on the extent to which the anti-pinch evaluation value exceeds the anti-pinch judgment threshold when the window anti-pinch control is triggered.
[0104] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 6 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0105] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0106] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0107] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and application programs required for at least one function. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0108] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include combinations of the above types of memory. The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0109] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0110] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for detecting anti-pinch features on vehicle windows, characterized in that, The method includes: Collect the capacitance change and current ripple value of the car window during its movement; Detect whether the capacitance change value and the current ripple value are valid; If at least one of the capacitance change value and the current ripple value is valid, then the anti-pinch evaluation value is calculated based on the valid data of the capacitance change value and the current ripple value. By comparing the anti-pinch assessment value with the anti-pinch judgment threshold, it is determined whether the window anti-pinch control is triggered. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
2. The method according to claim 1, characterized in that, The detection of the capacitance change value and the current ripple value includes: Obtain the anti-pinch sensitivity corresponding to the window, and the correction coefficient corresponding to the anti-pinch sensitivity; Obtain the basic capacitance threshold and the basic current ripple threshold; The base capacitance threshold is corrected using the correction coefficient to obtain the target capacitance threshold, and the base current ripple threshold is corrected using the correction coefficient to obtain the target current ripple threshold. The capacitance change value is compared with the target capacitance threshold to determine whether the capacitance change value is valid, and the current ripple value is compared with the target current ripple threshold to determine whether the current ripple value is valid.
3. The method according to claim 2, characterized in that, The step of correcting the base capacitance threshold using the correction coefficient to obtain the target capacitance threshold, and correcting the base current ripple threshold using the correction coefficient to obtain the target current ripple threshold, includes: The real-time position of the vehicle window during its movement is collected, and the operating section of the vehicle window is determined based on the real-time position. Obtain the compensation coefficient corresponding to the running section, wherein the compensation coefficient gradually decreases as the window travels from the bottom starting section to the top ending section; The correction coefficient is updated using the compensation coefficient to obtain the updated correction coefficient; The updated correction coefficient is used to correct the base capacitance threshold to obtain the target capacitance threshold, and the updated correction coefficient is used to correct the base current ripple threshold to obtain the target current ripple threshold.
4. The method according to claim 1, characterized in that, The method further includes: The current anti-pinch sensitivity of the window is determined based on the user-triggered sensitivity adjustment operation. Alternatively, the occupants in the corresponding areas of each window in the vehicle can be identified to obtain the occupant type, and the anti-pinch sensitivity of the corresponding window can be set according to the occupant type.
5. The method according to claim 1, characterized in that, The step of calculating the anti-pinch evaluation value based on the valid data in the capacitance change value and the current ripple value includes: Obtain the weights corresponding to the valid data in the capacitance change value and the current ripple value; Based on the valid data and the corresponding weights, the anti-pinch evaluation value is calculated.
6. The method according to claim 1, characterized in that, The step of comparing the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control includes: If the anti-pinch evaluation value is greater than or equal to the anti-pinch determination threshold, then the window anti-pinch control is triggered. or, If the anti-pinch assessment value is less than the anti-pinch determination threshold, then it is determined that the window anti-pinch control will not be triggered.
7. The method according to any one of claims 1-6, characterized in that, The method further includes: Obtain real-time operating parameters of the vehicle and / or real-time behavioral parameters of passengers inside the vehicle; Based on the real-time operating parameters and / or the real-time behavior parameters, the basic anti-pinch judgment threshold corresponding to the anti-pinch sensitivity is updated to obtain the anti-pinch judgment threshold.
8. The method according to claim 1, characterized in that, The method further includes: When the anti-pinch control of the vehicle window is triggered, the corresponding anti-pinch control operation is performed according to the extent by which the anti-pinch evaluation value exceeds the anti-pinch judgment threshold.
9. A vehicle window anti-pinch detection device, characterized in that, The device includes: The data acquisition module is used to collect the capacitance change value and current ripple value of the car window during its movement. The detection module is used to detect whether the capacitance change value and the current ripple value are valid; The calculation module is used to calculate the anti-pinch evaluation value based on the valid data of the capacitance change value and the current ripple value if at least one of the capacitance change value and the current ripple value is valid. The comparison module is used to compare the anti-pinch evaluation value with the anti-pinch judgment threshold to determine whether to trigger the window anti-pinch control. The anti-pinch judgment threshold is determined based on the window's currently set anti-pinch sensitivity.
10. A vehicle, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 8.
