Calibration method of car window anti-pinch parameter, car window anti-pinch method, device, equipment and medium thereof

By controlling the window motor to drive the window up and recording the ripple signal, the window anti-pinch parameters are automatically calibrated, which solves the problem of low calibration efficiency in the existing technology and achieves more efficient parameter calibration.

CN119163323BActive Publication Date: 2025-10-21SUNGIANT AUTOMOTIVE ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411405758.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-10-21
Estimated Expiration
2044-10-09

AI Technical Summary

Technical Problem

The existing technology has low efficiency in calibrating window anti-pinch parameters, requiring workers to manually drive the window up and down multiple times, resulting in a long labor-intensive process.

Method used

By controlling the window motor to drive the window up, the ripple signal and the window rising distance are recorded in real time, and filtering is performed to determine the mapping relationship between the ripple pulse and the window rising distance, and the window anti-pinch parameters are automatically calibrated.

Benefits of technology

It reduces the workload of staff and improves the efficiency of window anti-pinch parameter calibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119163323B_ABST
    Figure CN119163323B_ABST
Patent Text Reader

Abstract

The application provides a method for calibrating a window anti-pinch parameter, a window anti-pinch method, and a device, equipment and medium thereof. The method comprises the following steps: S1: controlling a window motor to drive a to-be-calibrated window to rise from a lower stop position of the window to an upper stop position of the window; S2: recording a ripple signal of the window motor and a window rising distance of the to-be-calibrated window at each time; S3: performing filtering processing on the ripple signal of the window motor to determine a time at which each ripple pulse of the window motor is generated, so as to determine a first mapping relationship between a cumulative number of the ripple pulse and the window rising distance; and S4: after the steps S1 to S3 are repeatedly performed for a first preset number of times, a second mapping relationship between the cumulative number of the ripple pulse and an average value of the first preset number of window rising distances is determined according to the cumulative number of each ripple pulse in the first preset number of first mapping relationships, and the second mapping relationship is stored in the window anti-pinch parameter. The calibration efficiency is improved by the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle safety technology, and in particular to a method for calibrating vehicle window anti-pinch parameters, a vehicle window anti-pinch method, and a device, equipment, and medium thereof. Background Art

[0002] The window anti-pinch feature is a key safety feature in vehicles, designed to protect occupants. When a window encounters resistance during closing, such as a hand or head, it automatically stops or switches from an upward stroke to a downward stroke, preventing injuries.

[0003] The window anti-pinch function usually relies on the window anti-pinch parameters. Currently, before a vehicle leaves the factory, the anti-pinch parameters of each window on the vehicle need to be calibrated. In other words, the anti-pinch parameters of each window need to be adjusted separately to better adapt to the vehicle.

[0004] Currently, when calibrating the anti-pinch parameters of car windows, staff are usually required to manually drive the windows up and down. When the windows need to be raised and lowered multiple times, the staff need to stay near the windows all the time, resulting in a long manual process and low efficiency. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a calibration method for vehicle window anti-pinch parameters, a vehicle window anti-pinch method, and its device, equipment, and medium to improve the efficiency of vehicle window anti-pinch parameter calibration.

[0006] In a first aspect, an embodiment of the present application provides a method for calibrating vehicle window anti-pinch parameters, comprising:

[0007] Step S1: for each window to be calibrated on the vehicle to be calibrated, controlling the window motor to drive the window to be calibrated to rise from the lower stop position of the window until it rises to the upper stop position of the window;

[0008] Step S2: During the process of the window to be calibrated rising from the lower stop position to the upper stop position, the ripple signal of the window motor and the rising distance of the window to be calibrated at each moment are recorded in real time;

[0009] Step S3: Filtering the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, and determining a first mapping relationship between the cumulative number of ripple pulses and the window rise distance according to the time of each ripple pulse and the window rise distance corresponding to each time;

[0010] Step S4: After repeating steps S1 to S3 a first preset number of times, a first preset number of first mapping relationships are obtained. For the cumulative number of each ripple pulse in the first preset number of first mapping relationships, the average value of the first preset number of window rising distances corresponding to the cumulative number of ripple pulses is calculated, and a second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rising distances is determined, and the second mapping relationship is stored in the window anti-pinch parameter.

[0011] In combination with the first aspect, an embodiment of the present application provides a first possible implementation of the first aspect, wherein the ripple signal includes three ripple signals, namely, an early start-up ripple signal, a mid-operation ripple signal, and a late stop ripple signal; the filtering of the ripple signal of the window motor to obtain multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, as well as the time when the window motor generates each ripple pulse, includes:

[0012] Performing mean filtering on the early-stage startup ripple signal to obtain a first-segment ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-segment ripple pulse signal;

[0013] Performing mean filtering on the mid-running ripple signal to obtain a first ripple signal, and performing median filtering on the first ripple signal to obtain a third ripple pulse signal;

[0014] Based on the total number of peaks or the total number of troughs in the continuous first-segment ripple pulse signal, the third-segment ripple pulse signal, and the second-segment ripple pulse signal, the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise are determined, and based on the time corresponding to each peak or trough, the time when the window motor generates each ripple pulse is determined.

[0015] In combination with the first aspect, the embodiment of the present application provides a second possible implementation of the first aspect, wherein the vehicle to be calibrated is placed on a road condition simulation test bench; before executing step S1, the method further includes:

[0016] sending a plurality of driving road condition parameter configuration files to the road condition simulation test bench; the road condition simulation test bench is used to simulate vehicle driving road conditions according to the driving road condition parameter configuration files; different driving road condition parameter configuration files correspond to different vehicle driving road conditions;

[0017] The step of repeatedly performing steps S1 to S3 for a first preset number of times includes:

