CN-116701837-B - Anti-pinch calibration method, device, equipment and medium for vehicle window
Abstract
The application provides a vehicle window anti-pinch calibration method, device, equipment and medium, which comprise the steps of obtaining an acceleration reference value and a ripple cycle reference value when a vehicle window runs and state information of a vehicle, respectively constructing a first fitting function for correcting an acceleration threshold value and a second fitting function for correcting the ripple cycle threshold value according to the acceleration reference value and the ripple cycle reference value, determining that the vehicle is in a moving state or a static state according to the state information, regulating voltage sampling values and voltage fluctuation values in the first fitting function and the second fitting function according to the state of the vehicle to compensate, obtaining a corrected first fitting function and a corrected second fitting function, calibrating the acceleration threshold value by utilizing the corrected first fitting function and calibrating the ripple cycle threshold value by utilizing the corrected second fitting function.
Inventors
- WEI PENGFEI
- CHEN ZHUO
- ZHANG MINGTAO
- WANG PENGCHENG
- HUANG FULI
Assignees
- 深蓝汽车科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230518
Claims (13)
- 1. The anti-pinch calibration method for the vehicle window is characterized by comprising the following steps of: Acquiring an acceleration reference value and a ripple cycle reference value and state information of a vehicle when the vehicle window runs; respectively constructing a first fitting function for correcting an acceleration threshold value and a second fitting function for correcting the ripple period threshold value according to the acceleration reference value and the ripple period reference value, wherein the first fitting function is composed of a first fitting sub-function A for correcting the acceleration threshold value and a first fitting sub-function B, and the second fitting function is composed of a second fitting sub-function A for correcting the ripple period threshold value and a second fitting sub-function B; Determining whether the vehicle is in a moving state or a stationary state according to the state information; Adjusting voltage sampling values and voltage fluctuation values in the first fitting function and the second fitting function according to the state of the vehicle to compensate, and obtaining the corrected first fitting function and the corrected second fitting function; and calibrating the acceleration threshold by using the corrected first fitting function, and calibrating the ripple period threshold by using the corrected second fitting function so as to finish anti-clamping calibration of the vehicle window.
- 2. The method for calibrating the anti-pinch performance of the vehicle window according to claim 1, wherein before the step of obtaining the acceleration reference value and the ripple period reference value during the operation of the vehicle window, the method further comprises: acquiring the ripple cycle number of the vehicle window running in a standard environment and the acquisition time of the ripple cycle number, and determining the position of the vehicle window according to the ripple cycle number and the acquisition time, wherein the standard environment is that the vehicle window tests any position in an anti-pinch effective area at a preset voltage and a preset temperature; Performing one-time derivation according to the vehicle window position and the acquisition time to obtain the vehicle window speed; and carrying out secondary derivation according to the vehicle window speed and the acquisition time to obtain the vehicle window acceleration.
- 3. The vehicle window anti-pinch calibration method according to claim 2, wherein constructing a first fitting function for correcting an acceleration threshold value from the acceleration reference value and the ripple period reference value includes: Testing the acceleration of the vehicle window by using a first preset resistance, and determining a voltage reference value and an acceleration reference value according to the sampling voltage value and a first voltage fluctuation value before the vehicle window is blocked and the maximum acceleration value after the vehicle window is blocked; the standard environment is adjusted to a test environment, the vehicle window is tested by utilizing a first preset resistance, and a first data set formed by a plurality of groups of vehicle window acceleration and the sampling voltage values is formed; And constructing a first fitting sub-function A for correcting the acceleration threshold according to the association relation among the first data set, the voltage reference value and the acceleration reference value.
- 4. A vehicle window anti-pinch calibration method according to claim 3, wherein constructing a first fitting function for correcting an acceleration threshold value from the acceleration reference value and the ripple period reference value further comprises: If the vehicle is in a motion state, regulating the road surfaces with different bumping degrees to perform multiple tests, and recording voltage fluctuation values corresponding to each test; Correspondingly adjusting the acceleration threshold value to eliminate false clamping prevention, and recording the acceleration threshold value change interval and the corresponding voltage fluctuation value to form a third data set; a first fitting sub-function B that corrects the acceleration threshold based on the third dataset fit; and determining the first fitting function from the sum of the first fitting sub-function A and the first fitting sub-function B.
- 5. The vehicle window anti-pinch calibration method according to claim 4, wherein the expression of the first fitting function includes: α Threshold value =F 1 (u)α 0 +F 2 (δu)(1) F 1 (u)=K K3 (u/u 0 -1) 3 +K K2 (u/u 0 -1) 2 +K K1 (u/u 0 -1)(2) F 2 (δu)=K λ13 δu 3 +K λ12 δu 2 +K λ11 δu(3) Where α Threshold value is a first fitting function characterizing an acceleration threshold, F 1 (u)α 0 is a first fitting sub-function a, α 0 is an acceleration reference value, F 2 (δu) is a first fitting sub-function B, u is a sampling voltage, u 0 is a voltage reference value, δu is a fluctuating voltage, and K is a constant.
- 6. The vehicle window anti-pinch calibration method according to claim 2, wherein constructing a second fitting function for correcting a ripple period threshold value from the acceleration reference value and the ripple period reference value includes: Adjusting the ripple cycle number of the vehicle window to test so as to enable the vehicle window to reach a second preset resistance, and determining a second voltage fluctuation value and the ripple cycle reference value, wherein the second voltage fluctuation value represents the running stability of the vehicle window; Adjusting the standard environment to a test environment, and adjusting the ripple cycle number of the vehicle window to test so that the vehicle window reaches the second preset resistance to form a second data set consisting of a plurality of groups of ripple cycle numbers and sampling voltage values; And constructing a second fitting sub-function A for correcting the ripple period threshold according to the association relation between the second data set, the second voltage fluctuation value and the ripple period reference value.
- 7. The vehicle window anti-pinch calibration method according to claim 6, wherein constructing a second fitting function for correcting a ripple period threshold from the acceleration reference value and the ripple period reference value, further comprises: if the vehicle is in a static state, adjusting different test environments to perform multiple tests, and recording a voltage fluctuation value corresponding to each test; correspondingly adjusting the size of the ripple period to eliminate false clamping prevention, and recording the variation interval of the ripple period and the corresponding voltage fluctuation value to form a fourth data set; A second fitting sub-function B that corrects the ripple period threshold based on the fourth dataset fit; and determining the second fitting function from the sum of the second fitting sub-function A and the second fitting sub-function B.
- 8. The vehicle window anti-pinch calibration method according to claim 7, wherein the expression of the second fitting function includes: A=F 3 (u)A 0 +F 4 (δu)(4) F 3 (u)=K A3 (u/u 0 -1) 3 +K A2 (u/u 0 -1) 2 +K A1 (u/u 0 -1)(5) F 4 (δu)=K λ23 δu 3 +K λ22 δu 2 +K λ21 δu(6) Wherein A is a second fitting function representing a ripple period threshold, F 3 (u)A 0 is a second fitting sub-function A, A 0 is a ripple period reference value, F 4 (δu) is a second fitting sub-function B, u is a sampling voltage, u 0 is a voltage reference value, δu is a fluctuating voltage, and K is a constant.
- 9. The method for calibrating the anti-pinch of the vehicle window according to any one of claims 1 to 8, further comprising, after the anti-pinch calibration of the vehicle window is completed: judging whether the vehicle window travel is in an anti-pinch effective area or not, if so, determining whether the vehicle window acceleration is greater than or equal to the acceleration threshold value; If the vehicle window acceleration is greater than or equal to the acceleration threshold, running a motor for a plurality of ripple cycle numbers, and judging whether the vehicle window acceleration of the current vehicle window is greater than or equal to the acceleration threshold and whether the vehicle window speed is greater than or equal to the speed threshold; if the current vehicle window acceleration of the vehicle window is greater than or equal to the acceleration threshold value and the vehicle window speed is greater than or equal to the speed threshold value, the motor is reversed to prevent clamping; And if the current car window acceleration of the car window is smaller than an acceleration threshold value or the car window speed is smaller than a preset speed, jumping to re-judge the car window acceleration.
- 10. The utility model provides a car window prevents pressing from both sides calibration device which characterized in that includes: the acquisition module is used for acquiring the acceleration reference value and the ripple cycle reference value when the vehicle window runs and the state information of the vehicle; The function construction module is used for respectively constructing a first fitting function for correcting the acceleration threshold value and a second fitting function for correcting the ripple period threshold value according to the acceleration reference value and the ripple period reference value, 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 value, 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 value; the vehicle state determining module is used for determining whether the vehicle is in a moving state or a static state according to the state information; The function compensation module is used for adjusting voltage sampling values and voltage fluctuation values in the first fitting function and the second fitting function according to the state of the vehicle to compensate, so as to obtain a corrected first fitting function and a corrected second fitting function; and the anti-pinch calibration module is used for calibrating the acceleration threshold value by using the corrected first fitting function and calibrating the ripple period threshold value by using the corrected second fitting function so as to finish the anti-pinch calibration of the vehicle window.
- 11. An electronic device, comprising: One or more processors; Storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the window anti-pinch calibration method of any one of claims 1 to 9.
- 12. A vehicle apparatus comprising a vehicle window anti-pinch calibration method as claimed in any one of claims 1 to 9.
- 13. A computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor of a computer, cause the computer to perform the vehicle window anti-pinch calibration method of any one of claims 1 to 9.
Description
Anti-pinch calibration method, device, equipment and medium for vehicle window Technical Field The application relates to the technical field of anti-pinch of automobiles or automobile windows, in particular to an anti-pinch calibration method, device, equipment and medium for automobile windows. Background The ripple clamping prevention scheme of the power window is more and more valued and favored in the industry because of the relatively simple structure and lower cost, but the clamping prevention precision and reliability are always difficult problems, and the detection precision of the ripple clamping prevention force is the most critical clamping prevention index and is also the most important index for safely evaluating the whole system. It is worth noting that when the car window ripple anti-pinch standard is adopted, the ripple width, the ripple period and the current value are collected, the motor ripple quality requirement is high, meanwhile, the car window operation environment is complex, ripple or current fluctuation can be caused, the ripple width, the motor rotation speed and the current integral are used for judging, and misjudgment of anti-pinch is easy to be caused. For example, chinese patent CN11553887a discloses a method for preventing pinching of window ripple, which obtains a pulse width period of ripple based on current data, determines an actual rotation speed difference value of a window driving motor based on the pulse width period, compares the actual rotation speed difference value with a motor rotation speed difference threshold, and generates a pinching prevention control command when the actual rotation speed difference value is greater than the motor rotation speed difference threshold, but does not consider complex environment operation, and is easy to cause pinching prevention erroneous judgment. Chinese patent CN114482767A discloses an anti-pinching force detection method of a ripple anti-pinching window, which is used for continuously capturing the ripple pulse cycle number of a window driving motor of a corresponding ripple anti-pinching window after receiving a window closing instruction, compensating a calibrated ripple cycle number to obtain a corresponding compensation cycle number, judging whether the ripple pulse cycle numbers captured at least twice continuously are larger than the corresponding compensation cycle number or not, and outputting an anti-pinching force detection signal to drive the window driving motor to control the ripple anti-pinching window to stop closing if yes. However, the window operation environment is not considered, and the anti-pinch erroneous judgment is easy to be caused. Disclosure of Invention In view of the shortcomings of the prior art, the application provides a vehicle window anti-pinch calibration method, device, equipment and medium, which are used for solving the technical problem that the prior art lacks of calibration inaccuracy aiming at the vehicle window anti-pinch. In a first aspect, the vehicle window anti-pinch calibration method comprises the steps of obtaining an acceleration reference value and a ripple cycle reference value during vehicle window operation and state information of a vehicle, respectively constructing a first fitting function for correcting an acceleration threshold and a second fitting function for correcting the ripple cycle threshold according to the acceleration reference value and the ripple cycle reference value, determining that the vehicle is in a moving state or a static state according to the state information, adjusting voltage sampling values and voltage fluctuation values in the first fitting function and the second fitting function according to the state of the vehicle to compensate, obtaining a corrected first fitting function and a corrected second fitting function, calibrating the acceleration threshold by using the corrected first fitting function, and calibrating the ripple cycle threshold by using the corrected second fitting function, so that the vehicle window anti-pinch calibration is completed. In an embodiment of the application, before the obtaining the acceleration reference value and the ripple period reference value during the running of the vehicle window, the method further includes: The method comprises the steps of collecting the ripple cycle number and the acquisition time of the ripple cycle number of the car window running in a standard environment, determining the car window position according to the ripple cycle number and the acquisition time, testing any position of the car window in an anti-pinch effective area at a preset voltage and a preset temperature in the standard environment, conducting primary derivation according to the car window position and the acquisition time to obtain the car window speed, conducting secondary derivation according to the car window speed and the acquisition time to obtain the car window acceleration. In an embodiment of the p