# Patent

## Title
Method for shutting off an internal combustion engine

## Abstract

A method is described for shutting off an internal combustion engine in a vehicle that comprises an internal combustion engine and an electrical machine, an electrical torque furnished by the electrical machine being adapted in such a way that a change per unit time in a total torque lies within a definable range, the total torque being made up at least of a torque of the internal combustion engine and the electrical torque.

## Background
FIELD OF THE INVENTION
The present invention relates to a method for shutting off an internal combustion engine.
BACKGROUND INFORMATION
In vehicles, electrical machines are used e.g. as a starter for an internal combustion engine or e.g. as a generator for generating electrical power. In modern vehicles, electrical machines are also used as a combination of starter and generator, as so-called “starter generators.” Starter generators are electrical machines that can be operated in a vehicle as an electric motor or as a generator, as required. As a generator, starter generators must be able to take on all tasks conventionally handled by the generator, namely supplying electricity to the vehicle electrical system and charging the vehicle battery. As an electric motor, starter generators must quickly bring the crankshaft of the internal combustion engine up to the necessary starting rotation speed when said engine is started.
Undesired rotation speed oscillations can occur upon shutoff of an internal combustion engine in a vehicle. Such rotation speed oscillations become transferred to the vehicle's body, and this is perceived by vehicle occupants as unpleasant. Such rotation speed oscillations occur in particular, for example, in a start-stop mode in which the internal combustion engine of the vehicle is automatically shut off at a standstill.
German Published Patent Appln. No. 101 23 037 A1 or German Patent No. 60 2004 012 838 T2 disclose, for example, apparatuses or methods for controlled shutoff of an internal combustion engine. Here the rotation speed profile of the internal combustion engine is adapted to a defined rotation speed profile by the fact that a torque is applied to a crankshaft by an electrical machine, with the result that the rotation speed of the internal combustion engine is raised or lowered depending on the situation.
These methods require rapid implementations of the torques to be applied, however, in order to adapt the rotation speed in real time. Such rapid implementations are difficult to realize because of the communication required in the vehicle.
Another possibility would be accurate setting of a rotation speed for the electrical machine, although implementing this in real time is complicated.
It is therefore desirable to describe a capability for preventing or at least reducing, in a simple manner, vibrations upon shutoff of an internal combustion engine which are perceptible to vehicle occupants.
SUMMARY
A method according to the present invention for shutting off an internal combustion engine in a vehicle that has an internal combustion engine and at least one electrical machine, in particular of claw-pole design, in which an electrical torque is adapted in such a way that a change per unit time in a total torque that is made up at least of a torque of the internal combustion engine and the electrical torque (i.e. a total torque gradient) lies within at least one definable range, makes possible controlled and comfortable shutoff of the internal combustion engine. A useful time unit can be in particular in the range of a few or a few tens of milliseconds, e.g. 10 ms. Adaptation of the electrical torque preferably occurs over a time period during shutoff of the internal combustion engine. It can begin with the beginning of the shutoff operation and/or when the rotation speed falls below an upper threshold, and it can end when the rotation speed falls below a lower threshold or when a standstill is reached and/or after a certain time has elapsed. Vibrations that are perceptible in the vehicle are avoided or at least decreased by the actions according to the present invention. The definable range can be defined by an upper limit and a lower limit, or by a definable range width around a target value. In order to minimize the total torque gradient, the upper limit and lower limit are usefully close to zero, or the target value is usefully zero. The width of the range around the target value is usefully selected to be as small as possible but as large as necessary so as also to permit practical implementation.
A reaction torque that acts on the bodywork via the engine mounts is equal to the product of the moment of inertia and angular acceleration of the crankshaft. To avoid the occurrence of vibration and noise in the bodywork, it would firstly be sufficient to minimize the reaction torque, i.e. to minimize the angular acceleration of the crankshaft. This conflicts, however, with the desire to bring the internal combustion engine quickly from idle speed to shutdown. What is minimized is therefore not the reaction torque or angular acceleration, but rather the variation over time, or gradient, of the reaction torque or angular acceleration.
Preferably the electrical torque is controlled in open- or closed-loop fashion as a function of the torque of the internal combustion engine. This allows the total torque to be influenced more accurately.
Advantageously, a target torque for the electrical machine is firstly calculated from the present torque of the internal combustion engine and is then implemented by the electrical machine. This allows the total torque to be accurately influenced.
It is further advantageous if the present torque of the internal combustion engine is calculated from an angle of a crankshaft and at least one cylinder filling of the internal combustion engine. These values are usually available in any case for the internal combustion engine, and thus also enable simple calculation of the requisite target torque.
It is particularly advantageous if the target torque of the electrical machine corresponds to the negative of the torque of the internal combustion engine together with an offset. It is thereby possible for the sum of the electrical torque and the torque of the internal combustion engine to be brought to a constant value, or at least for only small changes to be allowed.
Preferably the negative of the torque of the internal combustion engine is additionally scaled with a factor, and/or the change over time is adapted in another manner, for example by replacing or omitting specific values. This is useful when the maximum electrical torque that can be applied by the electrical machine is not sufficient to entirely compensate for the torque of the internal combustion engine.
Advantageously, a method according to the present invention is used when the internal combustion engine and the electrical machine each have a calculation unit, in particular a control unit, for control application. The target torque can then be calculated in the (hereinafter “first”) calculation unit of the internal combustion engine (so-called “engine control unit”) and transferred to the (hereinafter “second”) calculation unit of the electrical machine (e.g. so-called “inverter”). Because these two calculation units are usually present in any case in a vehicle, an additional calculation unit is not necessary.
It is further advantageous if only the information required for calculating the target torque is transferred from the first to the second calculation unit. This is useful when, for example, better utilization of the capacity of the calculation units is thereby ensured.
Preferably a time span that is required for a data transfer from the first to the second calculation unit is taken in account in calculating the target torque. This makes possible an accurate adaptation of the electrical torque when the method is distributed between two calculation units, and when communication between said calculation units is therefore necessary.
A calculation unit according to the present invention, e.g. a control unit of a motor vehicle, is set up to carry out, in particular by programmed execution, a method according to the present invention.
Implementation of the method in the form of software is also advantageous since this results in particularly low costs, especially when an executing control unit is also used for further tasks and is therefore present in any case. Suitable data media for furnishing the computer program are, in particular, diskettes, hard drives, flash memories, EEPROMs, CD-ROMs, DVDs, and many more. Downloading of a program via computer networks (Internet, intranet, etc.) is also possible.
Further advantages and embodiments of the invention are evident from the description and from the appended drawings.
It is understood that the features recited above and those yet to be explained below are usable not only in the respective combination indicated, but also in other combinations or in isolation, without departing from the scope of the present invention.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 schematically shows a part of a vehicle encompassing an internal combustion engine, an electrical machine, an operative connection, and calculation units, in a preferred embodiment.
FIG. 2a schematically shows a curve for a torque of an internal combustion engine and for an electrical torque and a total torque, in a preferred embodiment.
FIG. 2b schematically shows a curve for a torque of an internal combustion engine and an adapted curve for an electrical torque and for a maximum electrical torque, in a preferred embodiment.



