Car window anti-pinch dynamic control method, system and equipment and medium

By using FFT spectrum analysis and dynamic adjustment of the anti-pinch force threshold, the problems of poor ripple parameter consistency and false anti-pinch in window anti-pinch control were solved, thereby improving the accuracy of anti-pinch control and defogging efficiency, and reducing the steps of new product development and calibration.

CN120844867APending Publication Date: 2025-10-28ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511119778.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-11
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

Existing anti-pinch control solutions for car windows have problems such as poor consistency of ripple parameters, the need for frequent calibration, the risk of false anti-pinch and pinching pain due to fixed thresholds, and poor defogging effect.

Method used

The reference ripple waveform is obtained through FFT spectrum analysis, high and low level thresholds are dynamically generated, the anti-pinch force threshold is adjusted in combination with external obstacle conditions, and heating is used to remove fog when the defogging switch is activated.

Benefits of technology

It achieves accurate ripple count recognition and dynamic adjustment of anti-pinch control, avoiding false anti-pinch and pinching pain, improving defogging efficiency, and reducing the calibration steps in new product development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120844867A_ABST
    Figure CN120844867A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of automobile electric control, and provides a car window anti-pinch dynamic control method, system and device and a medium, the method comprises the steps that in the process that an anti-pinch controller is powered on for the first time and a car window is controlled to ascend and descend, a reference ripple waveform is obtained, a high level threshold value and a low level threshold value are dynamically generated, and whether the car window enters an anti-pinch area or not is judged on the basis; when the vehicle window enters the anti-pinch area, a preset anti-pinch force threshold value of the anti-pinch controller is dynamically adjusted based on external obstacle conditions, and the external obstacle conditions comprise mechanical inertia interference and human body touch interference. According to the method, the number of ripples can be accurately identified, the problems of anti-pinch failure or false anti-pinch and the like are avoided, the calibration step of new product development is omitted, and meanwhile, the function of dynamically adjusting the anti-pinch force threshold value can be achieved for bumpy road surfaces and human body touch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive electronic control technology, and in particular to a dynamic control method, system, device and medium for preventing window pinching. Background Technology

[0002] Current anti-pinch controllers for commercial vehicles primarily employ an anti-pinch control strategy that analyzes the number of ripples in the lifting motor current to control the speed and position of the doors and windows. This ripple analysis requires converting the near-sine wave ripple into a square wave, thus converting the analog signal into a digital signal. During the ripple conversion to a square wave, high-level and low-level thresholds need to be set. When the current value exceeds these thresholds, the anti-pinch controller determines that a ripple peak or trough has been reached.

[0003] Currently, the commonly used anti-pinch control solution in the industry requires calibration of a prototype vehicle each time a new product is developed. The anti-pinch controller controls the motor to raise and lower the window and collects and calculates the average value of the ripple I. v and peak I p-p Then set the high-level threshold. Low-level threshold This threshold is configured in the anti-pinch controller software code and cannot be changed. Simultaneously, the anti-pinch controller uses a fixed anti-pinch force threshold. When the glass passes the anti-pinch zone during its ascent, and a downward force exceeding the threshold is applied to the upper edge of the glass, the anti-pinch controller reverses the glass's descent to prevent pinching. Furthermore, because the car door windows are far from the air conditioning vents, whenever fog forms on the windows, it can only be slowly defogged by blowing air from the air conditioning vents over a distance.

[0004] However, the fixed threshold design used in the above anti-pinch control scheme has some drawbacks, such as:

[0005] 1. Dynamic interference exists inside some vehicle lifting mechanisms, such as poor clamping force consistency due to aging of glass sealant strips, and vibration caused by dimensional and positional errors in the machining of parts. This dynamic interference will generate large low-frequency interference in the ripple waveform.

[0006] 2. Vehicles have many electronic components, and current interference will generate a large number of harmonic components in the ripple waveform.

[0007] 3. The lifting motor contains inductive components. Considering factors such as cost, it is difficult to maintain a high quality of ripple waveform, and it is difficult to guarantee the consistency of ripple parameters. Currently, the peak value, period, average value and other parameters of ripple peak vary greatly from unit to unit.

