Method and system for detecting an object in the path of an automotive window utilizing a system equation

Information

  • Patent Application
  • 20020180390
  • Publication Number
    20020180390
  • Date Filed
    May 29, 2001
    23 years ago
  • Date Published
    December 05, 2002
    22 years ago
Abstract
The presence of an object in the path of an automotive vehicle window is detected. This is accomplished by sensing or observing a system variable, such as speed or motor current, and comparing this measured value to a predicted limit value of the system variable which is based upon the behavior of the system variable when there is no object present. The values are compared over predetermined time intervals and if the measured value falls out of the predicted limit value of the system variable in a direction that indicates an obstruction, then a control system detects the presence of an object and reacts accordingly by stopping or reversing the drive motor of the vehicle window.
Description


BACKGROUND OF THE INVENTION

[0001] This invention relates to a method and system for detecting an obstructing element in the path of an automotive vehicle window. This is accomplished by sensing or observing a system variable, such as speed or motor current, and comparing this measured value to a predicted value of the system variable, which is determined by way of a system equation, in order to determine the presence of an obstructing object.


[0002] Vehicles are provided with closures to close openings. Typically, these closures are powered by an electric motor to move between open and closed positions within a frame. Such closures include side windows, moon roofs, sunroofs, etc. Typically, an operator actuates a switch and the closure will move to a fully closed position. In this disclosure, a side window is disclosed. However, it should be understood that the invention applies to all closures, such as moon roofs, sunroofs, etc.


[0003] If an object is in the path of the closure, such as a passenger's arm, the prior art would like closure movement to stop or even be reversed. Thus, various systems have been proposed to monitor characteristics of operation during closure to identify the obstruction. Typically, characteristics of the motor are sensed.


[0004] It is known that detailed system equations can identify the presence of an object by looking at a number of system variables. However, such equations are of limited value in that there are too many unknowns which are unique to each closure system. Various aspects such as the particular tolerances within the closure system, temperature, age, etc. affect how each individual system will respond.


[0005] Thus, there exists a need for an accurate yet simple algorithmic system for identifying the presence of an object in the path of a vehicle closure.



SUMMARY OF THE INVENTION

[0006] The present invention observes a system variable, x, such as speed or motor current, to determine the presence of an object. A system equation is used to predict a value of the observed variable as it would normally behave without the presence of an object. This predicted value (xp) is compared to a measured value (xm) of the observed variable. If the measured value (xm) exceeds the predicted value (xp) by some limit, in the direction indicative of an object, then the control system detects an object and reacts accordingly, typically by stopping or reversing the motor.


[0007] The present invention also uses a correction mechanism to account for inaccuracies in the system equation. A system equation may not be accurate due to variability between systems and changes due to temperature and aging. In addition, the system equation is adapted over time to also account for these inaccuracies.


[0008] These and other features of the present invention can be best understood from the following specification and drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0009]
FIG. 1 is a schematic block diagram of a power window system incorporating the object detection method of the present invention.


[0010]
FIG. 2 is a graph illustrating the algorithmic comparison of the measured observed variable to the predicted variable over a series of time intervals as an object is detected.







DETAILED DESCRIPTION OF THE DRAWINGS

[0011]
FIG. 1 shows a power window system 10 incorporating the object detection method of the present invention. An automotive vehicle has a door 12 and a window frame 14 defining a window opening 16. While a side window is shown, the term “window” as used in this application also extends to rear windows, moon roofs, sunroofs, or other vehicle closure components.


[0012] The door 12 is equipped with a window glass 18 movable elevationally within the window opening 16 and a drive motor 20 linked with a regulator 22 for driving the window glass 18 upward and downward. Microprocessor, or digital control circuit, 24 controls the drive motor 20 via motor drive circuit 26 in response to signals from switch 28 that commands upward/downward movement of the window glass 18. Digital control circuit 24 is further in communication with a sensor which measures a predetermined variable value of the motor such as speed or motor current.


[0013] The dynamic behavior of a power window system can be described utilizing a discrete dynamic system equation generalized as follows:




b


0


·x


0


+b


1


·x


1


+b


2


·x


2


+ . . . +b


I


·x


i


+ . . . +b


n


·x


n


=B


V
(Vm)+B0(z)+Bobj·Fobj  Equation 1