DETAILED DESCRIPTION
FIG. 1 schematically shows a part 10 of a vehicle in a preferred embodiment, said part encompassing an internal combustion engine 20 and an electrical machine 30 that can be, for example, a starter generator or a boost recuperation machine (BRM), in particular of claw-pole design. Internal combustion engine 20 and electrical machine 30 are connected via an operative connection that is embodied here as a belt drive 26 that is connected to a crankshaft 25 of the internal combustion engine.
Also shown are two calculation units 70 and 80 that are embodied here as first control unit 70 for the internal combustion engine and as second control unit 80 for the electrical machine. First control unit 70 and second control unit 80 communicate via a communication connection 75 that can be, for example, a CAN bus. It is also possible to use different calculation units, or also only one calculation unit, for the method according to the present invention.
Values for an angle of crankshaft 25 and for at least one cylinder filling of internal combustion engine 20 are present in first control unit 70 by which internal combustion engine 20 is controlled. These values are measured, for example, by suitable sensors or measurement transducers. From these values, first control unit 70 calculates a torque M20 (see FIG. 2) of internal combustion engine 20 over time.
First control unit 70 can employ, for example, a characteristic curve as a function of the angle of crankshaft 25 if the cylinder filling remains approximately constant, or e.g. a characteristics field as a function of the angle of crankshaft 25 and the cylinder filling.
In order to prevent or at least reduce vibrations that occur due to irregular running of internal combustion engine 20, i.e. a varying total torque, and that become transferred to the vehicle, a total torque M25 that is acting on crankshaft 25 is adapted so that it changes as little as possible over time.
Contributions to the total torque M25 are supplied by the torque M20 of internal combustion engine 20 and an electrical torque M30. The electrical torque M30 is the torque exerted by electrical machine 30 on crankshaft 25, the interposition of belt drive 26 already being accounted for here.
Further contributions to the total torque M25 are supplied in particular by a frictional torque and, for example, by a two-mass flywheel torque. In internal combustion engines such as reciprocating piston engines, an inertial mass such as a flywheel is often used in order to balance out rotational irregularities, since a torque is not transferred to the crankshaft by a cylinder at each stroke. In modern vehicles this inertial mass is split in two, with a primary mass on the engine side and a secondary mass on the transmission side of a torsional vibration damper. Vibrations above idle speed are thereby further reduced, but an amplification of vibrations below idle speed can occur; this is particularly obtrusive as the internal combustion engine is switched off.
Because the frictional torque changes only insignificantly as a function of the rotation speed of crankshaft 25, it need no longer be taken into account hereinafter in order to minimize the gradient of the total torque M25.
The two-mass flywheel torque of two-mass flywheel 40 which acts on crankshaft 25 is a function of a difference in rotation angle between the primary and secondary mass, and of the change over time therein. The primary mass is joined rigidly to crankshaft 25. Upon shutoff of the internal combustion engine, i.e. as the internal combustion engine runs down, a clutch is open and the torque of the secondary mass is therefore a function only of the two-mass flywheel torque on the crankshaft and of the inherent inertia. A reduction in the change in the angular acceleration of the crankshaft consequently results in a reduction in the two-mass flywheel torque. The two-mass flywheel torque therefore also no longer needs to be taken into account. What is minimized is therefore the change in the total torque M25, where M25=M20+M30.
FIG. 2a schematically shows, in a diagram, the curve for the torque M20 of internal combustion engine 20 and the curve for the electrical torque M30, as well as the total torque M25 resulting therefrom, in a preferred embodiment. Time is indicated from left to right, and torques are plotted in the vertical direction. Positive values represent a torque in the crankshaft rotation direction; negative values represent a torque opposite to the crankshaft rotation direction.
In a preferred embodiment, it is intended that M30=−M20+offset for the total torque. The torque M20 of internal combustion engine 20 is thereby compensated for by the electrical torque M30, an offset also being taken into account so that the absolute value of the ultimately resulting total torque does not become too small to ensure quick shutoff of the internal combustion engine. It is also possible thereby to ensure that, for example, only a braking torque of the electrical machine is used, but a motor torque of the electrical machine is also conceivable.
The target torque for the electrical torque M30 is calculated in first control unit 70. The calculation takes into account a transit time T required for transfer of the target torque from first control unit 70 via communication medium 75 to second control unit 80. This transit time can be in the range of a few or a few tens of milliseconds, and can therefore correspond to one or more time units of the gradient determination. In other words, at a time t1 the target torque that will be required at a later time t2=t1+T must be calculated in first control unit 70. This is possible because the cylinder filling does not change between the compression and expansion strokes, and because it is assumed approximately that the rotational speed of crankshaft 25 does not change during the transit time T. The angle of crankshaft 25 at time t2 can thus be calculated by adding to the angle at time t1 the product of the rotational speed of crankshaft 25 and the transit time T. The time T can also encompass a delay time between the time at which the target torque for the electrical machine is defined and the time at which the actual torque reaches the target torque. For a typical BRM a delay time of this kind in the transfer function is approximately 5 ms.
The target torque calculated by first control unit 70 is transferred via communication medium 75 to second control unit 80. Second control unit 80 causes the electrical machine to apply to crankshaft 25 the electrical torque M30 corresponding to the target torque.
If the electrical machine is a preferred claw pole generator with electrical excitation, the current through the rotor winding serves as a control variable for regulating the electrical torque, and is defined by an associated field controller. The field controller nowadays is usually part of a so-called generator controller (here, for example, second control unit 80) that also performs further control functions in addition to voltage regulation.
It is also conceivable for the information regarding the angle of crankshaft 25 and the cylinder filling of internal combustion engine 20 to be transferred from first control unit 70 to second control unit 80. Calculation of the target torque is then carried out in second control unit 80. The transit time T must also correspondingly be taken into account here in the calculation.
It is furthermore conceivable to use for the method according to the present invention, instead of first control unit 70 and second control unit 80, only one shared control unit that has the required information regarding the angle of crankshaft 25 and the cylinder filling of internal combustion engine 20 and can cause the electrical machine to apply to crankshaft 25 an electrical torque corresponding to the target torque. A transit time for a transfer would then not need to be taken into account.
FIG. 2b schematically depicts, in a diagram, a curve for the torque M20 of internal combustion engine 20 and a curve for the electrical torque M30, as well as a maximum electrical torque M30,max, according to a preferred embodiment of the invention. Time is indicated from left to right, and torques are plotted in the vertical direction. Positive values represent a torque in the crankshaft rotation direction; negative values represent a torque opposite to the crankshaft rotation direction.
In a further preferred embodiment the electrical torque M30 is adapted so that the negative −M20 of the torque of internal combustion engine 20 is scaled by a factor, and/or is otherwise adapted, before an offset is added. This is useful when the absolute value of the maximum electrical torque M30,max that can maximally be applied by electrical machine 30 to crankshaft 25 is less than the amplitude of the torque M20 of the torque of internal combustion engine 20. Complete compensation for the torque of internal combustion engine 20 is thus not possible.
In the curve for the electrical torque M30 shown in FIG. 2b, said torque is adapted so that the negative −M20 of the torque of internal combustion engine 20 has been scaled by a factor, and additionally the peaks in a negative direction have been cut off in accordance with the maximum electrical torque M30,max.
It is also conceivable to utilize only one of the two adaptation possibilities. It is also possible to cut off the peaks in the other direction, i.e. for the peaks to be cut off by the zero line, taking into account correspondingly the selection of the offset.
It is furthermore conceivable also to use a motor torque of the electrical machine and not only a braking torque. The curve for the electrical torque M30 can then also extend into the upper, positive half of the diagram. More adaptation capabilities can thereby become accessible.