[0008] 4. Each time a company develops a new product, it needs to recalibrate the anti-pinch controller and adjust the threshold according to different vehicle models.

[0009] 5. If the anti-pinch force is fixed at a certain threshold, it will not be able to quickly recognize when the upper edge of the glass slightly touches the human body during the glass's ascent. The glass will continue to rise until it clamps the relevant part of the human body to the door frame. Only when the clamping force reaches the threshold value will the glass be controlled to reverse and descend, which will cause danger and pain to the person.

[0010] 6. Anti-pinch force fixed threshold: When the vehicle is driving on a bumpy road and the glass is in the rising position, the glass will generate an inertial force along the direction of gravity due to the bumps. When the inertial force is greater than the threshold, the glass will reverse and fall, resulting in a false anti-pinch phenomenon.

[0011] 7. The distance between the car door and window glass and the air conditioning vents is too far, resulting in a slow defogging effect from the air conditioning, creating blind spots and posing a driving safety hazard.

[0012] In summary, using a fixed threshold not only makes it difficult to guarantee the accuracy of ripple count identification, easily leading to problems such as anti-pinch failure or false pinch detection, but also requires recalibration every time a new product is developed, increasing the workload. A fixed anti-pinch force threshold can cause pinching injuries, pain, and false pinch detection risks. Furthermore, relying on air conditioning for defogging of car door and window glass is ineffective.

[0013] To address at least one of the aforementioned problems, relevant technicians have continuously improved anti-pinch control methods. For example, patent application CN119102443A discloses a method, device, storage medium, and automobile for detecting anti-pinch of a car window. During motor loading, the method acquires the current motor voltage and current at the current moment, determines the corresponding reference current threshold based on the current motor voltage, and determines the current motor DC component based on the current motor current. Then, it calculates the average value of the current motor DC component over N consecutive sampling periods up to the current moment based on the current motor DC component. The method obtains the DC component mean difference by subtracting the current motor DC component mean from the previous moment's DC component mean, and compensates the reference current threshold based on the relationship between the DC component mean difference and the change in the DC component mean at different levels to obtain the target current threshold. When the current motor DC component is not less than the target current threshold, the car window is controlled to descend. This method, combining the characteristics and motion features of the motor starting process, dynamically updates the current threshold based on real-time collected motor voltage and current during motor loading, thereby improving the accuracy of anti-pinch detection during motor starting and effectively preventing false window pinching and excessive window clamping force. However, this method does not optimize the anti-pinch control method for bumpy road surfaces. Summary of the Invention

[0014] To address the shortcomings of existing technologies, this invention provides a dynamic control method, system, device, and medium for anti-pinch protection of vehicle windows. It can accurately identify the number of ripples, avoiding problems such as anti-pinch failure or false anti-pinch, and eliminates the calibration steps in new product development. At the same time, it can dynamically adjust the anti-pinch force threshold based on bumpy road surfaces and human touch.

[0015] To achieve the above objectives, the present invention adopts the following technical solution:

[0016] The first aspect of this invention provides a dynamic control method for preventing vehicle windows from being pinched, comprising the following steps:

[0017] In step S100, during the initial power-on of the anti-pinch controller and the control of the window lifting, high-frequency current sampling, FFT spectrum analysis and filtering are performed sequentially to obtain the reference ripple waveform.

[0018] Step S200: Based on the reference ripple waveform, dynamically generate a high-level threshold A' and a low-level threshold B', and determine whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B'. The high-level threshold A' and the low-level threshold B' satisfy the following relationships 1 and 2:

[0019] (Relation 1);

[0020] (Relationship 2);

[0021] Among them, I in relation 1 and relation 2 μ I is the mean value calculated based on the reference ripple waveform. σ The standard deviation is calculated based on the reference ripple waveform;

[0022] Step S300: When the window enters the anti-pinch zone, the preset anti-pinch force threshold of the anti-pinch controller is dynamically adjusted based on external obstacle conditions, including mechanical inertial interference and human touch interference.

[0023] Further, in step S200, determining whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B' includes:

[0024] When the amplitude of the reference ripple waveform is between the high-level threshold A' and the low-level threshold B', calculate the number of ripples in the reference ripple waveform;

[0025] Determine the window travel range based on the number of ripples;

[0026] When the travel range of the window meets the preset range of the anti-pinch zone, the window is determined to have entered the anti-pinch zone.

[0027] Further, in step S300, dynamically adjusting the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions includes:

[0028] The vehicle's acceleration along the direction of gravity is collected. When the absolute value of the acceleration exceeds the preset anti-pinch force threshold, the external obstacle condition is confirmed as mechanical inertial interference, and the preset anti-pinch force threshold is increased.

[0029] Further, in step S300, dynamically adjusting the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions includes:

[0030] The resistance value of the conductive contact point of the car window is collected. When the resistance value changes abruptly, it is confirmed that the external obstacle condition is human touch interference, and the preset anti-pinch force threshold is reduced.

[0031] Furthermore, the method also includes: acquiring the defogging switch activation signal, and when the defogging switch is activated, heating the car window glass through a resistance wire to defog it.

[0032] Furthermore, the method also includes: when both the defogging condition and human touch interference are met, priority is given to reducing the preset anti-pinch force threshold;

[0033] When both mechanical inertial interference and human touch interference are satisfied, the preset anti-pinch force threshold should be reduced first.

[0034] A second aspect of the present invention provides a dynamic control system for preventing window pinching, comprising:

[0035] The waveform processing module is used to sequentially perform high-frequency current sampling, FFT spectrum analysis and filtering during the initial power-on of the anti-pinch controller and the control of the window lifting and lowering process to obtain the reference ripple waveform.

[0036] The judgment module is used to dynamically generate a high-level threshold A' and a low-level threshold B' based on a reference ripple waveform, and to determine whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B'. The high-level threshold A' and the low-level threshold B' satisfy the following relations 1 and 2:

[0037] (Relation 1);

[0038] (Relationship 2);

[0039] Among them, I in relation 1 and relation 2 μ I is the mean value calculated based on the reference ripple waveform. σ The standard deviation is calculated based on the reference ripple waveform;

[0040] The adjustment module is used to dynamically adjust the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions when the window enters the anti-pinch zone. The external obstacle conditions include mechanical inertial interference and human touch interference.

[0041] Furthermore, the system also includes a heating and defogging module, which is used to collect the defogging switch activation signal. When the defogging switch is activated, the window glass is heated and defogged through a resistance wire.

[0042] A third aspect of the present invention provides a computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a computer processor, cause the computer to perform the above-described dynamic control method for preventing window pinching.

[0043] A fourth aspect of the present invention provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the above-described dynamic control method for preventing window pinching.

[0044] The beneficial technical effects of this invention are as follows:

[0045] This invention first obtains a reference ripple waveform to provide an accurate reference for subsequent anti-pinch dynamic control; then, it accurately calculates the number of ripples using high-level threshold relationship formulas and low-level threshold relationship formulas. Since the relationship formulas are calculated based on actual vehicle current measurements, they can be automatically adapted without manual calibration; finally, it determines whether the window has entered the anti-pinch zone based on the number of ripples, with high accuracy.

[0046] When the vehicle window enters the anti-pinch zone, the present invention determines that the vehicle is subject to mechanical inertial interference and / or human touch interference. Based on different external obstacle conditions, the preset anti-pinch force threshold is dynamically adjusted to increase or decrease, so as to effectively avoid the phenomenon of the anti-pinch glass reversing and falling, and minimize the risk of being pinched.

[0047] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0048] The accompanying drawings, incorporated in and forming part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without inventive effort. In the drawings:

[0049] Figure 1 This is a flowchart of the dynamic control method for anti-pinch of vehicle windows in this application;

[0050] Figure 2 The image shows the filtered and reference ripple waveforms of this application.

[0051] Figure 3 A vehicle bus layout diagram applicable to the method of this application;

[0052] Figure 4 A diagram showing the arrangement of the window resistance wires applicable to the method of this application;

[0053] Figure 5 A diagram showing the arrangement of vehicle defrosting switches applicable to the method of this application;

[0054] Figure 6 This is a framework diagram of the anti-pinch dynamic control system for vehicle windows in this application;

[0055] Figure 7 A schematic diagram of the structure of a computer system suitable for an embodiment of this application is shown. Detailed Implementation

[0056] Unless otherwise defined, all technical and / or scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should be understood that certain features of the invention (described in the context of separate embodiments for clarity) may also be provided in a single embodiment. Conversely, multiple features of the invention (described in the context of a single embodiment for brevity) may also be provided separately or in any suitable combination or, where appropriate, in any other described embodiment of the invention. Certain features described in the context of various embodiments will not be considered essential features of those embodiments unless the embodiment is inoperable without those elements. The invention is further illustrated below by specific examples; however, it should be noted that the specific process conditions and results described in the embodiments of the invention are merely illustrative and should not be construed as limiting the scope of protection of the invention. All equivalent changes or modifications made in accordance with the spirit and essence of the invention should be covered within the scope of protection of the invention.

[0057] See also Figure 1 The flowchart of the dynamic control method for anti-pinch of vehicle windows in this application is as follows:

[0058] In step S100, during the initial power-on of the anti-pinch controller and the control of the window lifting and lowering, high-frequency current sampling, FFT spectrum analysis and filtering are performed sequentially to obtain the reference ripple waveform.

[0059] Specifically, this application samples the motor current at a high frequency when the anti-pinch controller is powered on for the first time to ensure data real-time performance; then it performs FFT spectrum analysis, that is, performs fast Fourier transform on the original data to obtain a frequency domain analysis graph, finds the ripple spectrum based on the amplitude, filters it to obtain the reference ripple waveform after filtering harmonic components, eliminates ripple interference caused by non-obstacles, and uses the reference ripple waveform as a reference for subsequent anti-pinch dynamic control.

[0060] For more details, please refer to Figure 2 The ripple spectrum obtained by this application based on the original sampling data is relatively stable overall, but there are ultra-low frequency fluctuations in the middle part, indicating structural interference, and the ripple is clear. In the ripple spectrum, the ripple frequency is between 740Hz and 850Hz. This application performs filtering to remove the DC data, making the entire ripple waveform clear and relatively uniform.

[0061] Step S200: Based on the reference ripple waveform, dynamically generate a high-level threshold A' and a low-level threshold B', and determine whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B'. The high-level threshold A' and the low-level threshold B' satisfy the following relationships 1 and 2:

[0062] (Relation 1);

[0063] (Relationship 2);

[0064] Among them, I in relation 1 and relation 2 μ I is the mean value calculated based on the reference ripple waveform. σ This represents the standard deviation calculated based on the reference ripple waveform.

[0065] Specifically, the mean value of this application is I μ The standard deviation I represents the central tendency of the baseline ripple waveform. σ The degree of dispersion of the waveform around the mean was quantified. In the filtered reference ripple waveform, normal fluctuations usually follow or are close to a normal distribution. This application selects ±I σ Using / 3 as an offset, it can cover some extreme value regions in the normal distribution. Therefore, in the calculation methods of Equation 1 and Equation 2, most of the peaks and troughs can be identified, thus ensuring the accuracy of the ripple count calculation. At the same time, since the equations are calculated based on actual vehicle current measurements, they can be automatically adapted without manual calibration.

[0066] More specifically, determining whether a window has entered the anti-pinch zone based on high-level threshold A' and low-level threshold B' includes: calculating the number of ripples in the reference ripple waveform when the amplitude of the reference ripple waveform is between the high-level threshold A' and the low-level threshold B'. Specifically, when the anti-pinch controller is first powered on, the reference ripple waveform must meet both the high-level threshold A' (peak) and the low-level threshold B' (trough) to eliminate noise interference. Only when the amplitude of the reference ripple waveform is between the high-level threshold A' and the low-level threshold B' is the number of identified ripples included in the valid ripple count.