[0014] Where, x0 is the present value of the observed variable (speed or current) at the calculation or sampling interval


[0015] x1 is the previous value


[0016] x2 is the second previous value


[0017] xi is the “i-th” previous value


[0018] xn is the “n-th” previous value


[0019] b0, b1, b2, bi Are the coefficients to the observed variable


[0020] BV(Vm) is the motor voltage term


[0021] B0(z) is the constant load term that can vary with position, z


[0022] Bobj·Fobj is the object force term


[0023] The number of discrete values of x depend on the order of the system or the required accuracy. The highest value is xn. The coefficients, b0, b1, b2, . . . , bi, . . . and bn, are derived from the calculation interval and system parameters such as resistance, inductance, inertia and viscous damping. The terms, BV(Vm), B0(z), are Bobj·Fobj, are forcing functions.


[0024] Equation 1 can be derived from the continuous time equation using the appropriate transform. Equation 1 is in a form that is easily realized in a microprocessor or digital control circuit 24.


[0025] In order for Equation 1 to be used to predict the observed variable, x, it must be rewritten to the form of Equation 2.




x


p0
=(BV(Vm)+B0(z)−b1·xp1−b2·xp2− . . . −bi·xpi− . . . −bn·xpn)/b0  Equation 2



[0026] Equation 2 is used to predict the value of the observed variable x, (xp). The subscript “p” denotes predicted values. Equation 2 calculates the present value of xp0 based on previous calculated (predicted) values (xp1, xp2, xpi, xpn), forcing terms BV(Vm) and B0(z) and assumes that no object is present (Fobj=0).


[0027] The coefficients (b0, b1, b2, . . . , bi, . . . bn), and forcing functions BV(Vm) and B0(z) are chosen in such a manner such that xp0 tends in a direction that the actual value (xm0) would tend when an object is encountered. For the case of observing speed, speed reduces when an object is encountered. These coefficients can be selected to cover a wide range of systems.


[0028] The graph illustrated in FIG. 2 depicts the behavior of the algorithm some time after the beginning of motion. The initial starting period will be considered later. In this example, speed is considered.


[0029] Referring to FIG. 2, the predicted values (xp) and measured values (xm) are assumed to be equal at time t0. As the window closes, if the predicted value (xp) becomes less than the measured value (xm) then a correction, c, is added to xp. This is shown at times t1 and t4. If the xp+c exceeds xm, then xp is reset to xm. Specifically, xp0=xm0, xp1=xm1, xp2=xm2, . . . , xpi=xmi, . . . , xpn=xmn. This is shown at time t2. If xp is greater than xm, then no correction is added. This is shown at time t3. If xm becomes much less than xp by some limit L, then an object is detected. This is shown at time t5.


[0030] The algorithm, which may be realized in a microprocessor or digital control circuit, can be summarized as follows:


[0031] Begin computation to determine if start period is ended and if calculation interval is ended;


[0032] Calculate present predicted value xp0;


[0033] Measure present value xm0;


[0034] Determine correction:


[0035] If xp0+c<xm0 then correct xp0




{x


p0


=x


p0


+c}




[0036] Else if xp0+c>=xm0 then reset xp0 to xm0




{x


pi


=x


mi
, for i++=0 to n}



[0037] Else if xp0>xm0 then do nothing (xp0=xp0)


[0038] Check for object:


[0039] If xm0<(xp0−L) then object is detected


[0040] Advance variables:




x


p(i+1)


=x


pi
for i−−=n−1 to 0





x


m(i+1)


=x


mi
for i−−=n−1 to 0



[0041] End.


[0042] The correction value can be function of position and time. It may be another dynamic equation.


[0043] The correction mechanism allows for the use of a lower order prediction equation (Equation 2). Further, the correction mechanism may allow for the elimination of the measurement of some variables such as motor voltage. This may be calculated from the values obtained in the initial movement.


[0044] Equation 2 needs to be initialized at the beginning of each closing motion. This can be done in 2 ways. The first is for the variable xp1, xp2, . . . xpi, . . . xpn, to be set to values that the observed variable would be at just prior to motion. For speed and current, this is typically zero. Alternatively, the variables xp1, xp2, . . . xpi, . . . xpn, can be set to xm1, xm2, . . . xmi, . . . xmn some time after motion has begun (xpi=xmi). This however assumes that there is no object present before the setting of the variables.