[0018] For each of the driving road condition parameter profiles, when the road condition simulation test bench simulates the vehicle driving conditions corresponding to the driving road condition parameter profile based on the driving road condition parameter profile, steps S1 to S3 are repeated a second preset number of times; wherein the sum of the second preset numbers corresponding to each of the driving road condition parameter profiles is equal to the first preset number.

[0019] In combination with the first aspect, the embodiment of the present application provides a third possible implementation of the first aspect, wherein the method further includes:

[0020] In response to the detection condition, obtaining current window rise data, the current window rise data including the accumulated number of current ripple pulses and the corresponding current window rise distance;

[0021] Based on the current window raising data and the window anti-pinch parameters, a tolerance between the two is determined; if the tolerance is less than or equal to a preset first threshold, the window anti-pinch parameters are updated based on the current window raising data; if the tolerance is greater than the preset first threshold, a preset error reporting instruction is executed.

[0022] In combination with the third possible implementation manner of the first aspect, the embodiment of the present application provides a fourth possible implementation manner of the first aspect, wherein determining the tolerance between the current window rise data and the window anti-pinch parameter according to the current window rise data and the window anti-pinch parameter includes:

[0023] Obtaining the window rising distance corresponding to the cumulative number of the current ripple pulses from the window anti-pinch parameter;

[0024] A difference between the acquired window-raising distance and the current window-raising distance is calculated, and the difference is used as the tolerance.

[0025] In a second aspect, an embodiment of the present application further provides a vehicle window anti-pinch method, the method comprising:

[0026] If it is detected that any calibrated window of the calibrated vehicle encounters resistance during its raising process, the current window raising distance of the calibrated window is queried from the window anti-pinch parameter based on the current cumulative number of ripple pulses of the window motor of the calibrated window; wherein the window anti-pinch parameter is determined by any of the window anti-pinch parameter calibration methods described in the first aspect;

[0027] Based on the current window lift distance of the calibrated window and a preset window anti-pinch zone, determining whether the calibrated window has entered the window anti-pinch zone; wherein the window anti-pinch zone is located near the window top stop;

[0028] If the calibrated window enters the window anti-pinch area, the window motor of the calibrated window is controlled to drive the calibrated window to move downward.

[0029] In a third aspect, an embodiment of the present application further provides a device for calibrating vehicle window anti-pinch parameters, comprising:

[0030] The first control module is configured to execute step S1, wherein step S1 is: for each window to be calibrated on the vehicle to be calibrated, controlling the window motor to drive the window to be calibrated to rise from the lower stop position of the window until it rises to the upper stop position of the window;

[0031] a recording module configured to execute step S2, wherein step S2 is to record, in real time, a ripple signal of the window motor and a window lift distance of the window at each moment during the process of the window to be calibrated rising from the lower stop position to the upper stop position;

[0032] a filtering module configured to execute step S3; wherein step S3 comprises: filtering the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, and determining a first mapping relationship between a cumulative number of the ripple pulses and the window rise distance according to the time of each ripple pulse and the window rise distance corresponding to each time;

[0033] A calculation module is used to execute step S4; step S4 is: after repeatedly executing steps S1 to S3 a first preset number of times, a first preset number of first mapping relationships are obtained; for the cumulative number of each ripple pulse in the first preset number of first mapping relationships, an average value of the first preset number of window rise distances corresponding to the cumulative number of ripple pulses is calculated; a second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rise distances is determined; and the second mapping relationship is stored in the window anti-pinch parameter.

[0034] In conjunction with the third aspect, an embodiment of the present application provides a first possible implementation of the third aspect, wherein the ripple signal includes three ripple signals, namely, an early start-up ripple signal, a mid-operation ripple signal, and a late stop ripple signal; the filtering module is used to filter the ripple signal of the window motor to obtain multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, as well as the time when the window motor generates each ripple pulse, and is specifically used to:

[0035] Performing mean filtering on the early-stage startup ripple signal to obtain a first-segment ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-segment ripple pulse signal;

[0036] Performing mean filtering on the mid-running ripple signal to obtain a first ripple signal, and performing median filtering on the first ripple signal to obtain a third ripple pulse signal;

[0037] Based on the total number of peaks or the total number of troughs in the continuous first-segment ripple pulse signal, the third-segment ripple pulse signal, and the second-segment ripple pulse signal, the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise are determined, and based on the time corresponding to each peak or trough, the time when the window motor generates each ripple pulse is determined.

[0038] In conjunction with the third aspect, the embodiment of the present application provides a second possible implementation of the third aspect, wherein the vehicle to be calibrated is set on a road condition simulation test bench; and the device further includes:

[0039] a sending module, configured to send a plurality of driving road condition parameter configuration files to the road condition simulation test bench; the road condition simulation test bench is configured to simulate vehicle driving road conditions based on the driving road condition parameter configuration files; different driving road condition parameter configuration files correspond to different vehicle driving road conditions;

[0040] When the calculation module is used to repeatedly perform steps S1 to S3 for a first preset number of times, it is specifically used to:

[0041] For each of the driving road condition parameter profiles, when the road condition simulation test bench simulates the vehicle driving conditions corresponding to the driving road condition parameter profile based on the driving road condition parameter profile, steps S1 to S3 are repeated a second preset number of times; wherein the sum of the second preset numbers corresponding to each of the driving road condition parameter profiles is equal to the first preset number.

[0042] In conjunction with the third aspect, the embodiment of the present application provides a third possible implementation of the third aspect, wherein the device further includes:

[0043] an acquisition module, configured to acquire current window rise data in response to a detection condition, wherein the current window rise data includes a cumulative number of current ripple pulses and a corresponding current window rise distance;

