Anti-pinch system and method applied to automobile window

By designing a window anti-clip system including system initialization, window control and anti-clip algorithm modules, the problem of anti-clip parameters in the prior art cannot adaptively change, and an effective anti-clip function of windows is realized, which significantly improves safety and reliability.

CN119553922APending Publication Date: 2025-03-04SUZHOU YASID AUTO PARTS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411797478.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The existing window anti-clip system has a single method when detecting the stress status of the window. The anti-clip parameters cannot adaptively change, resulting in the inability to effectively prevent the window from being clamped, and the safety factor is low.

Method used

An anti-clip system including a system initialization module, a window control module and a window anti-clip algorithm module is designed. By collecting Hall signal and motor current signal, combining Hall anti-clip algorithm and current anti-clip algorithm, we judge the stress status of the window, and automatically drop the window when it reaches the predetermined pressure threshold, achieving adaptive anti-clip.

Benefits of technology

It effectively improves the safety and reliability of window clamping. By adaptively adjusting anti-clip parameters, it can effectively prevent window clamping from hurting people under different usage conditions, significantly improving the user's safety experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119553922A_ABST
    Figure CN119553922A_ABST
Patent Text Reader

Abstract

The invention relates to the field of car window anti-pinch system software, and discloses an anti-pinch system and method applied to a car window, the anti-pinch system comprises a system initialization module, a car window control module and a car window anti-pinch algorithm module, the car window control module is operated after the system initialization module is operated, and the car window anti-pinch algorithm module is operated after the car window control module is operated. The car window anti-pinch algorithm module obtains the current position of the car window by reading the period of the motor Hall signal, judges whether the current position of the car window is in an anti-pinch interval or not, reads the current motor Hall signal and the current motor signal in the anti-pinch interval, judges the stress state of the car window through a Hall anti-pinch algorithm, and controls the car window according to the stress state. The stress state of the door and window is secondarily judged through a current anti-pinch algorithm, when it is monitored that any condition meets the pressure threshold value of program design, a control signal is output, the car window automatically descends, and the window lifting anti-pinch function of the car window is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of window anti-pinch system software, and in particular to an anti-pinch system and method applied to automobile windows. Background Art

[0002] The window anti-pinch system and method can prevent people from being pinched when the car window is raised. The current window anti-pinch system and method generally only detects the Hall signal to determine the force state of the car window. The monitoring method for the window raising state failure is single, and the anti-pinch parameters cannot be adaptively changed according to the actual situation of the vehicle. It cannot effectively prevent people from being pinched by the car window, and the safety factor is low. Therefore, we propose an anti-pinch system and method for car windows. Summary of the invention

[0003] In view of the deficiencies in the prior art, the present invention provides an anti-pinch system and method for automobile windows, which solve the above-mentioned problems.

[0004] To achieve the above-mentioned objectives, the present invention provides the following technical solutions: an anti-pinch system and method applied to automobile windows includes a system initialization module, a window control module, and a window anti-pinch algorithm module. The window control module is run after the system initialization module is run, and the window anti-pinch algorithm module is run after the window control module is run.

[0005] Preferably, the system initialization module includes a system clock initialization module, a GPIO initialization module, an ADC initialization module, an interrupt timer PIT initialization module, an EEPROM initialization module, a window control module initialization module and an anti-pinch module initialization module, so as to initialize the basic configuration of the anti-pinch system of the automobile window. The basic configuration of the anti-pinch system of the automobile window includes a clock generator, a general input and output, an analog-to-digital conversion, a timer, a powered erasable programmable read-only memory, a window control and an anti-pinch module; Preferably, the system clock initialization module includes system master clock frequency division, peripheral frequency selection, and watchdog clock selection; Preferably, the GPIO initialization module completes the configuration of the pins used by the MCU, including the IO input and output directions and the initial values ​​of the IOs; Preferably, the ADC initialization module completes the ADC peripheral parameter configuration, specifies the corresponding multiplexed IO pins, resets the ADC, and turns on the ADC; Preferably, the PIT initialization module completes the timer frequency division configuration and recommends the clock unit to provide a benchmark for program timing; Preferably, the EEPROM initialization module completes storing the data of the window anti-pinch zone and restores it to the variable.

[0006] Preferably, the window control module initialization module completes the window control button module parameter configuration and the window drive module parameter configuration; Preferably, the anti-pinch module initialization module completes the anti-pinch force parameter configuration, the anti-pinch interval parameter configuration, and receives the Hall signal parameters.

[0007] Preferably, the window control module includes a module for reading the window button value, a module for judging the button pressing time, and a Hall motor drive output module, which collects the state of the window button, calculates the button pressing time period after filtering, and realizes the window lifting and lowering function; Preferably, the window control module mainly completes the acquisition of external window switch signals through a single-chip microcomputer, and records the current and last key press values; Preferably, the button pressing time determining module mainly filters out the error level collected due to line interference in button state collection, accurately determines the button pressing time, and improves the anti-interference ability of the window control module; Preferably, the Hall motor drive output module mainly outputs signals to control the Hall motor to rise, fall, and stall, thereby realizing the lifting and lowering function of the vehicle window.

[0008] Preferably, the window anti-pinch algorithm module includes a window position module, a module for determining whether the window position is in an initialized anti-pinch interval, a Hall anti-pinch algorithm module, a current anti-pinch algorithm module, and a control signal output module. The current window position is obtained by reading the period of the motor Hall signal, and it is determined whether the current window position is in the anti-pinch interval. If the window is in the anti-pinch interval, the current motor Hall signal and motor current signal are read. The stress state of the window is determined by the Hall anti-pinch algorithm. The stress state of the door and window is determined again by the current anti-pinch algorithm. When any condition is detected to meet the pressure threshold designed by the program, a control signal is output, and the window automatically drops, completing the window raising anti-pinch function. Preferably, the vehicle window position module mainly determines the vehicle window position by collecting Hall periodic signals; Preferably, the module for determining whether the window position is in the initialized anti-pinch interval determines whether the current window position is in the anti-pinch interval through a Hall signal; Preferably, the algorithm flow chart of the Hall anti-pinch algorithm module is as follows: Figure 5 As shown, the program starts, sampling the Hall cycle signal. When the Hall signal cycle becomes larger, the stress state of the window is determined. When the stress is greater than 85N, the window automatically drops to prevent pinching. When the stress is less than 85N, the Hall anti-pinch parameter changes adaptively according to the aging and wear of the vehicle during use, and the window rises normally. When the Hall signal cycle is normal and becomes smaller, the Hall anti-pinch parameter changes adaptively according to the aging and wear of the vehicle during use, and the window rises normally, and the program ends. Preferably, the algorithm flow chart of the current anti-pinch algorithm module is as follows: Figure 6 As shown, the program starts and samples the running current of the car window. When the running current suddenly increases, the stress state of the car window is determined. When the stress is greater than 85N, the car window automatically drops to prevent pinching. When the stress is less than 85N, the current anti-pinch parameter changes adaptively according to the aging and wear of the vehicle during use, and the car window rises normally. When the running current gradually increases and becomes constant, the current anti-pinch parameter changes adaptively according to the aging and wear of the vehicle during use, and the car window rises normally, and the program ends. Preferably, the control signal output module transmits the information processed by the Hall anti-pinch algorithm module and the current anti-pinch algorithm module to the window control module.

[0009] Compared with the prior art, the present invention provides an anti-pinch system and method for automobile windows, which has the following beneficial effects: 1. The anti-pinch parameters in the anti-pinch system and method applied to automobile windows are adaptively changed according to the aging and wear of the vehicle during use.

