**AUTO REVERSE POWER CLOSURE SYSTEM**

*;*

**E05F15/00***;*

**H02H7/085***H02H7/093*; (IPC1-7): E05F15/00

GB2267161A | 1993-11-24 | |||

GB2198860A | 1988-06-22 |

1. | What is Claimed: A power closure system for a motor vehicle comprising: a closure; a closure frame defining a seated position of the closure; an electric motor with an output shaft drivingly connected to the closure; a first displacement sensor operably generating a signal indicative of output shaft rotation; a microprocessor including means for measuring a first time period for the output shaft of the motor to rotate a predetermined amount using signals from the first displacement sensor; means for measuring a second time period for the output shaft of the motor to rotate the predetermined amount using signals from the second displacement sensor; means for establishing a reference time for the second time period using the first time period for comparison with the second time period; means for comparing the second time period to the reference time period; and means for reversing the motor if the second time period is greater than the reference time period. |

2. | A power closure system as claimed in claim 1, wherein the means for establishing a reference time includes means for storing a plurality of values of the first time period and an associated plurality of reference time periods and further comprises means for interpolating a reference time period from the stored values of time periods when given a first time period. |

3. | A power closure system comprising: an electric motor having an output shaft; a first displacement sensor operably producing signals indicative of output shaft rotation at a first location; a closure drivingly connected to the motor for operable displacement in an axial direction responsive to rotation of the motor; a closure frame defining a seated position of the closure; and a microprocessor including; means for calculating and storing a value T^ Measured in counts of time for a predetermined displacement of the output shaft using the first displacement sensor; means for calculating and storing a value T_{2} Measured in counts of time for a predetermined displacement of the output shaft using the first displacement sensor; means for calculating a limit value for the T_{2} value, T_{2} Limit, given T_{j} Measured; means for storing a plurality of matched pairs of reference values for (T^ T_{2} Limit) and T_{j}j means for interpolating between stored values of T_{j} to determine a value for (T_{j} Measured T_{2} Limit) corresponding to T_{j} Measured; means for calculating T_{2} Limit from the values of T^ Measured and (T^ Measured T_{2} Limit); means for comparing T_{2} measured with T_{2} Limit; and means for reversing the motor if T_{2} Measured is greater than T_{2} Limit. |

4. | A window lift system as claimed in claim 3, wherein the means for interpolating (T_{j} Measured T_{2} Limit) for a value of T_{j} Measured between two stored values of T^ employs a linear equation in the form of (T^ Measured T_{2} Limit) = (T^ Measured/) 1/m)) + b where 1/m can be approximated as a whole number. |

5. | A method for controlling closure movement in a motor vehicle employing an electric drive motor controlled by a microprocessor including: mounting a first displacement sensor in a first position relative to an output shaft of the electric drive motor; using the first sensor to provide an indication of a first initiation and termination of a predetermined angular displacement of the shaft; counting and storing a number of counts T^ of time increments measured, between the indication of the first initiation and termination of the predetermined amount of angular displacement; using the first displacement sensor to provide an indication of a second initiation and termination of the predetermined angular displacement of the shaft; counting and storing a number of counts T of time increments measured between the indication of the second initiation and termination of the predetermined amount of angular displacement; calculating a value of a limit value T_{2} Limit for the number of counts of time T_{2} for each of a plurality of values of T^; storing a plurality of matched values for (T^ T_{2} Limit) and T^ in the microprocessor; calculating a value of T_{2} Limit for a measured value of T} Measured between stored values of T^ using the stored values of (1^ T_{2} Limit) and TJ_{^}J comparing the value of T_{2} Limit with the value of T_{2} Measured to determine if T_{2} Limit has been exceeded; reversing the motor if the value of T_{2} Measured is sustained at a value greater than T_{2} Limit for a period of time equal to or greater than a predetermined period of time. |

6. | A method for controlling closure movement as claimed in claim 5, further comprising the step of calculating values of T_{j} T limit) for the values of T^ measured between stored values of T__ ^^{n}&^{a} linear equation (T_{j}_ T_{2} Limit) = ^/(l/m) + b where m is less than 1. |

7. | A method for controlling closure movement as claimed in claim 5, further comprising the following steps for establishing the plurality of matched pairs of values for (T_{j}_ T_{2} limit) and T_{j}j instrumenting the window motor to provide signals for motor rotational velocity as a function of time; energizing the motor at a predetermined voltage level, thereby rotating the motor at a constant rotational speed; placing an obstacle in a path of the closure; establishing a time tl where the closure begins acting against the obstacle; establishing time t2 when a force applied by the closure against the obstacle equals 100N of force; establishing rotational velocity ω2 as equal to the rotational speed of the motor at time t2; varying the voltage a plurality of times and repeating the above steps of corresponding plurality of times to establish a plurality of values for ωl, tl, t2 and ω2; calculating deceleration α from ωl to ω2; developing a straight line approximation of α as a function of ω__ using the calculated values of α; using values of ω^ and acceleration α, calculating the value of ω_{2} Limit equal to (ω^ + ω_{j} ^{2} 4 x α x 15)'*)/2; generating a table of values of ω_{j}_ and ω_{2} using the preceding equation for ω Limit; inverting the values of ω^ and ω_{2} Limit to generate a table of T_{j} and T_{2} Limit; using T_{j} and T_{2} Limit, generating a table of (T^ T_{2} Limit) and T_{j}. |

BACKGROUND OF THE IHVEHTIOW

The present invention relates to a power drive system for motor vehicle closures such as windows. It is particularly directed to an automatic reverse feature for power driven closures in which closing motion continues automatically even after a user switch has been released.

Some motor vehicles are available with a power window system having an auto-up mode of operation. In these systems, a window will continue to move up even after the user switch has been released. A government mandated motor vehicle standard requires that a window operating in the auto-up mode must reverse direction before it exerts a 100 N force on a 10 N per mm compliant cylindrical rod between the window and window frame.

A wide variety of approaches are taken to make power window system comply with the government standard. Known approaches include: monitoring the magnitude of current being drawn by the motor for an increase indicating the presence of an obstacle, placing pressure sensing devices, such as electrically responsive pressure sensitive tape, inside the window frame to sense an obstacle being pressed thereagainst, and monitoring the velocity of the window for a decrease as it moves along its path. However, all of these approaches have drawbacks, as each presents one or more of the following concerns: false obstacle detection preventing window from closing; a need for excessive computing power; and excessive cost.

It is desired to provide a highly reliable auto reverse feature for use with windows having an auto-up mode of

operation requiring a minimum of computing power, enabling the use of an Inexpensive microprocessor to reliably control window movement.

SUMMARY OF THE INVENTION

In accordance with the present invention, a closure system for a motor vehicle includes a closure, a closure frame, an electric motor, a first displacement sensor and a microprocessor. The electric motor has an output shaft. The closure frame defines a seated position of the closure. The displacement sensors both indicate rotation of the drive motor output shaft, with the second sensor being offset from the first sensor. The microprocessor includes means for measuring a second time for the output shaft of the motor to rotate a predetermined amount using signals from the first sensor. The microprocessor also includes means for measuring a first time for the output shaft of the motor to rotate a predetermined amount using signals from the second sensor. As well, the microprocessor includes means for establishing a reference, or limiting, time signal for the second time signal using the first time signal. The microprocessor has means for comparing the second signal to the reference or limit signal. The microprocessor additionally includes means for reversing the motor if the second signal is greater than the reference signal for a predetermined period of time.

Other objects and features of the invention will become apparent by reference to the following specification and to the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

Figure 1 is a schematic representation of an auto reverse power window system of the present invention.

Figure 2 is a schematic representation of a magnet ring and associated hall effect sensors.

Figure 3 is a plot of motor rotational speed as a function of torque for a power window system.

Figure 4 is a plot of motor deceleration as a function of motor velocity for a power window system.

Figure 5 is a plot of polarity as sensed by the magnetic field sensors as a function of time.

Figure 6 is a plot of a limiting value of T _{2 } as a function of T _{j }_.

Figure 7 is a plot of (T _{j } - T _{2 }) limit as a function of Tl.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

A window lift system 10 is shown in schematic form in Figure 1. An electric motor 12 with an output shaft 14 is electrically connected to a microprocessor 16. A magnetic ring 18, best shown in Figure 2, has eight poles with north poles 20 and south poles 22 alternating. A first hall effect sensor 24 is located proximate to the magnetic ring 18 and is electrically connected to the microprocessor 16. A second hall effect sensor 26 is circumferentially offset from the first hall effect sensor 24 at approximately 90° thereto and is also proximate to the magnetic ring 18 and electrically connected to the microprocessor 16.