[0044] The second determination module is used to determine the tolerance between the current window rising data and the window anti-pinch parameter based on the current window rising data; if the tolerance is less than or equal to a preset first threshold, the window anti-pinch parameter is updated based on the current window rising data; if the tolerance is greater than the preset first threshold, a preset error reporting instruction is executed.

[0045] In combination with the third possible implementation of the third aspect, the embodiment of the present application provides a fourth possible implementation of the third aspect, wherein the second determination module, when used to determine the tolerance between the current window rise data and the window anti-pinch parameter based on the current window rise data, is specifically used to:

[0046] Obtaining the window rising distance corresponding to the cumulative number of the current ripple pulses from the window anti-pinch parameter;

[0047] A difference between the acquired window-raising distance and the current window-raising distance is calculated, and the difference is used as the tolerance.

[0048] In a fourth aspect, an embodiment of the present application further provides a vehicle window anti-pinch device, comprising:

[0049] a query module configured to, if it is detected that any calibrated window of a calibrated vehicle encounters resistance during its raising process, query the current window raising distance of the calibrated window from the window anti-pinch parameter based on the current cumulative number of ripple pulses of the window motor of the calibrated window; wherein the window anti-pinch parameter is determined by any of the window anti-pinch parameter calibration methods described in the first aspect;

[0050] a determination module, configured to determine whether the calibrated window has entered an anti-pinch area of ​​the window based on a current window lift distance of the calibrated window and a preset anti-pinch area of ​​the window; wherein the anti-pinch area of ​​the window is located near an upper stop of the window;

[0051] The second control module is configured to control a window motor of the calibrated window to drive the calibrated window to descend if the calibrated window enters the window anti-pinch area.

[0052] In the fifth aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of any possible implementation method of the first aspect or the steps of any possible implementation method of the second aspect are performed.

[0053] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any possible implementation of the first aspect or any possible implementation of the second aspect are executed.

[0054] Embodiments of the present application provide a method, apparatus, and medium for calibrating window anti-pinch parameters. The method controls a window motor to drive a window to be calibrated upward from its lower stop. During the upward movement of the window, the ripple signal of the window motor and the distance the window rises at each moment are recorded in real time. The ripple signal of the window motor is filtered to obtain multiple ripple pulses generated by the window motor during the upward movement of the window to be calibrated, as well as the time at which each ripple pulse is generated by the window motor. Based on the time of each ripple pulse and the window rise distance corresponding to each moment, a first mapping relationship is determined between the cumulative number of ripple pulses and the window rise distance. By repeating this process a first predetermined number of times, a second mapping relationship is determined between the cumulative number of ripple pulses and the average of the first predetermined number of window rise distances, thereby obtaining the window anti-pinch parameters. Compared to manual window raising by a worker, controlling the window motor to drive the window to be calibrated in this embodiment reduces worker workload and improves the efficiency of window anti-pinch parameter calibration.

[0055] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0057] Figure 1 A flow chart showing a method for calibrating vehicle window anti-pinch parameters provided in an embodiment of the present application is shown;

[0058] Figure 2 A schematic diagram of a ripple signal provided by an embodiment of the present application is shown;

[0059] Figure 3 A schematic diagram of a start-up early-stage ripple signal provided by an embodiment of the present application is shown;

[0060] Figure 4 A schematic diagram of a mid-running ripple signal provided by an embodiment of the present application is shown;

[0061] Figure 5 A schematic diagram of a first ripple signal provided by an embodiment of the present application is shown;

[0062] Figure 6A schematic diagram of a third-segment ripple pulse signal provided in an embodiment of the present application is shown;

[0063] Figure 7 A schematic diagram of a vehicle window to be calibrated provided in an embodiment of the present application is shown;

[0064] Figure 8 A schematic diagram of an anti-pinch area of ​​a vehicle window provided in an embodiment of the present application is shown;

[0065] Figure 9 A schematic structural diagram of a device for calibrating vehicle window anti-pinch parameters provided in an embodiment of the present application is shown;

[0066] Figure 10 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application.

[0068] The window anti-pinch feature is a key safety feature in vehicles, designed to protect occupants. When a window encounters resistance during closing, such as a hand or head, it automatically stops or switches from an upward stroke to a downward stroke, preventing injuries.

[0069] The window anti-pinch function usually relies on the window anti-pinch parameters. Currently, before a vehicle leaves the factory, the anti-pinch parameters of each window on the vehicle need to be calibrated. In other words, the anti-pinch parameters of each window need to be adjusted separately to better adapt to the vehicle.

[0070] Currently, when calibrating the anti-pinch parameters of car windows, staff are usually required to manually drive the windows up and down. When the windows need to be raised and lowered multiple times, the staff need to stay near the windows all the time, resulting in a long manual process and low efficiency.

[0071] In view of the above problems, based on this, the embodiments of the present application provide a method for calibrating vehicle window anti-pinch parameters, a vehicle window anti-pinch method, and its device, equipment, and medium to improve the efficiency of vehicle window anti-pinch parameter calibration, which is described below through embodiments.

[0072] Example 1:

[0073] To facilitate understanding of this embodiment, a method for calibrating the window anti-pinch parameters disclosed in the embodiment of this application is first introduced in detail. Figure 1 As shown, the following steps S1-S3 are included:

[0074] Step S1: for each window to be calibrated on the vehicle to be calibrated, control the window motor to drive the window to be calibrated to rise from the lower stop position of the window until it rises to the upper stop position of the window.

[0075] In this embodiment, the vehicle to be calibrated can be a new energy electric vehicle, a hybrid electric vehicle, or a gasoline vehicle. The vehicle to be calibrated typically has multiple windows, some of which are adjustable, while others are fixed and cannot be raised or lowered. The windows to be calibrated in this embodiment refer to the adjustable windows in the vehicle to be calibrated. Each vehicle to be calibrated typically has multiple windows to be calibrated, for example, four.

