Abstract:
An inverter main circuit has a DC link capacitor for driving a motor with a power of a battery. An inverter relay is arranged to feed a power of the battery to the inverter main circuit. An auxiliary relay is arranged to feed a power of the battery to the inverter main circuit through a resistor. A main key switch connects the battery to the inverter main circuit through the inverter and auxiliary relays when assuming ON, causing the motor to serve as a generator to charge the DC link capacitor when assuming OFF. When, upon turning the main key switch ON, a speed sensor senses that the rotation speed of the motor is within a predetermined range, a control unit turns the auxiliary relay ON, then the inverter relay ON after shorting armature coils of the motor with the aid of the inverter main circuit and then stops the shorting of the armature coils with the aid of the inverter main circuit.

Description:
The contents of Japanese Patent Application 8-331180 filed Dec. 11, 1997 are hereby incorporated by reference. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates in general to electric vehicles, viz., the vehicles using an electric motor as a power plant, and more particularly the present invention relates to a device and a method for controlling the electric motor of the electric vehicles. 
     2. Description of the Prior Art 
     In order to clarify the task of the present invention, a conventional control device for the electric motor will be described with an aid of FIG. 1 which however shows an electric vehicle EV with a control device of the present invention. 
     The device has an inverter to convert DC power (viz., direct current power) from a battery &#34;BAT&#34; into AC power (viz., alternating current power) for controllably driving an AC electric motor used as a power plant of the electric vehicle. 
     In the control device, when, for starting the vehicle, a main key switch &#34;MKS&#34; is turned ON, relays &#34;Ry1&#34; and &#34;Ry2&#34; are turned ON and then an auxiliary relay &#34;Ry4&#34; is turned ON. Upon the ON-turning of the auxiliary relay &#34;Ry4&#34;, a DC link capacitor &#34;C1&#34; starts charging of the electric power from the battery &#34;BAT&#34;. Under this condition, due to presence of a resistor &#34;R1&#34;, the charging current to the capacitor &#34;C1&#34; is controlled to a suitable lower level. When, with increase of the charging, a terminal voltage of the capacitor &#34;C1&#34; is raised up to a certain level, an inverter relay &#34;Ry3&#34; is turned ON. With this, the battery becomes directly connected to the capacitor &#34;C1&#34;. Because, under this condition, the terminal voltage of the capacitor &#34;C1&#34; has been raised up to such a certain level, the direct connection of the battery &#34;BAT&#34; to the capacitor &#34;C1&#34; does not induce excessive current flow to the capacitor &#34;C1&#34;. 
     In electric vehicles wherein a synchronous type is used as the motor, the motor serves as a generator when, under running of the vehicle, the main key switch &#34;MKS&#34; is kept OFF making the inverter inoperative. Thus, under this power off running, the capacitor &#34;C1&#34; can be charged by the motor (viz., generator) through diodes &#34;D1&#34;, &#34;D2&#34;, &#34;D3&#34;, &#34;D4&#34;, &#34;D5&#34; and &#34;D6&#34;. The charging is so made that the terminal voltage of the capacitor &#34;C1&#34; depends on the running speed of the vehicle. Thus, it easily occurs that the terminal voltage of the capacitor &#34;C1&#34; is raised higher than that of the battery &#34;BAT&#34;. 
     However, when, with the terminal voltage of the capacitor &#34;C1&#34; being higher than that of the battery &#34;BAT&#34;, the main key switch &#34;MKS&#34; is returned ON (or reclosed), it tends to occur that excessive current is forced to flow from the capacitor &#34;C1&#34; to the battery &#34;BAT&#34; through the inverter relay &#34;Ry3&#34; and the main circuit relays &#34;Ry1&#34; and &#34;Ry2&#34;, and/or excessive voltage is applied to an auxiliary equipment &#34;AUX&#34;. The auxiliary equipment &#34;AUX&#34; shown in the drawing has one terminal connected to a line extending between the main circuit relay &#34;Ry1&#34; and the inverter relay &#34;Ry3&#34; and the other terminal connected to a line extending between the main circuit relay &#34;Ry2&#34; and one terminal of the capacitor &#34;C1&#34;. 
     In order to avoid the above-mentioned drawbacks, various measures have been hitherto thought out, which are for example of a type to suppress the reclosing (viz., ON-returning) of the main key switch &#34;MKS&#34; unless the vehicle slows down to a certain lower level, a type to provide the control device with an electrically durable main circuit and a type to discharge the capacity &#34;C1&#34; through a resistor upon reclosing (viz., ON-returning) of the main key switch &#34;MKS&#34;. However, even these measures have failed to exhibit satisfied results in obtaining easy operability, lower cost and downsizing of the control device. 
     SUMMARY OF THE INVENTION 
     It is therefore an object of the present invention to provide a device and a method for controlling a motor of an electric vehicle, which is free of the above-mentioned drawbacks. 
     That is, a main object of the present invention is to provide a control device for controlling a motor of an electric vehicle, which allows the reclosing of a main key switch during power off running of an electric vehicle, without aid of special equipments. 
     According to a first aspect of the present invention, there is provided a control device for controlling a synchronous electric motor of an electric vehicle. The device comprises, includes a battery, an inverter main circuit having a DC link capacitor for driving the motor with a power of the battery, an inverter relay for feeding a DC power of the battery to the inverter main circuit, a resistor, an auxiliary relay for feeding a DC power of the battery to the inverter main circuit through the resistor, a speed sensor for sensing a rotation speed of the motor, a main key switch for electrically connecting the battery to the inverter main circuit through the inverter and auxiliary relays when assuming ON position, and causing the motor to serve as a generator to charge the DC link capacitor when assuming OFF position, and a control unit. The control unit controls the inverter relay, the auxiliary relay and the inverter main circuit. Upon turning of the main key switch to ON position, the speed sensor senses that the rotation speed of the motor is within a predetermined range, the control unit turns the auxiliary relay ON, then turns the inverter relay ON after shorting armature coils of the motor with the aid of the inverter main circuit, and then suppresses the shorting of the armature coils with the aid of the inverter main circuit. 
     According to a second aspect of the present invention, there is provided, a method for energizing the inverter main circuit of the electric vehicle with power of the battery while the vehicle is under power off running with the main key switch kept OFF. The method includes sensing a rotation speed of the motor, turning the auxiliary relay ON if the sensed rotation speed is within a predetermined range, preventing the motor from generating any inductive voltage with the aid of the inverter main circuit when a terminal voltage of the battery is lower than a predetermined value, turning the inverter relay ON, and returning the motor to a normally operative condition with the aid of the inverter main circuit. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a schematic diagram of a control device of the invention; and 
     FIG. 2 is a flowchart depicting operation steps carried out in a control unit employed in the control device of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Referring to FIG. 1, there is shown a control device 10 of the present invention. 
     A battery &#34;BAT&#34; is arranged, which feeds a high tension DC power to an inverter main circuit which has a DC link capacitor &#34;C1&#34; installed therein. The inverter main circuit comprises the DC link capacitor &#34;C1&#34;, six transistors (IGBT) &#34;T1&#34; to &#34;T6&#34; and six diodes &#34;D1&#34; to &#34;D6&#34; which are connected in the illustrated manner. That is, the capacitor &#34;C1&#34; has a positive terminal connected to a positive bus bar to which collectors of the three transistors &#34;T1&#34;, &#34;T2&#34; and &#34;T3&#34; are connected. The capacitor &#34;C1&#34; has a negative terminal connected to a negative bus bar to which emitters of the other three transistors &#34;T4&#34;, &#34;T5&#34; and &#34;T6&#34; are connected. As shown, emitters of the transistors &#34;T1&#34;, &#34;T2&#34; and &#34;T3&#34; are connected to collectors of the other transistors &#34;T4&#34;, &#34;T5&#34; and &#34;T6&#34; respectively. The six-transistors &#34;T1&#34; to &#34;T6&#34; have respectively the diodes &#34;D1&#34; to &#34;D6&#34; connected thereto. The inverter main circuit functions to convert DC power from the battery &#34;BAT&#34; into AC power for driving a synchronous motor &#34;SM&#34; which is a power plant of an associated electric vehicle. As shown, the synchronous motor &#34;SM&#34; has three input lines, one being connected to a line extending between the transistors &#34;T1&#34; and &#34;T4&#34;, one being connected to a line extending between the transistors &#34;T2&#34; and &#34;T5&#34;, and the other being connected to a line between the transistors &#34;T3&#34; and &#34;T6&#34;. The DC power from the battery &#34;BAT&#34; is also used for driving an auxiliary equipment &#34;AUX&#34;, such as air conditioning device or the like. 
     As shown, between the battery &#34;BAT&#34; and the DC link, there are arranged a fuse &#34;F&#34;, main circuit relays &#34;Ry1&#34; and &#34;Ry2&#34;, an inverter relay &#34;Ry3&#34;, a resistor &#34;R1&#34; and an auxiliary relay &#34;Ry4&#34; which are connected in the illustrated manner. That is, the fuse &#34;F&#34;, the main circuit relay &#34;Ry1&#34; and the inverter relay &#34;Ry3&#34; are arranged on the positive bus bar. The other main circuit relay &#34;Ry2&#34; is arranged on the negative bus bar. The resistor &#34;R1&#34; is connected in series with the auxiliary relay &#34;Ry4&#34; to constitute a circuit which is arranged in parallel with the inverter relay &#34;Ry3&#34;, as shown. 
     Operation and function of the main circuit relays &#34;Ry1&#34; and &#34;Ry2&#34;, the inverter relay &#34;Ry3&#34;, the auxiliary relay &#34;Ry4&#34; and the resistor &#34;R1&#34; at the time when, under standstill of the vehicle, the main key switch &#34;MKS&#34; is turned ON have been described in the part of the conventional device. 
     An inverter control circuit &#34;INV&#34; is arranged, which drives and controls the transistors &#34;T1&#34; to &#34;T6&#34; of the inverter main circuit, and a controller &#34;CNT&#34; is arranged, which controls the inverter control circuit &#34;INV&#34; and the relays &#34;Ry1&#34; to &#34;Ry4&#34;. A voltmeter &#34;VS&#34; detects a terminal voltage &#34;VB&#34; (V) of the DC link condenser &#34;C1&#34;, and a rotation speed sensor &#34;NS&#34; detects a rotation speed &#34;NM&#34; (rpm) of the synchronous motor &#34;SM&#34;. 
     FIG. 2 is a flowchart for depicting operation steps carried out in the controller &#34;CNT&#34; for controlling the relays &#34;Ry1&#34; to &#34;Ry4&#34; during power off running of an associated electric vehicle. 
     That is, when, under power off running of the vehicle, the main key switch &#34;MKS&#34; is turned ON, the controller &#34;CNT&#34; turns the main circuit relays &#34;Ry1&#34; and &#34;Ry2&#34; ON and starts processing the operation steps of the flowchart. 
     At step &#34;S1&#34;, a judgment is carried out as to whether the rotation speed &#34;NM&#34; of the motor &#34;SM&#34; is higher than a first predetermined level &#34;A&#34; or not. Of course, &#34;A&#34; is not zero. 
     As has been mentioned hereinafore, under power running of the vehicle with the main key switch &#34;MKS&#34; kept OFF, the synchronous motor &#34;SM&#34; serves as a generator thereby charging the DC link capacitor &#34;C1&#34; through the diodes &#34;D1&#34; to &#34;D6&#34;. In this case, the terminal voltage of the DC link capacitor &#34;C1&#34; increases in proportion to the vehicle speed, that is, the rotation speed &#34;NM&#34; of the motor &#34;SM&#34;. As has been mentioned hereinafore, if the main key switch &#34;MKS&#34; is reclosed (returned ON) under a condition wherein the terminal voltage of the capacitor &#34;C1&#34; is relatively high, it tends to occur that excessive current is fed back to the battery &#34;BAT&#34; and excessive voltage is applied to the auxiliary equipment &#34;AUX&#34;. The terminal voltage of the DC link capacitor &#34;C1&#34; is sensed when the main key switch &#34;MKS&#34; is turned ON, and when the terminal voltage is sufficiently low, the auxiliary relay &#34;Ry4&#34; is turned ON. Upon this ON-turning of the auxiliary relay &#34;Ry4&#34;, certain charging current is fed to the DC link capacitor &#34;C1&#34; from the battery &#34;BAT&#34; through the resistor &#34;R1&#34; and the closed auxiliary relay &#34;Ry4&#34;. However, even if the terminal voltage of the capacitor &#34;C1&#34; is low, such charging current is controlled by the resistor &#34;R1&#34;, and thus, it never occurs that excessive current attacks the capacitor &#34;C1&#34;. 
     In the present invention, the rotation speed &#34;NM&#34; of the motor &#34;SM&#34;, which is proportional to the terminal voltage of the DC link capacitor &#34;C1&#34;, is detected. A rotation speed &#34;NM&#34; which allows the charging current for the capacitor &#34;C1&#34; to be lower than a tolerance limit is determined as the first predetermined level &#34;A&#34;. 
     When NO at step &#34;S1&#34;, that is, when the rotation speed &#34;NM&#34; is lower than the first predetermined level &#34;A&#34;, the operation flow goes to step &#34;S8&#34;. At this step, the auxiliary relay &#34;Ry4&#34; is turned ON. While, YES at step &#34;S1&#34;, that is, when the rotation speed &#34;NM&#34; is higher than or equal to the first predetermined level &#34;A&#34;, the operation flow goes to step &#34;S2&#34;. At this step, a judgment is carried out as to whether the rotation speed &#34;NM&#34; is lower than a second predetermined level &#34;B&#34; or not. 
     As has been mentioned hereinabove, while the vehicle is under power off running with the main key switch &#34;MKS&#34; kept OFF, the terminal voltage of the DC link capacitor &#34;C1&#34; increases in proportion to the rotation speed &#34;NM&#34; of the motor &#34;SM&#34; which is serving as a generator. If, with the terminal voltage of the capacitor &#34;C1&#34; being higher than that of the battery &#34;BAT&#34;, the main key switch &#34;MKS&#34; is returned ON (viz., reclosed), it tends to occur that excessive current is fed from the capacitor &#34;C1&#34; to the battery &#34;BAT&#34; and/or excessive voltage is applied to the auxiliary equipment &#34;AUX&#34;. In order to avoid this undesired phenomenon, it is necessary to restrain the ON-turning of the auxiliary relay &#34;Rt4&#34; until the terminal voltage of the DC link capacitor &#34;C1&#34; is lowered to a level of that of the battery &#34;BAT&#34;. 
     In the present invention, for checking whether the terminal voltage of the capacitor &#34;C1&#34; is lowered to the level of that of the battery &#34;BAT&#34;, the rotation speed &#34;NM&#34; of the motor &#34;SM&#34;, which is proportional to the terminal voltage of the capacitor &#34;C1&#34;, is practically used. A rotation speed &#34;NM&#34; which allows the terminal voltage of the capacitor &#34;C1&#34; to equalize with that of the battery &#34;BAT&#34; is determined as the second predetermined level &#34;B&#34;. Of course, (|B|&gt;|A|) is established. 
     When YES at step &#34;S2&#34;, that is, when the rotation speed &#34;NM&#34; is lower than the second predetermined level &#34;B&#34;, the operation flow goes to step &#34;S5&#34;. At this step, the auxiliary relay &#34;Ry4&#34; is turned ON. Upon this, charging current is fed to the capacitor.&#34;C1&#34; from the battery &#34;BAT&#34; through the resistor &#34;R1&#34; and the closed auxiliary relay &#34;Ry4&#34;. However, since, in this case, the terminal voltage of the capacitor &#34;C1&#34; is substantially equal to that of the battery &#34;BAT&#34;, the charging current is sufficiently small, and the auxiliary equipment &#34;AUX&#34; is protected from being attacked by excessive voltage. 
     Then, it becomes necessary to turn ON the inverter relay &#34;Ry3&#34;. However, if the ON-turning of the relay &#34;Ry3&#34; is carried out under a condition wherein an excessively higher voltage produced by the motor &#34;SM&#34; (viz., generator) is kept applied to the DC link through the diodes &#34;D1&#34; to &#34;D6&#34;, it tends to occur that the higher voltage is applied to the capacitor &#34;C1&#34; and the auxiliary equipment &#34;AUX&#34;. 
     In the present invention, before carrying out the ON-turning of the inverter relay &#34;Ry3&#34;, the transistors &#34;T4&#34; to &#34;T6&#34; of the inverter main circuit are turned ON to cause a short of armature coils of the motor &#34;SM&#34; making the motor &#34;SM&#34; (viz., generator) inoperative. After obtaining this condition, the inverter relay &#34;Ry3&#34; is turned ON. 
     That is, at step &#34;S6&#34;, a judgment is carried out as to whether the terminal voltage &#34;VB&#34; of the battery &#34;BAT&#34; is lower than a predetermined voltage &#34;C&#34; or not. If YES, that, when the terminal voltage &#34;VB&#34; is lower than or equal to the predetermined voltage &#34;C&#34;, the operation flow goes to step &#34;S7&#34;. At this step, the transistors &#34;T4&#34; to &#34;T6&#34; are turned ON to short the armature coils of the motor &#34;SM&#34;. (It is to be noted that when, at step &#34;S1&#34;, it is judged that the rotation speed &#34;NM&#34; of the motor &#34;SM&#34; is lower than the first predetermined level &#34;A&#34;, ON-turning of the transistors &#34;T4&#34; to &#34;T6&#34; for shorting the armature coils of the motor &#34;SM&#34; is not needed because the voltage produced by the motor &#34;SM&#34; (viz., generator) is very small.) 
     At step &#34;S9&#34;, a judgment is carried out as to whether pulsation &#34;PVB&#34; of the voltage &#34;VB&#34; of the battery &#34;BAT&#34; is smaller than a predetermined level &#34;P&#34; or not. If YES, that is, when the.pulsation &#34;PVB&#34; is smaller than or equal to the predetermined level &#34;P&#34;, the operation flow goes to step &#34;S10&#34;. At this step &#34;S10&#34;, the inverter relay &#34;Ry3&#34; is turned ON. Then, the operation flow goes to step &#34;S11&#34;. At this step &#34;S11&#34;, the transistors &#34;T4&#34; to &#34;T5&#34; are turned OFF making the motor &#34;SM&#34; (viz., generator) operative. After finishing the above-mentioned operation steps, normal control is carried out for the motor &#34;SM&#34; by the controller &#34;CNT&#34;. 
     Although the above description is directed to a case wherein the electric vehicle runs forward, the controlling by the present invention is applicable to another case wherein the vehicle runs backward. That is in this case, an absolute value of the rotation speed &#34;NM&#34; is treated as the rotation speed &#34;NM&#34;.