Car window anti-pinch parameter calibration method, car window anti-pinch method, device, equipment and medium

By controlling the window motor to drive the window up and record the ripple signal, the problem of low manual calibration efficiency in the prior art is solved, and more efficient calibration of window anti-clip parameters is achieved.

CN119163323AActive Publication Date: 2024-12-20SUNGIANT AUTOMOTIVE ELECTRONICS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the calibration of window anti-clip parameters requires manual driving of window lifting and lowering, resulting in low efficiency and long-term consumption.

Method used

By controlling the window motor to be calibrated, the ripple signal and the rise distance are recorded in real time, the filtering process is performed to determine the mapping relationship between the ripple pulse and the rise distance, the execution is repeated to obtain the average value, and the window anti-clip parameters are stored .

Benefits of technology

It reduces manual workload and improves the efficiency of anti-clip parameter calibration of windows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119163323A_ABST
    Figure CN119163323A_ABST
Patent Text Reader

Abstract

The invention provides a car window anti-pinch parameter calibration method, a car window anti-pinch method, a car window anti-pinch device, equipment and a medium, and the method comprises the steps that S1, a car window motor is controlled to drive a car window to be calibrated to rise to a car window upper stop position from a car window lower stop position; s2, recording a ripple signal of a vehicle window motor and a vehicle window rising distance of the to-be-calibrated vehicle window at each moment; s3, filtering the ripple signal of the vehicle window motor to determine the moment when the vehicle window motor generates each ripple pulse so as to determine a first mapping relation between the cumulative number of the ripple pulses and the rising distance of the vehicle window; and S4, after the steps S1 to S3 are repeatedly executed for a first preset number of times, according to the cumulative number of each ripple pulse in the first preset number of first mapping relationships, a second mapping relationship between the cumulative number of the ripple pulses and the average value of the first preset number of vehicle window rising distances is determined, and the second mapping relationship is stored in the vehicle window anti-pinch parameters. The calibration efficiency is improved through 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 function is an important safety feature in the vehicle, designed to protect the safety of the occupants. When the window encounters resistance when closing, such as hands or heads, it will automatically stop or change the upward stroke to the downward stroke to prevent pinching.

[0003] The window anti-pinch function usually depends on the window anti-pinch parameters. At present, before a vehicle leaves the factory, the anti-pinch parameters of each window on the vehicle need to be calibrated, that is, the anti-pinch parameters of each window need to be adjusted separately to better adapt to the vehicle.

[0004] At present, when calibrating the anti-pinch parameters of car windows, workers are usually required to manually drive the windows to rise and fall. When the windows need to be raised and lowered multiple times, the workers need to stay near the windows all the time, which results in a long manual process and low efficiency. Summary of the invention

[0005] In view of this, the purpose of the present 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: in the process of the vehicle 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 vehicle 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, so as to determine 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 repeatedly executing steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained, and for each cumulative number of the ripple pulses in the first preset number of first mapping relationships, an average value of the first preset number of window rising distances corresponding to the cumulative number of the ripple pulses is calculated, and a second mapping relationship between the cumulative number of the 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 parameters.

[0011] In combination with the first aspect, the embodiment of the present application provides a first possible implementation of the first aspect, wherein the ripple signal includes three sections of ripple signals, namely, a start-up early ripple signal, a mid-operation ripple signal, and a stop-later ripple signal; the ripple signal of the window motor is filtered 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, including:

[0012] Performing mean filtering on the early-stage start-up ripple signal to obtain a first-stage ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-stage 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] According to 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, determine the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and according to the moment corresponding to each peak or trough, determine the time when the window motor generates each ripple pulse.

