VEHICLE CONTROL APPARATUS AND VEHICLE CONTROL METHOD

20170282890 · 2017-10-05

    Inventors

    Cpc classification

    International classification

    Abstract

    A vehicle control apparatus includes an electronic control unit. The electronic control unit is configured to perform feedback control of a motor such that a torque is output for stopping a crankshaft at a target angle. A first angle is used as the target angle during a first period from start of the feedback control to first detection of rotation of the crankshaft in a negative rotational direction for returning the crank angle. A second angle is used as the target angle during a second period from the lapse of the first period to detection of a changeover in a rotational direction of the crankshaft from the negative to a positive rotational direction. The electronic control unit is configured to return the target angle to the first angle at a first timing after the lapse of the second period.

    Claims

    1. A vehicle control apparatus for a vehicle, the vehicle including an engine and a motor, the engine including at least one cylinder, a valve and a crankshaft, the valve being configured to control flow of air out of and into the at least one cylinder, and the motor being configured to adjust a crank angle of the crankshaft by outputting a torque to the crankshaft, the vehicle control apparatus comprising an electronic control unit configured to: perform feedback control of the motor, during stop control of the engine, based on the crank angle such that the torque is output for stopping the crankshaft at a target angle corresponding to the crank angle at which the valve is in a closed-valve state; detect a rotational direction of the crankshaft; use a first angle as the target angle during a first period, the first period being a period from start of the feedback control to a timing of first detection of rotation of the crankshaft in a negative rotational direction for returning the crank angle, that has become larger than the target angle, toward the target angle, and the first angle corresponding to the crank angle at which the valve is in the closed-valve state; use a second angle as the target angle during a second period, the second period being a period from lapse of the first period to a timing of detection of a changeover in a rotational direction of the crankshaft from the negative rotational direction to a positive rotational direction, and the second angle being larger than the first angle; and return the target angle from the second angle to the first angle at a first timing, the first timing being a timing when the crank angle, which has become smaller than the first angle during the second period, becomes equal to or larger than the first angle after lapse of the second period.

    2. The vehicle control apparatus according to claim 1, wherein the electronic control unit is configured to use the second angle as the target angle during a third period, the third period is a period from a timing of second detection of rotation of the crankshaft in the negative rotational direction for returning the crank angle, which has become larger than the target angle for a second time after returning the target angle to the first angle, toward the target angle to a timing of detection of a changeover in the rotational direction of the crankshaft from the negative rotational direction to the positive rotational direction, the electronic control unit is configured to return the target angle from the second angle to the first angle at a second timing, and the second timing is a timing when the crank angle, which has become smaller than the first angle during the third period, becomes equal to or larger than the first angle after lapse of the third period.

    3. The vehicle control apparatus according to claim 1, wherein the second angle gradually increases from the first angle and then gradually decreases toward the first angle.

    4. The vehicle control apparatus according to claim 1, wherein the first angle is the crank angle in a latter half of a compression stroke.

    5. A vehicle control apparatus for a vehicle, the vehicle including an engine and a motor, the engine including at least one cylinder, a valve and a crankshaft, the valve being configured to control flow of air out of and into the at least one cylinder, and the motor being configured to adjust a crank angle of the crankshaft by outputting a torque to the crankshaft, the vehicle control apparatus comprising an electronic control unit configured to: perform feedback control of the motor, during stop control of the engine, based on the crank angle such that the torque is output for stopping the crankshaft at a target angle corresponding to the crank angle at which the valve is in a closed-valve state; detect a rotational direction of the engine; use a first gain, during a first period, as a motor gain that prescribes a magnitude of the torque, the first period being a period from start of the feedback control to a timing of first detection of rotation of the crankshaft in a negative rotational direction for returning the crank angle, which has become larger than the target angle, toward the target angle; use a second gain as the motor gain during a second period, the second period being a period from lapse of the first period to a timing of detection of a changeover in a rotational direction of the crankshaft from the negative rotational direction to a positive rotational direction, and the second gain being a gain that prescribes a larger torque in the positive rotational direction than the first gain; and return the motor gain from the second gain to the first gain at a first timing, the first timing being a timing when the crank angle, which has become smaller than the target angle during the second period, becomes equal to or larger than the target angle after lapse of the second period.

    6. The vehicle control apparatus according to claim 5, wherein the electronic control unit is configured to use the second gain as the motor gain during a third period, the third period is a period from a timing of second detection of rotation of the crankshaft in the negative rotational direction for returning the crank angle, which has become larger than the target angle for a second time after returning the motor gain to the first gain, toward the target angle to a timing of detection of a changeover in the rotational direction of the crankshaft from the negative rotational direction to the positive rotational direction, the electronic control unit is configured to return the motor gain from the second gain to the first gain at a second timing, and the second timing is a timing when the crank angle, that has become smaller than the target angle during the third period, becomes equal to or larger than the target angle after lapse of the third period.

    7. The vehicle control apparatus according to claim 5, wherein the electronic control unit is configured to use the second gain as the motor gain during the second period, and the second gain is a gain that gradually increases from the first gain and then gradually decreases toward the first gain.

    8. The vehicle control apparatus according to claim 5, wherein the electronic control unit is configured to use the second gain as the motor gain during the second period, and the second gain is a gain that gradually decreases from the first gain and then gradually increases toward the first gain.

    9. The vehicle control apparatus according to claim 5, wherein the target angle is the crank angle in a latter half of a compression stroke.

    10. A vehicle control method for a vehicle, the vehicle including an engine, a motor and an electronic control unit, the engine including at least one cylinder, a valve and a crankshaft, the valve being configured to control flow of air out of and into the at least one cylinder, and the motor being configured to adjust a crank angle of the crankshaft by outputting a torque to the crankshaft, the vehicle control method comprising: performing, by the electronic control unit, feedback control of the motor, during stop control of the engine, based on the crank angle such that the torque is output for stopping the crankshaft at a target angle corresponding to the crank angle at which the valve is in a closed-valve state; using, by the electronic control unit, a first angle as the target angle during a first period, the first period being a period from start of the feedback control to a timing of first detection of rotation of the crankshaft in a negative rotational direction for returning the crank angle, which has become larger than the target angle, toward the target angle, and the first angle corresponding to the crank angle at which the valve is in the closed-valve state; using, by the electronic control unit, a second angle as the target angle during a second period, the second period being a period from lapse of the first period to a timing of detection of a changeover in a rotational direction of the crankshaft from the negative rotational direction to a positive rotational direction, and the second angle being larger than the first angle, and returning the target angle from the second angle to the first angle at a first timing, the first timing being a timing when the crank angle, which has become smaller than the first angle during the second period, becomes equal to or larger than the first angle after lapse of the second period.

    11. A vehicle control method for a vehicle, the vehicle including an engine, a motor and an electronic control unit, the engine including at least one cylinder, a valve and a crankshaft, the valve being configured to control flow of air out of and into the at least one cylinder, and the motor being configured to adjust a crank angle of the crankshaft by outputting a torque to the crankshaft, the vehicle control method comprising: performing, by the electronic control unit, feedback control of the motor, during stop control of the engine, based on the crank angle such that the torque is output for stopping the crankshaft at a target angle corresponding to the crank angle at which the valve is in a closed-valve state; using, by the electronic control unit, a first gain, during a first period, as a motor gain that prescribes a magnitude of the torque, the first period being a period from start of the feedback control to a timing of first detection of rotation of the crankshaft in a negative rotational direction for returning the crank angle, which has become larger than the target angle, toward the target angle; using, by the electronic control unit, a second gain as the motor gain during a second period, the second period being a period from lapse of the first period to a timing of detection of a changeover in a rotational direction of the crankshaft from the negative rotational direction to a positive rotational direction, and the second gain being a gain that prescribes a larger torque in the positive rotational direction than the first gain; and returning the motor gain from the second gain to the first gain at a first timing, the first timing being a timing when the crank angle, which has become smaller than the target angle during the second period, becomes equal to or larger than the target angle after lapse of the second period.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0021] Features, advantages, and technical and industrial significance of an exemplary embodiment will be described below with reference to the accompanying drawings, in which like numerals denote like elements, and wherein:

    [0022] FIG. 1 is a block diagram showing the configuration of a vehicle according to the present embodiment;

    [0023] FIG. 2 is a flowchart showing the flow of a first example of a crank stop operation;

    [0024] FIG. 3 is a flowchart showing the flow of an operation that is carried out in the first example of the crank stop operation to change a target stop angle;

    [0025] FIG. 4A is a first map prescribing a relationship between a target moving amount and a target rotational speed;

    [0026] FIG. 4B is a second map prescribing a relationship between a target moving amount and a target rotational speed;

    [0027] FIG. 5 is a timing chart showing the target stop angle, a crank angle and a torque in the case where a comparative example of the crank stop operation is carried out;

    [0028] FIG. 6 is a timing chart showing the target stop angle, the crank angle and the torque in the case where the first example of the crank stop operation is carried out;

    [0029] FIG. 7 is a timing chart showing the target stop angle, the crank angle and the torque in the case where a crankshaft repeats a cycle of rotation, which consists of rotation in a negative rotational direction and rotation in a positive rotational direction, twice under the circumstances where the first example of the crank stop operation is carried out;

    [0030] FIG. 8 is a flowchart showing the flow of an operation that is carried out in a second example of the crank stop operation to change the target stop angle;

    [0031] FIG. 9 is a timing chart showing the target stop angle, the crank angle and the torque in the case where the second example of the crank stop operation is carried out;

    [0032] FIG. 10 is a timing chart showing the target stop angle, the crank angle and the torque in the case where the second example of the crank stop operation is carried out;

    [0033] FIG. 11 is a flowchart showing the flow of a third example of the crank stop operation;

    [0034] FIG. 12 is a flowchart showing the flow of a gain change operation that is carried out in the third example of the crank stop operation; and

    [0035] FIG. 13 is a timing chart showing the target stop angle, the crank angle and the torque in the case where the third example of the crank stop operation is carried out.

    DETAILED DESCRIPTION OF EMBODIMENT

    [0036] A vehicle control apparatus according to the embodiment of the disclosure will be described hereinafter with reference to the drawings.

    [0037] First of all, the configuration of a vehicle 1 according to the present embodiment will be described with reference to the block diagram of FIG. 1. As shown in FIG. 1, the vehicle 1 is equipped with an engine 11, a motor-generator 12, a motor-generator 13, a battery 14, an inverter 15, a motive power split mechanism 16, an axle 17, wheels 18 and an electronic control unit (an ECU) 19.

    [0038] The engine 11 is driven through the combustion of fuel such as gasoline, light oil or the like. The engine 11 functions as a main motive power source of the vehicle 1. A crank angle sensor 111 is attached to the engine 11. The crank angle sensor 111 detects a crank angle θ.sub.c of a crankshaft of the engine 11. The crank angle sensor 111 outputs the detected crank angle θ.sub.c to the ECU 19.

    [0039] The motor-generator 12 functions as a generator for charging the battery 14. In the case where the motor-generator 12 functions as a generator, a rotary shaft of the motor-generator 12 rotates through the motive power of the engine 11. In addition, the motor-generator 12 can rotate the crankshaft by being driven through the use of the electric power that is supplied from the battery 14 via the inverter 15. The motor-generator 12 mainly outputs a torque T.sub.m to the crankshaft such that the crankshaft stops (i.e., the engine 11 stops) with the crank angle θ.sub.c equal to a target stop angle θ.sub.tgt, in stopping the engine 11.

    [0040] A rotational speed sensor 121 is attached to the motor-generator 12. The rotational speed sensor 121 detects a rotational speed of the motor-generator 12 (hereinafter referred to as “a motor rotational speed”) N.sub.m. The rotational speed sensor 121 outputs the detected motor rotational speed N.sub.m to the ECU 19.

    [0041] The motor-generator 13 functions as an electric motor that supplies a motive power of the vehicle 1, by being driven through the use of the electric power that is supplied from the battery 14 via the inverter 15.

    [0042] The battery 14 is an electric power supply source that supplies each of the motor-generators 12, 13 with an electric power for driving each of the motor-generators 12, 13. The battery 14 is a rechargeable storage battery.

    [0043] The inverter 15 converts a DC electric power taken out from the battery 14 into an AC electric power, and supplies this AC electric power to each of the motor-generators 12, 13. Furthermore, the inverter 15 converts an AC electric power generated by the motor-generator 12 into a DC electric power, and supplies this DC electric power to the battery 14.

    [0044] The motive power split mechanism 16 is a planetary gear mechanism that is equipped with a sun gear (not shown), a planetary carrier (not shown), a pinion gear (not shown) and a ring gear (not shown). A rotary shaft of the sun gear is coupled to the rotary shaft of the motor-generator 12. A rotary shaft of the ring gear is coupled to the axle 17 that transmits a driving force to the wheels 18. Furthermore, the axle 17 is coupled to a rotary shaft of the motor-generator 13 via a reduction gear (not shown). A rotary shaft of the planetary carrier, which is located between the sun gear and the ring gear, is coupled to the crankshaft. Rotation of the engine 11 is transmitted to the sun gear and the ring gear by the planetary carrier and the pinion gear. That is, the motive power of the engine 11 is distributed to two systems.

    [0045] The ECU 19 is configured to be able to control the entire operation of the vehicle 1. In the present embodiment, the ECU 19 carries out a crank stop operation in particular. The crank stop operation is an operation of controlling the motor-generator 12 in such a manner as to output, to the crankshaft, the torque T.sub.m capable of stopping the crankshaft with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt, in stopping the engine 11.

    [0046] In order to carry out the crank stop operation, the ECU 19 is equipped with a rotation detection unit 191 and a motor control unit 192, as logical or physical processing blocks that are realized therein. The rotation detection unit 191 detects a rotational direction of the crankshaft, based on the crank angle θ.sub.c that is output by the crank angle sensor 111. The motor control unit 192 generates a torque command value T.sub.tgt indicating a target value of the torque T.sub.m based on a detection result of the rotation detection unit 191, the crank angle θ.sub.c, the motor rotational speed N.sub.m and the target stop angle θ.sub.tgt. The torque command value T.sub.tgt indicates the torque T.sub.m capable of stopping the crankshaft with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt. The ECU 19 outputs a switching control signal S corresponding to the torque command value T.sub.tgt to the inverter 15. The switching state of a switching element with which the inverter 15 is equipped is changed over in accordance with the switching control signal S. As a result, the motor-generator 12 outputs the torque T.sub.m corresponding to the torque command value T.sub.tgt.

    [0047] Subsequently, the crank stop operation will be described. In the present embodiment, the ECU 19 can carry out at least one of first to third examples of the crank stop operation. Accordingly, the first to third examples of the crank stop operation will be described hereinafter sequentially.

    [0048] The flow of the first example of the crank stop operation will be described with reference to the flowchart of FIG. 2. As shown in FIG. 2, the motor control unit 192 first determines whether or not the stop of the engine 11 is requested (step S1). The stop of the engine 11 may be requested by a driver of the vehicle 1, or may be requested through the control of the ECU 19 in consideration of the running state of the vehicle 1.

    [0049] When it is determined as a result of the determination in step S1 that the stop of the engine 11 is not requested (No in step S1), the ECU 19 ends the crank stop operation. In this case, the ECU 19 may restart the crank stop operation shown in FIG. 2 after the lapse of a first time.

    [0050] On the other hand, when it is determined as a result of the determination in step S1 that the stop of the engine 11 is requested (Yes in step S1), the ECU 19 starts a stop control operation for stopping the engine 11. In concrete terms, the ECU 19 controls a fuel injection device in such a manner as to stop the supply of fuel to the engine 11. In parallel with the stop control operation, the motor control unit 192 sets a first angle θ.sub.1 as a target stop angle θ.sub.tgt (step S2). The first angle θ.sub.1is a parameter that is stored in advance by the ECU 19 as the default target stop angle θ.sub.tgt.

    [0051] The first angle θ.sub.1 may be an angle at which a desired technical effect can be obtained through the stop of the crankshaft with the crank angle θ.sub.c equal to the first angle θ.sub.1. For example, the first angle θ.sub.1 may be an angle that can be assumed by the crank angle θ.sub.c in the latter half of a compression stroke (e.g., the crank angle θ.sub.c corresponds to an angle that is larger than BTDC 0° and smaller than BTDC 90°). For example, the first angle θ.sub.1 may be an angle that can be assumed by the crank angle θ.sub.c in the vicinity of an end of a compression stroke (e.g., the crank angle θ.sub.c corresponds to an angle that is larger than BTDC 0° and smaller than BTDC 10°). In this case, a technical effect of reducing vibrations and noise in restarting the stopped engine 11 is obtained.

    [0052] In addition, the first angle θ.sub.1 corresponds to the crank angle θ.sub.c in the case where valves (i.e., an intake valve and an exhaust valve) that are installed in at least one of cylinders of the engine 11 to control the flow of air out of/into the at least one of the cylinders are in a closed-valve state. It should be noted herein that “the closed-valve state” in the present embodiment includes not only a state where the valves are completely closed (i.e., the outflow/inflow of air is completely blocked) but also a state where the change in the pressure of the air in the cylinder resulting from rotation of the crankshaft increases by a predetermined amount or more since the outflow/inflow of air is mostly blocked although the outflow/inflow of air via the valves is not completely blocked. In concrete terms, the state where the change in the pressure of the air in the cylinder increases by the predetermined amount or more means a state where the pressure of the air in the cylinder that has changed as a result of rotation of the crankshaft becomes so high as to push down or pull up a piston. The angle that can be assumed by the crank angle θ.sub.c in the latter half of the above-mentioned compression stroke corresponds to the crank angle θ.sub.c in the case where the intake valve and the exhaust valve are in the closed-valve state.

    [0053] For the sake of convenience of explanation, it will be assumed hereinafter that the first angle θ.sub.1 is an angle that can be assumed by the crank angle θ.sub.c in the vicinity of the end of a compression stroke.

    [0054] After that, the motor control unit 192 changes the target stop angle θ.sub.tgt as necessary (step S3). The operation of changing the target stop angle θ.sub.tgt in step S3 of FIG. 2 will be described hereinafter in detail with reference to FIG. 3.

    [0055] As shown in FIG. 3, the rotation detection unit 191 determines whether or not the crankshaft rotates in a negative rotational direction, based on the crank angle θ.sub.c that is output by the crank angle sensor 111 (step S31). When the time-derivative value of the crank angle θ.sub.c is smaller than 0, the rotation detection unit 191 determines that the engine 11 rotates in the negative rotational direction. On the other hand, when the time-derivative value of the crank angle θ.sub.c is larger than 0, the rotation detection unit 191 determines that the engine 11 does not rotate in the negative rotational direction (i.e., rotates in a positive rotational direction). Incidentally, “the positive rotational direction” in the present embodiment means a direction in which the crankshaft normally rotates when the engine 11 is driven (i.e., a direction in which the crank angle θ.sub.c increases). “The negative rotational direction” in the present embodiment means the opposite rotational direction of the positive rotational direction (i.e., a direction in which the crank angle θ.sub.c decreases).

    [0056] When it is determined as a result of the determination in step S31 that the crankshaft rotates in the negative rotational direction (Yes in step S31), the motor control unit 192 sets a second angle θ.sub.2 as the target stop angle θ.sub.tgt (step S32). The second angle θ.sub.2 is larger than the first angle θ.sub.1. That is, the second angle θ.sub.2 corresponds to an angle that is obtained by adding an offset amount in the positive rotational direction to the first angle θ.sub.1. The second angle θ.sub.2 may be a parameter that is stored in advance by the ECU 19, or a parameter that is calculated by the ECU 19 as appropriate. As is the case with the first angle θ.sub.1, the second angle θ.sub.2 preferably corresponds to the crank angle θ.sub.c in the case where the intake valve and the exhaust valve that are installed in at least one of the cylinders are in the closed-valve state. It should be noted, however, that the second angle θ.sub.2 may be different from the crank angle θ.sub.c in the case where the intake valve and the exhaust valve that are installed in at least one of the cylinders are in the closed-valve state.

    [0057] On the other hand, when it is determined as a result of the determination in step S31 that the crankshaft does not rotate in the negative rotational direction (No in step S31), the engine 11 is assumed to rotate in the positive rotational direction. This is because when the engine 11 is stopped, the crank stop operation ends as a result of a determination in step S9 of FIG. 2 that will be described later, so the operation shown in FIG. 3 is not carried out. In this case, the motor control unit 192 determines whether or not the current crank angle θ.sub.c is equal to or larger than the first angle θ.sub.1 (step S33).

    [0058] When it is determined as a result of the determination in step S33 that the current crank angle θ.sub.c is equal to or larger than the first angle θ.sub.1 (Yes in step S33), the motor control unit 192 sets the first angle θ.sub.1 as the target stop angle θ.sub.tgt (step S34). On the other hand, when it is determined as a result of the determination in step S33 that the current crank angle θ.sub.c is smaller than the first angle θ.sub.1 (No in step S33), the motor control unit 192 does not change the target stop angle θ.sub.tgt. Therefore, in the case where the first angle θ.sub.1 is set as the target stop angle θ.sub.tgt, the target stop angle θ.sub.tgt is held equal to the first angle θ.sub.1. In the case where the second angle θ.sub.2 is set as the target stop angle θ.sub.tgt, the target stop angle θ.sub.tgt is held equal to the second angle θ.sub.2.

    [0059] Referring to FIG. 2 again, the motor control unit 192 calculates a target moving amount R.sub.tgt by which the crankshaft should move (i.e., rotate) before the current crank angle θ.sub.c becomes equal to the target stop angle θ.sub.tgt (step S4). In concrete terms, the motor control unit 192 calculates a difference Δθ between the current crank angle θ.sub.c and the target stop angle θ.sub.tgt. Furthermore, the motor control unit 192 calculates a total rotational speed N.sub.total of the crankshaft that is needed before the crankshaft is stopped (i.e., before the inertial force in the positive rotational direction of the crankshaft disappears). After that, the motor control unit 192 calculates the target moving amount R.sub.tgt through the use of a mathematical expression: the target moving amount R.sub.tgt=the difference Δθ+360°×N.sub.total.

    [0060] After that, the motor control unit 192 calculates a target value of the motor rotational speed N.sub.m (a target rotational speed N.sub.mtgt) based on the target moving amount R.sub.tgt calculated in step S4 (step S5). The motor control unit 192 calculates the target rotational speed N.sub.mtgt based on a map that prescribes a relationship between the target moving amount R.sub.tgt and the target rotational speed N.sub.mtgt. In particular, when the target moving amount R.sub.tgt is equal to or larger than 360° (i.e., the crankshaft rotates by 360° or more before stopping), the motor control unit 192 calculates the target rotational speed N.sub.mtgt based on a first map shown in FIG. 4A. The first map prescribes the target rotational speed N.sub.mtgt that falls as the target moving amount R.sub.tgt decreases. On the other hand, when the target moving amount R.sub.tgt is smaller than 360° (i.e., the crankshaft stops before rotating by 360°, namely, the crankshaft stops as soon as the crank angle θ.sub.c subsequently becomes equal to the target stop angle θ.sub.tgt), the motor control unit 192 calculates the target rotational speed N.sub.mtgt based on a second map shown in FIG. 4B. The second map prescribes the positive target rotational speed N.sub.mtgt when the target moving amount R.sub.tgt is equal to or larger than a positive predetermined value, prescribes the negative target rotational speed N.sub.mtgt when the target moving amount R.sub.tgt is equal to or smaller than a negative predetermined value, and prescribes the target rotational speed N.sub.mtgt as zero when the target moving amount R.sub.tgt is smaller than the positive predetermined value and larger than the negative predetermined value.

    [0061] After that, the motor control unit 192 calculates a difference ΔN.sub.m between the current motor rotational speed N.sub.m and the target rotational speed N.sub.mtgt (step S6). After that, the motor control unit 192 calculates the torque command value T.sub.tgt based on the difference ΔN.sub.m (step S7). That is, the motor control unit 192 calculates the torque command value T.sub.tgt by performing feedback control (e.g., PI control) for making the difference ΔN.sub.m equal to zero. After that, the motor control unit 192 generates the switching control signal S corresponding to the torque command value T.sub.tgt, and outputs the generated switching control signal S to the inverter 15 (step S8). As a result, the motor-generator 12 outputs the torque T.sub.m corresponding to the torque command value T.sub.tgt.

    [0062] After that, the motor control unit 192 determines whether or not the engine 11 is stopped (step S9). For example, when the time-derivative value of the crank angle θ.sub.c remains equal to zero over a predetermined time, the motor control unit 192 may determine that the engine 11 is stopped. When it is determined as a result of the determination in step S9 that the engine 11 is not stopped (No in step S9), the ECU 19 carries out the operation from step S3 to step S8 again. On the other hand, when it is determined as a result of the determination in step S9 that the engine 11 is stopped (Yes in step S9), the ECU 19 ends the crank stop operation. In this case, the ECU 19 may start the crank stop operation shown in FIG. 2 again after the lapse of a second time.

    [0063] Subsequently, a technical effect of the first example of the crank stop operation will be described with reference to timing charts shown in FIGS. 5 and 6. In the following, with a view to elucidating the technical effect of the first example of the crank stop operation, the technical effect of the first example of the crank stop operation will be described after describing a technical problem that can arise in a comparative example of the crank stop operation in which the target stop angle θ.sub.tgt continues to be held equal to the first angle θ.sub.1.

    [0064] First of all, FIG. 5 is a timing chart showing the target stop angle θ.sub.tgt, the crank angle θ.sub.c and the torque T.sub.m in the case where the comparative example of the crank stop operation is carried out. As shown in FIG. 5, the comparative example of the crank stop operation starts at a time point t51. In this case, although the engine 11 is stopped from being supplied with fuel, the crankshaft continues to rotate in the positive rotational direction due to an inertial force. That is, the crank angle θ.sub.c repeatedly changes from 0° to 720°. Therefore, the motor control unit 192 controls the motor-generator 12 through the use of the first map. As a result, the motor-generator 12 outputs the torque T.sub.m that acts in the negative rotational direction, in such a manner as to counterbalance the inertial force in the positive rotational direction of the crankshaft.

    [0065] After that, the inertial force in the positive rotational direction of the crankshaft gradually decreases. As a result, the target moving amount R.sub.tgt becomes smaller than 360° at a time point t52. That is, the target moving amount R.sub.tgt at the time point t52 indicates that the crankshaft should stop as soon as the crank angle θ.sub.c subsequently becomes equal to the target stop angle θ.sub.tgt. Therefore, the motor control unit 192 controls the motor-generator 12 through the use of the second map. In this case as well, the motor-generator 12 outputs the torque T.sub.m that acts in the negative rotational direction, in such a manner as to counterbalance the inertial force in the positive rotational direction of the crankshaft and stop the crankshaft as soon as the crank angle θ.sub.c subsequently becomes equal to the target stop angle θ.sub.tgt.

    [0066] However, as described above, the torque command value T.sub.tgt that prescribes the torque T.sub.m is calculated through feedback control. Therefore, as a result of the responsiveness (e.g., a response delay or the like) of feedback control, the torque command value T.sub.tgt may not become equal to a value capable of stopping the crankshaft as soon as the crank angle θ.sub.c becomes equal to the target stop angle θ.sub.tgt (i.e., the difference Δθ becomes to zero). In this case, as shown in FIG. 5, even in the case where the crank angle θ.sub.c becomes equal to the target stop angle θ.sub.tgt at a time point t53, the inertial force in the positive rotational direction of the crankshaft remains. As a result, even when the crank angle θ.sub.c becomes larger than the target stop angle θ.sub.tgt, the crankshaft rotates in the positive rotational direction. That is, an overshoot of the crank angle θ.sub.c in the positive rotational direction with respect to the target stop angle θ.sub.tgt occurs.

    [0067] Even when the crank angle θ.sub.c becomes larger than the target stop angle θ.sub.tgt, the motor-generator 12 outputs the torque T.sub.m that acts in the negative rotational direction, in such a manner as to counterbalance the inertial force in the positive rotational direction of the crankshaft. As a result, the inertial force in the positive rotational direction of the crankshaft becomes equal to zero at a time point t54.

    [0068] It should be noted herein that the first angle θ.sub.1 is an angle that can be assumed by the crank angle θ.sub.c in the vicinity of the end of a compression stroke as described above. Furthermore, the first angle θ.sub.1 corresponds to the crank angle θ.sub.c in the case where the intake valve and the exhaust valve are in the closed-valve state. Accordingly, immediately before the time point t54, the crankshaft rotates such that the piston compresses the air in a combustion chamber. Therefore, at the time point t54, a force that acts in such a manner as to push down the piston (i.e., rotate the crankshaft in the negative rotational direction) is applied from the air in the combustion chamber to the piston. Furthermore, the inertial force in the positive rotational direction of the crankshaft is equal to zero at the time point t54. Therefore, at and after the time point t54, the crankshaft rotates in the negative rotational direction due to the force that is applied to the piston from the air in the combustion chamber.

    [0069] At and after the time point t54, the crankshaft rotates in the negative rotational direction due to the force (so-called reaction) of the air in the combustion chamber. Therefore, the motor-generator 12 outputs the torque T.sub.m that acts in the positive rotational direction, such that the crankshaft stops as soon as the crank angle θ.sub.c becomes equal to the target stop angle θ.sub.tgt through adjustment of the rotation amount of the crankshaft in the negative rotational direction. Therefore, when the crank angle θ.sub.c is in the vicinity of the target stop angle θ.sub.tgt (i.e., the absolute value of the difference Δθ is equal to or smaller than a predetermined value), the motor-generator 12 is controlled in consideration of the behavior of the crankshaft corresponding to the force of the air in the combustion chamber as well as the second map (the same holds true for the first example of the crank stop operation as well as the completive example). On the other hand, the torque command value T.sub.tgt that prescribes the torque T.sub.m that acts in the positive rotational direction is also calculated through feedback control. Therefore, as shown in FIG. 5, even in the case where the crank angle θ.sub.c becomes equal to the target stop angle θ.sub.tgt at or after the time point t54, the crankshaft may rotate in the negative rotational direction. That is, an overshoot of the crank angle θ.sub.c in the negative rotational direction with respect to the target stop angle θ.sub.tgt occurs.

    [0070] Even when the crank angle θ.sub.c becomes smaller than the target stop angle θ.sub.tgt, the motor-generator 12 outputs the torque T.sub.m that acts in the positive rotational direction, in such a manner as to adjust the rotation amount of the crankshaft in the negative rotational direction. As a result, the rotational direction of the crankshaft changes over from the negative rotational direction to the positive rotational direction at a time point t55. At the time point t55, the crank angle θ.sub.c is smaller than the target stop angle θ.sub.tgt. Therefore, the motor-generator 12 continues to output the torque T.sub.m that acts in the positive rotational direction, such that the crankshaft stops with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt. As a result, the crank angle θ.sub.c becomes equal to the target stop angle θ.sub.tgt at a time point t56.

    [0071] However, the force that is applied to the piston from the air in the combustion chamber in such a manner as to push down the crankshaft is larger in the case where the rotation amount of the crankshaft in the positive rotational direction during a period from the time point t55 to the time point t56 (i.e., the rotation amount of the crankshaft immediately before the stop of the crankshaft) is relatively large than in the case where the rotation amount of the crankshaft in the positive rotational direction during the period from the time point t55 to the time point t56 is relatively small. Therefore, at and after the time point t56 as well, the motor-generator 12 needs to continue to output the relatively large torque T.sub.m that acts in the positive rotational direction, such that the crankshaft does not rotate as a result of a force that is received by the piston from the air in the combustion chamber. When the motor-generator 12 stops outputting the torque T.sub.m at a time point t57, the crankshaft rotates in the negative rotational direction as a result of the force that is received by the piston from the air in the combustion chamber. Accordingly, it is difficult for the crankshaft to stop with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt.

    [0072] In view of this technical problem that arises in the comparative example of the crank stop operation, according to the first example of the crank stop operation, the target stop angle θ.sub.tgt is changed from the first angle θ.sub.1 to the second angle θ.sub.2, with a view to making the rotation amount of the crankshaft in the negative rotational direction relatively small and making the amount of subsequent rotation of the crankshaft in the positive rotational direction relatively small.

    [0073] In concrete terms, FIG. 6 is a timing chart showing the target stop angle θ.sub.tgt, the crank angle θ.sub.c and the torque T.sub.m in the case where the first example of the crank stop operation is carried out. As shown in FIG. 6, the first example of the crank stop operation starts at a time point t61. In this case as well as the case where the comparative example of the crank stop operation is carried out, the motor-generator 12 outputs the torque T.sub.m that acts in the negative rotational direction, in such a manner as to counterbalance the inertial force in the positive rotational direction of the crankshaft. After that, the target moving amount R.sub.tgt becomes smaller than 360° at a time point t62. After that, an overshoot of the crank angle θ.sub.c in the positive rotational direction with respect to the target stop angle θ.sub.tgt occurs at a time point t63, as a result of the responsiveness of feedback control. After that, the inertial force in the positive rotational direction of the crankshaft becomes equal to zero at a time point t64.

    [0074] From the time point t61 to the time point t64, the engine 11 continues to rotate in the positive rotational direction, so the target stop angle θ.sub.tgt is not set to the second angle θ.sub.2. Therefore, the target stop angle θ.sub.tgt is held equal to the first angle θ.sub.1, regardless of whether the crank angle θ.sub.c is equal to or larger than the first angle θ.sub.1. On the other hand, at and after the time point t64, the crankshaft rotates in the negative rotational direction. As a result, the target stop angle θ.sub.tgt is changed from the first angle θ.sub.1 to the second angle θ.sub.2 at the time point t64.

    [0075] At and after the time point t64, as is the case with the comparative example, the motor-generator 12 outputs the torque T.sub.m that acts in the positive rotational direction. Furthermore, the rotational direction of the crankshaft changes over from the negative rotational direction to the positive rotational direction at a time point t65. Besides, it is assumed that an overshoot of the crank angle θ.sub.c in the negative rotational direction with respect to the pre-change target stop angle θ.sub.tgt (i.e., the first angle θ.sub.1) has occurred at the time point t65. On the contrary, in the case where an overshoot of the crank angle θ.sub.c in the negative rotational direction with respect to the pre-change target stop angle θ.sub.tgt (i.e., the first angle θ.sub.1) does not occur after the crankshaft rotates in the negative rotational direction, an operation different from the crank stop operation shown in FIG. 2 may be carried out. Even in the case where the rotational direction of the crankshaft changes over to the positive rotational direction at the time point t65, the crank angle θ.sub.c is smaller than the first angle θ.sub.1, so the target stop angle θ.sub.tgt is held equal to the second angle θ.sub.2. Furthermore, at and after the time point t65 as well, the motor-generator 12 continues to output the torque T.sub.m that acts in the positive rotational direction, such that the crankshaft stops with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt. After that, the crank angle θ.sub.c coincides with the first angle θ.sub.1 at a time point t66. As a result, it is determined that the crank angle θ.sub.c becomes equal to or larger than the first angle θ.sub.1, so the target stop angle θ.sub.tgt is changed from the second angle θ.sub.2 to the first angle θ.sub.1. As a result, the crankshaft stops with the crank angle θ.sub.c equal to the first angle θ.sub.1 as the target stop angle θ.sub.tgt.

    [0076] It should be noted herein that the rotation amount of the crankshaft in the negative rotational direction that is needed to make the crank angle θ.sub.c coincident with the target stop angle θ.sub.tgt is smaller in the case where the target stop angle θ.sub.tgt is set to the second angle θ.sub.2 than in the case where the target stop angle θ.sub.tgt is held equal to the first angle θ.sub.1. Therefore, the rotation amount of the crankshaft in the negative rotational direction at and after the time point t64 is made smaller in the case where the target stop angle θ.sub.tgt is set to the second angle θ.sub.2 than in the case where the target stop angle θ.sub.tgt is held equal to the first angle θ.sub.1, so the torque T.sub.m that is output at and after the time point t64 and that acts in the positive rotational direction is relatively large. As a result, the rotation amount of the crankshaft in the negative rotational direction at and after the time point t64 is small, so the rotation amount of the crankshaft in the positive rotational direction at and after the time point t65 is also small. Accordingly, at the time point t66, the force that is applied to the piston from the air in the combustion chamber in such a manner as to push down the crankshaft is also small. Therefore, at and after the time point t66, even when the motor-generator 12 does not continue to output the relatively large torque T.sub.m that acts in the positive rotational direction, the crankshaft does not rotate as a result of a force that is received by the piston from the air in the combustion chamber. Therefore, even if the motor-generator 12 stops outputting the torque T.sub.m at a time point t67, the crankshaft does not rotate in the negative rotational direction as a result of a force that is received by the piston from the air in the combustion chamber. Accordingly, the crankshaft can appropriately stop with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt. That is, according to the first example of the crank stop operation, even in the case where the crankshaft rotates in the negative rotational direction as a result of the responsiveness of feedback control before stopping, the crankshaft can stop with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt.

    [0077] The rotation amount of the crankshaft in the negative rotational direction resulting from the responsiveness of the above-mentioned feedback control tends to increase as the number of cylinders with which the engine 11 is equipped decreases. This is because the possibility of rotation of the crankshaft in the negative rotational direction due to the air compressed in a certain cylinder being counterbalanced by the behavior of the crankshaft in the other cylinder(s) decreases as the number of cylinders decreases. Therefore, the technical effect according to the first example of the crank stop operation is more remarkable in the case where the number of cylinders of the engine 11 is equal to or smaller than a predetermined number than in the case where the number of cylinders of the engine 11 is larger than the predetermined number. For example, the technical effect according to the first example of the crank stop operation is more remarkable in the case where the number of cylinders is equal to or smaller than 4 (or equal to or smaller than 6) than in the case where the number of cylinders is larger than 4 (or larger than 6). Incidentally, in the case where the engine 11 is equipped with a plurality of cylinders, the ECU 19 may carry out the first example of the above-mentioned crank stop operation as to at least one of the plurality of the cylinders. In this case, at least one of the cylinders that is subjected to the first example of the crank stop operation is preferably a cylinder in which the target stop angle θ.sub.tgt is set to the first angle θ.sub.1 corresponds to the crank angle θ.sub.c in the case where the intake valve and the exhaust valve are in the closed-valve state.

    [0078] Incidentally, as described above, the second angle θ.sub.2 is the target stop angle θ.sub.tgt that is set for the purpose of making the rotation amount of the crankshaft in the negative rotational direction small. In other words, the second angle θ.sub.2 is the target stop angle θ.sub.tgt that is set for the purpose of making large the torque T.sub.m that is output under the circumstances where the crankshaft rotates in the negative rotational direction and that acts in the positive rotational direction. Accordingly, the second angle θ.sub.2 is preferably set to an appropriate value in advance based on the specification of the vehicle 1 or the like, from the standpoint of achieving this purpose.

    [0079] In the foregoing description, rotation of the crankshaft in the negative rotational direction resulting from the responsiveness of feedback control occurs only once.

    [0080] However, rotation of the crankshaft in the negative rotational direction resulting from the responsiveness of feedback control may occur twice or more. That is, the crankshaft may repeat a cycle of rotation consisting of rotation in the negative rotational direction and rotation in the positive rotational direction a plurality of times, as a result of the responsiveness of feedback control. In this case as well, the crankshaft can be stopped with the crank angle θ.sub.c equal to the target stop angle θ.sub.tgt, by carrying out the first example of the above-mentioned crank stop operation. For example, FIG. 7 is a timing chart showing the target stop angle θ.sub.tgt, the crank angle θ.sub.c and the torque T.sub.m in the case where the crankshaft repeats a cycle of rotation consisting of rotation in the negative rotational direction and rotation in the positive rotational direction twice under the circumstances where the first example of the crank stop operation is carried out. As shown in FIG. 7, the first example of the crank stop operation starts at a time point t71, the target moving amount R.sub.tgt becomes smaller than 360° at a time point t72, an overshoot of the crank angle θ.sub.c, in the positive rotational direction with respect to the target stop angle θ.sub.tgt occurs at a time point t73, and the rotational direction of the crankshaft changes over from the positive rotational direction to the negative rotational direction at a time point t74. As a result, the target stop angle θ.sub.tgt is changed from the first angle θ.sub.1 to the second angle θ.sub.2 at the time point t74. After that, the crankshaft carries out a cycle of rotation consisting of rotation in the negative rotational direction and rotation in the positive rotational direction once. As a result, the crank angle θ.sub.c coincides with the first angle θ.sub.1 at a time point t75, and the target stop angle θ.sub.tgt is changed from the second angle θ.sub.2 to the first angle θ.sub.1. However, at and after the time point t75 as well, an overshoot of the crank angle θ.sub.c in the positive rotational direction with respect to the target stop angle θ.sub.tgt may occur as a result of the responsiveness of feedback control. As a result, the crankshaft restarts rotation in the negative rotational direction at a time point t76. As a result, the target stop angle θ.sub.tgt is changed again from the first angle θ.sub.1 to the second angle θ.sub.2 at the time point t76. After that, the crankshaft carries out a cycle of rotation consisting of rotation in the negative rotational direction and rotation in the positive rotational direction once. As a result, the crank angle θ.sub.c coincides with the first angle θ.sub.1 at a time point t77, and the target stop angle θ.sub.tgt is changed again from the second angle θ.sub.2 to the first angle θ.sub.1. As a result, the crankshaft stops with the crank angle θ.sub.c equal to the first angle θ.sub.1 as the target stop angle θ.sub.tgt.

    [0081] In the foregoing description, the motor control unit 192 returns the target stop angle θ.sub.tgt to the first angle θ.sub.1 at a timing when the crank angle θ.sub.c becomes equal to or larger than the pre-change target stop angle θ.sub.tgt (i.e., the first angle θ.sub.1) after the rotational direction of the crankshaft changes over from the negative rotational direction to the positive rotational direction. However, the motor control unit 192 may return the target stop angle θ.sub.tgt to the first angle θ.sub.1 at a timing when a predetermined period elapses after the rotational direction of the crankshaft changes over from the negative rotational direction to the positive rotational direction. In this case, even when an overshoot of the crank angle θ.sub.c in the negative rotational direction with respect to the pre-change target stop angle θ.sub.tgt (i.e., the first angle θ.sub.1) has not occurred upon a changeover in the rotational direction of the crankshaft from the negative rotational direction to the positive rotational direction, the crankshaft stops with the crank angle θ.sub.c equal to the first angle θ.sub.1 as the original target stop angle θ.sub.tgt.

    [0082] In the foregoing description, the first angle θ.sub.1 is an angle that can be assumed by the crank angle θ.sub.c in the vicinity of the end of a compression stroke. Therefore, immediately before starting to rotate in the negative rotational direction, the crankshaft rotates such that the piston compresses the air in the combustion chamber. However, immediately before starting to rotate in the negative rotational direction, the crankshaft may rotate such that the piston expands the air in the combustion chamber. In this case as well, the force that acts in such a manner as to pull up the piston (i.e., rotate the crankshaft in the negative rotational direction) (i.e., the force that is substantially corresponds to a negative pressure) is applied without fail to the piston from the air in the combustion chamber. Accordingly, the first example of the above-mentioned crank stop operation may be carried out not only in the case where immediately before starting to rotate in the negative rotational direction, the crankshaft rotates such that the piston compresses the air in the combustion chamber, but also in the case where immediately before starting to rotate in the negative rotational direction, the crankshaft rotates such that the piston expands the air in the combustion chamber. In this case as well, the above-mentioned effect is appropriately received.

    [0083] The second example of the crank stop operation is different from the first example of the above-mentioned crank stop operation in that the gradually changing (i.e., gradually increasing/decreasing) second angle θ.sub.2 is used. In the first example of the crank stop operation, the fixed (i.e., unchanging) second angle θ.sub.2 is used. The second example of the crank stop operation is identical in other operational details to the first example of the crank stop operation. The gradually changing second angle θ.sub.2 is set by the operation of changing the target stop angle θ.sub.tgt in step S3 of FIG. 2. Therefore, the flow of the second example of the crank stop operation will be described hereinafter with reference to the flowchart of FIG. 8.

    [0084] As shown in FIG. 8, the rotation detection unit 191 determines whether or not the crankshaft rotates in the negative rotational direction (step S31). If it is determined as a result of the determination in step S31 that the crankshaft rotates in the negative rotational direction (Yes in step S31), the motor control unit 192 sets the gradually changing second angle θ.sub.2 as the target stop angle θ.sub.tgt (step S41).

    [0085] On the other hand, if it is determined as a result of the determination in step S31 that the crankshaft does not rotate in the negative rotational direction (No in step

    [0086] S31), the motor control unit 192 determines whether or not the current crank angle θ.sub.c is equal to or larger than the first angle θ.sub.1 (step S33). If it is determined as a result of the determination in step S33 that the current crank angle θ.sub.c is equal to or larger than the first angle θ.sub.1 (Yes in step S33), the motor control unit 192 sets the first angle θ.sub.1 as the target stop angle θ.sub.tgt (step S34).

    [0087] On the other hand, if it is determined as a result of the determination in step S33 that the current crank angle θ.sub.c is smaller than the first angle θ.sub.1 (No in step S33), the motor control unit 192 determines whether or not the second angle θ.sub.2 is set as the target stop angle θ.sub.tgt (step S42). If it is determined as a result of the determination in step S42 that the second angle θ.sub.2 is not set as the target stop angle θ.sub.tgt (No in step S42), the target stop angle θ.sub.tgt is held equal to the first angle θ.sub.1. If it is determined as a result of the determination in step S42 that the second angle θ.sub.2 is set as the target stop angle θ.sub.tgt (Yes in step S42), the motor control unit 192 sets the gradually changing second angle θ.sub.2 as the target stop angle θ.sub.tgt (step S43).

    [0088] In order to set the gradually changing second angle θ.sub.2 in steps S41 and S43, the motor control unit 192 sets the second angle θ.sub.2 whose difference from the previous target stop angle θ.sub.tgt is equal to or smaller than a predetermined amount. The operation shown in FIG. 8 is repeatedly carried out until the engine 11 stops. Therefore, the operations of steps S41 and S43 are also repeatedly carried out. As a result, as shown in FIG. 9, the second angle θ.sub.2 that is set as the target stop angle θ.sub.tgt (i.e., the target stop angle θ.sub.tgt itself) gradually changes. As a result, the torque T.sub.m changes more gently (in other words, is less likely to change rapidly) in the second example of the crank stop operation than in the first example of the crank stop operation.

    [0089] As shown in FIG. 9, the motor control unit 192 can set the gradually increasing second angle θ.sub.2 as the target stop angle θ.sub.tgt. In this case, the motor control unit 192 may set the gradually changing second angle θ.sub.2 such that the second angle θ.sub.2 becomes equal to a peak value (specifically, corresponds to the second angle θ.sub.2 used in the first example) upon or before the lapse of a third time t3 after changing the target stop angle θ.sub.tgt from the first angle θ.sub.1 to the second angle θ.sub.2. Besides, in setting the gradually increasing second angle θ.sub.2, the motor control unit 192 can set the second angle θ.sub.2 that gradually increases from the first angle θ.sub.1.

    [0090] As shown in FIG. 9, the motor control unit 192 can set the gradually decreasing second angle θ.sub.2 as the target stop angle θ.sub.tgt. For example, the motor control unit 192 may monitor a difference between the current crank angle θ.sub.c and the first angle θ.sub.1, predict, based on a result of the monitoring, a timing when the crank angle θ.sub.c becomes equal to or larger than the first angle θ.sub.1 (i.e., a timing when the target stop angle θ.sub.tgt is returned to the first angle θ.sub.1), and gradually reduce the second angle θ.sub.2 such that the target stop angle θ.sub.tgt becomes equal to the first angle θ.sub.1 at the predicted timing. Besides, in setting the gradually decreasing second angle θ.sub.2, the motor control unit 192 can set the second angle θ.sub.2 that gradually decreases toward the first angle θ.sub.1.

    [0091] Incidentally, the amount of each change in the second angle θ.sub.2 decreases as the cycle on which the operation shown in FIG. 8 is repeatedly carried out shortens, so the second angle θ.sub.2 more smoothly changes. For example, FIG. 9 shows the target stop angle θ.sub.tgt, the crank angle θ.sub.c and the torque T.sub.m in the case where the cycle on which the operation shown in FIG. 8 is repeatedly carried out is relatively long. On the other hand, for example, FIG. 10 shows the target stop angle θ.sub.tgt, the crank angle θ.sub.c and the torque T.sub.m in the case where the cycle on which the operation shown in FIG. 8 is repeatedly carried out is relatively short.

    [0092] As shown in the flowchart of FIG. 11, the third example of the crank stop operation is different from the first example of the crank stop operation in that a control gain k capable of prescribing the magnitude of the torque T.sub.m is changed (step S10) with a view to making large the torque T.sub.m that is output under the circumstances where the crankshaft rotates in the negative rotational direction. The third example of the crank stop operation is different from the first example of the crank stop operation in that the first angle θ.sub.1 is used as the target stop angle θ.sub.tgt (i.e., the second angle θ.sub.2 is not used). The third example of the crank stop operation is identical in other operational details to the first example of the crank stop operation. The operation of changing the control gain k in step S10 of FIG. 11 will be described hereinafter in detail with reference to the flowchart of FIG. 12.

    [0093] As shown in FIG. 12, the rotation detection unit 191 determines whether or not the crankshaft rotates in the negative rotational direction (step S31).

    [0094] If it is determined as a result of the determination in step S31 that the crankshaft rotates in the negative rotational direction (Yes in step S31), the motor control unit 192 sets a second gain k.sub.2 as the control gain k (step S102). In the present embodiment, the control gain k includes at least one of a proportional gain k.sub.p and an integral gain k.sub.i that are used in feedback control (PI control) performed by the above-mentioned motor control unit 192. Therefore, the motor control unit 192 sets a second gain k.sub.p2 as the proportional gain k.sub.p and/or sets a second gain k.sub.i2 as the integral gain

    [0095] The second gain k.sub.p2 is the proportional gain k.sub.p capable of prescribing the torque T.sub.m that is larger than the torque (especially the torque that acts in the positive rotational direction, the same will hold true) T.sub.m prescribed by a first gain k.sub.p1 that will be described later. The second gain k.sub.i2 is the integral gain k.sub.i capable of prescribing the torque T.sub.m that is larger than the torque T.sub.m prescribed by a first gain k.sub.i1 that will be described later. The second gains k.sub.p2 and k.sub.i2 may be parameters that are stored in advance by the ECU 19, or may be parameters that are calculated by the ECU 19 as appropriate. It should be noted, however, that the control gain k may be an arbitrary gain capable of adjusting the magnitude of the torque T.sub.m.

    [0096] On the other hand, if it is determined as a result of the determination in step S31 that the crankshaft does not rotate in the negative rotational direction (No in step S31), the motor control unit 192 determines whether or not the current crank angle θ.sub.c is equal to or larger than the target stop angle θ.sub.tgt (step S103).

    [0097] If it is determined as a result of the determination in step S103 that the current crank angle θ.sub.c is equal to or larger than the target stop angle θ.sub.tgt (Yes in step S103), the motor control unit 192 sets the first gain k.sub.1 as the control gain k (step S104). That is, the motor control unit 192 sets the first gain k.sub.p1 as the proportional gain k.sub.p and/or sets the first gain k.sub.i1 as the integral gain The first gain k.sub.i. The first gain k.sub.1 (i.e., the first gain k.sub.p1 and the first gain k.sub.i1) is a parameter that is stored in advance by the ECU 19 as the default control gain k. On the other hand, if it is determined as a result of the determination in step S103 that the current crank angle θ.sub.c is smaller than the target stop angle θ.sub.tgt (No in step S103), the motor control unit 192 does not change the control gain k. Therefore, when the first gain k.sub.1 is set as the control gain k, the control gain k is held equal to the first gain k.sub.1. When the second gain k.sub.2 is set as the control gain k, the control gain k is held equal to the second gain k.sub.2.

    [0098] In this third example of the crank stop operation as well as the first example of the crank stop operation, the torque Tm that is output under the circumstances where the crankshaft rotates in the negative rotational direction is larger than in the case where the control gain k is held equal to the first gain k.sub.1 (see FIG. 13). As a result, the rotation amount of the crankshaft in the negative rotational direction is small, so the amount of subsequent rotation of the crankshaft in the positive rotational direction is also small. Accordingly, the force that is applied to the piston from the air in the combustion chamber in such a manner as to push down the crankshaft is also small. Accordingly, the third example of the crank stop operation can appropriately receive an effect similar to the effect that can be received by the first example of the crank stop operation.

    [0099] Incidentally, in the third example of the crank stop operation as well as the second example of the crank stop operation, the gradually changing second gain k.sub.2 may be set as the control gain k. For example, the gradually increasing second gain k.sub.2 may be set as the control gain k. For example, the gradually decreasing second gain k.sub.2 may be set as the control gain k. For example, the second gain k.sub.2 that gradually decreases and then gradually increases may be set as the control gain k. For example, the second gain k.sub.2 that gradually increases and then gradually decreases may be set as the control gain k. Besides, in the third example of the crank stop operation as well as the first example of the crank stop operation, the target stop angle θ.sub.tgt may be changed between the first angle θ.sub.1 and the second angle θ.sub.2.

    [0100] According to the aforementioned configuration, during the second period in which the crankshaft rotates in the negative rotational direction with a view to returning the crank angle, which has exceeded the target angle, toward the target angle, the relatively large second angle is used as the target angle. Therefore, the rotation amount of the crankshaft in the negative rotational direction is smaller than in the case where the relatively small first angle is used as the target angle during the second period. As a result, the overshoot amount of the crank angle in the negative rotational direction with respect to the target angle is also small. Therefore, the rotation amount of the crankshaft in the positive rotational direction after a changeover in the rotational direction of the crankshaft from the negative rotational direction to the positive rotational direction is also small. Therefore, the moving amount of a piston resulting from this rotation in the positive rotational direction is also small, and the degree of compression (or expansion) of the air in the cylinder by the piston decreases. As a result, the force that is exerted on the piston by the air in the cylinder when the crankshaft is stopped is also small. Accordingly, the possibility of the piston moving (i.e., the crankshaft moving) as a result of a pressure of the air in the cylinder is low after the torque is stopped from being output due to the stop of the crankshaft. Therefore, the vehicle control apparatus according to the aforementioned configuration can stop the crankshaft with the crank angle equal to the target angle (i.e., the first angle), even in the case where an overshoot of the crank angle with respect to the target angle occurs as a result of the responsiveness of feedback control before stopping the crankshaft.

    [0101] In addition, the target angle is returned from the second angle to the first angle at the first timing when the crank angle, which has become smaller than the first angle as a result of the responsiveness of feedback control, becomes equal to or larger than the first angle. Accordingly, the second angle that is larger than the first angle as the original target angle is not used as the target angle for a longer time than necessary. Therefore, the vehicle control apparatus according to the aforementioned configuration can stop the crankshaft with the crank angle equal to the target angle (i.e., the first angle).

    [0102] According to the aforementioned configuration, the vehicle control apparatus can stop the crankshaft with the crank angle equal to the target angle (i.e., the first angle), even in the case where a state of rotation of the crankshaft in the negative rotational direction as a result of the responsiveness of feedback control occurs a plurality of times. In addition, the second angle that is larger than the first angle as the original target angle is not used as the target angle for a longer time than necessary, even in the case where a state of rotation of the crankshaft in the negative rotational direction as a result of the responsiveness of feedback control occurs a plurality of times. Therefore, the vehicle control apparatus according to the aforementioned configuration can stop the crankshaft with the crank angle equal to the target angle (i.e., the first angle).

    [0103] According to the aforementioned configuration, the torque is prevented from rapidly changing when the target angle changes over from the first angle to the second angle or from the second angle to the first angle.

    [0104] In the case where the angle that can be assumed by the crank angle in the latter half of the compression stroke is equal to the first angle, the force that is exerted on the piston by the air in the cylinder when the crankshaft is stopped is likely to be relatively large. Therefore, according to the aforementioned configuration, the effect of making it possible to lower the possibility of the piston moving as a result of the pressure of the air in the cylinder is more remarkable.

    [0105] According to the aforementioned configuration, during the second period in which the crankshaft rotates in the negative rotational direction with a view to returning the crank angle, which has exceeded the target angle, toward the target angle, the relatively large torque in the positive rotational direction is output. Therefore, the rotation amount of the crankshaft in the negative rotational direction is smaller than in the case where the relatively small torque in the positive rotational direction is output during the second period. In consequence, the vehicle control apparatus according to the aforementioned configuration can receive an effect similar to the effect that can be received by the above-mentioned vehicle control apparatus according to the first aspect of the disclosure.

    [0106] In addition, the motor gain is returned from the second gain to the first gain at the first timing when the crank angle, which has become smaller than the target angle as a result of the responsiveness of feedback control, becomes equal to or larger than the target angle. Accordingly, the second gain that is different from the first gain as the original motor gain is not used as the motor gain for a longer time than necessary. Therefore, the vehicle control apparatus according to the second aspect of the disclosure can stop the crankshaft with the crank angle equal to the target angle.

    [0107] According to the aforementioned configuration, the vehicle control apparatus according to the second aspect of the disclosure can stop the crankshaft with the crank angle equal to the target angle, even in the case where a state of rotation of the crankshaft in the negative rotational direction as a result of the responsiveness of feedback control occurs a plurality of times. In addition, the second gain that is different from the first gain as the original motor gain is not used as the motor gain for a longer time than necessary, even in the case where a state of rotation of the crankshaft in the negative rotational direction as a result of the responsiveness of feedback control occurs a plurality of times. As a result, the vehicle control apparatus according to the aforementioned configuration can stop the crankshaft with the crank angle equal to the target angle.

    [0108] According to the aforementioned configuration, the torque is prevented from rapidly changing when the motor gain changes over from the first gain to the second gain or from the second gain to the first gain.

    [0109] According to the aforementioned configuration, the effect of the vehicle control apparatus, namely, the effect of making it possible to lower the possibility of the piston moving as a result of the pressure of the air in the cylinder is more remarkable.

    [0110] Incidentally, the disclosure can be changed as appropriate within such a range as not to contradict the gist or concept of the disclosure that can be read from the claims and the entire specification. A vehicle control apparatus subjected to such a change is also included in the technical concept of the disclosure.