CN112761455A - Position compensation system and method for anti-pinch vehicle window based on ripples - Google Patents
Position compensation system and method for anti-pinch vehicle window based on ripples Download PDFInfo
- Publication number
- CN112761455A CN112761455A CN202011503513.6A CN202011503513A CN112761455A CN 112761455 A CN112761455 A CN 112761455A CN 202011503513 A CN202011503513 A CN 202011503513A CN 112761455 A CN112761455 A CN 112761455A
- Authority
- CN
- China
- Prior art keywords
- compensation
- real
- ripple
- position compensation
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 239000005357 flat glass Substances 0.000 claims abstract description 79
- 230000009471 action Effects 0.000 claims description 40
- 230000008569 process Effects 0.000 claims description 15
- 238000004148 unit process Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 abstract description 4
- 239000011521 glass Substances 0.000 abstract description 2
- 230000001174 ascending effect Effects 0.000 description 12
- 230000000630 rising effect Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 230000032683 aging Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 208000012260 Accidental injury Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05F—DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
- E05F15/00—Power-operated mechanisms for wings
- E05F15/40—Safety devices, e.g. detection of obstructions or end positions
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05F—DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
- E05F15/00—Power-operated mechanisms for wings
- E05F15/60—Power-operated mechanisms for wings using electrical actuators
- E05F15/603—Power-operated mechanisms for wings using electrical actuators using rotary electromotors
- E05F15/665—Power-operated mechanisms for wings using electrical actuators using rotary electromotors for vertically-sliding wings
- E05F15/689—Power-operated mechanisms for wings using electrical actuators using rotary electromotors for vertically-sliding wings specially adapted for vehicle windows
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05Y—INDEXING SCHEME ASSOCIATED WITH SUBCLASSES E05D AND E05F, RELATING TO CONSTRUCTION ELEMENTS, ELECTRIC CONTROL, POWER SUPPLY, POWER SIGNAL OR TRANSMISSION, USER INTERFACES, MOUNTING OR COUPLING, DETAILS, ACCESSORIES, AUXILIARY OPERATIONS NOT OTHERWISE PROVIDED FOR, APPLICATION THEREOF
- E05Y2400/00—Electronic control; Electrical power; Power supply; Power or signal transmission; User interfaces
- E05Y2400/10—Electronic control
- E05Y2400/32—Position control, detection or monitoring
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05Y—INDEXING SCHEME ASSOCIATED WITH SUBCLASSES E05D AND E05F, RELATING TO CONSTRUCTION ELEMENTS, ELECTRIC CONTROL, POWER SUPPLY, POWER SIGNAL OR TRANSMISSION, USER INTERFACES, MOUNTING OR COUPLING, DETAILS, ACCESSORIES, AUXILIARY OPERATIONS NOT OTHERWISE PROVIDED FOR, APPLICATION THEREOF
- E05Y2900/00—Application of doors, windows, wings or fittings thereof
- E05Y2900/50—Application of doors, windows, wings or fittings thereof for vehicles
- E05Y2900/53—Type of wing
- E05Y2900/55—Windows
Landscapes
- Window Of Vehicle (AREA)
- Power-Operated Mechanisms For Wings (AREA)
Abstract
The invention provides a position compensation system and a position compensation method for preventing clamping of a car window based on ripples, which relate to the technical field of car window anti-clamping control and comprise the following steps: the first acquisition module is used for acquiring a ripple signal of a window driving motor and processing the ripple signal to obtain a corresponding real-time ripple cycle number; the second acquisition module is used for acquiring the state parameters of the vehicle window driving motor in real time and processing the state parameters to obtain the motion state of the vehicle window glass corresponding to the vehicle window driving motor; the strategy storage module is used for storing at least one position compensation strategy which is preset and is associated with the motion state; and the position compensation module is used for calling a corresponding position compensation strategy according to the motion state and compensating the real-time ripple period number according to the position compensation strategy to realize the position compensation of the window glass. The method has the advantages that the corresponding position compensation strategy is adopted according to different motion states of the car window glass, so that the detection precision of the car window position is improved, and the influence of wave loss on the glass position detection caused by starting and stopping of the motor is reduced.
Description
Technical Field
The invention relates to the technical field of anti-pinch control of vehicle windows, in particular to a ripple wave based position compensation system and method for preventing pinching of a vehicle window.
Background
The anti-pinch function design of the automobile door aims to effectively reduce the accidental injury rate of the hands or other parts of the body close to the automobile door and the door frame when the automobile door is closed by accident, meet the requirement of people on safety, and simultaneously meet the safety requirement of the modern automobile for effectively controlling the accidental pinch accident through the automobile body structure.
The current mainstream anti-pinch method comprises the steps of preventing pinch by ripples and preventing pinch by Hall, the Hall is good in anti-pinch stability but high in cost, the main defect of preventing pinch by the ripples is the problem of stability, and besides the characteristic of the ripples is related, the ripple signal loses the phenomenon in the starting and stopping process. Improve the accurate of door and window glass rising position and just can guarantee to prevent pressing from both sides regional stability, the control that improves glass-frame riser position precision can effectively improve the precision and the reliability of preventing pressing from both sides the function, consequently will regard ripple signal as the sensing control signal who prevents pressing from both sides the module, need adopt statistics to add the means of compensation to reduce the skew of preventing pressing from both sides the district, guarantee to prevent pressing from both sides the function reliable and stable, improve the security of car.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a ripple wave-based anti-pinch vehicle window position compensation system, which comprises:
the first acquisition module is used for acquiring a ripple signal of a window driving motor and processing the ripple signal to obtain a corresponding real-time ripple cycle number;
the second acquisition module is used for acquiring the state parameters of the vehicle window driving motor in real time and processing the state parameters to obtain the motion state of the vehicle window glass corresponding to the vehicle window driving motor;
the strategy storage module is used for storing at least one preset position compensation strategy which is associated with the motion state;
and the position compensation module is respectively connected with the first acquisition module, the second acquisition module and the strategy storage module and is used for calling the corresponding position compensation strategy according to the motion state and compensating the real-time ripple period number according to the position compensation strategy to realize the position compensation of the window glass.
Preferably, the motion state comprises a first state indicating that the window glass is completely closed and locked;
the position compensation module includes a first compensation unit, configured to invoke the corresponding position compensation policy according to the first state, so as to compare the real-time ripple cycle number with a preset threshold, and return the real-time ripple cycle number to zero when the real-time ripple cycle number is not less than the threshold.
Preferably, the motion state includes a second state indicating that the window glass is completely opened and locked, and the corresponding position compensation strategy includes a reference compensation value acquired in advance;
the position compensation module includes a second compensation unit, configured to invoke the corresponding position compensation policy according to the second state, to calculate a sum of a preset full stroke reference period value and the reference compensation value, and replace the real-time ripple period number with a calculation result.
Preferably, the system further includes a first obtaining module, connected to the policy storage module, where the first obtaining module includes:
the first recording unit is used for recording a full stroke real-time period value corresponding to each full stroke operation of the window glass;
and the first calculating unit is connected with the first recording unit and is used for calculating the cycle number deviation between the continuously acquired first quantity of the real-time period value of the full stroke and the reference period value of the full stroke respectively, and processing the obtained reference compensation value according to the cycle number deviation to store the reference compensation value into the strategy storage module.
Preferably, the first obtaining module further includes a first updating unit, respectively connected to the first recording unit and the first calculating unit, configured to count a first number of records of the full stroke real-time period value, generate a first updating instruction each time the first number of records reaches the first number, and clear the first number of records;
the first calculating unit processes each full stroke real-time period value according to the first updating instruction to obtain a first updating compensation value, and stores the first updating compensation value as a new reference compensation value to the strategy storage module.
Preferably, the motion state includes that the vehicle window glass is located in the middle area and a preset action is executed, and the position compensation strategy includes a deviation compensation value corresponding to the preset action;
the position compensation module includes a third compensation unit, configured to invoke the corresponding position compensation strategy according to the third state, so that when the vehicle window glass performs the preset action in the middle area, the sum of the real-time ripple cycle number and the deviation compensation value is calculated, and the calculation result is used to replace the original real-time ripple cycle number.
Preferably, the system further includes a second obtaining module, connected to the policy storage module, where the second obtaining module includes:
the second recording unit is used for recording a corresponding full stroke real-time period value when the window glass executes the preset action;
and the second calculating unit is connected with the second recording unit and used for processing the obtained deviation compensation value according to the full stroke real-time period value and the full stroke reference period value and storing the obtained deviation compensation value into the strategy storage module.
Preferably, the second obtaining module further includes a second updating unit, and the second updating unit includes:
the calling subunit is used for calling the second recording unit to record the corresponding full stroke real-time period value when the window glass executes the preset action each time;
the counting subunit is connected with the calling subunit and is used for calculating adjacent difference values between the two adjacent full-stroke real-time period values, and calculating the average value of the adjacent difference values of a second preset number to obtain a second updated compensation value when the adjacent difference values of the second preset number are continuously acquired and are all larger than a compensation threshold value;
and the updating subunit is connected with the counting subunit and is used for storing the calculation result of the deviation compensation value plus the second updating compensation value as a new deviation compensation value to the strategy storage module.
Preferably, the second updating unit further includes a storage subunit, connected to the updating subunit, and configured to store a preset adjustment ratio;
the updating subunit multiplies the second updated compensation value by the adjustment ratio, and then adds the deviation compensation value as a new deviation compensation value to be stored in the strategy storage module.
A ripple-based anti-pinch vehicle window position compensation method is applied to the ripple-based anti-pinch vehicle window position compensation system, and comprises the following steps:
step S1, the position compensation system collects ripple signals of a window driving motor and processes the ripple signals to obtain corresponding real-time ripple period number;
step S2, the position compensation system collects the state parameters of the window driving motor in real time and processes the state parameters to obtain the motion state of the window glass corresponding to the window driving motor;
and step S3, the position compensation system calls a pre-stored position compensation strategy associated with the motion state according to the motion state, and compensates the real-time ripple cycle number according to the position compensation strategy to realize the position compensation of the window glass.
The technical scheme has the following advantages or beneficial effects:
1) the corresponding position compensation strategy is adopted according to different motion states of the car window glass, so that the detection precision of the car window position is improved, and the influence of wave loss on the glass position detection caused by starting and stopping of the motor is reduced;
2) through benchmark offset and deviation offset in the dynamic correction position compensation strategy, can the deformation of self-adaptation part, ageing, the work that the function is reliable is prevented pressing from both sides in the change of environment, further promotes the position compensation precision.
Drawings
FIG. 1 is a schematic diagram of a ripple based anti-pinch window position compensation system according to a preferred embodiment of the present invention;
fig. 2 is a flowchart illustrating a position compensation method for preventing window pinching based on ripples according to a preferred embodiment of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present invention is not limited to the embodiment, and other embodiments may be included in the scope of the present invention as long as the gist of the present invention is satisfied.
In accordance with the above-mentioned problems of the prior art, there is provided a ripple-based anti-pinching window position compensation system, as shown in fig. 1, including:
the first acquisition module 1 is used for acquiring a ripple signal of a window driving motor and processing the ripple signal to obtain a corresponding real-time ripple cycle number;
the second acquisition module 2 is used for acquiring the state parameters of the vehicle window driving motor in real time and processing the state parameters to obtain the motion state of the vehicle window glass corresponding to the vehicle window driving motor;
the strategy storage module 3 is used for storing at least one position compensation strategy which is preset and is associated with the motion state;
and the position compensation module 4 is respectively connected with the first acquisition module 1, the second acquisition module 2 and the strategy storage module 3, and is used for calling a corresponding position compensation strategy according to the motion state, compensating the real-time ripple period number according to the position compensation strategy and realizing the position compensation of the window glass.
Specifically, in this embodiment, first collection module 1 can acquire the real-time ripple cycle number that corresponds through gathering window driving motor's ripple signal, and then acquires the window glass's that window driving motor corresponds real-time position through this real-time ripple cycle number, when preventing pressing from both sides control, prevents pressing from both sides the region through this real-time position determination, consequently, the accuracy and the stability direct influence of this real-time ripple cycle number prevent pressing from both sides the accuracy of controlling. Preferably, the fully closed position of the window glass is defined as a top dead center, the fully opened position of the window glass is defined as a bottom dead center, the real-time ripple cycle number corresponding to the window glass at the top dead center is zero, the process of the window glass descending from the top dead center is the process of gradually increasing the real-time ripple cycle number, the maximum value is obtained when the bottom dead center is reached, and the maximum value is calibrated as the full stroke reference cycle value. Since the ripple signal will lose the ripple during the start-stop process, and the real-time ripple cycle number will deviate, the real-time ripple cycle number needs to be compensated. In this embodiment, different position compensation strategies are matched for different motion states of the window glass, the state parameters of the window drive motor are collected in real time through the second collection module 2 and processed to obtain the motion state of the window glass corresponding to the window drive motor, the state parameters include but are not limited to voltage parameters and current parameters of the window drive motor, and then different position compensation strategies are executed through different motion states of the window glass.
In the preferred embodiment of the present invention, the motion state includes a first state indicating that the window glass is completely closed and locked;
the position compensation module 4 includes a first compensation unit 41, configured to invoke a corresponding position compensation strategy according to the first state, so as to compare the real-time ripple period number with a preset threshold, and return the real-time ripple period number to zero when the real-time ripple period number is not less than the threshold.
Specifically, in the present embodiment, when the window glass is in the first state, when the window glass is completely closed and locked in rotation, since the window glass is already running to the top dead center, ideally, the real-time ripple cycle number should be zero, and the corresponding position compensation strategy in this state may be a top dead center return to zero strategy, that is, when the real-time ripple cycle number is smaller than the threshold value, the compensation is not performed, and even if the real-time ripple cycle number has a deviation, the deviation is still within the allowable deviation range, so that the position compensation is not required, when the real-time ripple period number is not less than the threshold value, the deviation of the real-time ripple period number is beyond the allowable deviation range, at the moment, the top dead center zeroing strategy is executed to zero the real-time ripple period number, the position compensation of the car window glass at the top dead center is realized, and the deviation of an anti-pinch area is effectively reduced.
In a preferred embodiment of the present invention, the motion state includes a second state indicating that the window glass is completely opened and locked, and the corresponding position compensation strategy includes a reference compensation value obtained in advance;
the position compensation module 4 includes a second compensation unit 42, configured to invoke a corresponding position compensation strategy according to the second state, so as to calculate a sum of a preset full stroke reference period value and the reference compensation value, and replace the real-time ripple period number with the calculation result.
Specifically, in this embodiment, when the window glass is in the second state, when the window glass is fully opened and locked, because the window glass has already moved to the bottom dead center, in an ideal state, the real-time ripple cycle number should be the full stroke reference cycle value at this time, the corresponding position compensation strategy in this state may be a bottom dead center reset strategy, and a reference compensation value is provided at the same time, the reference compensation value plus the full stroke reference cycle value is adopted as the real-time ripple cycle number, so as to solve the wave loss phenomenon caused by the motor start, and realize the position compensation of the window glass at the bottom dead center, so that the deviation when the window glass reaches the top dead center again is minimized, that is, the deviation of the anti-pinch area is effectively reduced within the allowable deviation range.
In a preferred embodiment of the present invention, the system further includes a first obtaining module 5 connected to the policy storage module 3, where the first obtaining module 5 includes:
the first recording unit 51 is used for recording a full stroke real-time period value corresponding to each full stroke operation of the window glass;
the first calculating unit 52 is connected to the first recording unit 51, and is configured to calculate a cycle number deviation between a first number of real-time period values of full stroke and a reference period value of full stroke obtained continuously, and process the obtained reference compensation value according to the cycle number deviation to store the reference compensation value in the policy storage module.
Specifically, in this embodiment, the reference compensation value may be calibrated in advance, and may be obtained by controlling the window glass to perform a full stroke operation motion from the top dead center to the bottom dead center and stopping the window glass in a locked manner, recording a full stroke real-time period value corresponding to each full stroke operation, and calculating a period number deviation between the full stroke real-time period value and the full stroke reference period value in each full stroke operation. The first number is preferably 7, and the maximum value and the minimum value are respectively removed from the obtained deviation values of 7 cycles, and the average value of the deviation values of the remaining 5 cycles is used as the reference compensation value.
Preferably, the reference compensation value is an initialized compensation value, and a position deviation may be caused by a use reason such as a device or an environment during use of the window glass.
In a preferred embodiment of the present invention, the first obtaining module 5 further includes a first updating unit 53, respectively connected to the first recording unit 51 and the first calculating unit 52, for counting the first number of records of the full stroke real-time period value, and generating a first updating command when the first number of records reaches the first number each time, and meanwhile clearing the first number of records;
the first calculating unit 52 processes each full stroke real-time period value according to the first updating instruction to obtain a first updating compensation value, and stores the first updating compensation value as a new reference compensation value in the policy storage module.
Specifically, in this embodiment, taking the first number as 7 as an example, the reference compensation value is updated once every 7 full stroke operations of the window glass. The strategy storage module can adopt a Flash memory.
In a preferred embodiment of the present invention, the motion state includes that the vehicle window glass is in the middle area and performs a predetermined action, and the position compensation strategy includes a deviation compensation value corresponding to the predetermined action;
the position compensation module 4 includes a third compensation unit 43, configured to invoke a corresponding position compensation strategy according to the third state, so that when the window glass performs a preset action in the middle area, the sum of the real-time ripple period number and the deviation compensation value is calculated, and the calculation result is used to replace the original real-time ripple period number.
Specifically, in this embodiment, the middle area may be another area excluding the top dead center and locked rotor area and the bottom dead center and locked rotor area. The preset actions can comprise ascending starting actions, namely the window glass starts to start at any position of the middle area, and the corresponding deviation compensation value is an ascending starting deviation value; the preset action can also be a descending starting action, namely the vehicle window glass begins to descend at any position of the middle area, and the corresponding deviation compensation value is a descending starting deviation value; the preset action can also be a lifting stop action, namely the vehicle window glass still stops in the middle area after rising at any position of the middle area, and the corresponding deviation compensation value is a lifting stop deviation value; the preset action can also be a descending stopping action, namely the window glass is stopped in the middle area after descending at any position of the middle area, and the corresponding deviation compensation value is a descending stopping deviation value.
Further, when the third state indicates that the vehicle window glass executes the rising starting action, because the motor has a wave loss phenomenon during starting, a rising starting deviation value is added on the basis of the current real-time ripple cycle number to perform position compensation; when the third state shows that the window glass stops in the middle area again after the rising is started, a small part of movement error exists after the motor stops due to the inertia of the movement of the window glass, and at the moment, a rising stop deviation value is added on the basis of the current real-time ripple cycle number to perform position compensation; when the third state shows that the vehicle window glass performs descending starting action after ascending and stopping, because the motor has wave loss phenomenon during starting, the position compensation is performed by adding a descending starting deviation value on the basis of the current real-time ripple cycle number; when the third state shows that the window glass stops in the middle area again after the descending is started, a small part of movement error exists after the motor stops due to the inertia of the movement of the window glass, and the descending stop deviation value is added on the basis of the current real-time ripple cycle number for position compensation.
Further, when the window glass stops after the rising starting action till the top dead center stalling, when the rising starting action starts, the rising starting deviation value is added on the basis of the current real-time ripple cycle number for position compensation, and the top dead center return-to-zero strategy is adopted for compensation after the window glass stops.
Further, when the window glass stops after the descending starting action till the bottom dead center stalling, when the descending starting action starts, the descending starting deviation value is added on the basis of the current real-time ripple cycle number to perform position compensation, and the bottom dead center resetting strategy is adopted to perform compensation after the window glass stops.
In a preferred embodiment of the present invention, the system further includes a second obtaining module 6, connected to the policy storage module 3, where the second obtaining module 6 includes:
the second recording unit 61 is used for recording the corresponding full stroke real-time period value when the window glass executes the preset action;
and the second calculating unit 62 is connected to the second recording unit 61, and is configured to process the obtained deviation compensation value according to the real-time period value of the full stroke and the reference period value of the full stroke, and store the processed deviation compensation value in the policy storage module.
Specifically, in this embodiment, when the preset action is an ascending start action, the corresponding offset compensation value is an ascending start offset value, and the ascending start offset value can be obtained by calibration in advance. Further specifically, the full stroke operation moving from the bottom dead center to the top dead center is executed, the full stroke operation is stopped once in the moving process, and the deviation compensation value obtained by calculating the difference value between the full stroke real-time period value and the full stroke reference period value obtained at the moment is the rising starting deviation value.
When the preset action is taken as a descending starting action, the corresponding deviation compensation value is a descending starting deviation value which can be obtained by pre-calibration. More specifically, the full-stroke operation from the top dead center to the bottom dead center is performed, the full-stroke operation is stopped once during the moving process, the difference value between the full-stroke real-time period value and the full-stroke reference period value obtained at this time is calculated to be the descending starting deviation value, and more preferably, on the basis of obtaining the reference compensation value, the sum value of the reference compensation value and the full-stroke reference period value is calculated, the difference value between the sum value and the actually obtained full-stroke real-time period value is calculated to be the descending starting deviation value, and the accuracy of the descending starting deviation value is further improved.
When the preset action is used as a descending stopping action, the corresponding deviation compensation value is a descending stopping deviation value which can be obtained by pre-calibration. Further specifically, the window glass moves downwards from the top dead center, stops at any point in the middle, and turns back upwards to the top dead center, and the descending stop deviation value can be obtained by comprehensively considering the ascending starting deviation and the deviation between the real-time ripple cycle number and zero when the window glass reaches the top dead center, and the specific processing principle is the same as above and is not described herein again.
When the preset action is taken as an ascending stop action, the corresponding deviation compensation value is an ascending stop deviation value, and the ascending stop deviation value can be obtained through pre-calibration. Further specifically, the window glass moves upwards from the bottom dead center, stops at any point in the middle, and turns back downwards to the bottom dead center, and the rising stop deviation can be obtained by comprehensively considering the deviation between the real-time ripple cycle number and the full stroke reference cycle value when the window glass reaches the bottom dead center and the falling start deviation, and the specific processing principle is the same as above and is not described herein again.
In a preferred embodiment of the present invention, the second obtaining module 6 further includes a second updating unit 63, and the second updating unit 63 includes:
the calling subunit 631 is configured to call the second recording unit 61 to record the corresponding full stroke real-time period value when the vehicle window glass executes the preset action each time;
the counting subunit 632 is connected to the calling subunit 631, and configured to calculate adjacent differences between two adjacent real-time period values of the full stroke, and when each continuously obtained adjacent difference of a second preset number is greater than a compensation threshold, calculate an average value of each adjacent difference of the second preset number to obtain a second updated compensation value;
the updating subunit 633 is connected to the statistics subunit 632, and is configured to store the calculation result of the offset compensation value plus the second updated compensation value as a new offset compensation value to the policy storage module.
Specifically, in this embodiment, the second preset number may be 3 times, taking the preset action as the ascending start action as an example, continuously recording full stroke real-time period values corresponding to the window glass when performing the ascending start action once, calculating adjacent difference values between two adjacent full stroke real-time period values, if all adjacent difference values obtained for 3 times are greater than the compensation threshold value, calculating an average value of three consecutive adjacent difference values, and compensating the original deviation compensation value by using the average value as the second updated compensation value.
Preferably, the compensation threshold is a position precision threshold, which can be expressed by a multiple of a unit position pulse coefficient K, and when the allowable upper and lower offset of the anti-pinch region is 2 mm, 2K can be selected as the compensation threshold. The unit position pulse coefficient K can be obtained by processing according to the full stroke reference period value and the total travel distance of the window glass from the top dead center to the bottom dead center.
In the preferred embodiment of the present invention, the second updating unit 63 further includes a storage subunit 634, connected to the updating subunit 633, for storing a preset adjustment ratio;
the updating subunit 632 multiplies the second updated compensation value by the adjustment ratio, and adds the offset compensation value as a new offset compensation value to be stored in the policy storage module.
Specifically, in this embodiment, the adjustment ratio may be 1/2, or 1/3, or 1/4, or 1/5, or 1/6, or 1/7, and the adjustment ratio is set to control the adjustment step length of the offset compensation value, so as to ensure that the offset compensation value is a dynamic convergence repair process, thereby gradually reducing the offset error of the anti-pinch region, and being capable of adapting to the deformation, aging, and environmental change of the part, thereby ensuring reliable work of the anti-pinch function.
A ripple-based anti-pinch vehicle window position compensation method is applied to the ripple-based anti-pinch vehicle window position compensation system, and as shown in FIG. 2, the ripple-based anti-pinch vehicle window position compensation method comprises the following steps:
step S1, the position compensation system collects ripple signals of a window driving motor and processes the ripple signals to obtain corresponding real-time ripple period number;
step S2, the position compensation system collects the state parameters of the window driving motor in real time and processes the state parameters to obtain the motion state of the window glass corresponding to the window driving motor;
and step S3, the position compensation system calls a pre-stored position compensation strategy associated with the motion state according to the motion state, and compensates the real-time ripple cycle number according to the position compensation strategy, so as to realize the position compensation of the window glass.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims (10)
1. The utility model provides a position compensating system based on anti-pinch of ripple window, its characterized in that includes:
the first acquisition module is used for acquiring a ripple signal of a window driving motor and processing the ripple signal to obtain a corresponding real-time ripple cycle number;
the second acquisition module is used for acquiring the state parameters of the vehicle window driving motor in real time and processing the state parameters to obtain the motion state of the vehicle window glass corresponding to the vehicle window driving motor;
the strategy storage module is used for storing at least one preset position compensation strategy which is associated with the motion state;
and the position compensation module is respectively connected with the first acquisition module, the second acquisition module and the strategy storage module and is used for calling the corresponding position compensation strategy according to the motion state and compensating the real-time ripple period number according to the position compensation strategy to realize the position compensation of the window glass.
2. The ripple-based anti-pinch window position compensation system of claim 1, wherein the motion state comprises a first state indicating when the window glass is fully closed and stalled;
the position compensation module includes a first compensation unit, configured to invoke the corresponding position compensation policy according to the first state, so as to compare the real-time ripple cycle number with a preset threshold, and return the real-time ripple cycle number to zero when the real-time ripple cycle number is not less than the threshold.
3. The ripple-based anti-pinch window position compensation system of claim 1, wherein the motion state comprises a second state indicating that the window glass is fully open and locked, and the corresponding position compensation strategy comprises a pre-obtained baseline compensation value;
the position compensation module includes a second compensation unit, configured to invoke the corresponding position compensation policy according to the second state, to calculate a sum of a preset full stroke reference period value and the reference compensation value, and replace the real-time ripple period number with a calculation result.
4. The ripple-based anti-pinch window position compensation system of claim 3, further comprising a first obtaining module coupled to the policy storage module, the first obtaining module comprising:
the first recording unit is used for recording a full stroke real-time period value corresponding to each full stroke operation of the window glass;
and the first calculating unit is connected with the first recording unit and is used for calculating the cycle number deviation between the continuously acquired first quantity of the real-time period value of the full stroke and the reference period value of the full stroke respectively, and processing the obtained reference compensation value according to the cycle number deviation to store the reference compensation value into the strategy storage module.
5. The ripple-based anti-pinch window position compensation system of claim 4, wherein the first obtaining module further comprises a first updating unit respectively connected to the first recording unit and the first calculating unit, for counting a first recorded number of the full stroke real-time period value, and generating a first updating command each time the first recorded number reaches the first number, and clearing the first recorded number;
the first calculating unit processes each full stroke real-time period value according to the first updating instruction to obtain a first updating compensation value, and stores the first updating compensation value as a new reference compensation value to the strategy storage module.
6. The ripple-based anti-pinch window position compensation system of claim 1, wherein the motion state comprises indicating that the window glass is in the middle zone and performing a predetermined action, and the position compensation strategy comprises an offset compensation value corresponding to the predetermined action;
the position compensation module includes a third compensation unit, configured to invoke the corresponding position compensation strategy according to the third state, so that when the vehicle window glass performs the preset action in the middle area, the sum of the real-time ripple cycle number and the deviation compensation value is calculated, and the calculation result is used to replace the original real-time ripple cycle number.
7. The ripple-based anti-pinch window position compensation system of claim 6, further comprising a second obtaining module coupled to the policy storage module, the second obtaining module comprising:
the second recording unit is used for recording a corresponding full stroke real-time period value when the window glass executes the preset action;
and the second calculating unit is connected with the second recording unit and used for processing the obtained deviation compensation value according to the full stroke real-time period value and the full stroke reference period value and storing the obtained deviation compensation value into the strategy storage module.
8. The ripple-based anti-pinch window position compensation system of claim 7, wherein the second obtaining module further comprises a second updating unit, the second updating unit comprising:
the calling subunit is used for calling the second recording unit to record the corresponding full stroke real-time period value when the window glass executes the preset action each time;
the counting subunit is connected with the calling subunit and is used for calculating adjacent difference values between the two adjacent full-stroke real-time period values, and calculating the average value of the adjacent difference values of a second preset number to obtain a second updated compensation value when the adjacent difference values of the second preset number are continuously acquired and are all larger than a compensation threshold value;
and the updating subunit is connected with the counting subunit and is used for storing the calculation result of the deviation compensation value plus the second updating compensation value as a new deviation compensation value to the strategy storage module.
9. The ripple-based anti-pinch window position compensation system of claim 7, wherein the second updating unit further comprises a storage subunit coupled to the updating subunit for storing a predetermined adjustment ratio;
the updating subunit multiplies the second updated compensation value by the adjustment ratio, and then adds the deviation compensation value as a new deviation compensation value to be stored in the strategy storage module.
10. A ripple-based anti-pinch window position compensation method, applied to the ripple-based anti-pinch window position compensation system of any one of claims 1 to 9, comprising the steps of:
step S1, the position compensation system collects ripple signals of a window driving motor and processes the ripple signals to obtain corresponding real-time ripple period number;
step S2, the position compensation system collects the state parameters of the window driving motor in real time and processes the state parameters to obtain the motion state of the window glass corresponding to the window driving motor;
and step S3, the position compensation system calls a pre-stored position compensation strategy associated with the motion state according to the motion state, and compensates the real-time ripple cycle number according to the position compensation strategy to realize the position compensation of the window glass.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011503513.6A CN112761455B (en) | 2020-12-17 | 2020-12-17 | Position compensation system and method for anti-pinch vehicle window based on ripples |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011503513.6A CN112761455B (en) | 2020-12-17 | 2020-12-17 | Position compensation system and method for anti-pinch vehicle window based on ripples |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112761455A true CN112761455A (en) | 2021-05-07 |
CN112761455B CN112761455B (en) | 2022-06-24 |
Family
ID=75694380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011503513.6A Active CN112761455B (en) | 2020-12-17 | 2020-12-17 | Position compensation system and method for anti-pinch vehicle window based on ripples |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112761455B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114112437A (en) * | 2021-11-30 | 2022-03-01 | 东风汽车有限公司东风日产乘用车公司 | Vehicle window data calibration method, device, equipment and storage medium |
CN114482767A (en) * | 2021-12-24 | 2022-05-13 | 苏州琪埔维半导体有限公司 | Anti-pinch force detection method and system for ripple anti-pinch car window |
CN115434600A (en) * | 2022-08-16 | 2022-12-06 | 广州汽车集团股份有限公司 | Vehicle window control method and device, vehicle and storage medium |
CN115597473A (en) * | 2022-09-20 | 2023-01-13 | 广州汽车集团股份有限公司(Cn) | Position determination method, position determination device, vehicle and storage medium |
CN115929144A (en) * | 2023-01-03 | 2023-04-07 | 重庆长安汽车股份有限公司 | Anti-pinch control method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050187688A1 (en) * | 2001-12-27 | 2005-08-25 | Lear Corporation | Method of detecting obstructions caused by motor-driven power windows and similar devices using fuzzy logic algorithms |
US20070057644A1 (en) * | 2005-09-14 | 2007-03-15 | Delta Electronics, Inc. | Automatic anti-trap device |
CN106837045A (en) * | 2017-01-20 | 2017-06-13 | 上海纳恩汽车技术有限公司 | A kind of binary channels current sample vehicle window ripple anti-clipping system |
CN111206838A (en) * | 2020-02-26 | 2020-05-29 | 马瑞利汽车电子(广州)有限公司 | Ripple anti-pinch position compensation method and device |
CN111550144A (en) * | 2020-04-29 | 2020-08-18 | 宁波芯路通讯科技有限公司 | Anti-pinch control system and method for car window |
-
2020
- 2020-12-17 CN CN202011503513.6A patent/CN112761455B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050187688A1 (en) * | 2001-12-27 | 2005-08-25 | Lear Corporation | Method of detecting obstructions caused by motor-driven power windows and similar devices using fuzzy logic algorithms |
US20070057644A1 (en) * | 2005-09-14 | 2007-03-15 | Delta Electronics, Inc. | Automatic anti-trap device |
CN106837045A (en) * | 2017-01-20 | 2017-06-13 | 上海纳恩汽车技术有限公司 | A kind of binary channels current sample vehicle window ripple anti-clipping system |
CN111206838A (en) * | 2020-02-26 | 2020-05-29 | 马瑞利汽车电子(广州)有限公司 | Ripple anti-pinch position compensation method and device |
CN111550144A (en) * | 2020-04-29 | 2020-08-18 | 宁波芯路通讯科技有限公司 | Anti-pinch control system and method for car window |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114112437A (en) * | 2021-11-30 | 2022-03-01 | 东风汽车有限公司东风日产乘用车公司 | Vehicle window data calibration method, device, equipment and storage medium |
CN114112437B (en) * | 2021-11-30 | 2023-09-26 | 东风汽车有限公司东风日产乘用车公司 | Vehicle window data calibration method, device, equipment and storage medium |
CN114482767A (en) * | 2021-12-24 | 2022-05-13 | 苏州琪埔维半导体有限公司 | Anti-pinch force detection method and system for ripple anti-pinch car window |
CN114482767B (en) * | 2021-12-24 | 2024-03-08 | 苏州琪埔维半导体有限公司 | Anti-pinch force detection method and system for ripple anti-pinch car window |
CN115434600A (en) * | 2022-08-16 | 2022-12-06 | 广州汽车集团股份有限公司 | Vehicle window control method and device, vehicle and storage medium |
CN115434600B (en) * | 2022-08-16 | 2024-01-26 | 广州汽车集团股份有限公司 | Vehicle window control method and device, vehicle and storage medium |
CN115597473A (en) * | 2022-09-20 | 2023-01-13 | 广州汽车集团股份有限公司(Cn) | Position determination method, position determination device, vehicle and storage medium |
CN115597473B (en) * | 2022-09-20 | 2024-03-12 | 广州汽车集团股份有限公司 | Position determining method, device, vehicle and storage medium |
CN115929144A (en) * | 2023-01-03 | 2023-04-07 | 重庆长安汽车股份有限公司 | Anti-pinch control method, device, equipment and storage medium |
CN115929144B (en) * | 2023-01-03 | 2024-05-24 | 重庆长安汽车股份有限公司 | Anti-pinch control method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112761455B (en) | 2022-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112761455B (en) | Position compensation system and method for anti-pinch vehicle window based on ripples | |
US6166508A (en) | Process for controlling the displacement of the window pane of a motor vehicle door | |
DE102006014612B4 (en) | Control system for an opening and closing member | |
CN102226368B (en) | Anti-pinch control method with self-adaptability for electric window | |
CN102635287B (en) | Can open can closure element control device and have a vehicle of this device | |
US8620531B2 (en) | Method and device for correction temperature-dependent changes in the mechanical properties of a mobile closing part of a vehicle | |
US7259532B2 (en) | Power window apparatus with function of pinching detection | |
JPH11270226A (en) | Method for detecting foreign material caught by power window equipment | |
US9388762B2 (en) | Method and device for controlling an adjusting device of a motor vehicle | |
US11581829B2 (en) | Pinch detection based on motor current increase | |
KR100990958B1 (en) | Operating mechanism of open/close body | |
CN111206838A (en) | Ripple anti-pinch position compensation method and device | |
TW200402372A (en) | Entrapment detecting device for an opening/closing member | |
US6580241B1 (en) | Method of detecting pinching of object in power window device | |
CN203879192U (en) | Window glass lifting driving control circuit | |
JP2020076264A (en) | Opening/closing body control device and motor | |
CN112610106B (en) | Automobile window anti-pinch control method adopting corrugated motor as driving motor | |
CN210629386U (en) | Motor control device | |
CN111173399B (en) | Vehicle window anti-pinch system and method | |
US20180298668A1 (en) | Anti-pinch circuit device for an apparatus for automatic movement of sliding windows in a motor vehicle, and corresponding method | |
CN111550144B (en) | Anti-pinch control system and method for car window | |
JP2861781B2 (en) | Electric drive | |
CN111827806B (en) | Vehicle and tail gate control system thereof | |
JP4063094B2 (en) | Opening and closing body pinching detection device | |
JP3675622B2 (en) | Power window device pinching detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |