Dynamic protection for a circuit for a motor type load

Abstract: An express down vehicle window lift motor drive system in which a overcurrent detection circuit (10) interprets the flow of electrical power to the lift motor when the motor current exceeds a threshold which is set dynamically as a function of motor in-rush or peak current. Motor current is measured as a small voltage drop across a current shunt. When the current level rises above the dynamically set threshold energization of the motor is halted.

Description: BACKGROUND OF THE INVENTION The present invention relates generally to a vehicle power window lift motor control system and, more particularly, to a circuit for protecting the motor and its drive circuitry from damage due to overcurrent when the motor is stalled. Vehicle power window lift motor systems are used to move vehicle windows up and down between two positions or to some point therebetween. Generally, the window continues to move in the designated direction so long as the actuating switch is held. The addition of an "express down" feature to many modern vehicle power window circuits additionally provides continuous window movement in the down direction without requiring more than a quick depression of an "express down" switch or a further depression of the down switch. When the circuit is in the express down mode, window movement continues until either an "up" or "down" switch is actuated, or until an end of travel limit is sensed. To protect the window lift motor and its drive circuitry from overheating during potentially damaging prolonged motor stall conditions, such as when an end of travel limit has been reached, these systems usually include an overcurrent detection system for interrupting the flow of electric current to the motor whenever the motor current rises above a predetermined threshold or reference current level. The reference level is typically selected empirically taking into consideration the current and/or power capacity of the motor and its drive circuitry. However, it is oftentimes difficult to select a single fixed threshold which is effective over all operating temperature ranges and in the presence of varying circuit conditions. FR-A-2 696 884 discloses an electric motor for an automobile window opener. A memory stores a value that is a function of the maximum current during start-up of the motor as a threshold value. If the motor current reaches the threshold value, indicating an obstacle in the window path, the motor is stopped or reversed. EP-A-0 506 626 discloses a device for controlling a power window regulator assembly in motor vehicles which device essentially comprises a microprocessor electronic circuit controlled by control signals supplied by push-buttons in order to allow the window glass to be either automatically or manually opened and closed, the manual or automatic actuation type being discriminated based on the duration of the actuation of the push-buttons, the electronic circuit being moreover specifically designed for detecting possible obstacles against a proper sliding of the window glass as well as including limit switches for switching off the driving electric current to the power window operating electric motor. US-A-5 012 168 discloses that stall current levels are determined according to measured peak currents occurring immediately after the energization of a motor. By utilizing a fractional value of the determined peak current value, the stall current is determined each time the motor is energized to compensate for variations in current flowing in a motor at different ambient temperatures. US-A-4 962 337 discloses a circuit for controlling bi-directional operation of a vehicle window lift motor having a toroidal coil sensing counter-emf perturbations in the motor current line. An EXPRESS mode switch, upon momentary actuation, latches an electronic switch to operate a relay to provide continuous motor rotation for lowering the window. Subsequent momentary switch actuation unlatches the electronic switch to cut interrupt window motor current. Window lift motor stall is detected by a toroidal coil which senses loss of motor line perturbations and unlatches the electronic switch to open circuit the motor relay. Finally, EP-A-0 267 064 discloses a device comprising a circuit for detecting the stalling of the motor in which the level of the start-up current is captured and stored at the input of a voltage comparator through the rapid charging of a capacitor and its slow discharging, whereas the level of the operating and stall current for the motor is applied to the input through a delayed circuit. When a stall-current draw substantially equal to the start-up current draw stored at the input appears at the input, the comparator changes logic state and sends, via its output, a signal for cutting the supply to the motor. In accordance with the invention, a method as set forth in claim 1 and a circuit as set forth in claim 5 for controlling a motor mechanically coupled to a window of a vehicle are provided. Preferred embodiments are disclosed in the dependent claims. BRIEF SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an express down vehicle window lift motor drive system having an improved end of travel limit sensing capability. The circuit monitors the current through the window motor, measured as a small voltage drop across a current shunt. An overcurrent detection circuit interrupts motor energization when the motor current exceeds a threshold which is set dynamically, based upon a percentage of the motor in-rush current. This in-rush current refers to a momentary current peak which occurs shortly after power is first applied to the motor. Thereafter, the current level generally drops until an end of travel position of the window causes the motor to stall. The motor stall results in a sharp rise in motor current, usually exceeding the level at in-rush. When the motor current exceeds the selected threshold, a stall condition is presumed and the motor is turned off. Since the initiation of downward window movement can occur in hot or cold weather, with the vehicle engine running or turned off, basing detection of motor stall on the in-rush current level achieved under the same operating conditions allows varying circuit and environmental conditions to be taken into consideration in order to more accurately determine that an end of travel position has been reached. This and other features and advantages of the present invention will become readily apparent upon review of the following description taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic diagram illustrating the express down window lift motor control circuit of the present invention. Figure 2 is a schematic diagram detailing the circuitry of the application specific integrated circuit (ASIC) employed by the control circuit of Figure 1. Figure 3 is a block diagram illustrating the functional interaction of the various components of the circuits shown in Figures 1 and 2. DETAILED DESCRIPTION OF THE INVENTION Turning now to the drawings, and in particular to Figure 1, the window motor control circuit of the present invention is indicated generally at 10. Circuit 10 is configured around and includes an ASIC µl, shown in greater detail in Figure 2 described hereinbelow. ASIC µl is powered at pin V DD from the vehicle battery B+ with 9 to 16 volts through resistor R6. Pin V DD of ASIC µl and resistor R6 are connected to ground through capacitors C1 and C3, and through diode D10, all connected in parallel to provide a regulated V DD voltage of 5 Vdc. An oscillator output pin V OS-OUT is connected through resistor R8 to an oscillator input pin V OS-IN , used to generate a clock frequency, and to ground through capacitor C5. Pins REF-OUT (through resistor R5) and REF-IN are connected through resistor R4 to pin AGND. As described in greater detail below, a percentage of a stall reference voltage is applied to ASIC µl through pin REF-IN and pin REF-OUT is used to apply a stored voltage corresponding to the in-rush current to a voltage divider. Pin AGND provides an analog reference output, in the presently preferred embodiment ¼ V DD . Switch S1 is closed in response to movement by a passenger or driver of the vehicle of an actuator to effect downward movement of a vehicle window and is electrically connected between V DD and down input pin DOWN. In the exemplary embodiment of the present invention described herein, actuation of the connected actuator triggers the circuit into both "down" and "express down" modes. When depressed to a first detented position, a down mode is effected wherein the window moves down until the operator releases the actuator. Effecting depression of the actuator to a second detented position causes a switch S3 to close, thereby causing the system to enter the express down mode wherein downward movement of the window continues until an end of travel is reached or the mode is canceled by the user. If the actuator is depressed a second time after the express down mode has already been initiated, the express down mode is cancelled. The depression of the "up" switch also cancels the express down mode. Thus, even though switch S3 may be mechanically controlled with switch S1 via a single button, it is electrically separate. Switch S3 is electrically connected between the vehicle battery, through resistor R9, and ground via capacitor C7, and to an express down input pin EXPRESS of ASIC µl. However, one of skill in the art should readily appreciate that the present circuit will effectively operate in accordance with various other actuation schemes such as the provision of a separate express down actuator. Pin V-REF of µl is grounded through capacitor C8 which is charged with the voltage corresponding to motor in-rush current. Shunt voltage input V S is received from window lift motor M1, connected to the vehicle battery through a relay SPDT which is operated by a coil K1. When the motor M1 is running, this shunt voltage is used by ASIC µl to determine its state, i.e. in-rush, run or stall. Pin V S is also coupled through resistor R3 to switch S2 which is actuable to initiate upward movement of the vehicle window. In this regard, resistor R3 acts as a current sensor as long as up switch S2 is not closed. Output pin OUT provides an output drive current to a transistor Q1 having its emitter connected through diode D5 to ground and its collector to the vehicle battery through diode D6. Diode D6 is connected on the opposite side to coil K1. Pin OUT is high whenever circuit 10 is in either the down or express down mode but is otherwise low. Under normal conditions, ASIC µl is powered by the vehicle battery and is in a latent condition, waiting for input on either of the DOWN or EXPRESS pins. These inputs are normally tied to ground via a 30k ohm resistor. Pin OUT is low at this time, thereby maintaining transistor Q1 in a cutoff state. Input V S , referenced to ground, is at zero volts. When a user actuates the down switch S1, connecting pin DOWN to V DD , the voltage at pin DOWN will go above a predetermined trigger voltage V H set to indicate positive actuation of the down actuator. If this condition is maintained for at least 10ms, ASIC µl considers it a valid signal confirming actuation of the down actuator. If, at this time, pin OUT is low, indicating no prior actuation of down switch S1, pin OUT will go to a high state, thereby driving transistor Q1 with 5mA to saturate the transistor and energize power relay SPDT via coil K1. Pin OUT remains high until the down actuator switch S1 is released, regardless of the amount of current flowing through motor M1. When the voltage at pin DOWN drops below the trigger voltage low V L for at least 10ms, typically indicative of the release of down switch S1, pin OUT returns to a low state and ASIC µl goes back to its wait state. If pin OUT is already in a high state when the DOWN pin is made high, pin OUT will be pulled low. This will cancel the express down function. Pin OUT will remain at a low state even though pin DOWN is high. Once pin DOWN goes low, ASIC µl will be reset and made ready for a manual down operation. To effect an express down movement of the window, ASIC µl must be in a wait state and the operator must first actuate the down actuator thereby closing switch S1, forcing the voltage at pin DOWN above the trigger voltage high V H . If pin OUT is low, it will go to a high state and power up the motor through relay SPDT. Input pin V S will read and amplify (by about 12 times in this exemplary embodiment) the voltage drop across the external current shunt (typically 28 to 120mVdc). When motor M1 is initially turned on, the in-rush current causes a voltage spike on input pin V S . The spike voltage value is amplified and stored by a Peak-Detect, Sample/Hold circuit and used as a reference on pin REF-IN. In the Sample/Hold operation pin V-REF will charge an external capacitor C8 to a peak voltage charge during in-rush motor current. This peak voltage is a direct measurement of the in-rush current spike on pin V S , which is amplified about 12 times. The peak voltage will be stored at pin V-REF until pin OUT goes low. This can take up to 13 seconds. Pin REF-OUT is a buffered output of pin V-REF, and an external voltage divider, formed by resistors R4 and R5, will divide this voltage and connect it to pin REF-IN. This REF-IN voltage is the threshold voltage used for detecting stall current on input pin V S . In this exemplary embodiment, the threshold is set as a fixed percentage of the voltage corresponding to the in-rush current, preferably equating to about 87% of in-rush current. However, it should be apparent that any other similar means of selecting a threshold based upon in-rush current could alternately be used. When the operator actuates express down switch S3, after the input on pin DOWN has gone above V H and pin OUT has gone to a high state, input pin EXPRESS will go to a high level, V H . If this state is maintained for at least 10ms, ASIC µl latches internally so that pin OUT remains high even though pins EXPRESS and DOWN are low (i.e. the operator has released the express and down actuators). Pin OUT will remain at a high level even though either of pins EXPRESS or DOWN remain high. An internal oscillator in µl will be incrementing internal counters during the entire time that ASIC µl has been actuated into the express down mode. Once circuit 10 is put into the express down mode, there are six modes of cancellation, the first being for time-out. When ASIC µl is in the express down mode, pin OUT remains high. During this time, the oscillator on pins VOS-OUT and VOS-IN will increment internal time-out counters. If these counters complete a specified counting sequence, approximately 10 seconds with an oscillator frequency of 10kHz, ASIC pin OUT will be pulled to a high state. This time-out ensures that down window notion is stopped after a certain period time thus protecting the motor against a prolonged stall condition in the unlikely event that the stall current doesn't exceed the threshold for some reason or some other circuit or mechanical anomaly has occurred. The second cancellation of the express down mode occurs in the case of motor stall, usually occurring at an end of travel position of the window. If the voltage level at pin V S is higher than the reference voltage at pin REF-IN, ASIC µl will detect a stall condition and begin incrementing internal stall delay counters. If this stall condition is maintained for more than a predefined stall delay period, approximately 0.5 seconds in this presently preferred embodiment, but then V S goes back to a lower value, ASIC µl resets the stall delay counters. If this latest peak value is higher than the in-rush, it will be stored by the peak detector and used for the new threshold. The ratio between the stall and time-out time periods can be modified. By pulling pin RATIO high, the ratio between the stall time period (T stall ) and the time-out period (T tout ), T stall /T tout = 0.35/10; by pulling pin RATIO low, T stall /T tout = 0.65/10. In the presently preferred embodiment of the present invention, wherein the pin is left floating, this ratio is 0.5/10. The express down mode can also be cancelled through further actuation of the down actuator. If pin DOWN goes to a high state when pin OUT is high, ASIC µl resets and pulls pin OUT low. Pin OUT will remain in a low state even though pin DOWN remains high. Similarly, actuation of the express down actuator a second time also effects cancellation of the down mode. If after a down cancel as described above, pin DOWN is maintained in a high state, ASIC µl resets and pulls pin OUT low. Pin OUT remains low even though pin DOWN is high. If the up switch S2 is actuated during an express down mode of ASIC µl, when pin OUT is high, the ASIC will be left without ground and shut off. When ground is restored, all of the circuit's internal counters and registers must be reset, pulling pin OUT to a low state. If a short circuit current is detected during an express down mode, i.e. if V S = 0.263V corresponding to I SC = 45 A in the presently preferred embodiment, pin OUT will be immediately pulled to a low state. Thus, the present circuit allows for effective interruption of applied electrical power to a motor in an express down mode. Additional details concerning the components of ASIC µl is included as Figure 2. As shown in the functional block diagram included as Figure 3, ASIC µl includes 9 main functional subcircuits, including amplifier, peak detector, buffer, short circuit comparator, stall comparator, state machines and output driver subcircuits. These subcircuits operate in accordance with the method described above in conjunction with Figure 1. The foregoing discloses and describes merely an exemplary embodiment of the present invention. One having skill in the art will readily recognize that various changes and modifications can be made thereto without departure from the scope of the present invention as set forth in the following claims.