A window 28 is disposed for slidable movement within a window frame 30 in an axial direction 29. A window lift mechanism 32 is connected to both the window 28 and the electric

motor 12 and translates the rotary motion of the output shaft 14 into the axial motion needed to move the window 28.

An electrical power source, such as a battery 34, is connected to the microprocessor 16. Both the battery 34 and the microprocessor 16 are connected to an electrical ground 36. Input switches 38 for controlling actuation of the electric motor 12 are also connected to the microprocessor 16.

The electric motor 12 can be any fractional horsepower electric motor, whether a brushless motor or a brush type motor. An exemplary motor is available from ITT Automotive as part of a "Phase III Windowlift Actuator."

The microprocessor 16 is a relatively inexpensive eight bit microprocessor such as a Motorola 6805 microprocessor or an equivalent. It is somewhat limited in capability in that it can only process and store whole numbers. The microprocessor 16 is also not suited for easily calculating the instantaneous velocity and acceleration of the output shaft 14.

The system 10 operates in the following manner. An operator presses the input switch 30 to close the window. The microprocessor 16, responsive to the condition of the switch 30, electrically connects the motor 12 with the battery 34 causing the motor output shaft 14 to rotate. Rotation of the output shaft 14 drives the window lift mechanism 32 which moves the window 28 upward into the window frame 30. With a constant voltage from the battery 34, and no obstructions in the path of the window 28, the motor output shaft 14 rotates at a near constant velocity until the window 28 seats in the frame 30. The microprocessor continually monitors signals from the first hall effect sensor 24, or alternatively from the second hall effect sensor 26, to determine whether the window has impinged against an obstacle. When the time for the output shaft 14 to

complete one full revolution as indicated by the first hall effect sensor 24 is greater than a concurrently established target level, and is sustained for a predetermined period of time the microprocessor 16 responsively reverses the direction of rotation of the motor output shaft 14 to lower the window 28. How the target level and the predetermined period of time are established, and how the comparison of the measurement with the target level is made are key factors in enabling the use of such a limited microprocessor to provide the desired window reversing function.

Figure 3 shows a plot of the angular velocity of the motor output shaft 14 as a function of motor output torque. Lines, Al, A2 and A3 are constant load curves, showing the change in torque with the increase in output shaft rotational speed ω for three different operating load conditions. Al is the load curve for rotating the electric motor 12 with no load on the motor. A2 is the load curve for rotating the electric motor to drive a window lift mechanism 32 and lift a window 28. A3 is the load curve for rotating the motor 12 to lift the window 28 and also overcome a 100N safety limit load. Suitable curves for lines Al, A2 and A3 can be found in nearly any handbook or text book on electrical motors.

The safety limit load of 100 N is established by a government mandated standard requiring that the window reverse direction before it exerts a 100 N force on a 10 N per mm compliant cylindrical rod 40 for which varies in diameter from 4 mm to 200 mm placed between the window and the frame.

Lines Bl and B2 are constant voltage lines (voltage applied to the motor) and show the change in angular velocity ω of the output shaft 14 as a linear function of torque for two different voltage levels, VI and V2. The lines Bl and B2 are essentially parallel and have a negative slope. Thus, as torque

on the motor 12 operating at a constant voltage is increased, the speed ω decreases.

A motor operating under normal conditions (at constant voltage VI and displacing a window upward) would operate at torque TQ1 and speed ωl (point 0P1 where line Bl intersects line A2). If, at time tl, the window 28 impinges against the compressible impediment 40, the torque required to displace the window 28 increases and the speed ω decreases. At time t2, the load induced by the impediment 40 equals 100N, and the operating conditions are characterized by the intersection of line Bl with line A3 (torque TQ2 and speed ω2, point 0P2).

Similarly, line B2 intersects line A2 at torque TQ3 and speed ω3, point 0P3, with a motor 12 operating at constant voltage V2. When the window 28 impinges against the impediment at time t3, the torque required to move the window increases, and the speed ω consequently decreases. At time t4 when the load induced by the impediment equals 100N, B2 intersects A3 at torque TQ4 and speed ω4, defining point OP4.

