Vehicle window anti-pinch calibration method, device, equipment and medium
By constructing a fitting function for the modified acceleration threshold and ripple period threshold, the misjudgment problem of window ripple anti-pinch in complex environments is solved, achieving stability and accuracy of anti-pinch, and is applicable to various types of windows.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DEEPAL AUTOMOBILE TECH CO LTD
- Filing Date
- 2023-05-18
- Publication Date
- 2026-05-05
AI Technical Summary
Existing anti-pinch technology for car windows is prone to misjudgment in complex environments, resulting in insufficient anti-pinch accuracy and reliability.
By constructing a fitting function for the corrected acceleration threshold and ripple period threshold, and compensating according to vehicle state information, dual calibration of the anti-pinch function for car windows is achieved, ensuring the stability and accuracy of the anti-pinch function under bumpy road conditions.
It effectively avoids misjudgment caused by vibrations in bumpy road environments, improves the accuracy and stability of anti-pinch protection, and is suitable for various types of car windows, including frameless door models.
Smart Images

Figure CN116701837B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive or window anti-pinch technology, specifically to a window anti-pinch calibration method, device, equipment, and medium. Background Technology
[0002] Electric window ripple anti-pinch solutions are gaining increasing attention and popularity in the industry due to their relatively simple structure and low cost. However, the accuracy and reliability of anti-pinch measures remain a challenge. The detection accuracy of the ripple anti-pinch force is the most critical anti-pinch indicator and also the most important indicator for evaluating the safety of the entire system.
[0003] It is worth noting that when calibrating anti-pinch measures for car windows with ripple, in addition to collecting ripple width, ripple period, and current value, high requirements are also placed on the quality of the motor ripple. Furthermore, the complex operating environment of car windows can cause ripple or current fluctuations. Simply using ripple width, motor speed, and current integral for judgment can easily lead to misjudgments in anti-pinch measures. For example, Chinese patent CN11553887A discloses a method for anti-pinch measures based on car window ripple, which obtains the pulse width and period of the ripple based on current data; determines the actual speed difference of the car window drive motor based on the pulse width and period; compares the actual speed difference with a motor speed difference threshold; and generates an anti-pinch control command when the actual speed difference is greater than the motor speed difference threshold. However, this method does not consider complex operating environments and is prone to misjudgments in anti-pinch measures. Chinese patent CN114482767A discloses a method for detecting the anti-pinch force of a ripple-resistant anti-pinch window. After receiving a window closing command, the method continuously captures the number of ripple pulse cycles of a window drive motor for the corresponding ripple-resistant anti-pinch window, and compensates for a calibrated number of ripple cycles to obtain a corresponding compensated number of cycles. It then determines whether at least two consecutive captured ripple pulse cycles are greater than the corresponding compensated number of cycles; if so, it outputs an anti-pinch force detection signal to drive the window drive motor to stop the ripple-resistant anti-pinch window from closing. However, this method also fails to consider the window's operating environment, which can easily lead to false alarms. Summary of the Invention
[0004] In view of the shortcomings of the prior art described above, this application provides a method, apparatus, equipment and medium for calibrating anti-pinch features of vehicle windows, in order to solve the technical problem of inaccurate anti-pinch calibration of vehicle windows in the prior art.
[0005] In a first aspect, this application provides a method for calibrating a vehicle window anti-pinch function, comprising: acquiring a reference value for acceleration and a reference value for ripple period of the vehicle window during operation, and vehicle state information; constructing a first fitting function for correcting an acceleration threshold and a second fitting function for correcting a ripple period threshold based on the acceleration reference value and the ripple period reference value, respectively; determining whether the vehicle is in motion or stationary state based on the state information; adjusting the voltage sampling value and voltage fluctuation value in the first fitting function and the second fitting function for compensation based on the vehicle state, thereby obtaining a corrected first fitting function and a corrected second fitting function; calibrating the acceleration threshold using the corrected first fitting function, and calibrating the ripple period threshold using the corrected second fitting function, to complete the anti-pinch calibration of the vehicle window.
[0006] In one embodiment of this application, before obtaining the acceleration reference value and ripple period reference value of the vehicle window during operation, the method further includes:
[0007] The number of ripple cycles of the vehicle window under standard conditions and the acquisition time of the ripple cycles are collected. The position of the vehicle window is determined based on the number of ripple cycles and the acquisition time. The standard environment is the test of the vehicle window at any position within the anti-pinch effective area at a preset voltage and preset temperature. The speed of the vehicle window is obtained by taking the first derivative of the vehicle window position and the acquisition time. The acceleration of the vehicle window is obtained by taking the second derivative of the vehicle window speed and the acquisition time.
[0008] In one embodiment of this application, constructing a first fitting function for correcting the acceleration threshold based on the acceleration reference value and the ripple period reference value includes:
[0009] The acceleration of the vehicle window is tested using a first preset resistance. Based on the sampled voltage value and the first voltage fluctuation value before the window is obstructed, and the maximum acceleration value after the window is obstructed, a voltage reference value and an acceleration reference value are determined. The standard environment is adjusted to the test environment, and the vehicle window is tested using the first preset resistance, forming a first dataset consisting of multiple sets of the vehicle window acceleration and the sampled voltage values. Based on the correlation between the first dataset, the voltage reference value, and the acceleration reference value, a first fitting sub-function A for correcting the acceleration threshold is constructed.
[0010] In one embodiment of this application, constructing a first fitting function for correcting the acceleration threshold based on the acceleration reference value and the ripple period reference value further includes:
[0011] If the vehicle is in motion, multiple tests are conducted on road surfaces with varying degrees of bumpiness, and the voltage fluctuation value corresponding to each test is recorded. The magnitude of the acceleration threshold is adjusted accordingly to eliminate false anti-pinch devices, and the acceleration threshold variation range and the corresponding voltage fluctuation value are recorded to form a third dataset. A first fitting sub-function B is fitted to correct the acceleration threshold based on the third dataset. The first fitting function is determined by the sum of the first fitting sub-function A and the first fitting sub-function B.
[0012] In one embodiment of this application, the expression of the first fitting function includes:
[0013] α 阈 =F1(u)α0+F2(δu)(1)
[0014] F1(u)=K K3 (u / u0-1) 3 +K K2 (u / u0-1) 2 +K K1 (u / u0-1)(2)
[0015] F2(δu=K λ13 δu 3 +K λ12 δu 2 +K λ11 δu(3)
[0016] In the formula, α 阈 F1(u)α0 is the first fitting function characterizing the acceleration threshold, α0 is the acceleration reference value, F2(δu) is the first fitting sub-function B, u is the sampling voltage, u0 is the voltage reference value, δu is the fluctuating voltage, and K is a constant.
[0017] In one embodiment of this application, constructing a second fitting function to correct the ripple period threshold based on the acceleration reference value and the ripple period reference value includes:
[0018] The ripple cycle number of the vehicle window is adjusted for testing to make the window reach the second preset resistance. A second voltage fluctuation value and the ripple cycle reference value are determined, whereby the second voltage fluctuation value characterizes the operational stability of the vehicle window. The standard environment is adjusted to the test environment, and the ripple cycle number of the vehicle window is adjusted for testing to make the window reach the second preset resistance, forming a second dataset consisting of multiple sets of ripple cycle numbers and sampled voltage values. Based on the correlation between the second dataset, the second voltage fluctuation value, and the ripple cycle reference value, a second fitting sub-function A is constructed to correct the ripple cycle threshold.
[0019] In one embodiment of this application, constructing a second fitting function to correct the ripple period threshold based on the acceleration reference value and the ripple period reference value further includes:
[0020] If the vehicle is stationary, perform multiple tests under different test environments and record the voltage fluctuation value corresponding to each test; adjust the size of the ripple period accordingly to eliminate false alarms, and record the ripple period variation range and the corresponding voltage fluctuation value to form a fourth dataset; fit a second fitting sub-function B to correct the ripple period threshold based on the fourth dataset; determine the second fitting function by the sum of the second fitting sub-function A and the second fitting sub-function B.
[0021] In one embodiment of this application, the expression of the second fitting function includes:
[0022] A=F3(u)A0+F4(δu)(4)
[0023] F3(u)=K A3 (u / u0-1) 3 +K A2 (u / u0-1) 2 +K A1 (u / u0-1)(5)
[0024] F4(δu)=K λ23 δu 3 +K λ22 δu 2 +K λ21 δu(6)
[0025] In the formula, A is the second fitting function characterizing the ripple period threshold, F3(u)A0 is the second fitting sub-function A, A0 is the ripple period reference value, F4(δu) is the second fitting sub-function B, u is the sampling voltage, u0 is the voltage reference value, δu is the fluctuating voltage, and K is a constant.
[0026] In one embodiment of this application, after the anti-pinch calibration of the vehicle window is completed, the method further includes:
[0027] Determine whether the window travel is within the anti-pinch effective zone; if so, determine whether the window acceleration is greater than or equal to the acceleration threshold; if the window acceleration is greater than or equal to the acceleration threshold, run the motor for a number of ripple cycles, and determine whether the current window acceleration is greater than or equal to the acceleration threshold and whether the window speed is greater than or equal to the speed threshold; if the current window acceleration is greater than or equal to the acceleration threshold and the window speed is greater than or equal to the speed threshold, reverse the motor to prevent pinching; if the current window acceleration is less than the acceleration threshold or the window speed is less than a preset speed, jump to re-determine the window acceleration.
[0028] In a second aspect, this application provides a window anti-pinch calibration device, comprising:
[0029] The system includes: an acquisition module for acquiring the acceleration reference value and ripple period reference value of the window during operation, as well as the vehicle's state information; a function construction module for constructing a first fitting function for correcting the acceleration threshold and a second fitting function for correcting the ripple period threshold based on the acceleration reference value and the ripple period reference value, respectively; a vehicle state determination module for determining whether the vehicle is in motion or stationary state based on the state information; a function compensation module for adjusting the voltage sampling value and voltage fluctuation value in the first fitting function and the second fitting function according to the vehicle's state to obtain the corrected first fitting function and the corrected second fitting function; and an anti-pinch calibration module for calibrating the acceleration threshold using the corrected first fitting function and the ripple period threshold using the corrected second fitting function to complete the anti-pinch calibration of the window.
[0030] In a third aspect, this application provides an electronic device comprising:
[0031] One or more processors;
[0032] A storage device for storing one or more programs, which, when executed by one or more processors, enable the electronic device to implement the aforementioned anti-pinch calibration device for car windows.
[0033] In a fourth aspect, this application provides a vehicle device that includes the aforementioned electronic equipment.
[0034] In a fifth aspect, this application provides a computer-readable storage medium storing computer-readable instructions that, when executed by a computer's processor, cause the computer to perform the aforementioned anti-pinch calibration device for car windows.
[0035] The beneficial effects of this application are as follows: By calibrating the acceleration threshold using the modified first fitting function and the ripple period threshold using the modified second fitting function, the stability of the window anti-pinch system can be ensured even when the vehicle is driving on a bumpy road. This effectively avoids the phenomenon of window anti-pinch misjudgment caused by vibrations in a bumpy road environment, ensuring the stability and versatility of the anti-pinch capability. It not only effectively eliminates false pinching but also improves the accuracy of anti-pinch, and can be widely applied to window anti-pinch systems of various frameless door models.
[0036] In addition, the system determines whether the window (glass) is in the effective anti-pinch zone. When it is in the effective anti-pinch zone, it determines whether an object is trapped based on the ripple period of the window motor and the window acceleration, thereby improving the accuracy of anti-pinch and reducing the number of false anti-pinch incidents.
[0037] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0038] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0039] Figure 1 This is a schematic diagram illustrating the implementation environment of the anti-pinch calibration method for vehicle windows, as shown in an exemplary embodiment of this application.
[0040] Figure 2 This is a flowchart illustrating an exemplary embodiment of the method for calibrating a vehicle window anti-pinch mechanism.
[0041] Figure 3 This is a schematic diagram illustrating the principle of a vehicle window anti-pinch calibration method, as shown in an exemplary embodiment of this application.
[0042] Figure 4 This is an exemplary embodiment of the present application illustrating a flowchart for determining the anti-pinch function of a vehicle window;
[0043] Figure 5 This is a complete flowchart illustrating an exemplary embodiment of the method for calibrating and calibrating a vehicle window anti-pinch mechanism.
[0044] Figure 6 This is a structural block diagram of a vehicle window anti-pinch calibration device shown in an exemplary embodiment of this application;
[0045] Figure 7This is a simplified structural diagram of a vehicle window anti-pinch system shown in an exemplary embodiment of this application;
[0046] Figure 8 This is a schematic diagram illustrating the fitting of an acceleration threshold to a reference value in an exemplary embodiment of this application;
[0047] Figure 9 This is a schematic diagram illustrating the fitting of the operating ripple number A with a reference value in an exemplary embodiment of this application;
[0048] Figure 10 This is a schematic diagram illustrating the fitting of the ripple quantity ΔA and δu for anti-pinch adjustment due to accidental clamping, as shown in an exemplary embodiment of this application.
[0049] Figure 11 This is an exemplary embodiment of the present application illustrating the adjustment of △α to prevent accidental pinching. 阈 Schematic diagram of fitting with δu;
[0050] Figure 12 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0051] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.
[0052] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0053] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.
[0054] The upward force exerted during the raising of power windows is substantial, reaching over 50 kg in some cases and over 15 kg in others. If the window encounters an obstacle between itself and the car frame during automatic raising, such as a hand or, worse, a child's neck, injury or even death can occur. Therefore, the new national standard stipulates that vehicles with automatic windows must be equipped with an anti-pinch function. This function stops the window from rising and immediately reverses to lower it if it encounters an obstacle, minimizing the risk of injury. Currently, the main anti-pinch systems used are Hall effect anti-pinch systems and wave-effect anti-pinch systems.
[0055] The principle of the window ripple anti-pinch technology is to collect the current of the motor through the sampling resistor of the designed sampling circuit, and to obtain the window position and anti-pinch force by filtering and other algorithms on the collected current. Whether anti-pinch occurs is determined based on whether the anti-pinch force reaches the set threshold.
[0056] The anti-pinch force calculation principle of car windows is that the coil of an energized DC motor rotates in a permanent magnetic field, generating torque. The torque is directly proportional to the anti-pinch force. When the load on the car window changes, the torque changes, which is directly reflected in the increase of current and the decrease of speed. The anti-pinch force of the car window can be indirectly calculated by the relationship curve between the torque and the motor current and speed.
[0057] In related technologies, anti-pinch is determined based on the absolute value of the current. When the collected motor current is greater than the set anti-pinch current threshold, anti-pinch is determined. However, the motor current of a car window is easily affected by factors such as motor voltage, ambient temperature, rubber strip aging, and road conditions. When these factors change, the set anti-pinch current threshold may not be applicable, resulting in large fluctuations in the anti-pinch force or even false anti-pinch, that is, it is easy to cause false judgment of anti-pinch.
[0058] To address the aforementioned problems, this application provides a method for calibrating anti-pinch features of vehicle windows. Please refer to [link to relevant documentation]. Figure 1 , Figure 1 This is a schematic diagram illustrating the implementation environment of an exemplary embodiment of the vehicle window anti-pinch calibration method of this application. Figure 1As shown, the implementation environment includes a vehicle 101 and a window anti-pinch calibration device 102. The window anti-pinch calibration device 102 is embedded in the vehicle 101 and is used to calibrate the anti-pinch function of the vehicle 101. The anti-pinch calibration device 102 includes, but is not limited to, vehicle infotainment systems, on-board computers, etc. By using a modified first fitting function to calibrate the acceleration threshold and using a modified second fitting function to calibrate the ripple period threshold, the acceleration threshold and ripple period threshold are adjusted through dual calibration. Even when the vehicle is driving on a bumpy road, the stability of the window anti-pinch function can be ensured. This effectively avoids the phenomenon of window anti-pinch misjudgment caused by vibration caused by the bumpy road environment, ensuring the stability and universality of the anti-pinch capability. It not only eliminates false pinching but also improves the accuracy of anti-pinch function.
[0059] Please see Figure 2 The flowchart of the anti-pinch calibration method for vehicle windows, as illustrated in an exemplary embodiment of this application, is described in detail below:
[0060] Step S210: Obtain the acceleration reference value and ripple period reference value of the window during operation, as well as the vehicle's status information;
[0061] Specifically, the vehicles are typically land-based vehicles with three or more wheels. In this application, vehicles include fuel-powered vehicles and new energy vehicles, including but not limited to pure electric vehicles, plug-in hybrid electric vehicles, range-extended hybrid electric vehicles, hydrogen fuel cell vehicles, ethanol vehicles, and natural gas vehicles.
[0062] It should be noted that the windows are installed on the aforementioned vehicles, and all windows (glass) on each vehicle are electrically controlled, so no further limitations are specified here. Additionally, vehicle status information includes engine status, vehicle speed, road surface roughness, and vehicle infotainment system status. For example, a standard environment can be defined as a baseline environment (13.5V, 15℃), and window-raising tests can be performed at a baseline position (any fixed position within the anti-pinch effective zone). Furthermore, the acceleration baseline value and ripple period baseline value are calculated, as detailed in the later embodiments, and will not be repeated here.
[0063] In another embodiment, before obtaining the reference value of the window's running acceleration and the reference value of the ripple period, the method further includes:
[0064] The system collects the number of ripple cycles and the acquisition time of the ripple cycles under standard conditions. The window position is determined based on the number of ripple cycles and the acquisition time. The standard environment refers to testing the window at any position within the anti-pinch effective zone under preset voltage and temperature. For example, a standard environment is defined as repeatedly testing any position within the anti-pinch effective zone at a reference temperature (13.5V, 15℃) and a reference position (any fixed position within the anti-pinch effective zone) to determine the number of ripple cycles and the window position. The window speed is obtained by taking the derivative of the window position and the acquisition time.
[0065] The acceleration of the car window is obtained by taking the second derivative of the speed of the car window and the acquisition time.
[0066] For example, velocity and acceleration can be calculated by selecting a fixed number of ripples, Δn. For instance:
[0067] △n=∫ n n+8 S(n) represents the number of 8 ripples continuously measured during the operation of the car window.
[0068] V = Δn / Δt means that V is the average velocity of Δn.
[0069] α=V n+△n -V n / △t△t represents the time corresponding to the quantity △n.
[0070] The above method can quickly and accurately obtain the acceleration and speed of the drive motor controlling the operation of the window glass, which is convenient for subsequent anti-pinch calibration and anti-pinch testing.
[0071] Step S220: Construct a first fitting function for correcting the acceleration threshold and a second fitting function for correcting the ripple period threshold based on the acceleration reference value and the ripple period reference value, respectively.
[0072] In one embodiment of this application, constructing a first fitting function for correcting the acceleration threshold based on the acceleration reference value and the ripple period reference value includes:
[0073] The acceleration of the window is tested using a first preset resistance. Based on the sampled voltage value and the first voltage fluctuation value before the window is blocked, and the maximum acceleration value after the window is blocked, the voltage reference value and the acceleration reference value are determined (i.e., step S210).
[0074] The standard environment is adjusted to the test environment, and the window is tested using a first preset resistance to form a first dataset consisting of multiple sets of window acceleration and the sampled voltage values.
[0075] Based on the first dataset, the correlation between the voltage reference value and the acceleration reference value, a first fitting sub-function A is constructed to correct the acceleration threshold.
[0076] In another embodiment of this application, namely, based on the above embodiments, constructing a first fitting function for correcting the acceleration threshold according to the acceleration reference value and the ripple period reference value, further includes:
[0077] If the vehicle is in motion, adjust the road surface with different degrees of bumpiness and conduct multiple tests, and record the voltage fluctuation value corresponding to each test.
[0078] The magnitude of the acceleration threshold is adjusted accordingly to eliminate false alarms, and the range of acceleration threshold changes and the corresponding voltage fluctuation values are recorded to form a third dataset;
[0079] A first fitting sub-function B, which corrects the acceleration threshold, is fitted based on the third dataset;
[0080] The first fitting function is determined by the sum of the first fitting sub-function A and the first fitting sub-function B.
[0081] Specifically, based on the above embodiments, the expression of the first fitting function includes:
[0082] α 阈 =F1(u)α0+F2(δu)(1)
[0083] F1(u)=K K3 (u / u0-1) 3 +K K2 (u / u0-1) 2 +K K1 (u / u0-1)(2)
[0084] F2(δu=K λ13 δu 3 +K λ12 δu 2 +K λ11 δu(3)
[0085] In the formula, α 阈 F1(u)α0 is the first fitting function characterizing the acceleration threshold, α0 is the acceleration reference value, F2(δu) is the first fitting sub-function B, u is the sampling voltage, u0 is the voltage reference value, δu is the fluctuating voltage, and K is a constant.
[0086] In one embodiment of this application, constructing a second fitting function to correct the ripple period threshold based on the acceleration reference value and the ripple period reference value includes:
[0087] The number of ripple cycles of the vehicle window is adjusted for testing to make the vehicle window reach the second preset resistance. The second voltage fluctuation value and the ripple cycle reference value are determined (i.e., step S210). The second voltage fluctuation value characterizes the operating stability of the vehicle window.
[0088] The standard environment is adjusted to the test environment, and the ripple cycle number of the window is adjusted for testing so that the window reaches the second preset resistance, forming a second dataset composed of multiple sets of the ripple cycle number and the sampled voltage value;
[0089] Based on the second dataset, the correlation between the second voltage fluctuation value and the ripple period reference value, a second fitting sub-function A is constructed to correct the ripple period threshold.
[0090] In another embodiment of this application, namely, in the above embodiments, constructing a second fitting function to correct the ripple period threshold based on the acceleration reference value and the ripple period reference value further includes:
[0091] If the vehicle is stationary, perform multiple tests under different test environments and record the voltage fluctuation value corresponding to each test.
[0092] The size of the ripple period is adjusted accordingly to eliminate false alarms, and the ripple period variation range and the corresponding voltage fluctuation value are recorded to form a fourth dataset.
[0093] A second fitting sub-function B, which corrects the ripple period threshold, is fitted based on the fourth dataset;
[0094] The second fitting function is determined by the sum of the second fitting sub-function A and the second fitting sub-function B.
[0095] In another embodiment of this application, the expression of the second fitting function includes:
[0096] A=F3(u)A0+F4(δu)(4)
[0097] F3(u)=K A3 (u / u0-1) 3 +K A2 (u / u0-1) 2 +K A1 (u / u0-1)(5)
[0098] F4(δu)=K λ23 δu 3 +K λ22 δu 2 +K λ21 δu(6)
[0099] In the formula, A is the second fitting function characterizing the ripple period threshold, F3(u)A0 is the second fitting sub-function A, A0 is the ripple period reference value, F4(δu) is the second fitting sub-function B, u is the sampling voltage, u0 is the voltage reference value, δu is the fluctuating voltage, and K is a constant.
[0100] Step S230: Determine whether the vehicle is in motion or stationary state based on the state information;
[0101] Specifically, the vehicle's status can be determined by the vehicle's engine status information, vehicle infotainment system status information, and vehicle speed information. For example, when the vehicle speed is not zero, the vehicle can be determined to be in motion by the engine and infotainment system status. Conversely, when the vehicle speed is zero, the vehicle is determined to be stationary. At the same time, the degree of vehicle vibration can be determined by the degree of road bumps, which helps to increase the acceleration threshold or the ripple period threshold in subsequent compensation adjustments.
[0102] Step S240: Adjust the voltage sampling value and voltage fluctuation value in the first fitting function and the second fitting function according to the state of the vehicle to compensate for the voltage fluctuation value, and obtain the corrected first fitting function and the corrected second fitting function.
[0103] See details Figure 3 The diagram below illustrates a schematic of an exemplary embodiment of the anti-pinch calibration method for vehicle windows, as detailed below:
[0104] In a reference environment, namely, the standard environment of this application, the acceleration of the vehicle window is tested using a first preset resistance. An acceleration reference value is obtained based on the sampled voltage value before the window is obstructed, the first voltage fluctuation value, and the maximum acceleration value after the window is obstructed. Based on the acceleration reference value, the number of ripple cycles of the window is adjusted for testing so that the window reaches the second preset resistance, and the ripple cycle reference value is determined.
[0105] The acceleration threshold and ripple period threshold under complex environment are compensated by formula (1) and formula (4). It should be noted that the compensation is made to different degrees depending on the state of the complex environment in which the vehicle is located, such as the vehicle being stationary or in motion, and the degree of bumpiness in the vehicle's motion state. For example, the sampling voltage describes the change in the basic resistance of the window, and the voltage fluctuation value describes the change in the smoothness of the window operation.
[0106] It should be noted that by adjusting the voltage fluctuation value and the sampling voltage, adaptive compensation is performed on the first and second fitting functions, thereby achieving the purpose of dynamic adjustment, so as to meet the requirements of complex environments and overcome the mis-squeezing caused by complex environments.
[0107] Step S250: The acceleration threshold is calibrated using the modified first fitting function, and the ripple period threshold is calibrated using the modified second fitting function, so as to complete the anti-pinch calibration of the window.
[0108] Specifically, by modifying the first and second fitting functions in the above manner, they can meet the application requirements of various complex environments, greatly improving their versatility and stability, and also enhancing the detection capability of mis-clamping.
[0109] In this embodiment, by compensating for both the calibration ripple cycle number and the calibration acceleration threshold, the dual calibration not only improves the detection accuracy of the window anti-pinch force, but also reduces the impact of sudden changes in motor operating voltage, operating temperature, and operating load on the detection of the anti-pinch force.
[0110] In one embodiment of this application, please refer to Figure 4 This is an exemplary embodiment of the flowchart illustrating the anti-pinch determination process for a vehicle window. After the anti-pinch calibration of the vehicle window is completed, the process further includes:
[0111] Determine if the window travel is within the effective anti-pinch zone; if the window travel is not within the effective anti-pinch zone, then close the anti-pinch mechanism; if the window travel is within the effective anti-pinch zone, then determine if the window acceleration is greater than or equal to the acceleration threshold.
[0112] If the window acceleration is greater than or equal to the acceleration threshold, the motor will run for a certain number of ripple cycles (i.e., a preset number) and it will be determined whether the current window acceleration is greater than or equal to the acceleration threshold and whether the window speed is greater than or equal to the speed threshold.
[0113] If the current window acceleration is greater than or equal to the acceleration threshold and the window speed is greater than or equal to the speed threshold, the motor will reverse to prevent pinching.
[0114] It should be noted that when the car window is initially running, since it has not come into contact with any obstacle, its acceleration is zero and the window is moving at a constant speed. Once the window comes into contact with an obstacle, the window's acceleration and speed will increase. Therefore, the above method is used as the boundary condition for anti-pinch judgment, which will not be elaborated here.
[0115] If the current window acceleration is less than the acceleration threshold or the window speed is less than the preset speed, the process jumps to the loop of re-evaluating the window acceleration.
[0116] The above methods can greatly improve the anti-pinch accuracy, meet the application scenarios of various complex environments, and are suitable for various framed or frameless car windows.
[0117] In other embodiments, please refer to Figure 5 The following is a complete flowchart illustrating an exemplary embodiment of the method for calibrating a vehicle window to prevent pinching, as detailed below:
[0118] Under the baseline environment, the acceleration α value was tested using a 40N threshold device, and α0 and u0 were recorded.
[0119] Under the reference environment, adjust the ripple number A, and ensure the anti-pinch force meets 75N±5N. Record A0 and δu0.
[0120] Under the test environment of 9~16V / -45℃~85℃, different arrays α, u are recorded using a 40N threshold device to obtain the first fitting sub-function A, that is, formula (2) multiplied by α0;
[0121] Under the test environment of 9~16V / -45℃~85℃, adjust the ripple number A, and the anti-pinch force meets 75N±5N. Record A and u to obtain the second fitting sub-function A, that is, formula (5) multiplied by A0.
[0122] Static anti-pinch elimination
[0123] Repeatedly test the false alarm clip under different static environments and record the δu value; increase the A value under the corresponding conditions to ensure the elimination of the false alarm clip, and record the △A value and the δu array; obtain the second fitting sub-function B, i.e., formula (6).
[0124] Dynamic anti-pinch elimination
[0125] Repeatedly test the false alarm under different dynamic road conditions and record the δu value; adjust the α threshold according to the corresponding conditions to ensure the elimination of false alarm, and record the Δα threshold and δu array; obtain the first fitting sub-function B, that is, formula (3).
[0126] In this embodiment, whether the vehicle is static or dynamic, false pinch prevention can be eliminated, greatly improving the accuracy of pinch prevention.
[0127] Please see Figure 7 This is a simplified structural diagram of a vehicle window anti-pinch system, illustrated in an exemplary embodiment of this application, as detailed below:
[0128] The ripple sampling and counting module uses a common AD (analog-to-digital) sampling mechanism to count the ripples; at the same time, it records the travel position S of the window.
[0129] The travel position S is only affected by the amount of ripple and has no influence on the current value, ripple width, or ripple period fluctuation. This allows for maximum compatibility with factors such as current changes, ripple width changes, and ripple period fluctuations during the window's upward movement under complex conditions. Therefore, the window travel position is denoted as S(t).
[0130] The sampling voltage acquisition module uses a high-sensitivity resistor to sample and amplify the ripple motor circuit to obtain the baseline value, such as:
[0131] u(t)=u·sin(ωt+ψ)
[0132] The u-values mentioned above are the data collection targets. These u-values primarily represent the performance of the window system in the current environment. It's important to distinguish the u-value when encountering an obstacle (at which point the u-value increases rapidly). A threshold value for δu can be set to determine whether an obstacle has been encountered. When δu > the δu threshold, the u-value is taken as the stable voltage u-value from the previous moment. This δu threshold can be obtained through multiple tests, which will not be elaborated upon here.
[0133] The fluctuation value of the sampling voltage is collected, and the difference between the sampling voltage values before and after 8 ripples is used as the δu value. The change of this voltage sampling value is used to describe the stability of the window.
[0134] The window speed / acceleration processing module is mainly used to process the window's operating speed and acceleration, as detailed in the above description. Here, acceleration represents the change in external force experienced by the window system during its operation.
[0135] The anti-pinch threshold correction and storage module is mainly used for storing and correcting anti-pinch condition thresholds, including:
[0136] ① Determine the position of the car window (the car window is within the effective anti-pinch zone);
[0137] ② Acceleration threshold determination, (α≥α threshold);
[0138] ③ After running A ripple again, check for anti-pinch judgment (V≥V threshold);
[0139] The above anti-pinch conditions must all be in effect simultaneously for the anti-pinch function to be triggered.
[0140] Where, V_threshold = V_0 + α_threshold δ_t;
[0141] V0 is the velocity value when the α threshold is triggered, and δt is the time to run A more ripples.
[0142] The threshold introduces the sampling voltage value u and the sampling voltage change value δu to correct for changes in the window under different usage environments and road bumps.
[0143] The α threshold and V threshold can be obtained experimentally.
[0144] The anti-pinch processing module obtains the speed value, acceleration value, and speed threshold and acceleration threshold under the current window state (different u and δu values), and sends a drive command.
[0145] The motor drive module receives instructions from the processing unit and drives the motor to operate.
[0146] Please see Figure 8 This is a schematic diagram illustrating the fitting of an acceleration threshold and a reference value in an exemplary embodiment of this application, as detailed below:
[0147] For α 阈 Value, using 40N(α) 阈 The window lifting test was conducted using a standard resistance device (corresponding to the set anti-pinch force value). Under a reference environment (13.5V, 15℃) and a reference position (any fixed position within the effective anti-pinch zone), the sampled voltage value u and voltage fluctuation value (static and dynamic) δu of the window before it was obstructed at that position, as well as the maximum acceleration value α of the window after it was obstructed, were repeatedly tested and recorded as the voltage reference value u0 and the acceleration reference value α0, respectively.
[0148] Among them, the sampling voltage value u is obtained by sampling resistor and amplification; its physical meaning represents the current environmental performance of the car window, and the change of u value represents the environmental change, including changes in temperature, humidity, and the damping coefficient of the car window surface.
[0149] The voltage fluctuation value δu is calculated using the sampled voltage u, which is flexible in method; its physical meaning represents the stability of the current window operation; generally, in a stable window system, δu = 0 in a static state, and the δu value becomes more pronounced when the window is running on a bumpy road.
[0150] Let the expected value of acceleration be:
[0151] α 阈 =F α (u,δu,α0)=F1(u)α0+F2(δu)δu≥δu min (Dynamic road surface)
[0152] Among them, the F1(u) value is the main part of the anti-pinch force threshold correction, and F2(δu) = 0 under static conditions, so it is not considered for the time being.
[0153] Then, under other environments (9-16V, -40-85℃), the corresponding test results u and α were recorded at different locations;
[0154] Let F1(u)=K K3 (u / u0-1) 3 +K K2 (u / u0-1) 2 +K K1 (u / u0-1)
[0155] The above generally uses a third-order function. If the graph is complex and the third-order function is insufficient to fit it completely, a higher-order function can be used. No further restrictions are made here.
[0156] Please see Figure 9 This is a schematic diagram illustrating the fitting of the operating ripple number A with a reference value in an exemplary embodiment of this application, as detailed below:
[0157] Run A ripple tests again for the second judgment of anti-pinch conditions; similarly, in a reference environment (13.5V, 15℃), check the anti-pinch force at a reference position (any position within the effective anti-pinch area). Using a trial-and-error method, adjust the value of A to adjust the window anti-pinch force to about 75N; the corresponding value of A is the A0 value under the reference environment.
[0158] Let the expected value of the running ripple number A be: A = F A (u, δu, A0)=F3(u)A0+F4(δu), δu≥δu min (Dynamic road surface)
[0159] In the case of a stationary vehicle, the value of δu is initially assumed to be zero. Following the method described above for solving F1(u), F3(u) is then solved:
[0160] Let F3(u) = K A3 (u / u0-1) 3 +K A2 (u / u0-1) 2 +K A1 (u / u0-1)
[0161] Thus, the expression for F3(u) is obtained through fitting.
[0162] Please see Figure 10 This is an exemplary embodiment of the present application illustrating the fitting of the ripple quantity ΔA and δu for anti-pinch adjustment due to misoperation, as detailed below:
[0163] During static anti-pinch force testing, no false pinching should occur. If false pinching occurs in all tested environments, F4(δu) should be used for correction.
[0164] The F4(δu) solution involves repeatedly testing the occurrence of false alarms, recording the δu value at each trigger point, and simultaneously increasing the rerun ripple number ΔA until the false alarm disappears while ensuring the anti-pinch force is <100N. After recording a certain number of false alarm data points (δu, ΔA), the fitted function is obtained.
[0165] F4(δu)=K λ23 δu 3 +K λ22 δu 2 +K λ21 δu
[0166] Note that the range of values for δu must be less than the δu collected under dynamic road surface conditions. min Value. If δu does not meet the requirements under static conditions, it indicates that the window is not operating smoothly and needs to be rectified.
[0167] Please see Figure 11This is an exemplary embodiment of the present application illustrating the adjustment of △α to prevent accidental pinching. 阈 The fitting diagram with δu is detailed below:
[0168] First, δu samples were taken for all standard road surfaces to confirm the range of δu values; then, α was adjusted for each bumpy road surface. 阈 The value ensures that anti-pinch occurs correctly under each road surface, and records δu and the increased acceleration threshold Δα. 阈 .
[0169] Record arrays (δu, Δα) under different road surfaces 阈 The fitted function yields:
[0170] F2(δu=K λ13 δu 3 +K λ12 δu 2 +K λ11 δu
[0171] In this embodiment, it is proposed to use the sampled voltage value u to represent changes in the external environment and the sampled voltage change rate δu to represent fluctuations in the operation of the vehicle window.
[0172] By using both acceleration and velocity thresholds for judgment, the probability of false pinch prevention can be further reduced.
[0173] By introducing static anti-pinch correction function F2(δu) and dynamic anti-pinch correction function F1(δu), the influence of anti-pinch force under absolute static conditions during calibration is fully avoided. Therefore, the correction for anti-pinch failure has virtually no impact on the anti-pinch force, greatly shortening the development and verification cycle, improving development efficiency, and reducing development costs. For example, development efficiency can be improved by at least 100%, while the overall vehicle cost can be reduced by at least 75 yuan per vehicle.
[0174] Similarly, when calibrating the anti-pinch force, the arrays obtained under different environments do not interfere with each other. The acceleration and velocity threshold related expressions F1(u) and F3(u) are obtained through curve fitting. When the anti-pinch force value is modified for a certain fixed environment, it will not affect the anti-pinch force value under other environments.
[0175] like Figure 6 As shown, the exemplary anti-pinch calibration device 600 for vehicle windows includes:
[0176] The acquisition module 601 is used to acquire the acceleration reference value and ripple period reference value of the window during operation, as well as the vehicle's status information;
[0177] The function construction module 602 is used to construct a first fitting function for correcting the acceleration threshold and a second fitting function for correcting the ripple period threshold based on the acceleration reference value and the ripple period reference value, respectively.
[0178] The vehicle status determination module 603 is used to determine whether the vehicle is in motion or stationary state based on the status information.
[0179] The function compensation module 604 is used to adjust the voltage sample value and voltage fluctuation value in the first fitting function and the second fitting function according to the state of the vehicle to obtain the corrected first fitting function and the corrected second fitting function.
[0180] The anti-pinch calibration module 605 calibrates the acceleration threshold using the modified first fitting function and the ripple period threshold using the modified second fitting function to complete the anti-pinch calibration of the vehicle window.
[0181] In this exemplary anti-pinch calibration device for vehicle windows, the acceleration threshold is calibrated using a modified first fitting function, and the ripple period threshold is calibrated using a modified second fitting function. By adjusting the acceleration and ripple period thresholds through dual calibration, the stability of the anti-pinch function can be ensured even when the vehicle is traveling on a bumpy road surface. This effectively avoids the phenomenon of false judgments caused by vibrations in a bumpy road environment, ensuring the stability and versatility of the anti-pinch capability. It not only eliminates false pinches but also improves the accuracy of anti-pinch, making it widely applicable to various frameless door models. At the same time, it improves development efficiency and reduces development costs. For example, development efficiency can be improved by at least 100%, and the overall vehicle cost can be reduced by at least 75 yuan per vehicle.
[0182] In addition, the system determines whether the window glass is within the effective anti-pinch zone. When it is within the effective anti-pinch zone, it determines whether an object is trapped based on the ripple period of the window motor and the window acceleration, thereby improving the accuracy of the anti-pinch system and reducing false anti-pinch situations.
[0183] It should be noted that the anti-pinch calibration device for car windows provided in the above embodiments and the anti-pinch calibration method for car windows provided in the above embodiments belong to the same concept. The specific operation methods of each module and unit have been described in detail in the method embodiments and will not be repeated here. In practical applications, the anti-pinch calibration device for car windows provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.
[0184] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the anti-pinch calibration device for car windows provided in the above embodiments.
[0185] Figure 12 A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 12 The computer system 1200 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0186] like Figure 12 As shown, the computer system 1200 includes a Central Processing Unit (CPU) 1201, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 1202 or programs loaded from storage portion 1208 into Random Access Memory (RAM) 1203, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in RAM 1203. The CPU 1201, ROM 1202, and RAM 1203 are interconnected via bus 1204. Input / output (I / O) interface 1205 is also connected to bus 1204.
[0187] The following components are connected to I / O interface 1205: an input section 1206 including a keyboard, mouse, etc.; an output section 1207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to I / O interface 1205 as needed. Removable media 1211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1210 as needed so that computer programs read from them can be installed into storage section 1208 as needed.
[0188] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1209, and / or installed from removable medium 1211. When the computer program is executed by central processing unit (CPU) 1201, it performs various functions defined in the system of this application.
[0189] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0190] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0191] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0192] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the anti-pinch calibration device for vehicle windows as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.
[0193] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A method for calibrating anti-pinch features of a vehicle window, characterized in that, include: The system acquires the reference values for acceleration and ripple period of the window during operation, as well as the vehicle's status information. Based on the acceleration reference value and the ripple period reference value, a first fitting function for correcting the acceleration threshold and a second fitting function for correcting the ripple period threshold are constructed respectively; wherein, the first fitting function is composed of a first fitting sub-function A and a first fitting sub-function B for correcting the acceleration threshold, and the second fitting function is composed of a second fitting sub-function A and a second fitting sub-function B for correcting the ripple period threshold; The vehicle is determined to be in motion or stationary state based on the status information; The voltage sample value and voltage fluctuation value in the first fitting function and the second fitting function are adjusted according to the state of the vehicle to compensate for the voltage fluctuation value, so as to obtain the corrected first fitting function and the corrected second fitting function. The acceleration threshold is calibrated using the modified first fitting function, and the ripple period threshold is calibrated using the modified second fitting function to complete the anti-pinch calibration of the vehicle window.
2. The method for calibrating anti-pinch features of a vehicle window according to claim 1, characterized in that, Before obtaining the reference values for acceleration and ripple period of the vehicle window during operation, the method further includes: The number of ripple cycles of the vehicle window under standard conditions and the acquisition time of the number of ripple cycles are collected. The position of the vehicle window is determined based on the number of ripple cycles and the acquisition time. The standard environment is the test of the vehicle window at any position within the anti-pinch effective area at a preset voltage and preset temperature. The speed of the car window is obtained by taking the derivative of the window position and the acquisition time. The acceleration of the car window is obtained by taking the second derivative of the speed of the car window with the acquisition time.
3. The method for calibrating anti-pinch features of a vehicle window according to claim 2, characterized in that, A first fitting function for correcting the acceleration threshold is constructed based on the acceleration reference value and the ripple period reference value, including: The acceleration of the vehicle window is tested using a first preset resistance. Based on the sampled voltage value and the first voltage fluctuation value before the vehicle window is blocked, and the maximum acceleration value after the vehicle window is blocked, the voltage reference value and the acceleration reference value are determined. The standard environment is adjusted to the test environment, and the window is tested using a first preset resistance to form a first dataset consisting of multiple sets of window acceleration and the sampled voltage values. Based on the first dataset, the correlation between the voltage reference value and the acceleration reference value, a first fitting sub-function A is constructed to correct the acceleration threshold.
4. The method for calibrating anti-pinch features of a vehicle window according to claim 3, characterized in that, Constructing a first fitting function for correcting the acceleration threshold based on the acceleration reference value and the ripple period reference value further includes: If the vehicle is in motion, adjust the road surface with different degrees of bumpiness and conduct multiple tests, and record the voltage fluctuation value corresponding to each test. The magnitude of the acceleration threshold is adjusted accordingly to eliminate false alarms, and the range of acceleration threshold changes and the corresponding voltage fluctuation values are recorded to form a third dataset; A first fitting sub-function B, which corrects the acceleration threshold, is fitted based on the third dataset; The first fitting function is determined by the sum of the first fitting sub-function A and the first fitting sub-function B.
5. The method for calibrating anti-pinch features of a vehicle window according to claim 4, characterized in that, The expression for the first fitting function includes: a 阈 =F1(u)α0+F2(δu)(1) F1(u)=K K3 (u / u0-1) 3 +K K2 (u / u0-1) 2 +K K1 (u / u0-1)(2) F2(δu)=K λ13 δu 3 +K λ12 δu 2 +K λ11 δu(3) In the formula, α 阈 F1(u)α0 is the first fitting function characterizing the acceleration threshold, α0 is the acceleration reference value, F2(δu) is the first fitting sub-function B, u is the sampling voltage, u0 is the voltage reference value, δu is the fluctuating voltage, and K is a constant.
6. The method for calibrating anti-pinch features of a vehicle window according to claim 2, characterized in that, A second fitting function for correcting the ripple period threshold is constructed based on the acceleration reference value and the ripple period reference value, including: The number of ripple cycles of the vehicle window is adjusted for testing to make the vehicle window reach a second preset resistance. The second voltage fluctuation value and the ripple cycle reference value are determined. The second voltage fluctuation value characterizes the operational stability of the vehicle window. The standard environment is adjusted to the test environment, and the ripple cycle number of the window is adjusted for testing so that the window reaches the second preset resistance, forming a second dataset composed of multiple sets of ripple cycle numbers and sampled voltage values; Based on the second dataset, the correlation between the second voltage fluctuation value and the ripple period reference value, a second fitting sub-function A is constructed to correct the ripple period threshold.
7. The method for calibrating anti-pinch features of a vehicle window according to claim 6, characterized in that, The second fitting function for modifying the ripple period threshold, constructed based on the acceleration reference value and the ripple period reference value, further includes: If the vehicle is stationary, perform multiple tests under different test environments and record the voltage fluctuation value corresponding to each test. The size of the ripple period is adjusted accordingly to eliminate false alarms, and the ripple period variation range and the corresponding voltage fluctuation value are recorded to form a fourth dataset. A second fitting sub-function B, which corrects the ripple period threshold, is fitted based on the fourth dataset; The second fitting function is determined by the sum of the second fitting sub-function A and the second fitting sub-function B.
8. The method for calibrating anti-pinch features of a vehicle window according to claim 7, characterized in that, The expression for the second fitting function includes: A=F3(u)A0+F4(δu)(4) F3(u)=K A3 (u / u0-1) 3 +K A2 (u / u0-1) 2 +K A1 (u / u0-1)(5) F4(δu)=K λ23 you 3 +K λ22 you 2 +K λ21 d u (6) In the formula, A is the second fitting function characterizing the ripple period threshold, F3(u)A0 is the second fitting sub-function A, A0 is the ripple period reference value, F4(δu) is the second fitting sub-function B, u is the sampling voltage, u0 is the voltage reference value, δu is the fluctuating voltage, and K is a constant.
9. The method for calibrating anti-pinch features of a vehicle window according to any one of claims 1 to 8, characterized in that, After the anti-pinch calibration of the vehicle window is completed, the following steps are also included: Determine whether the window travel is within the anti-pinch effective zone; if so, determine whether the window acceleration is greater than or equal to the acceleration threshold. If the window acceleration is greater than or equal to the acceleration threshold, the motor will run for a number of ripple cycles, and it will be determined whether the current window acceleration is greater than or equal to the acceleration threshold and whether the window speed is greater than or equal to the speed threshold. If the current acceleration of the window is greater than or equal to the acceleration threshold and the window speed is greater than or equal to the speed threshold, then the motor reverses to prevent pinching. If the current window acceleration is less than the acceleration threshold or the window speed is less than the preset speed, then the process jumps to re-evaluate the window acceleration.
10. A vehicle window anti-pinch calibration device, characterized in that, include: The acquisition module is used to acquire the acceleration reference value and ripple period reference value of the window during operation, as well as the vehicle's status information; The function construction module is used to construct a first fitting function for correcting the acceleration threshold and a second fitting function for correcting the ripple period threshold based on the acceleration reference value and the ripple period reference value, respectively; wherein, the first fitting function is composed of a first fitting sub-function A and a first fitting sub-function B for correcting the acceleration threshold, and the second fitting function is composed of a second fitting sub-function A and a second fitting sub-function B for correcting the ripple period threshold. The vehicle status determination module is used to determine whether the vehicle is in motion or stationary state based on the status information. The function compensation module is used to adjust the voltage sample value and voltage fluctuation value in the first fitting function and the second fitting function according to the state of the vehicle to obtain the corrected first fitting function and the corrected second fitting function; The anti-pinch calibration module calibrates the acceleration threshold using the modified first fitting function and the ripple period threshold using the modified second fitting function to complete the anti-pinch calibration of the vehicle window.
11. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to implement the window anti-pinch calibration method according to any one of claims 1 to 9.
12. A vehicle device, characterized in that, The method for calibrating the anti-pinch function of a vehicle window, as claimed in any one of claims 1 to 9.
13. A computer-readable storage medium, characterized in that, It stores computer-readable instructions, which, when executed by the computer's processor, cause the computer to perform the window anti-pinch calibration method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Accidental reverse compensation method for automobile window anti-pinch system
CN110173184A
Anti-pinch force detection method and system for ripple anti-pinch car window
CN114482767A
Antisqueeze safety device for automatic doors and windows, especially for a public transport vehicle
EP0182699A1