[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 set 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 bench; the road condition simulation 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 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 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, wherein the current window rise data includes the accumulated number of current ripple pulses and the corresponding current window rise distance;

[0021] According to the current window rising data and the window anti-pinch parameter, a tolerance between the two is determined; 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.

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

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

[0024] The 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 the rising process, then based on the current cumulative number of ripple pulses of the window motor of the calibrated window, the current window rising distance of the calibrated window is queried from the window anti-pinch parameter; wherein the window anti-pinch parameter is determined by any calibration method of the window anti-pinch parameter described in the first aspect;

[0027] Based on the current window rising distance of the calibrated window and the preset window anti-pinch area, determining 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;

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

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

[0030] The first control module is used to execute step S1; the step S1 is: 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;

[0031] A recording module, used to execute step S2; the step S2 is: in the process of the to-be-calibrated window rising from the lower stop position of the window to the upper stop position of the window, real-time recording of the ripple signal of the window motor and the rising distance of the to-be-calibrated window at each moment;

[0032] A filtering module, used to execute step S3; step S3 is: 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, so as to determine a first mapping relationship between the 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; the step S4 is: after repeatedly executing steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained, and for each cumulative number of the ripple pulses in the first preset number of first mapping relationships, an average value of the first preset number of window rising distances corresponding to the cumulative number of the ripple pulses is calculated, a second mapping relationship between the cumulative number of the 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.

[0034] In combination with the third aspect, the embodiment of the present application provides a first possible implementation of the third aspect, wherein the ripple signal includes three sections of ripple signals, namely, a start-up early ripple signal, a mid-operation ripple signal, and a stop-later 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, and the time when the window motor generates each ripple pulse, and is specifically used to:

[0035] Performing mean filtering on the early-stage start-up ripple signal to obtain a first-stage ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-stage 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] According to 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, determine the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and according to the moment corresponding to each peak or trough, determine the time when the window motor generates each ripple pulse.

[0038] In combination 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 bench; and the device further includes:

[0039] A sending module, used for sending a plurality of driving road condition parameter configuration files to the road condition simulation bench; the road condition simulation bench is used for simulating 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;