The data needed to generate the plot of fig. 4 is produced by using a motor instrumented to provide a recording of output shaft speed ω as a function of time. Recordings of output shaft speed ω are made with the instrumented motor displacing a representative window against the government standard compliant rod 40 using a representative window drive unit. The operating speed ω of the motor output shaft 14 as the window 28 is moved upward tends to remain equal to a constant initial speed u> until the window 28 impinges against the complaint rod 40. With impingement of the window 28 against the compliant rod 40, the output shaft decelerates at a rate of α, with α equalling the slope of ω as a function of time. Each initial speed ω^ has an associated value of α induced when the window 28 engages the compliant rod 40. As ω^ is increased, so

is the resultant α. By repeating this test (recording the angular velocity of the motor output shaft as a function of time as the window crushes the compliant rod) for several different initial speeds Uι, sufficient data is obtained to plot the curve of fig. 4.

Figure 4 is a plot of the absolute value of rotational acceleration α of the output shaft 14 as a function of the initial speed ω^ after the window 28 has impinged against the compliant rod 40.

Conceivably, the plot of Figure 4 could be used to generate a look up table establishing limiting rates of deceleration α for a range of initial velocities ω which could be used to determine when an obstacle has been encountered by the moving window as indicated by an instantaneous measured deceleration greater than the limit deceleration established by the plot. However, as already noted, it is not possible to calculate velocities or decelerations instantaneously using the relatively inexpensive microprocessor described. The microprocessor is able to measure the time between revolutions in small increment counts. In this example, one count equals a 2μs increment of time. The measured time between revolutions is proportional to inverse rotational velocity (1/ω, or ω ), not rotational velocity ω. Because the relationship between velocity and inverse velocity is nonlinear, any attempt to directly calculate deceleration based on time, or microprocessor counts, would be incorrect. What is needed, and what has been done in this invention, is to establish a characteristic limiting function which can be compared with microprocessor counts of the time between revolutions, indicative of inverse velocity, which are readily available.

The wave form of Figure 5 shows periods Tl and T2, respectively corresponding first and second measurements of the

time for one revolution using the first hall effect sensor 24. The second hall effect sensor 26 is used by the microprocessor 16, in combination with the first sensor 24, to establish the direction of rotation, and the position of the window 28, but could alternatively be used to determine periods Tl and T2. The smallest period over which the change in velocity, and therefore acceleration or deceleration, can be estimated is Δτ. A close approximation of Δτ is provided by T2/4 with little error. This allows acceleration α to be derived in terms of ω^, the angular velocity corresponding to period Tl, and ω , the angular velocity, corresponding to period T2, as indicated below. If Tl and T2 are in units or minutes, then O _{j } = (1 revolution/Tl minutes), and ω _{2 } = (1 revolution/T2 minutes). Therefore,

α = (ω _{2 } - ω^)/Δτ

Given Δτ ~ l/(ω revolutions per minute x

(1 minute/60 seconds) x (4 edges/rev.))) and substituting:

-α = (ω^- ω _{2 })/(15/ω _{2 })

Solving for ω _{2 }: ω _{2 } = (<•)! + (ω-L ^{2 } - 4 x α x 15) ^{y, })/2

A limiting value of ω _{2 } corresponding to a known value of α can therefore be calculated using the above equation. A table of limiting values for ω _{2 } can be established for values of ω^ using values of α from Fig. 4.

After producing the table, the values of ω^ and ω _{2 } in the table are then inverted to produce a table of inverse velocities ω-^ and o> _{2 } ^{-2 }. The inverse velocities are then converted to counts and plotted or mapped as shown in Figure 6. To convert 1/ωrpm to counts, given 2μs counts, multiply 1/ωrpm

by 60s/minute, and then divide by .000002 s/count. For example, for ω = 4000rpm, time T in counts per revolution equals 7500. Given this conversion, t _{j }me (in counts) T^ is equivalent to ω^ ^{-1 } and time T (in counts) is equivalent to ω _{2 }~ .

T^ equals the number of counts accumulated between, for example, a first rising edge signal from the first sensor 24 and a fifth rising edge signal from the first sensor. T _{2 } equals the number of counts accumulated between a second rising edge signal and a sixth rising edge signal from the first sensor 24. Rising edge signals occur when the sensor detects a predetermined shift in the magnetic field in a predetermined direction (e.g., from South pole to North pole). Since each revolution of the output shaft 14 produces four rising edge signals, the first signal marks the initiation of a revolution and the fifth signal marks its termination. Similarly, the second and sixth rising edge signals are used to mark initiation and termination of one revolution of the motor 12, offset from the first revolution by approximately 1/4 revolution.