Claims: Method of controlling the application of electrical power to an electric motor mechanically coupled to a window (12) of a vehicle so as to effect movement of said window (12) upon application of electrical current by selectively enabling and disabling the flow of electrical power from a power supply (B+) to the electric motor (M1), comprising the steps of: providing a first user actuatable switch (S3), the closing of said first switch initiating a continued flow of electrical power from the power supply (B+) to said motor (M1); measuring the current level in said motor; detecting a motor in-rush current level or any peak in said current level occurring after said first switch closes as a motor peak current level; setting a threshold as a fixed percentage of said motor peak current level; interrupting said application of power to said motor (M1) after the passing of a predetermined period of time; setting a new threshold as a fixed percentage of said measured current level when said measured current level is greater than said motor in-rush current level for a predefined stall delay period less than said predetermined period of time; providing a second user actuatable switch (S1), said second switch (S1) causing the flow of electrical current from said power supply to said motor (M1) only as long as said second switch (S1) remains closed, wherein said first (S3) and second (S1) switches are aduatable by a driver or passenger of said vehicle via depression of a single toggle actuator; providing a third user actuatable switch (S2), the closing of said third switch (S2) causing the flow of electrical current from said power supply to said motor only as long as said third switch remains closed, the closing of said third switch causing said motor to move said window in a direction opposite to that caused by the closing of said first and second switches; providing an application specific integrated circuit (ASIC) that receives an input from the first switch (S3) and the second switch (S1), wherein the ASIC allows a relay to energize when an output pin of the ASIC is high, wherein the output pin is high when it receives the input from the second switch (S1), low when it stops receiving the input from the second switch, and latches high when it initially receives an input from the second switch (S1) and receives the input from the first switch (S3) even if the ASIC subsequently stops receiving the second switch input. The method of claim 1, further including the step of electrically connecting a resistor (R3) between said motor (M1) and ground, said current being measured as a function of the voltage drop across said resistor (R3). The method of claim 1, wherein said percentage is approximately 87 %. The method of claim 1, wherein said interrupting step comprises: starting a timer with the dosing of said first switch; and interrupting said application of power to said motor after the passing of said predetermined period of time. A circuits installed in a vehicle for controlling a motor mechanically coupled to a window of said vehicle so as to effect movement of said window upon application of electrical current by selectively enabling and disabling the flow of electrical power from a power supply to an electric motor, said circuit comprising: a first user actuatable switch (S3) for initiating a continuous flow of electrical power to said motor (M1); a second user actuatable switch (S1) that causes the flow of electrical current from said power supply (B+) to said motor as long as said second switch remains closed; a third user actuatable switch (S2) that causes the electrical current from said power supply to said motor to flow only as long as said third switch remains closed, wherein closing said third switch causes said motor to move said window in direction opposite to that caused by the closing of said first and second switches; a current sensor for providing a signal indicative of a measured level of current in said motor (M1); a processor (U1) adapted to receive said current level signal from said sensor, said processor being programmed to identify a motor in-rush current level and to set a threshold value as a fixed percentage of said in-rush current level, the processor including an application specific integrated circuit (ASIC) that receives an input from the first switch (S3) and the second switch (S1), wherein the ASIC allows a relay to energize when an output pin of the ASIC is high, wherein the output pin is high when it receives the input from the second switch (S1), low when it stops receiving the input from the second switch, and wherein the output pin of the ASIC latches high when it initially receives an input from the second switch (S1) and the first switch (S3) even if the ASIC subsequently stops receiving the second switch input; and circuit means responsive to said processor for interrupting said flow of electrical power (B+) to said motor (M1) after the passing of a predetermined period of time, the circuit means including the relay controlled by the ASIC, wherein the ASIC is adapted to set a new threshold as a fixed percentage of said measured motor current level when said measured motor current level is greater than said in-rush current level for a predefined stall delay period less than said predetermined period of time. The circuit of claim 5, wherein said current sensor includes a resistor (R3) connected between said motor (M1) and ground, and wherein said current is measured as a function of the voltage drop across said resistor (R3).

Inventors: BAURCEANU BOGDAN, MICHEL IGNACIO, BAURCEANU, BOGDAN, MICHEL, IGNACIO
Applicants: DELPHI TECH INC, DELPHI TECHNOLOGIES, INC.
Application year: 1998
Main classification: H02H7
IPC codes: H02H7, E05F15, H02P3