[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 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 numbers corresponding to each of the driving road condition parameter profiles is equal to the first preset number.

[0042] In combination 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 according to 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, is specifically used to:

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

[0047] The 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, the embodiment of the present application further provides a vehicle window anti-pinch device, comprising:

[0049] A query module, for querying the current window rising distance of the calibrated window from the window anti-pinch parameters based on the current cumulative number of ripple pulses of the window motor of the calibrated window if it is detected that any calibrated window of the calibrated vehicle encounters resistance during the rising process; wherein the window anti-pinch parameters are determined by any calibration method of the window anti-pinch parameters described in the first aspect;

[0050] A judgment module, used to judge whether the calibrated window enters the window anti-pinch area based on the current window rise distance of the calibrated window and the preset window anti-pinch area; wherein the window anti-pinch area is located near the upper stop position of the window;

[0051] The second control module is used to control the 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, the memory storing 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 in any possible implementation of the first aspect or the steps in any possible implementation 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, and when the computer program is executed by a processor, the steps of any possible implementation of the first aspect or the steps of any possible implementation of the second aspect are executed.

[0054] The embodiment of the present application provides a calibration method for window anti-pinch parameters, a window anti-pinch method, and a device, equipment, and medium thereof. By controlling the window motor to drive the window to be calibrated to rise from the lower stop position of the window, the ripple signal of the window motor and the window rise distance of the window to be calibrated at each moment are recorded in real time during the rising process of the window to be calibrated. The ripple signal of the window motor is filtered to obtain multiple 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, so as to determine the 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 moment. By repeating the above process for a first preset number of times, the 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 to obtain the window anti-pinch parameters. Compared with the method of manually driving the window to rise by the staff, in this embodiment, the window motor is controlled to drive the window to be calibrated to rise, which is conducive to reducing the workload of the staff and improving the calibration efficiency of the window anti-pinch parameters.

[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 specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. 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 related drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 A flow chart of 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 in an embodiment of the present application is shown;

[0059] Figure 3 A schematic diagram of a start-up pre-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 in 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 a vehicle window anti-pinch area provided in an embodiment of the present application is shown;

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

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

[0067] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme 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 part of the embodiments of the present application, rather than all of 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 claimed 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 belong to the scope of protection of the present application.

[0068] The window anti-pinch function is an important safety feature in the vehicle, designed to protect the safety of the occupants. When the window encounters resistance when closing, such as hands or heads, it will automatically stop or change the upward stroke to the downward stroke to prevent pinching.

[0069] The window anti-pinch function usually depends on the window anti-pinch parameters. At present, before a vehicle leaves the factory, the anti-pinch parameters of each window on the vehicle need to be calibrated, that is, the anti-pinch parameters of each window need to be adjusted separately to better adapt to the vehicle.

[0070] At present, when calibrating the anti-pinch parameters of car windows, workers are usually required to manually drive the windows to rise and fall. When the windows need to be raised and lowered multiple times, the workers need to stay near the windows all the time, which results 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 window anti-pinch parameters, a window anti-pinch method, and its device, equipment, and medium to improve the efficiency of window anti-pinch parameter calibration, which is described below through embodiments.

[0072] Embodiment 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 described 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 fuel vehicle. The vehicle to be calibrated usually has multiple windows, some of which are liftable windows, while some are fixed and cannot be lifted. The windows to be calibrated in this embodiment refer to the liftable windows in the vehicle to be calibrated. There are usually multiple windows to be calibrated on each vehicle to be calibrated, for example, 4.

[0076] Each window to be calibrated corresponds to a window motor, and the window motor 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 stop position of the window; when the window to be calibrated is currently located at the lower stop position of the window, control the window motor to drive the window to be calibrated to rise from the lower stop position of the window to the upper stop position of the window.

[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 whole 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: 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, and the moment when the window motor generates each ripple pulse, so as to determine the first mapping relationship between the cumulative number of ripple pulses and the window rising distance according to the moment of each ripple pulse and the window rising distance corresponding to each moment.

[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 late 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 start ripple signal may be a portion of the ripple signal located before the first preset time length in the ripple signal. The late stop ripple signal may be a portion of the ripple signal located after the second preset time length in the ripple signal. The mid-operation ripple signal may be the remaining portion of the ripple signal except the early start ripple signal and the late stop ripple signal.

[0083] When performing step S3 to filter the ripple signal of the window motor, and obtaining multiple 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, the following steps S301-S303 can be specifically performed:

[0084] S301: performing mean filtering on the early stage ripple signal of the startup to obtain a first stage ripple pulse signal, and performing mean filtering on the late stage ripple signal of the stop to obtain a second stage 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 FIG. , the first ripple signal is 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 according to 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, and determine the time when the window motor generates each ripple pulse according to the time corresponding to each peak or trough.

[0088] In this embodiment, after filtering the early start ripple signal, the mid-run ripple signal, and the late stop ripple signal to obtain the first ripple pulse signal, the third ripple pulse signal, and the second ripple pulse signal, the first ripple pulse signal, the third ripple pulse signal, and the second ripple pulse signal are spliced ​​to obtain the target ripple pulse signal. Then, the total number of peaks or the total number of troughs in the target ripple pulse signal is determined as the total number of multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise. In addition, 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, the 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, each time a ripple pulse is accumulated by the window motor, the window to be calibrated rises a certain distance.

[0091] Exemplarily, 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, 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 at this time, the window upper edge of the window to be calibrated is m mm away from the window 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 at this time, the window upper edge of the window to be calibrated is m+n mm away from the window lower stop.

[0092] At this time, 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 repeatedly executing steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained, and 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, 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, and the second mapping relationship is stored in the window anti-pinch parameters.

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

[0095] In this embodiment, the first preset number is three for illustration, 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 fact, the cumulative number of ripple pulses can be more.

[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, and 2.33 is obtained. 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 3.33 is obtained. 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 manner, the vehicle to be calibrated is placed on a road condition simulation test bench; before executing step S1, the following steps S0 may also 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 according to 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 are, for example: driving conditions in rainy days, driving conditions in snowy days, mountain climbing conditions, downhill conditions, bumpy driving conditions, etc., which are not listed one by one in this embodiment.

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

[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 configuration files to the road condition simulation test bench, for each driving road condition parameter configuration file, the road condition simulation test bench simulates the vehicle driving road condition corresponding to the driving road condition parameter configuration file based on the driving road condition parameter configuration file. 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 driving condition of the vehicle.

[0108] When the vehicle to be calibrated is in the vehicle driving condition, the following steps are repeated for a second preset 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 position of the window until it rises to the upper stop position of the window. Then, in the process of the window to be calibrated rising from the lower stop position of the window to the upper stop position of the window, the ripple signal of the window motor and the window rising distance of the window to be calibrated 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 in the process of driving the window to be calibrated to rise, and the time when the window motor generates each ripple pulse, so as to determine the first mapping relationship between the cumulative number of ripple pulses and the window rising distance according to the time of each ripple pulse and the window rising distance corresponding to each moment.

[0109] When the vehicle to be calibrated is in the vehicle driving condition, by repeatedly executing the above steps for 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, when the first preset number is 100, if there are 5 types of vehicle driving conditions, then the second preset number can be 20, that is, at this time, each vehicle driving condition corresponds to 20 first mapping relationships, and there are 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 rise 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 rise distances, and store the second mapping relationship in the window anti-pinch parameters.

[0112] In a possible implementation manner, after the second mapping relationship is stored in the vehicle window anti-pinch parameter, 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 the window anti-pinch parameters of each window to be calibrated on the vehicle to be calibrated are obtained, 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 detection condition is reached, for each vehicle to be calibrated, the current window rise data of the window to be calibrated is obtained. The current window rise data includes the cumulative number of current ripple pulses of the window to be calibrated and the current window rise distance during the process of the window to be calibrated rising from the lower stop position to the upper stop position.

[0117] Step S6: Determine the tolerance between the current window rising data and the window anti-pinch parameters according to the two; if the tolerance is less than or equal to the preset first threshold, update the window anti-pinch parameters based on the current window rising 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 current ripple pulses in the current window rise data is used to obtain the window rise distance corresponding to the accumulated number of current ripple pulses from the window anti-pinch parameter. The difference between the obtained window rise distance and the current window rise distance is calculated, and the difference is used as the tolerance between the current window rise 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, and 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 abnormal situation of the vehicle window to be calibrated.

[0121] Embodiment 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 of 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 cumulative number of current 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 rising 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 rise distance of the calibrated window and the preset window anti-pinch area, it is determined whether the window top edge of the calibrated window enters the window anti-pinch area. The window anti-pinch area is located near the upper stop of the window, and the height of the window anti-pinch area is a preset height. The preset height is less than half of the total height of the window.

[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 descend.

[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 of the calibrated window is controlled to drive the calibrated window to descend, thereby playing an anti-pinch role.

[0129] Embodiment three:

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

[0131] The first control module 901 is used to execute step S1; the step S1 is: 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;

[0132] The recording module 902 is used to execute step S2; the step S2 is: in the process of the to-be-calibrated vehicle window rising from the lower stop position of the vehicle window to the upper stop position of the vehicle window, the ripple signal of the vehicle window motor and the rising distance of the vehicle window of the to-be-calibrated vehicle window at each moment are recorded in real time;

[0133] The filtering module 903 is used to execute step S3; the step S3 is: 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, so as to determine a first mapping relationship between the 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;

[0134] The calculation module 904 is used to execute step S4; the step S4 is: after repeatedly executing steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained, and for each of the ripple pulses 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 the ripple pulses is calculated, and a second mapping relationship between the cumulative number of the 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.

[0135] Optionally, 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 late stage ripple signal; the filtering module 903 is used 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, and the time when the window motor generates each ripple pulse, and is specifically used to:

[0136] Performing mean filtering on the early-stage start-up ripple signal to obtain a first-stage ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-stage 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] According to 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, determine the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and according to the moment corresponding to each peak or trough, determine the time when the window motor generates each ripple pulse.

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

[0140] A sending module, used for sending a plurality of driving road condition parameter configuration files to the road condition simulation bench; the road condition simulation bench is used for simulating 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;

[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 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 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 according to 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 determination module is used to determine the tolerance between the current window rising data and the window anti-pinch parameter, the second determination module is specifically used to:

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

[0148] The 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 above-described vehicle window anti-pinch parameter calibration device can refer to the corresponding process in the aforementioned vehicle window anti-pinch parameter calibration method embodiment, and will not be repeated here.

[0150] Embodiment 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, for querying the current window rising distance of the calibrated window from the window anti-pinch parameter based on the accumulated number of ripple pulses of the window motor of the calibrated window if it is detected that any calibrated window of the calibrated vehicle encounters resistance during the rising process; wherein the window anti-pinch parameter is determined by the calibration method of any window anti-pinch parameter in the first embodiment;

[0153] A judgment module, used to judge whether the calibrated window enters the window anti-pinch area based on the current window rise distance of the calibrated window and the preset window anti-pinch area; wherein the window anti-pinch area is located near the upper stop position of the window;

[0154] The second control module is used to control the 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 can 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 five:

[0157] Fig.10 A structural diagram of an electronic device provided for 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 execute the method steps described in Example 1 or Example 2.

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

[0159] Embodiment six:

[0160] The 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] Technicians in the relevant field 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 window anti-pinch parameters or the corresponding process in the aforementioned window anti-pinch method embodiment, and will not be repeated here.

[0162] In the several embodiments provided in the present 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, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.

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

[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 can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform 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 protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope 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: in the process of the vehicle window to be calibrated rising from the lower stop position to the upper stop position, the ripple signal of the vehicle window motor and the rising distance of the vehicle 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, so as to determine 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 repeatedly executing steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained, and for each cumulative number of the ripple pulses in the first preset number of first mapping relationships, an average value of the first preset number of window rising distances corresponding to the cumulative number of the ripple pulses is calculated, and a second mapping relationship between the cumulative number of the 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 parameters.

2. The method for calibrating window anti-pinch parameters according to claim 1, characterized in that: 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 late stage ripple signal; the ripple signal of the window motor is filtered 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, including: Performing mean filtering on the early-stage start-up ripple signal to obtain a first-stage ripple pulse signal, and performing mean filtering on the late-stage stop ripple signal to obtain a second-stage 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; According to 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, determine the multiple ripple pulses generated by the window motor in the process of driving the window to be calibrated to rise, and according to the moment corresponding to each peak or trough, determine the time when the window motor generates each ripple pulse.

3. 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 bench; the road condition simulation 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 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 numbers corresponding to each of the driving road condition parameter profiles is equal to the first preset number.

4. 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, wherein the current window rise data includes the accumulated number of current ripple pulses and the corresponding current window rise distance; According to the current window rising data and the window anti-pinch parameter, a tolerance between the two is determined; 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.

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

6. 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 the rising process, then based on the current cumulative number of ripple pulses of the window motor of the calibrated window, the current window rising distance of the calibrated window is queried from the window anti-pinch parameter; wherein the window anti-pinch parameter is determined by the calibration method of the window anti-pinch parameter described in any one of claims 1 to 5; Based on the current window rising distance of the calibrated window and the preset window anti-pinch area, determining 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; If the calibrated vehicle window enters the vehicle window anti-pinch area, the window motor of the calibrated vehicle window is controlled to drive the calibrated vehicle window to descend.

7. A device for calibrating vehicle window anti-pinch parameters, characterized in that: include: The first control module is used to execute step S1; the step S1 is: 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; A recording module, used to execute step S2; the step S2 is: in the process of the to-be-calibrated window rising from the lower stop position of the window to the upper stop position of the window, real-time recording of the ripple signal of the window motor and the rising distance of the to-be-calibrated window at each moment; A filtering module, used to execute step S3; step S3 is: 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, so as to determine a first mapping relationship between the 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 is used to execute step S4; the step S4 is: after repeatedly executing steps S1 to S3 for a first preset number of times, a first preset number of first mapping relationships are obtained, and for each cumulative number of the ripple pulses in the first preset number of first mapping relationships, an average value of the first preset number of window rising distances corresponding to the cumulative number of the ripple pulses is calculated, a second mapping relationship between the cumulative number of the 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.

8. A vehicle window anti-pinch device, characterized in that: include: A query module, for querying the current window rising distance of the calibrated window from the window anti-pinch parameter based on the accumulated number of ripple pulses of the window motor of the calibrated window if it is detected that any calibrated window of the calibrated vehicle encounters resistance during the rising process; wherein the window anti-pinch parameter is determined by the calibration method of the window anti-pinch parameter described in any one of claims 1 to 5; A judgment module, used to judge whether the calibrated window enters the window anti-pinch area based on the current window rise distance of the calibrated window and the preset window anti-pinch area; wherein the window anti-pinch area is located near the upper stop position of the window; The second control module is used to control the window motor of the calibrated window to drive the calibrated window to descend if the calibrated window enters the window anti-pinch area.

9. 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 as claimed in any one of claims 1 to 5 or claim 6 are performed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 or claim 6 are executed.

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

  • Car window anti-pinch calibration method and system

    CN118187606A

  • Ripple anti-pinch control method, system and device and medium

    CN118273624A

  • Electromechanical adjusting device movement controlling method for motor vehicle, involves calculating adjusting movement, which is carried out before or during previous stopping of vehicle, and storing movement in non-volatile memory

    DE102005044147A1