[0045] The accuracy of Equation 2 can be increased by modifying the coefficients, b0, b1, b2, . . . bi, . . . bn, and forcing functions BV(Vm) and B0(z). This is done by solving for these coefficients and functions from the measured values (xm), after the successful closure of the window without an object detected.


[0046] Once the coefficients have been determined in this manner, they can be utilized for subsequent operations.


[0047] Preferred embodiments have been disclosed. However, a worker in this art would recognize that modifications would come within the scope of this invention. Thus, the following claims should be studied to determine the scope and content of this invention.


Claims
  • 1. A method for detecting the presence of an object caught between a closure and its respective frame of a power system comprising: providing a closure for opening and closing via a regulator driven by an electric drive motor controlled by a control circuit; calculating a predicted variable parameter value utilizing a system equation, said system equation including a number of coefficients and a number of different parameter values; sensing a variable parameter value of the power system during closing of the closure; comparing said sensed variable parameter value to a previously predicted variable parameter value based upon a presumption of how said predicted variable parameter value would behave without the presence of an object; and detecting an object caught between the closure and its respective frame based on the result of the compared parameter values.
  • 2. The method as recited in claim 1, wherein the closure is a side window mounted in a vehicle door frame.
  • 3. The method as recited in claim 1, wherein the sensed or predicted parameter is the speed of said drive motor.
  • 4. The method as recited in claim 1, wherein said parameter values are compared at predetermined time intervals, and at the beginning of each of said time intervals a correction mechanism is incorporated to adjust the predetermined limit when the sensed variable parameter value falls out of said predetermined limit in a direction opposed to that which indicates the presence of an object.
  • 5. The method as recited in claim 4, wherein said correction mechanism is a value based on another dynamic system equation.
  • 6. The method as recited in claim 1, wherein said coefficients are calculated utilizing information from a movement cycle of said closure wherein no object is detected, and utilizing sensed parameter values during said movement cycle to calculate said coefficients.
  • 7. The method as recited in claim 1, wherein said coefficients are selected to err on the side of predicting a value in a direction towards which said parameter will move when an object is encountered.
  • 8. The method as recited in claim 1, wherein said equation is initialized by setting said predicted limits utilized in said equation to be values that the observed parameter will be just prior to motion.
  • 9. The method as recited in claim 1, wherein said predicted values are initialized by values taken from actual values after motion.
  • 10. A power closure system comprising: a closure opening and closing via a regulator that is driven by an electric drive motor which is controlled by a motor control circuit; a sensor for sensing a variable parameter value of the power system; and a digital control circuit in communication with said sensor for comparing the sensed variable parameter value during closing of the closure to a previously predicted variable parameter value calculated utilizing a system equation which includes coefficients multiplied by parameter values from various locations through a path of movement of said closure and providing an indication of how said predicted variable parameter value would behave without the presence of an object in order to detect an object caught between the closure and its respective frame based on the result of the compared parameter values.
  • 11. The system as recited in claim 10, wherein the closure is a side window mounted in a vehicle door frame.
  • 12. The system as recited in claim 10, wherein the sensed or predicted parameter is the speed of said drive motor.
  • 13. The system as recited in claim 10, wherein said parameter values are compared at predetermined time intervals, and at the beginning of each of said time intervals a correction mechanism is incorporated by way of said digital control circuit to adjust the predetermined limit when the sensed variable parameter value falls out of said predetermined limit in a direction opposed to that which indicates the presence of an object.
  • 14. The system as recited in claim 13, wherein said correction mechanism is a value based on another dynamic system equation.
  • 15. The system as recited in claim 10, wherein said coefficients are calculated utilizing information from a movement cycle of said closure wherein no object is detected, and utilizing sensed parameter values during said movement cycle to calculate said coefficients.
  • 16. The system as recited in claim 10, wherein said coefficients are selected to err on the side of predicting a value in a direction towards which said parameter will move when an object is encountered.
  • 17. The system as recited in claim 10, wherein said equation is initialized by setting said predicted limits utilized in said equation to be values that the observed parameter will be just prior to motion.
  • 18. The system as recited in claim 10, wherein said predicted values are initialized by values taken from actual values after motion.