[0076] Each window to be calibrated corresponds to a window motor, which is used to drive the corresponding window to be calibrated to move up and down.

[0077] In a possible implementation, when executing step S1, specifically: for each window to be calibrated on the vehicle to be calibrated, detect whether the window to be calibrated is currently located at the lower window stop position; when the window to be calibrated is currently located at the lower window stop position, control the window motor to drive the window to be calibrated to rise from the lower window stop position to the upper window stop position.

[0078] Step S2: When the window to be calibrated rises from the lower stop position to the upper stop position, the ripple signal of the window motor and the rising distance of the window to be calibrated at each moment are recorded in real time.

[0079] In this embodiment, during the entire process of the window motor rising from the lower stop position of the window to the upper stop position of the window, the window motor will generate a ripple signal, such as Figure 2 In the ripple signal shown, the horizontal axis is time and the vertical axis is the current of the window motor. It can be seen that the ripple signal includes the current of the window motor corresponding to each moment in the entire process of the window motor rising from the lower stop position of the window to the upper stop position of the window.

[0080] Step S3: Filtering the ripple signal of the window motor to obtain multiple ripple pulses generated by the window motor when driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, so as to determine a first mapping relationship between the cumulative number of ripple pulses and the window rise distance based on the time of each ripple pulse and the window rise distance corresponding to each time.

[0081] In this embodiment, the ripple signal includes three sections of ripple signals, namely, a start-up early stage ripple signal, a mid-stage operation ripple signal, and a stop-stage ripple signal. Figure 3 and Figure 4 In the figure, the early start ripple signal and the mid-run ripple signal are shown separately, but the late stop ripple signal is not shown separately.

[0082] The early-startup ripple signal may be a portion of the ripple signal that is located before a first preset time duration in the ripple signal. The late-stoppage ripple signal may be a portion of the ripple signal that is located after a second preset time duration in the ripple signal. The mid-operation ripple signal may be the remaining portion of the ripple signal excluding the early-startup ripple signal and the late-stoppage ripple signal.

[0083] When performing step S3 to filter the ripple signal of the window motor to obtain multiple ripple pulses generated by the window motor when driving the window to be calibrated to rise, as well as the time when the window motor generates each ripple pulse, the following steps S301-S303 can be specifically performed:

[0084] S301: performing mean filtering on the ripple signal at the early stage of startup to obtain a first section of ripple pulse signal, and performing mean filtering on the ripple signal at the late stage of stop to obtain a second section of ripple pulse signal.

[0085] S302: performing mean filtering on the mid-running ripple signal to obtain a first ripple signal, and performing median filtering on the first ripple signal to obtain a third ripple pulse signal.

[0086] In this embodiment, the mid-term ripple signal is used as an example for explanation. Figure 4 As shown in the figure, it is the mid-term ripple signal before filtering. Figure 5 As shown in , it is the first ripple signal obtained by performing mean filtering on the mid-term ripple signal. Figure 6 As shown, the first ripple signal is subjected to median filtering to obtain a third ripple pulse signal.

[0087] S303: Determine the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise based on the total number of peaks or the total number of troughs in the continuous first ripple pulse signal, the third ripple pulse signal, and the second ripple pulse signal, and determine the time when the window motor generates each ripple pulse based on the time corresponding to each peak or trough.

[0088] In this embodiment, after filtering the early-stage startup ripple signal, the mid-stage operation ripple signal, and the late-stage stop ripple signal to obtain a first-segment ripple pulse signal, a third-segment ripple pulse signal, and a second-segment ripple pulse signal, the first, third, and second-segment ripple pulse signals are concatenated to obtain a target ripple pulse signal. The total number of peaks or troughs in the target ripple pulse signal is then determined as the total number of ripple pulses generated by the window motor when driving the window to be calibrated upward. Furthermore, the time corresponding to each peak or trough in the target ripple pulse signal is determined as the time when the window motor generates each ripple pulse.

[0089] After obtaining the time when the window motor generates each ripple pulse, a first mapping relationship between the cumulative number of ripple pulses and the window rise distance can be determined according to the time of each ripple pulse and the window rise distance corresponding to each time.

[0090] Specifically, every time the window motor generates a ripple pulse, the window to be calibrated rises a certain distance.

[0091] For example, when the cumulative number of ripple pulses generated by the window motor is 0, the window to be calibrated is at the lower stop position. Figure 7 As shown in the figure, when the cumulative number of ripple pulses generated by the window motor is 1, the window rise distance of the window to be calibrated is m mm (m is greater than 0), and the upper edge of the window to be calibrated is m mm away from the lower stop. When the cumulative number of ripple pulses generated by the window motor is 2, the window rise distance of the window to be calibrated is m+n mm (n is greater than 0), and the upper edge of the window to be calibrated is m+n mm away from the lower stop.

[0092] In this case, the first mapping relationship may be: when the cumulative number of ripple pulses generated by the window motor is 1, the corresponding window rise distance is m millimeters; when the cumulative number of ripple pulses generated by the window motor is 2, the corresponding window rise distance is m+n millimeters, and so on.

[0093] Step S4: After repeating steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained. For the cumulative number of each ripple pulse in the first preset number of first mapping relationships, the average value of the first preset number of window rise distances corresponding to the cumulative number of ripple pulses is calculated, and a second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rise distances is determined. The second mapping relationship is stored in the window anti-pinch parameter.

[0094] In this embodiment, each time steps S1 to S3 are performed once, a first set of mapping relationships is obtained. After repeating steps S1 to S3 a first preset number of times, a first preset number of sets of first mapping relationships are obtained. The first preset number is a positive integer greater than or equal to 2. For example, the first preset number can be 10.

