Apparatus for controlling driving of power window system

Abstract: An apparatus for controlling driving of a power window system having a motor drive current detection device for detecting a current flowing through the motor when the door glass is raised by the motor, a current variation calculation device for calculating a variation amount of the current detected by the motor drive current detection device, and a drive control device for stopping or reversing the motor when the variation amount of the current exceeds a predetermined value and the gradient of the variation amount of the current is positive when the variation of the current starts. The apparatus can quickly and accurately judge whether an abnormal current is caused by noises or the squeeze of an alien substance, thereby eliminating unnecessary operations of the motor.

Description: BACKGROUND OF THE INVENTION Field of the Invention: The present invention relates to an apparatus for controlling driving of a power window system in which a door glass of a vehicle is raised and lowered by the driving power of a motor according to the preamble of claim 1. The auto switch is a switch for automatic operation (hereinafter reffered to as "auto switch"). Description of the Related Art: At a location near the driver's seat, there are provided manual switches and an auto switch as switches for the power window system. When the driver manipulates the auto switch to bring the contacts for raising operation or the contacts for lowering operation into the ON state, the drive of the motor is continued until the door glass is completely closed or completely opened even after the driver releases the auto switch. When the door glass is completely closed, the movement of the door glass is prevented by the window frame or the like, whereby the drive current of the motor increases. The drive of the motor is stopped when the drive current exceeds a predetermined level. By the way, it has been considered to detect an abnormal current due to the existence of an alien substance on the locus of the upward movement of the door glass so as to stop or reverse the motor. In some systems, there is provided a full-closure detecting switch for detecting the state that the door glass approaches its full closure position so as to discriminate a current increase due to the alien substance from a current increase due to the full closure of the door glass. However, the detected drive current of the motor also becomes abnormal due to vibrations and noises so that the variation amount of the drive current exceeds a predetermined level. The vibrations are generated, for example, when the vehicle runs on a bumpy road, when a tire or tires of the vehicle fall in a depression of a road, or when a door is hardly closed. The noises are generated, for example, when the engine is started. Therefore, there has been a problem that noises are erroneously recognized as the squeeze of an alien substance, even though the squeeze of the alien substance does not actually occurs, and the motor is stopped or reversed. An apparatus for controlling driving of a power window system of the before mentioned type is disclosed in DE-A-3 332 813. With this apparatus the motor is reversed when the variation amount of the current exceeds a predetermined value and the variation amount of the current is positive. In case of a negative variation amount of the current no reversal of the motor is performed. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an improved apparatus for controlling driving of a power window system, which is capable of quickly and accurately judging whether an abnormal current is caused by noises or the squeeze of an alien substance, thereby eliminating unnecessary operations of the motor. To this end, the present invention provides an improved apparatus for controlling driving of a power window system comprising the features of claim 1. According to the present invention, the driving current of the motor is detected by the motor drive current detection means, and a variation amount of the detected drive current is obtained by the current variation amount obtaining means. When the variation amount of the drive current exceeds a predetermined value, the drive current is regarded as abnormal. Here, vibrations or noises can be mentioned as causes of the occurrence of a condition where the variation amount of the drive current exceeds a predetermined level. The vibrations are generated, for example, when the vehicle travel on a bumpy road, when a tire or tires of the vehicle fall in a depression of a road, or when a door is hardly closed. The noises are generated, for example, when the engine is started. However, the waveform of the abnormal current caused by the noises demonstrates a common characteristic in which the current varies in the negative direction (i.e., variation amount becomes negative) at the beginning of the variation, as shown by the arrow A in FIG. 4, the arrow B in FIG. 5 and the arrow C in FIG. 6. On the contrary, the waveform of the abnormal current caused by the squeeze of an alien substance demonstrates a characteristic in which current varies in the positive direction (i.e., variation amount becomes positive), as shown in FIG. 3. Therefore, in the present invention, when an abnormal current is detected, it is judged whether the variation amount is positive or negative, and it is then judged that the abnormal current is caused by the squeeze of an alien substance, only when the variation amount is positive, so as to stop or reverse the motor by the drive control means. Further, when the variation amount is negative, it is recognized that the abnormal current is a noise. Therefore, it becomes possible to detect only abnormal current which is caused by the squeeze of alien substances. Further, the operation is inhibited for a predetermined period of time, because the noises or vibrations continue for a while. As explained above, the apparatus for driving and detecting a power window system according to the present invention can quickly and accurately judge whether an abnormal current is caused by the squeeze of an alien substance or caused by noises. Therefore, the present invention has an excellent effect to eliminate unnecessary operations of the motor. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a circuit diagram showing an apparatus for controlling driving of a power window system according to an embodiment; FIG. 2 is a flowchart showing the control operation; FIG. 3 is a characteristic chart showing the drive current of the motor of the apparatus for driving and controlling the power window system when an alien substance is squeezed; FIG. 4 is a characteristic chart showing the waveform of the motor current when the vehicle runs on a bumpy road while the door glass is being raised; FIG. 5 is a characteristic chart showing the waveform of the motor current when a door is hardly closed during the door glass is being raised; and FIG. 6 is a characteristic chart showing the waveform of the motor current when a tire of the vehicle falls in a depression of a road while the door glass is being raised. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows a circuit diagram of an apparatus for controlling driving of a power window system according to an embodiment of the present invention. Both terminals of a motor 12 for power window drive are connected to the common terminals 14A and 16A of relay circuits 14 and 16 (double contact type), respectively. The first relay circuit 14 is used for raising the door glass, and the first contact 14B thereof is connected to a ground through a resistor 18 having a minute resistance (about 10 m). The second contact 14C is connected to a power line 20. When the first coil 22 is not excited, the movable contact connected to the common terminal 14A is in contact with the first contact 14B. When the first coil 22 is excited, the movable contact is switched over to contact the second contact 14C. Meanwhile, the second relay circuit 16 is used for lowering the door glass, and the first contact 16B thereof is connected to the ground through the resistor 18 of minute resistance. The second contact 16C is connected to the power line 20. When the second coil 24 is not excited, the movable contact connected to the common terminal 16A is in contact with the first contact 16B. When the second coil 24 is excited, the movable contact is switched over to contact the second contact 16C. First ends of the first and second coils 22 and 24 are connected to the power line 20, while their other ends are respectively connected to the collector terminals of first and second transistors 26 and 28 of NPN type. To a connection line between the first coil 22 and the first transistor 26, one terminal of a manual switch 30 for raising operation is connected, while the other terminal thereof is connected to the ground. Accordingly, when the manual switch 30 for raising operation is brought into its ON-state, the first coil 22 is excited to establish the contact between the movable contact of the first relay circuit 14 and the second contact 14C thereof, whereby the motor 14 is rotated in the forward direction to raise the door glass. Also, to a connection line between the second coil 24 and the second transistor 28, one terminal of a manual switch 32 for lowering operation is connected, while the other terminal thereof is connected to the ground. Accordingly, when the manual switch 32 for lowering operation is brought into its ON-state, the second coil 24 is excited to establish the contact between the movable contact of the second relay circuit 16 and the second contact 16C thereof, whereby the motor 14 is rotated in the reverse direction to lower the door glass. Both the emitter terminals 26E and 28E of the transistors 26 and 28 are connected to the ground, while their base terminals 26B and 28B are connected to a controller 33. The controller 33 is constituted to supply the respective base terminals 26B and 28B with predetermined signals. In response to these signals, electric currents start to flow from the collector terminals 26C and 28C of the transistors 26 and 28 to their emitter terminals 26E and 28E, whereby these transistors 26 and 28 are individually brought into the ON-state. Namely, these transistors 26 and 28 have the same functions as those of the manual switches 30 and 32. From one side of the resistor 18 of minute resistance closer to the power line 20, a signal line 34 is branched for detecting the current flowing through the motor 12. The signal line 34 is connected to the non-inverted input terminal 40A of an amplifier 40 via resistors 36 and 38. To the line between the resistors 36 and 38, one terminal of an electrolytic capacitor 42 is connected while the other terminal thereof is connected to the ground so as to form a filter portion 44. The inverted input terminal 40B of the amplifier 40 is connected to the ground through a resistor 46. Further, the output terminal 40C is connected to the inverted input terminal 40B via a feedback resistor 48 to form an amplifying circuit 50. Further, the output terminal 40C of the amplifier 40 is connected to the controller 33 through a capacitor 52 and a resistor 54. Since a differentiating circuit 60 is constituted by the capacitor 52 and the resistor 62, the differentiated waveform of the drive current of the motor 12 is inputted to the controller 33. Further, another signal line is connected between the output terminal 40C and the controller 33 so that the signal from the output terminal 40C is led directly to the controller 33. The controller 33 is composed of a CPU 88, a RAM 90, a ROM 92, an input/output port 94 and a bus line 96 including a data bus, a control bus and the like which connect the above components to each other. The drive current of the motor 12 and the differentiated component thereof are inputted to the controller 33 through A/D converters 98. The input/output port 94 outputs signals for turning on the above-mentioned transistors 26 and 28, respectively. Further, an automatic operation signal is inputted to the input/output port 94 for commanding the controller 33 to automatically raise or lower the door glass. The automatic operation signal is outputted from an auto switch 95 of a normal-open type through a branch line 97. The one terminal of the auto switch 95 is connected to the power line 20 through a resistor 93, while the other terminal thereof is connected to the ground. The branch line 97 is connected to the line between the resistor 93 and the auto switch 95. Namely, when the auto switch 95 is in the ON state (operated state), no current flows to the branch line 97. When the auto switch 95 is in the OFF state (non-operated state), a current flows to the branch line 97. The auto switch 95 is mechanically connected to the manual switch 30 for raising operation and the manual switch 32 for lowering operation in such as way, for example, that when the manual switch 30 is moved by the driver by a small stroke, the manual switch 30 is brought into the ON state but the auto switch 95 is not brought into the ON state, and that when the manual switch 30 is moved by a large stroke, both the manual switch 30 and auto switch 95 are brought into the ON state. The controller 33 continuously outputs an ON signal to the transistor 26 or 28 if the auto switch 95 is brought once into the ON state. With this operation, the raising or lowering of the door glass can be continued even after the driver releases the auto switch 95. In the RAM 90, there is memorized a threshold value which is used for the comparison with the drive current of the motor 12, which is inputted to the CPU 88 through the A/D converter 98. In the CPU 88, the input signal indicating the current is compared with the threshold value (for current value). When the input signal is larger than the threshold value, i.e., the current exceeds a limit, it is judged that the door glass is in its fully opened position or fully closed position. In such case, the CPU 88 stops the output of ON signals to the transistors 26 and 28. Further, in an event where an alien substance is squeezed during the raising operation of the door glass, the variation amount of the driving current of the motor 12 is compared with the threshold value (for variation amount of current). This threshold value is memorized in the RAM 90. When it is judged that input signal indicating the variation amount is larger than the threshold value, the output of the ON signal to the first transistor 26 is stopped. The differentiated waveform to be compared with the threshold value (for variation amount of current) includes noises due to vibration noises of the vehicle and the noises from the engine. Such noises sometime exceeds the threshold value. Therefore, if the CPU 88 recognizes that such condition occurs due to the squeeze of an alien substance and stops the motor 12, the motor 12 is erroneously stopped or reversed. In the present embodiment, variations of the motor current which occur due to the above-mentioned noises are therefore discriminated from variations of the motor current which occur due to the squeeze of alien substances, and the motor 12 is not stopped or reversed when the variations of the current exceeds the threshold value (for variation amount of current) due to noises. For example, the vehicle runs on a bumpy road, the drive current violently varies in a time period as indicated by the arrow A in FIG. 4. Also, when a tire or tires of the vehicle fall in a depression of a road, the drive current violently varies, as indicated by the arrow C in FIG. 6. When a door is hardly closed, a similar variation of the drive current occurs, as indicated by the arrow B in FIG. 5. As is understood from the characteristics shown in FIG. 4 through FIG. 6, a variation of the motor current always starts with a negative variation. On the contrary, a variation of the motor current due to the squeeze of an alien substance starts with a positive variation, as shown in FIG. 3. Accordingly, all current variations starting with a negative variation are regarded as noises, and the operation for inputting the current variation is canceled for a predetermined period of time, for example, a few hundreds milliseconds without stopping or reversing the motor 12. The operation of the present embodiment will now be described. When the driver wants to raise the door glass manually, namely, in non-automatic mode, he or she manipulates the manual switch 30 for raising operation, whereby the first coil 22 is excited to change over the movable contact of the first relay circuit 14 to contact the second contact 14C. At that time, the movable contact of the second relay circuit 16 is in contact with the first contact 16B. Therefore, the motor 12 rotates in the forward direction to raise the door glass. When the driver stops the manipulation of the manual switch 30 after the door glass is moved to a desired position, the motor 12 is stopped so that the raise of the door glass is stopped. On the contrary, when the driver wants to lower the door glass manually, he or she manipulates the manual switch 32 for lowering operation, whereby the second coil 22 is excited to change over the movable contact of the second relay circuit 16 to contact the second contact 16C. With this operation, the motor 12 is reversed so that the door glass is lowered. When the driver manipulates the manual switch 30 for raising operation by a large stroke, the auto switch 95 is brought into the ON state, as well as the manual switch 30. The operation in the event that the auto switch 95 is brought into the ON state will be explained. When it is confirmed in step 100 that the auto switch 95 is in the ON state, the processing moves to step 102 in which it is judged whether the door glass is to be raised or to be lowered. In step 104, an ON signal is outputted to the transistor 26 or 28 depending on the result of the judgment in step 102. With this operation, even after the driver releases the manual switch 30 or 32, the excitation of the first coil 22 or the second coil 24 is continued so that the movement of the door glass is continued. In next step 105, it is judged that now is in a predetermined blanking period. When the auto switch is brought into the ON-state, the drive current sometime exceeds the threshold value (for current value) due to a rush current, which causes an erroneous operation. Therefore, the processing in step 105 delays the comparison between the drive current and the corresponding threshold value for a predetermined period of time. When it is judged that the blanking period has elapsed, the processing moves to step 106 to input data indicating the variation amount of the drive current, and the corresponding threshold value is also read out from the RAM 90 in the following step 108. In next step 110, it is judged whether or not the variation amount exceeds the corresponding threshold value. When the result of the judgment is negative, the output of the ON signal is continued, and the processing moves back to step 106 in which data indicating the variation amount of the drive current is again inputted, and the processing in steps 106, 108 and 110 are repeated. When it is judged that the variation amount exceeds the threshold value, the processing moves to step 112 in which it is judged whether or not the inputted variation of the current has started with a negative variation. When the result of the judgment is affirmative, the variation is regarded as a noise which has occurred due to running on a bumpy road, falling of a tire into a depression, hard closure of the door, or starting of the engine. In these cases, the operation for the squeeze of an alien substance is canceled. In step 113, it is judged whether or not a predetermined period of time (for example, a few hundreds milliseconds) has elapsed. When it is judged that the predetermined period of time has elapsed, the processing moves back to step 106. With this operation, when the variation amount of the drive current exceeds the corresponding threshold value due to the above-mentioned noises, it is possible to prevent the CPU 88 from erroneously judging that such condition occurs due to the squeeze of an alien substance, and to make the CPU 88 continue the ordinary operation. When the result of the judgment in step 112 is negative, namely, it is judged that the variation of the drive current starts with a positive variation, it is recognized that the detected variation has occurred due to the squeeze of an alien substance or full closure of the door glass. In such case, the processing moves to step 114, in which the output of the ON signal is stopped, and the processing moves to step 100. As explained above, in the present embodiment, when it is judged that the variation amount of the drive current exceeds the corresponding threshold value, it is also judged whether an abnormal current occurs due to the actual squeeze of an alien substance or due to noises, depending on the polarity of the initial variation, before judging that the current variation is abnormal. Therefore, it is possible to clearly discriminate the squeeze of the alien substance from noises. Although the above-mentioned embodiment is constituted to stop the motor 12 when an alien substance is squeezed, the embodiment may be modified to reverse the motor 12 for a predetermined period of time. In such case, it becomes necessary to use a sensor for detecting the full closure of the door glass so as to discriminate a current increase due to the squeeze of an alien substance from a current increase due to the full closure of the door glass.

Claims: An apparatus for controlling driving of a power window system in which a door glass of a vehicle is raised and lowered by an electric motor (12), comprising current variation obtaining means (52, 60) for obtaining a variation amount per unit time of the current flowing through said motor when said door glass is raised by said motor characterized by drive control means (33) for judging, after a predetermined blanking period, whether said variation amount of said current exceeds a predetermined value and whether said variation amount is positive or negative when the variation of said current starts; said drive control means (33) stopping or reversing said motor when it judges that said variation amount, exceeds the predetermined value and said variation of said current starts with a positive variation amount and inhibiting said stopping or reversing during a predetermined time so as to continue to drive the motor (12) to raise the door glass when it judges that said variation of said current starts with a negative variation amount. An apparatus for controlling driving of a power window system according to claim 1, characterized in that said variation amount of said current is obtained by differentiating the value of said current. An apparatus for controlling driving of a power window system according to claim 1, characterized in that said predetermined period of time is a few hundreds milliseconds. An apparatus for controlling driving of a power window system according to claim 1, characterized by further comprising a sensor for detecting the full closure of the door glass. An apparatus for controlling driving of a power window system according to claim 1, characterized in that said drive control means reverses the motor for a predetermined period of time when the variation amount of said current exceeds a predetermined value and the variation amount of said current is positive when the variation of said current starts.

Inventors: IWASAKI YUKIO, KAWASE SHUICHI, MIZUNO HIROMITSU, IWASAKI, YUKIO, KAWASE, SHUICHI, MIZUNO, HIROMITSU, Iwasaki, Yukio, c/o Kabushiki Kaisha Tokai-Rika, KAWASE, SHUICHI 3-808 HIGASHIKADOMADANCHI, Mizuno, Hiromitsu, c/o Kabushiki Kaisha Tokai-Rika
Applicants: TOKAI RIKA CO LTD, KABUSHIKI KAISHA TOKAI-RIKA-DENKI-SEISAKUSHO
Application year: 1993
Main classification: H02H7
IPC codes: E05F15, B60J1, H02H7, H02P3, H02H1