[0010] 2. The anti-pinch system and method applied to automobile windows, when the window using the Hall motor encounters resistance from an obstacle during its ascent, the motor will emit a periodically changing Hall signal, which is transmitted to the interior of the single-chip microcomputer, and the stress state of the window is determined by the Hall anti-pinch algorithm; at the same time, the single-chip microcomputer receives the operating current changes of the door and window relay, and secondary determines the stress state of the door and window through the current anti-pinch algorithm. When any condition is monitored to meet the pressure threshold designed by the program, that is, it is determined that the force is greater than 85N, the window automatically descends to prevent pinching, safely and effectively preventing pinching injuries and improving the safety factor of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a functional flow chart of the anti-pinch system of the present invention applied to automobile windows; Figure 2 This is a flow chart of the system initialization module of the present invention; Figure 3 This is a flow chart of the vehicle window control module of the present invention; Figure 4 This is a flow chart of the window anti-pinch algorithm module of the present invention; Figure 5 This is a flow chart of the Hall anti-pinch algorithm of the present invention; Figure 6 This is a flow chart of the current anti-pinch algorithm of the present invention. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0013] See also Figure 1 A system and method for preventing pinching of automobile windows include a system initialization module, a window control module, and a window prevention pinching algorithm module. When the program starts, it is checked whether it is the first time to power on and the system is reset. If it is the first time to power on, the system is initialized. If it is not the first time to power on and the system has been initialized, the window control module receives the window button signal. After the window button signal is collected, the window prevention pinching algorithm module receives the Hall signal and the driving current signal. The received signal is processed by the Hall prevention pinching algorithm and the current prevention pinching algorithm. The processed signal is output to the control end, and the program ends.

[0014] See also Figure 2 , the program starts to power on, first divide the system main clock, select the frequency of each peripheral, and initialize the watchdog clock selection. Then GPIO initializes the configuration of the pins used by the MCU, the IO input and output direction, and the initial value of the IO. Then ADC initializes the configuration of the ADC peripheral parameters, specifies the corresponding multiplexed IO pins, resets the ADC, turns on the ADC, and then PIT initializes the timer division configuration and the recommended clock unit initialization. Then EEPROM initializes the data storing the window anti-pinch interval. Then the window module is initialized to complete the window control button module parameter configuration and the window drive module parameter configuration initialization. Then the anti-pinch module is initialized to initialize the anti-pinch force parameter configuration and the anti-pinch interval parameter configuration.

[0015] See also Figure 3 , the program starts, first the window control module mainly collects the external window switch signal through the single chip microcomputer, and records the current and last key press values, then the key pressing time judgment module filters out the error level collected due to line interference in the key state collection, accurately judges the key pressing time, and then the Hall motor drive output module outputs the signal to control the Hall motor to rise, fall, and stall, and the program ends.

[0016] See also Figure 4At the beginning of the program, the current window position is obtained by reading the cycle of the motor Hall signal, and it is determined whether the current window position is in the anti-pinch interval. If it is in the anti-pinch interval, the current motor Hall signal and motor current signal are read, and the stress state of the window is determined by the Hall anti-pinch algorithm. The stress state of the door and window is determined again by the current anti-pinch algorithm. When any condition is monitored to meet the pressure threshold designed by the program, a control signal is output, and the window automatically drops, completing the window raising and anti-pinch function.

[0017] See also Figure 5 , the program starts, sampling the Hall cycle signal. When the Hall signal cycle becomes larger, the force state of the window is judged. When the force is greater than 85N, the window automatically drops to prevent pinching. When the force is less than 85N, the Hall anti-pinch parameters change adaptively according to the aging and wear of the vehicle during use, and the window rises normally. When the Hall signal cycle is normal and becomes smaller, the Hall anti-pinch parameters change adaptively according to the aging and wear of the vehicle during use, and the window rises normally, ending the program. The implementation mode is that the motor Hall signal signal cycle will become longer after the window rises and is resisted by an obstacle. The system judges the resistance of the current window based on the difference in the Hall cycle before and after the operation. The force condition of the current window is obtained by judging the change in the Hall signal, and the effective value of the Hall anti-pinch is output.

[0018] See also Figure 6 , the program starts, sampling the window operating current. When the operating current suddenly increases, the stress state of the window is judged. When the force is greater than 85N, the window automatically drops to prevent pinching. When the force is less than 85N, the current anti-pinch parameters change adaptively according to the aging and wear of the vehicle during use, and the window rises normally. When the operating current gradually increases and becomes constant, the current anti-pinch parameters change adaptively according to the aging and wear of the vehicle during use, and the window rises normally, ending the program. The implementation mode is that the motor current signal is relatively stable during the operation of the window. When the window encounters resistance during operation, in order to ensure the normal operation of the shaft, the motor drive current will increase. The microcontroller judges the current window stress condition by obtaining the changes in the sampled values ​​of the motor drive current and outputs the effective value of the current anti-pinch.