[0095] In this embodiment, the first preset number is three, and steps S1 to S3 are repeated three times to obtain three sets of first mapping relationships. The three sets of first mapping relationships are assumed to be:

[0096] The first mapping relationship of the first group: When the cumulative number of ripple pulses is 1, the corresponding window rise distance is 2 mm; when the cumulative number of ripple pulses is 2, the corresponding window rise distance is 3 mm. In this example, only the cumulative number of ripple pulses is 1 and 2 for illustration, but in practice, the cumulative number of ripple pulses can be greater.

[0097] The first mapping relationship of the second group: when the cumulative number of ripple pulses is 1, the corresponding window rising distance is 3 mm; when the cumulative number of ripple pulses is 2, the corresponding window rising distance is 3 mm.

[0098] The first mapping relationship of the third group: when the cumulative number of ripple pulses is 1, the corresponding window rising distance is 2 mm; when the cumulative number of ripple pulses is 2, the corresponding window rising distance is 4 mm.

[0099] After obtaining three sets of first mapping relationships, for the cumulative number of ripple pulses 1, the average value of the three window rise distances (2 mm, 3 mm, 2 mm) that have the first mapping relationship with the cumulative number of ripple pulses 1 is calculated to obtain 2.33. At this time, the second mapping relationship between the cumulative number of ripple pulses 1 and the average value of the three window rise distances (2.33) is determined, that is, the second mapping relationship includes: the window rise distance corresponding to the cumulative number of ripple pulses 1 is 2.33 mm.

[0100] Similarly, for the cumulative number of ripple pulses 2, the average value of the three window rise distances (3 mm, 3 mm, 4 mm) that have a first mapping relationship with the cumulative number of ripple pulses 2 is calculated, and the result is 3.33. At this time, the second mapping relationship between the cumulative number of ripple pulses 2 and the average value of the three window rise distances (3.33) is determined, that is, the second mapping relationship includes: the window rise distance corresponding to the cumulative number of ripple pulses 2 is 3.33 mm.

[0101] It can be seen that in this embodiment, the second mapping relationship includes the window rising distance corresponding to the cumulative number of each ripple pulse.

[0102] In a possible implementation, the vehicle to be calibrated is placed on a road condition simulation test bench; before executing step S1, the following steps S0 may be performed:

[0103] Step S0: sending a plurality of driving road condition parameter configuration files to a road condition simulation test bench; the road condition simulation test bench is used to simulate vehicle driving road conditions based on the driving road condition parameter configuration files; different driving road condition parameter configuration files correspond to different vehicle driving road conditions.

[0104] In this embodiment, the vehicle driving road conditions include: driving conditions in rainy days, driving conditions in snowy days, climbing road conditions, downhill road conditions, bumpy driving road conditions, etc., which are not listed one by one in this embodiment.

[0105] When steps S1 to S3 are repeated for the first preset number of times, the following steps may be specifically performed:

[0106] For each driving road condition parameter profile, when the road condition simulation test bench simulates the vehicle driving road condition corresponding to the driving road condition parameter profile based on the driving road condition parameter profile, steps S1 to S3 are repeated a second preset number of times; wherein the sum of the second preset number corresponding to each driving road condition parameter profile is equal to the first preset number.

[0107] In this embodiment, after sending multiple driving road condition parameter profiles to the road condition simulation test bench, for each driving road condition parameter profile, the road condition simulation test bench simulates the vehicle driving condition corresponding to the driving road condition parameter profile based on the driving road condition parameter profile. At this time, since the vehicle to be calibrated is set on the road condition simulation test bench, the vehicle to be calibrated is in the simulated vehicle driving condition.

[0108] When the vehicle to be calibrated is in the specified driving condition, the following steps are repeated a second predetermined number of times: for each window to be calibrated on the vehicle to be calibrated, the window motor is controlled to drive the window to be calibrated to rise from the lower stop until it reaches the upper stop. Then, as the window to be calibrated rises from the lower stop to the upper stop, the ripple signal of the window motor and the distance the window to be calibrated rises at each moment are recorded in real time. The ripple signal of the window motor is filtered to obtain a plurality of ripple pulses generated by the window motor during the process of driving the window to be calibrated to rise, as well as the time when each ripple pulse is generated by the window motor. Based on the time of each ripple pulse and the window rise distance corresponding to each moment, a first mapping relationship between the cumulative number of ripple pulses and the window rise distance is determined.

[0109] When the vehicle to be calibrated is in the vehicle driving condition, by repeating the above steps a second preset number of times, a second preset number of first mapping relationships corresponding to the vehicle driving condition can be obtained.

[0110] Through the above process, a second preset number of first mapping relationships corresponding to each vehicle driving condition can be obtained. In this embodiment, the second preset number is less than the first preset number. Specifically, the sum of the second preset number corresponding to each vehicle driving condition is equal to the first preset number. For example, if the first preset number is 100 and there are 5 types of vehicle driving conditions, then the second preset number can be 20. That is, in this case, each vehicle driving condition corresponds to 20 first mapping relationships, for a total of 100 first mapping relationships.

[0111] After obtaining a first preset number (for example, 100) of first mapping relationships, continue to execute step S4 for the cumulative number of each ripple pulse in the first preset number of first mapping relationships, calculate the average value of the first preset number of window rising distances corresponding to the cumulative number of ripple pulses, determine the second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rising distances, and store the second mapping relationship in the window anti-pinch parameters.

[0112] In a possible implementation, after storing the second mapping relationship in the vehicle window anti-pinch parameters, the following steps S5-S6 may be performed:

[0113] Step S5: In response to the detection condition, current window rise data is obtained, where the current window rise data includes the accumulated number of current ripple pulses and the corresponding current window rise distance.