[0067] The travel range of the car window is determined based on the number of ripples. Each rotation of the motor generates a fixed number of current ripples, and the number of ripples is linearly related to the travel range of the car window. By calculating the number of ripples in real time, the displacement of the current position of the car window relative to the initial point can be calculated, which is the travel range of the car window.

[0068] When the window travel range meets the preset range of the anti-pinch zone, the window is determined to have entered the anti-pinch zone. Specifically, when the anti-pinch controller is first powered on, it records the total ripple count from bottom to top of the window (e.g., Ha = 2400 ripples) and converts it to a corresponding ripple count range based on the preset range (e.g., 4mm to 200mm from the top), such as Ha-200 to Ha-4. When the ripple count falls within this range, the window travel range meets the preset range of the anti-pinch zone, and the window is determined to have entered the anti-pinch zone.

[0069] Step S300: When the window enters the anti-pinch zone, the preset anti-pinch force threshold of the anti-pinch controller is dynamically adjusted based on external obstacle conditions, including mechanical inertial interference and human touch interference.

[0070] Specifically, the vehicle's acceleration along the direction of gravity is collected. When the absolute value of the acceleration exceeds a preset anti-pinch force threshold, the external obstacle condition is confirmed as mechanical inertial interference, and the preset anti-pinch force threshold is increased. For more details, please refer to [link to relevant documentation]. Figure 3 The anti-pinch controller receives bus signals from the inertial navigation sensor and collects the vehicle's acceleration C along the direction of gravity in real time. It pre-sets a preset anti-pinch force threshold X. When the absolute value of the vehicle's acceleration along the direction of gravity, |C|, is greater than X, it indicates that the vehicle is traveling on a bumpy road (i.e., with mechanical inertial interference). At this time, the door and window glass will generate a large inertial force along the direction of gravity on the lifting mechanism due to its own weight. When the glass rises to the anti-pinch area, it is easy to cause the anti-pinch system to trigger anti-pinch reversal and cause false anti-pinch phenomenon. At this time, the anti-pinch controller adjusts the anti-pinch force threshold to a higher value, which can effectively avoid the phenomenon of false anti-pinch glass reversing and falling.

[0071] Specifically, the resistance value of the conductive contacts on the vehicle window is collected. When the resistance value changes abruptly, it is confirmed that the external obstacle condition is a human touch interference, and the preset anti-pinch force threshold is lowered. For more details, please refer to [link to relevant documentation]. Figure 4 This application involves arranging several low-resistance wires and high-resistance resistance wires on the car door window glass. The wires and resistance wires are arranged closely together, vertically, with each wire exiting from the bottom edge of the glass and connecting to the pin of the anti-pinch controller. Each wire protrudes from the top edge of the glass, forming multiple conductive contacts. Since the human body is conductive, when a person's skin touches the top edge of the glass, due to the close arrangement of the wires, the skin is likely to simultaneously touch multiple contacts, causing the wires to conduct to each other. The anti-pinch controller detects a significant change in the resistance value of the wires via the pin. When the resistance value changes abruptly from infinity to a finite value, the controller determines that the person has touched the top edge of the glass and is at risk of being pinched. At this point, the anti-pinch controller adjusts the anti-pinch force threshold to a smaller value, allowing the glass to quickly reverse and descend when the person is about to be pinched, preventing injury or pain.

[0072] Furthermore, the method of this application also includes: acquiring a defroster switch activation signal; when the defroster switch is activated, heating the vehicle window glass via a resistance wire to defrost it. Please refer to [link / reference]. Figure 5 When fog forms on the car door windows, the driver manually activates the defroster switch. The anti-pinch controller then heats the glass by energizing a resistance wire, quickly defogging the glass. The process works as follows: the wires and resistance wires are connected in pairs. The anti-pinch controller supplies power to the resistance wires and grounds the wires, creating a circuit. The resistance wires generate current and heat, causing the moisture on the glass surface to evaporate, thus achieving rapid defogging.