## Claims

1. A method for shutting off an internal combustion engine in a vehicle that includes a machine comprising a control system, an internal combustion engine, and an electrical machine, the method comprising:
upon determining a beginning of a shutoff operation of the internal combustion engine, adapting, by the control system, an electrical torque of the electrical machine such that a total torque does not change per unit time by more than a predefined threshold, wherein the total torque includes at least a torque of the internal combustion engine and the electrical torque, wherein the adapting includes calculating a target torque of the electrical machine as a function of a present torque of the internal combustion engine and causing the electrical machine to adjust the electrical torque in accordance with the target torque.

2. The method as recited in claim 1, further comprising calculating, by the control system, the torque of the internal combustion engine from an angle of a crankshaft and a cylinder filling of the internal combustion engine.

3. The method as recited in claim 1, wherein the electrical torque is a function of the torque of the internal combustion engine.

4. A non-transitory machine-readable storage medium having stored thereon a computer program that is executable by control system and that, when executed by the control system, causes the control system to carry out a method for shutting off an internal combustion engine in a vehicle that includes an internal combustion engine and an electrical machine, the method comprising:
upon determining a beginning of a shutoff operation of the internal combustion engine, adapting an electrical torque of the electrical machine such that a total torque does not change per unit time by more than a predefined threshold, wherein the total torque includes at least a torque of the internal combustion engine and the electrical torque, wherein the adapting includes calculating a target torque of the electrical machine as a function of a present torque of the internal combustion engine and causing the electrical machine to adjust the electrical torque in accordance with the target torque.

5. The non-transitory machine-readable storage medium as recited in claim 4, wherein the computer program is executable by a first calculation unit of the control system for carrying out the method in conjunction with a second calculation unit of the control system that is communicatively coupled to the first calculation unit.

6. The method as recited in claim 1, wherein the target torque of the electrical machine corresponds to a negative of the torque of the internal combustion engine together with an offset.

7. A calculation unit, comprising:
circuitry configured to perform a method for shutting off an internal combustion engine in a vehicle that includes an internal combustion engine and an electrical machine, the method comprising:
upon determining a beginning of a shutoff operation of the internal combustion engine, adapting an electrical torque of the electrical machine such that a total torque does not change per unit time by more than a predefined threshold, wherein the total torque includes at least a torque of the internal combustion engine and the electrical torque, wherein the adapting includes calculating a target torque of the electrical machine as a function of a present torque of the internal combustion engine and causing the electrical machine to adjust the electrical torque in accordance with the target torque, and wherein a time span of a transfer function of the electrical machine is taken into account in the calculation of the target torque of the electrical machine.

8. The method as recited in claim 1, wherein a time span of a transfer function of the electrical machine is taken into account in the calculation of the target torque of the electrical machine.

9. The method as recited in claim 1, wherein the target torque of the electrical machine is calculated in a calculation unit of the control system and is transferred from the calculation unit to a second calculation unit of the control system that adjusts the electrical torque, of the electrical machine, in accordance with the target torque.