[0114] In this embodiment, after obtaining the window anti-pinch parameter of each window to be calibrated on the vehicle to be calibrated, the vehicle to be calibrated can be put into actual use, that is, the vehicle to be calibrated can be driven on the road.

[0115] In this embodiment, the detection condition may be that the actual mileage of the vehicle to be calibrated reaches a preset mileage, or the actual total driving time reaches a preset time, etc.

[0116] When the test conditions are met, the current window rise data for each vehicle to be calibrated is obtained. This current window rise data includes the cumulative number of ripple pulses and the current window rise distance of the vehicle to be calibrated during the process of the vehicle to be calibrated rising from the lower stop to the upper stop.

[0117] Step S6: Determine the tolerance between the current window-up data and the window anti-pinch parameters based on the two; if the tolerance is less than or equal to a preset first threshold, update the window anti-pinch parameters based on the current window-up data; if the tolerance is greater than the preset first threshold, execute the preset error reporting instruction.

[0118] In this embodiment, the accumulated number of ripple pulses in the current window-up data is used to obtain the window-up distance corresponding to the accumulated number of ripple pulses from the window anti-pinch parameter. The difference between the obtained window-up distance and the current window-up distance is calculated, and this difference is used as the tolerance between the current window-up data and the window anti-pinch parameter.

[0119] If the tolerance is less than or equal to the preset first threshold, it means that the tolerance is not large. At this time, the window anti-pinch parameters can be updated based on the current window rising data.

[0120] If the tolerance is greater than a preset first threshold, it means that the tolerance is too large. At this time, a preset error reporting instruction needs to be executed to notify manual troubleshooting of the abnormality of the window to be calibrated.

[0121] Example 2:

[0122] Based on the same technical concept, the embodiment of the present application also provides a vehicle window anti-pinch method, which includes the following steps S7-S9:

[0123] Step S7: If it is detected that any calibrated window in the calibrated vehicle encounters resistance during the rising process, the current window rising distance of the calibrated window is queried from the window anti-pinch parameters based on the current cumulative number of ripple pulses of the window motor of the calibrated window; wherein the window anti-pinch parameters are determined by the calibration method of any window anti-pinch parameter in Example 1.

[0124] In this embodiment, a calibrated vehicle means that after all windows to be calibrated in the vehicle to be calibrated have completed the calibration of anti-pinch parameters, the vehicle to be calibrated is regarded as a calibrated vehicle, and at the same time, each window to be calibrated in the vehicle to be calibrated is regarded as a calibrated window.

[0125] Step S8: Based on the current window rise distance of the calibrated window and the preset window anti-pinch area, determine whether the calibrated window enters the window anti-pinch area; wherein the window anti-pinch area is located near the upper stop position of the window.

[0126] like Figure 3 As shown, based on the current window lift distance of the calibrated window and the preset window anti-pinch zone, it is determined whether the top edge of the calibrated window enters the window anti-pinch zone. The window anti-pinch zone is located near the window top stop and has a preset height. The preset height is less than half of the total window height.

[0127] Step S9: If the calibrated window enters the window anti-pinch area, the window motor of the calibrated window is controlled to drive the calibrated window to move downward.

[0128] like Figure 8 As shown, it means that the calibrated window has entered the window anti-pinch area. At this time, the window motor that controls the calibrated window drives the calibrated window to descend, thereby playing an anti-pinch role.

[0129] Example 3:

[0130] Based on the same technical concept, the embodiment of the present application also provides a device for calibrating window anti-pinch parameters, such as Figure 9 As shown, the device includes:

[0131] The first control module 901 is configured to execute step S1, wherein step S1 is: for each window to be calibrated on the vehicle to be calibrated, controlling the window motor to drive the window to be calibrated to rise from the lower stop position of the window until it rises to the upper stop position of the window;

[0132] The recording module 902 is configured to execute step S2, wherein the step S2 is to record, in real time, the ripple signal of the window motor and the window lift distance of the window at each moment during the process of the window to be calibrated rising from the lower stop position to the upper stop position;

[0133] The filtering module 903 is configured to execute step S3; step S3 comprises: filtering the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor when driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, and determining a first mapping relationship between the cumulative number of ripple pulses and the window rise distance according to the time of each ripple pulse and the window rise distance corresponding to each time;

[0134] A calculation module 904 is used to execute step S4; the step S4 is: after repeatedly executing steps S1 to S3 a first preset number of times, a first preset number of first mapping relationships are obtained; for the cumulative number of each ripple pulse in the first preset number of first mapping relationships, an average value of the first preset number of window rise distances corresponding to the cumulative number of ripple pulses is calculated; a second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rise distances is determined; and the second mapping relationship is stored in the window anti-pinch parameter.

[0135] Optionally, the ripple signal includes three sections of ripple signals, namely, a pre-startup ripple signal, a mid-operation ripple signal, and a post-stop ripple signal; the filtering module 903 is configured to filter the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated upward, as well as the time when the window motor generates each ripple pulse, and is specifically configured to:

[0136] Performing mean filtering on the early-stage startup ripple signal to obtain a first-segment ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-segment ripple pulse signal;

[0137] Performing mean filtering on the mid-running ripple signal to obtain a first ripple signal, and performing median filtering on the first ripple signal to obtain a third ripple pulse signal;

[0138] Based on the total number of peaks or the total number of troughs in the continuous first-segment ripple pulse signal, the third-segment ripple pulse signal, and the second-segment ripple pulse signal, the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise are determined, and based on the time corresponding to each peak or trough, the time when the window motor generates each ripple pulse is determined.

[0139] Optionally, the vehicle to be calibrated is placed on a road condition simulation test bench; the device further comprises:

[0140] a sending module, configured to send a plurality of driving road condition parameter configuration files to the road condition simulation test bench; the road condition simulation test bench is configured to simulate vehicle driving road conditions based on the driving road condition parameter configuration files; different driving road condition parameter configuration files correspond to different vehicle driving road conditions;