[0073] Furthermore, the method of this application also includes: when both defogging conditions and human touch interference are met simultaneously, prioritizing the reduction of the preset anti-pinch force threshold; when both mechanical inertial interference and human touch interference are met simultaneously, prioritizing the reduction of the preset anti-pinch force threshold. This application sets a safety priority; regardless of whether it is defogging or mechanical inertial interference (such as bumps), as long as human touch (such as a sudden change in resistance) is detected, the anti-pinch force threshold is reduced first and the motor is reversed to avoid the risk of pinching injury. This priority can improve the user experience and the reliability of anti-pinch control, and reduce misoperation. For example, in bumpy road conditions or low-temperature defogging scenarios, users may frequently operate the car window. Prioritizing the response to human touch can avoid false anti-pinch due to environmental interference (such as the car window falling down for no reason), improving the smoothness of use. In addition, if mechanical inertial interference is not handled properly, it may cause the motor to repeatedly start and stop or overload. Prioritizing the reduction of the threshold and reversing the motor can reduce mechanical impact and extend the life of the motor and transmission mechanism.

[0074] Please see Figure 6 This is a framework diagram of the 600-type dynamic control system for anti-pinch windows in this application. The system includes:

[0075] The waveform processing module 610 is used to sequentially perform high-frequency current sampling, FFT spectrum analysis and filtering during the initial power-on of the anti-pinch controller and the control of the window lifting and lowering process to obtain the reference ripple waveform.

[0076] The judgment module 620 is used to dynamically generate a high-level threshold A' and a low-level threshold B' based on a reference ripple waveform, and to determine whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B'. The high-level threshold A' and the low-level threshold B' satisfy the following relations 1 and 2:

[0077] (Relation 1);

[0078] (Relationship 2);

[0079] Among them, I in relation 1 and relation 2 μ I is the mean value calculated based on the reference ripple waveform. σ The standard deviation is calculated based on the reference ripple waveform;

[0080] The adjustment module 630 is used to dynamically adjust the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions when the window enters the anti-pinch zone. The external obstacle conditions include mechanical inertial interference and human touch interference.

[0081] Furthermore, the system also includes a heating and defogging module 640, which is used to collect the defogging switch start signal. When the defogging switch is activated, the window glass is heated and defogged through a resistance wire.

[0082] Furthermore, the system of this application enables the anti-pinch controller to accurately identify the number of ripples, avoiding problems such as anti-pinch failure or false pinching, and eliminating the calibration step in new product development. It also allows for dynamic adjustment of the anti-pinch force threshold, increasing the threshold on bumpy roads to effectively prevent false pinching, and decreasing the threshold when a person touches the upper edge of the glass to minimize the risk of being pinched. Additionally, the system allows for rapid defogging of the vehicle's doors and windows by closing the defroster switch.

[0083] It should be noted that the window anti-pinch dynamic control system provided in the above embodiments and the window anti-pinch dynamic control method provided in the above embodiments belong to the same concept. The specific operation methods of each module and unit have been described in detail in the method embodiments and will not be repeated here. In practical applications, the window anti-pinch dynamic control system provided in the above embodiments can be assigned to different functional modules as needed, that is, the internal structure of the system can be divided into different functional modules to complete all or part of the functions described above. This is not a limitation here.

[0084] Embodiments of this application also provide a computer device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the computer device to implement the dynamic control method for preventing window pinching provided in the above embodiments.

[0085] Figure 7 A schematic diagram of the structure of a computer system suitable for an embodiment of this application is shown. It should be noted that... Figure 7 The computer system 700 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0086] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage section 708 into a random access memory (RAM) 703, such as performing the methods described in the above embodiments. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704. The following components are connected to the I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (local area network) card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. Drive 710 is also connected to I / O interface 705 as needed. Removable media 711, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on drive 710 as needed so that computer programs read from them can be installed into storage section 708 as needed.

[0087] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer tool programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs various functions defined in the system of this application.

[0088] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, flash memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. Computer programs contained on computer-readable media can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0090] The units described in the embodiments of this application can be implemented by tools or by hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the unit itself.

[0091] Another aspect of this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the aforementioned dynamic control method for preventing window pinching. This computer-readable storage medium may be included in the computer device described in the above embodiments, or it may exist independently and not incorporated into the computer device.

[0092] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the window anti-pinch dynamic control method provided in the various embodiments described above.

[0093] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A dynamic control method for preventing vehicle window pinching, characterized in that, Includes the following steps: In step S100, during the initial power-on of the anti-pinch controller and the control of the window lifting, high-frequency current sampling, FFT spectrum analysis and filtering are performed sequentially to obtain the reference ripple waveform. Step S200: Based on the reference ripple waveform, dynamically generate a high-level threshold A' and a low-level threshold B', and determine whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B', wherein the high-level threshold A' and the low-level threshold B' satisfy the following relationships 1 and 2: (Relation 1); (Relationship 2); Among them, I in relation 1 and relation 2 μ I is the mean value calculated based on the reference ripple waveform. σ The standard deviation is calculated based on the reference ripple waveform; Step S300: When the car window enters the anti-pinch area, the preset anti-pinch force threshold of the anti-pinch controller is dynamically adjusted based on external obstacle conditions, wherein the external obstacle conditions include mechanical inertial interference and human touch interference.

2. The method according to claim 1, characterized in that, In step S200, determining whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B' includes: When the amplitude of the reference ripple waveform is between the high-level threshold A' and the low-level threshold B', the number of ripples in the reference ripple waveform is calculated. The window travel range is determined based on the number of ripples. When the travel range of the window meets the preset range of the anti-pinch zone, it is determined that the window has entered the anti-pinch zone.

3. The method according to claim 2, characterized in that, In step S300, dynamically adjusting the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions includes: The vehicle's acceleration along the direction of gravity is collected. When the absolute value of the acceleration exceeds the preset anti-pinch force threshold, the external obstacle condition is confirmed to be mechanical inertial interference, and the preset anti-pinch force threshold is increased.

4. The method according to claim 2, characterized in that, In step S300, dynamically adjusting the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions includes: The resistance value of the conductive contact point of the car window is collected. When the resistance value changes abruptly, it is confirmed that the external obstacle condition is a human touch interference, and the preset anti-pinch force threshold is reduced.

5. The method according to claim 4, characterized in that, The method further includes: acquiring a defogger switch activation signal, and when the defogger switch is activated, heating the car window glass with a resistance wire to defog it.

6. The method according to claim 5, characterized in that, The method further includes: when both the defogging condition and the human touch interference are met simultaneously, prioritizing the reduction of the preset anti-pinch force threshold; When both the mechanical inertial interference and the human body touch interference are satisfied, the preset anti-pinch force threshold is reduced first.

7. A dynamic control system for preventing window pinching, characterized in that, include: The waveform processing module is used to sequentially perform high-frequency current sampling, FFT spectrum analysis and filtering during the initial power-on of the anti-pinch controller and the control of the window lifting and lowering process to obtain the reference ripple waveform. The judgment module is used to dynamically generate a high-level threshold A' and a low-level threshold B' based on the reference ripple waveform, and to determine whether the window has entered the anti-pinch zone based on the high-level threshold A' and the low-level threshold B', wherein the high-level threshold A' and the low-level threshold B' satisfy the following relations 1 and 2: (Relation 1); (Relationship 2); Among them, I in relation 1 and relation 2 μ I is the mean value calculated based on the reference ripple waveform. σ The standard deviation is calculated based on the reference ripple waveform; An adjustment module is used to dynamically adjust the preset anti-pinch force threshold of the anti-pinch controller based on external obstacle conditions when the vehicle window enters the anti-pinch area. The external obstacle conditions include mechanical inertial interference and human touch interference.

8. The system according to claim 7, characterized in that, The system also includes a heating and defogging module, which is used to collect the defogging switch activation signal. When the defogging switch is activated, the window glass is heated and defogged through a resistance wire.

9. A computer-readable storage medium, characterized in that, It stores computer-readable instructions, which, when executed by the computer's processor, cause the computer to perform the window anti-pinch dynamic control method as described in any one of claims 1 to 6.

10. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the dynamic control method for anti-pinch of a vehicle window as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Car window anti-pinch detection method and device, storage medium and car

    CN119102443A