[0019] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An anti-pinch system for automobile windows, including a system initialization module, a window control module, and a window anti-pinch algorithm module. The arrow of the system initialization module points to the window control module, and the arrow of the window control module points to the window anti-pinch algorithm module to achieve anti-pinch of automobile windows.

2. The anti-pinch system for automobile windows according to claim 1, characterized in that: The system initialization module includes a system clock initialization module, a GPIO initialization module, an ADC initialization module, an interrupt timer PIT initialization module, an EEPROM initialization module, a window control module initialization module and an anti-pinch module initialization module. The arrow of the system clock initialization module points to the GPIO initialization module, the arrow of the GPIO initialization module points to the ADC initialization module, the arrow of the ADC initialization module points to the interrupt timer PIT initialization module, the arrow of the interrupt timer PIT initialization module points to the EEPROM initialization module, the arrow of the EEPROM initialization module points to the window control module initialization module, and the arrow of the window control module initialization module points to the anti-pinch module initialization module, so as to initialize the basic configuration of the anti-pinch system of the automobile window.

3. The anti-pinch system for automobile windows according to claim 1, characterized in that: The window control module includes a module for reading window button values, a module for judging button pressing time, and a Hall motor drive output module. The arrow of the module for reading window button values ​​points to the module for judging button pressing time, and the arrow of the module for judging button pressing time points to the Hall motor drive output module, thereby realizing the lifting and lowering function of the window.

4. The anti-pinch system for automobile windows according to claim 1, characterized in that: The window anti-pinch algorithm module includes a window position module, a module for determining whether the window position is in an initialized anti-pinch interval, a Hall anti-pinch algorithm module, a current anti-pinch algorithm module and a control signal output module. The arrow of the window position module points to the module for determining whether the window position is in an initialized anti-pinch interval, the arrows of the module for determining whether the window position is in an initialized anti-pinch interval respectively point to the Hall anti-pinch algorithm module and the current anti-pinch algorithm module, and the arrows of the Hall anti-pinch algorithm module and the current anti-pinch algorithm module jointly point to the control signal output module, so as to control the window anti-pinch after judging abnormal situations occurring during the window raising process.

5. An anti-pinch method for automobile windows, comprising a Hall anti-pinch algorithm and a current anti-pinch algorithm, characterized in that: At the beginning of the program, the current position of the window is obtained by reading the cycle of the motor Hall signal, and it is determined whether the current position of the window is in the anti-pinch range. If it is in the anti-pinch range, the current motor Hall signal and motor current signal are read, and the stress state of the window is determined by the Hall anti-pinch algorithm. The stress state of the door and window is secondarily determined by the current anti-pinch algorithm. When any condition is monitored to meet the pressure threshold designed by the program, a control signal is output, and the window automatically drops, completing the window raising and anti-pinch function.

6. The anti-pinch method for automobile windows according to claim 5, characterized in that: The Hall anti-pinch algorithm starts the program and samples the Hall periodic signal. When the Hall signal period becomes larger, the stress state of the window is determined. When the force is greater than 85N, the window automatically drops to prevent pinching. When the force is less than 85N, the Hall anti-pinch parameters adaptively change according to the aging and wear of the vehicle during use, and the window rises normally. When the Hall signal period is normal and becomes smaller, the Hall anti-pinch parameters adaptively change according to the aging and wear of the vehicle during use, the window rises normally, and the program ends.

7. The anti-pinch method for automobile windows according to claim 5, characterized in that: The current anti-pinch algorithm samples the window operating current at the beginning of the program. When the operating current suddenly increases, the stress state of the window is determined. When the force is greater than 85N, the window automatically drops to prevent pinching. When the force is less than 85N, the current anti-pinch parameters adaptively change according to the aging and wear of the vehicle during use, and the window rises normally. When the operating current gradually increases and becomes constant, the current anti-pinch parameters adaptively change according to the aging and wear of the vehicle during use, and the window rises normally, and the program ends.