[0141] When the calculation module is used to repeatedly perform steps S1 to S3 for a first preset number of times, it is specifically used to:

[0142] For each of the driving road condition parameter profiles, when the road condition simulation test bench simulates the vehicle driving conditions corresponding to the driving road condition parameter profile based on the driving road condition parameter profile, steps S1 to S3 are repeated a second preset number of times; wherein the sum of the second preset numbers corresponding to each of the driving road condition parameter profiles is equal to the first preset number.

[0143] Optionally, the device further comprises:

[0144] an acquisition module, configured to acquire current window rise data in response to a detection condition, wherein the current window rise data includes a cumulative number of current ripple pulses and a corresponding current window rise distance;

[0145] The second determination module is used to determine the tolerance between the current window rising data and the window anti-pinch parameter based on the current window rising data; if the tolerance is less than or equal to a preset first threshold, the window anti-pinch parameter is updated based on the current window rising data; if the tolerance is greater than the preset first threshold, a preset error reporting instruction is executed.

[0146] Optionally, when the second determining module is used to determine a tolerance between the current window raising data and the window anti-pinch parameter, the second determining module is specifically used to:

[0147] Obtaining the window rising distance corresponding to the cumulative number of the current ripple pulses from the window anti-pinch parameter;

[0148] A difference between the acquired window-raising distance and the current window-raising distance is calculated, and the difference is used as the tolerance.

[0149] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the calibration device for vehicle window anti-pinch parameters described above can refer to the corresponding process in the aforementioned embodiment of the calibration method for vehicle window anti-pinch parameters, and will not be repeated here.

[0150] Example 4:

[0151] Based on the same technical concept, the embodiment of the present application also provides a vehicle window anti-pinch device, comprising:

[0152] a query module configured to, if it is detected that any calibrated window of a calibrated vehicle encounters resistance during its raising process, query the current window raising distance of the calibrated window from a window anti-pinch parameter based on the current cumulative number of ripple pulses of the window motor of the calibrated window; wherein the window anti-pinch parameter is determined by any of the window anti-pinch parameter calibration methods described in Example 1;

[0153] a determination module, configured to determine whether the calibrated window has entered an anti-pinch area of ​​the window based on a current window lift distance of the calibrated window and a preset anti-pinch area of ​​the window; wherein the anti-pinch area of ​​the window is located near an upper stop of the window;

[0154] The second control module is configured to control a window motor of the calibrated window to drive the calibrated window to descend if the calibrated window enters the window anti-pinch area.

[0155] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the vehicle window anti-pinch device described above can refer to the corresponding process in the aforementioned vehicle window anti-pinch method embodiment, and will not be repeated here.

[0156] Embodiment 5:

[0157] Figure 10 A structural diagram of an electronic device provided in an embodiment of the present application includes: a processor 1001, a memory 1002 and a bus 1003, wherein the memory 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device runs the above-mentioned information processing method, the processor 1001 communicates with the memory 1002 through the bus 1003, and the processor 1001 executes the machine-readable instructions to perform the method steps described in Example 1 or Example 2.

[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device described above can refer to the calibration of the aforementioned vehicle window anti-pinch parameters or the corresponding process in the aforementioned vehicle window anti-pinch method embodiment, and will not be repeated here.

[0159] Example 6:

[0160] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method steps described in the first or second embodiment are executed.

[0161] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the computer-readable storage medium described above can refer to the calibration of the aforementioned vehicle window anti-pinch parameters or the corresponding process in the aforementioned vehicle window anti-pinch method embodiment, and will not be repeated here.

[0162] In the several embodiments provided in this application, it should be understood that the disclosed methods, devices, electronic devices and computer-readable storage media can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0163] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0164] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0165] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0166] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present application, or perform equivalent replacements for some of the technical features thereof. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection of the claims.

Claims

1. A method for calibrating vehicle window anti-pinch parameters, characterized in that: include: Step S1: for each window to be calibrated on the vehicle to be calibrated, controlling the window motor to drive the window to be calibrated to rise from the lower stop position of the window until it rises to the upper stop position of the window; Step S2: During the process of the window to be calibrated rising from the lower stop position to the upper stop position, the ripple signal of the window motor and the rising distance of the window to be calibrated at each moment are recorded in real time; Step S3: Filtering the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, and determining a first mapping relationship between the cumulative number of ripple pulses and the window rise distance according to the time of each ripple pulse and the window rise distance corresponding to each time; Step S4: After repeating steps S1 to S3 a first preset number of times, a first preset number of first mapping relationships are obtained; for each cumulative number of ripple pulses in the first preset number of first mapping relationships, an average value of the first preset number of window rise distances corresponding to the cumulative number of ripple pulses is calculated; a second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rise distances is determined; and the second mapping relationship is stored in the window anti-pinch parameter; The ripple signal includes three sections of ripple signals, namely, a start-up early stage ripple signal, a mid-stage operation ripple signal, and a stop-stage ripple signal. The filtering process of the ripple signal of the window motor is performed to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, as well as the time when the window motor generates each ripple pulse, including: Performing mean filtering on the early-stage startup ripple signal to obtain a first-segment ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-segment ripple pulse signal; Performing mean filtering on the mid-running ripple signal to obtain a first ripple signal, and performing median filtering on the first ripple signal to obtain a third ripple pulse signal; Based on the total number of peaks or the total number of troughs in the continuous first-segment ripple pulse signal, the third-segment ripple pulse signal, and the second-segment ripple pulse signal, the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise are determined, and based on the time corresponding to each peak or trough, the time when the window motor generates each ripple pulse is determined.