10. The method as recited in claim 1, wherein the target torque of the electrical machine is calculated in a second calculation unit of the control system that adjusts the electrical torque, of the electrical machine, in accordance with the target torque, wherein information required for calculating the target torque is previously transferred from a first calculation unit of the control system to the second calculation unit.

11. The method as recited in claim 10, wherein a time span that is required for a data transfer from the first calculation unit to the second calculation unit is taken into account in the calculation of the target torque of the electrical machine.

12. A control system comprising:
at least one interface for interfacing with an electrical machine and a sensor; and
circuitry configured to perform a method for shutting off an internal combustion engine in a vehicle that includes the sensor, the internal combustion engine, and the electrical machine, the method comprising:
upon determining a beginning of a shutoff operation of the internal combustion engine, communicating with the electrical machine via the at least one interface to adapt, based on output obtained via the at least one interface from the sensor, an electrical torque of the electrical machine such that a total torque does not change per unit time by more than a predefined threshold, wherein the total torque includes at least a torque of the internal combustion engine and the electrical torque, wherein the adaptation includes calculating a target torque of the electrical machine as a function of a present torque of the internal combustion engine and causing the electrical machine to adjust the electrical torque in accordance with the target torque.

13. A method for shutting off an internal combustion engine in a vehicle that includes a machine comprising a control system, an internal combustion engine, and an electrical machine, the method comprising:
upon determining a beginning of a shutoff operation of the internal combustion engine, adapting, by the control system, an electrical torque of the electrical machine such that a change per unit time in a total torque is zero, wherein the total torque includes at least a torque of the internal combustion engine and the electrical torque, wherein the adapting includes calculating a target torque of the electrical machine as a function of a present torque of the internal combustion engine and causing the electrical machine to adjust the electrical torque in accordance with the target torque.

14. The method as recited in claim 13, wherein the target torque of the electrical machine corresponds to an offset plus a negative of the torque of the internal combustion engine scaled with a factor.