A limiting value of T _{2 } (T _{2 } Limit) can be calculated for any measured value of T _{j } in counts from the table of inverse velocities. Figure 6 is a plot of T _{2 } Limit as a function of T _{} }. T _{2 } Limit is potentially able to serve as the desired characteristic limiting function employing the time counts of the microprocessor. The measured value of T _{2 } (T _{2 } Measured) can be compared with T _{2 } Limit. If T _{2 } Measured is greater than T _{2 } Limit, it is an indication that the system is decelerating at a rate greater than a limiting value of α corresponding to T _{2 } Limit and ω _{2 }. If I _{2 } Measured is sustained at a value greater than T Limit for a predetermined period of time, then the microprocessor reverses the direction of the motor. Determination of the predetermined period of time is described later in this Description of the Preferred Embodiment.

The microprocessor stores a discrete number of values of T__ and corresponding T _{2 } Limit values. When T__ Measured equals one of the stored values of T _{j }_, then T _{2 } Limit equals the corresponding stored value of T Limit. When T^ Measured falls between the stored values of T- the microprocessor interpolates an approximation of T _{2 } Limit. Interpolation of T _{2 } Limit is performed using the standard formula for a line, with T _{2 } Limit = T _{j } x m + b, where m is the slope and b is the ordinate intercept. The adjacent stored values of T__ and T _{2 } Limit are used to develop the values of m and b.

However, in this example, which is typical, the slope of the line of T _{2 } as a function of T _{j } is nearly equal to 1. For example, with a ω__ equal to 4,000 rpm, and an acceleration α equal to 6,000 rpm per second, the value of ω _{2 } is calculated as 3,977 rpm. Inverting and converting to counts yields a T _{j } equal to 7500 and T _{2 } equal to 7543. Because the microprocessor is only able to operate in whole numbers, even a relatively small deviation in slope from 1-0, such as 1.4, would result in significant errors in the interpolated value of T _{2 } limit.

To reduce the potential error significantly, the difference between ^ and T _{2 }, (T^ - T _{2 }), is calculated as a function of T _{j } with the equation (T _{j } - T _{2 }) - T__ x m + b, as plotted in Figure 7.

As is readily apparent in Figure 7, the slope of the resultant line, although not a constant, is a very small fraction of 1. Since the microprocessor can only work with whole numbers, it is necessary to divide T^ by 1 over m to provide m with a value greater than zero. The fraction 1/m can be reasonably approximated by a whole number.

The method by which one interpolates an output value from the table determines the quantization error, program time and program space. To optimize all three, 21 values of T^ - T limit and T _{j } are stored in the microprocessor, opening 20 straight lines approximations of the curve of Figure 7. Each straight line approximation has its own slope m and ordinate intercept b. T _{2 } limit can now be readily calculated given any value of 1__ and compared to the actual counts for T _{2 } measured. If T _{2 } measured is less than T _{2 } Limit, then the system has a constant velocity, is accelerating, or is decelerating at a rate less than would indicate the presence of an obstacle. However, when T _{2 } measured is greater than T _{2 } Limit, it indicates that the resultant deceleration meets or exceeds that produced by a 10 n/mm obstacle.

When a deceleration above the limit is detected, it is desirable to perform some debounce, or filter, to avoid false window reversals. This is most easily done by initiating a timer and assuring that the deceleration continues for the predetermined period of time before reversing the window. For a window system operating with an initial steady state speed of ω- the predetermined period of time must not be greater than (t _{2 } - t _{j }) of Figure 3. If appropriate filtering can be done in less than the lowest (t - t _{j }), a lower pinch force less than 100N will result.

By thus monitoring the time to complete a rotation of the output shaft, an inexpensive highly reliable power window system is provided which consistently reverses window direction in response to window impingement against an impediment.

While one embodiment of the invention has been described in detail, it will be apparent to those skilled in the art that the disclosed embodiment may be modified. For example, this same control system could be used with a sun roof or a

sliding door instead of a window. Also, the magnet ring 18 could alternatively be fixed to a secondary shaft rotated by the output shaft 14. Therefore, the foregoing description is to be considered exemplary rather than limiting, and the true scope of the invention is that defined in the following claims.