2. The method for calibrating window anti-pinch parameters according to claim 1, characterized in that: The vehicle to be calibrated is placed on a road condition simulation test bench; Before executing step S1, the method further includes: sending a plurality of driving road condition parameter configuration files to the road condition simulation test bench; the road condition simulation test bench is used to simulate vehicle driving road conditions according to the driving road condition parameter configuration files; different driving road condition parameter configuration files correspond to different vehicle driving road conditions; The step of repeatedly performing steps S1 to S3 for a first preset number of times includes: For each of the driving road condition parameter profiles, when the road condition simulation test bench simulates the vehicle driving conditions corresponding to the driving road condition parameter profile based on the driving road condition parameter profile, steps S1 to S3 are repeated a second preset number of times; wherein the sum of the second preset numbers corresponding to each of the driving road condition parameter profiles is equal to the first preset number.

3. The method for calibrating window anti-pinch parameters according to claim 1, characterized in that: The method further comprises: In response to the detection condition, obtaining current window rise data, the current window rise data including the accumulated number of current ripple pulses and the corresponding current window rise distance; Based on the current window raising data and the window anti-pinch parameters, a tolerance between the two is determined; if the tolerance is less than or equal to a preset first threshold, the window anti-pinch parameters are updated based on the current window raising data; if the tolerance is greater than the preset first threshold, a preset error reporting instruction is executed.

4. The method for calibrating window anti-pinch parameters according to claim 3, characterized in that: The determining, based on the current window raising data and the window anti-pinch parameter, a tolerance between the two includes: Obtaining the window rising distance corresponding to the cumulative number of the current ripple pulses from the window anti-pinch parameter; A difference between the acquired window-raising distance and the current window-raising distance is calculated, and the difference is used as the tolerance.

5. A method for preventing vehicle windows from being pinched, characterized in that: The method comprises: If it is detected that any calibrated window of the calibrated vehicle encounters resistance during its raising process, the current window raising distance of the calibrated window is queried from the window anti-pinch parameter based on the current cumulative number of ripple pulses of the window motor of the calibrated window; wherein the window anti-pinch parameter is determined by the window anti-pinch parameter calibration method according to any one of claims 1 to 4; Based on the current window lift distance of the calibrated window and a preset window anti-pinch zone, determining whether the calibrated window has entered the window anti-pinch zone; wherein the window anti-pinch zone is located near the window top stop; If the calibrated window enters the window anti-pinch area, the window motor of the calibrated window is controlled to drive the calibrated window to move downward.

6. A device for calibrating vehicle window anti-pinch parameters, characterized in that: include: The first control module is configured to execute step S1, wherein step S1 is: for each window to be calibrated on the vehicle to be calibrated, controlling the window motor to drive the window to be calibrated to rise from the lower stop position of the window until it rises to the upper stop position of the window; a recording module configured to execute step S2, wherein step S2 is to record, in real time, a ripple signal of the window motor and a window lift distance of the window at each moment during the process of the window to be calibrated rising from the lower stop position to the upper stop position; a filtering module configured to execute step S3; wherein step S3 comprises: filtering the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, and determining a first mapping relationship between a cumulative number of the ripple pulses and the window rise distance according to the time of each ripple pulse and the window rise distance corresponding to each time; a calculation module configured to execute step S4; step S4 comprises: repeatedly executing steps S1 to S3 a first preset number of times to obtain a first preset number of first mapping relationships; calculating, for each cumulative number of ripple pulses in the first preset number of first mapping relationships, an average value of the first preset number of window rise distances corresponding to the cumulative number of ripple pulses; determining a second mapping relationship between the cumulative number of ripple pulses and the average value of the first preset number of window rise distances; and storing the second mapping relationship in the window anti-pinch parameter; The ripple signal includes three sections of ripple signals, namely, a start-up early stage ripple signal, a running mid-stage ripple signal, and a stop-stage ripple signal; The filtering module is configured to filter the ripple signal of the window motor to obtain a plurality of ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, as well as the time when the window motor generates each ripple pulse, and is specifically configured to: Performing mean filtering on the early-stage startup ripple signal to obtain a first-segment ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-segment ripple pulse signal; Performing mean filtering on the mid-running ripple signal to obtain a first ripple signal, and performing median filtering on the first ripple signal to obtain a third ripple pulse signal; Based on the total number of peaks or the total number of troughs in the continuous first-segment ripple pulse signal, the third-segment ripple pulse signal, and the second-segment ripple pulse signal, the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise are determined, and based on the time corresponding to each peak or trough, the time when the window motor generates each ripple pulse is determined.

7. A vehicle window anti-pinch device, characterized in that: include: a query module configured to, if it is detected that any calibrated window of a calibrated vehicle encounters resistance during its ascent, query the current window-ascent distance of the calibrated window from a window anti-pinch parameter based on the current cumulative number of ripple pulses of the window motor of the calibrated window; wherein the window anti-pinch parameter is determined by the window anti-pinch parameter calibration method according to any one of claims 1 to 4; a determination module, configured to determine whether the calibrated window has entered an anti-pinch area of ​​the window based on a current window lift distance of the calibrated window and a preset anti-pinch area of ​​the window; wherein the anti-pinch area of ​​the window is located near an upper stop of the window; The second control module is configured to control a window motor of the calibrated window to drive the calibrated window to descend if the calibrated window enters the window anti-pinch area.

8. An electronic device, characterized in that: include: A processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method according to any one of claims 1 to 4 or the method according to claim 6 are performed.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method according to any one of claims 1 to 4 or the method according to claim 6.

Citation Information

Patent Citations

  • Ripple wave anti-clamping controller of car window and control method

    CN102635288A

  • Anti-pinch circuit, anti-pinch circuit device and anti-pinch circuit method for positioning ripple waves of vehicle window precisely and vehicle

    CN111350438A