This invention concerns engine optimizing methods and apparatus by reference to an optimality parameter, preferably an energy or force parameter, by obtaining an error signal presenting the difference between a desired and an actual value of an operating parameter of the engine.
SAE paper 66022 entitled "Control System to Optimize Engine Power" of Jan. 10-14, 1966 discloses a method and apparatus of the general kind just mentioned. In that system, the torque developed at the crankshaft of an internal combustion engine is measured and maximized by an automatic adjustment of the ignition timing of the engine. The ignition timing is continuously varied about its current setting, preferably at a frequency between a tenth and a twentieth of the rotary speed of the engine, and compared with the torque changes thereby resulting. According to whether an in-phase or a counter-phase relation is present between ignition timing shift and torque variation, a new ignition timing adjustment is made until the maximum torque is reached. In consequence, however, an increase of operating noise of the engine must be taken into account as a cost of whatever advantages are obtained by this method.
Another known method is based on the premise that combustion with approximately maximum efficiency is always present when the maximum combustion pressure is found at a definite constant crankshaft angle after the upper piston deadpoint in the engine cylinder in which the combustion pressure is measured. Regulation for this involves measuring for each power stroke, the crankshaft angle at which the maximum combustion pressure appears and using that angle as an actual value for comparison with the known invariant crankshaft angle as a desired value. An error signal is thus derived and supplied to an integrating controller for setting the ignition timing. This method, however, does not produce any maximum efficiency when motors are measured which, as the result of manufacturing tolerances or where in operation, have properties deviating from the optimized test motor in which the definite invariant crankshaft angle in question was measured.
Summary of the Invention
It is an object of the present invention to provide a method and apparatus for optimizing the seting of a control of a cyclically operating machine, particularly the ignition timing of an internal combustion engine, so that an optimal efficiency adjustment of the machine is automatically set without the need of obtaining beforehand information regarding special crankshaft angles or other predetermined optimization data for the machine, and to do so without increase of machine noise or irregularity and without requiring time consuming recalculation of desired values. It is also important that the control be fast acting and useful for machines of high dynamic output.
Briefly, a controllable adjustment parameter, typically the ingition timing crankshaft angle of an internal combustion engine is controlled by comparison of a desired value with an actual value and the error signal is multiplied by the value of an optimality parameter, typically the power developed in a combustion stroke, to produce a correlation parameter signal for each cycle of the engine, which is then averaged with past values of the same obtained in a predetermined number of previous cycles of operation. The desired value of the adjustment parameter, thus the ignition timing angle in the case of an internal combustion engine, is then shifted in the direction having the higher probability of producing a zero value of the average correlation signal, except, of course, when the change of the desired value in either direction would have equal proability of reducing the average correlation signal. It is particularly advantageous for the extent of shift of the desired value to be proportional to the most recent valid average value, since in that way a rapid and precise convergence to the optimum desired value is obtained. For carrying out this method in an ignition timing system for an internal combustion engine, it is particularly useful to measure the work done during the combustion stroke in the engine by integration of the combustion chamber pressure in an integrator in order to utilize this work quantity as the optimality parameter. The forming the new desired value is particularly simple when between two combustion cycles the measured work is multiplied by the last error signal value and supplied to an integrating controller. This requires relatively few functional stages and storage components, such as involve increased hardware expense in analog electronic circuits or increased programming expense in microcomputer digital circuits or require relatively long time periods for carrying out their functions.
It is to be understood that the invention is not limited to the illustrated example described below. It can be applied wherever adjustment parameters of a cyclically operating machine are desired to be set at optimal adjustments of the machine, for example for regulating the composition of engine exhaust gas by control of fuel injection to minimize noxious effects of the exhaust gas composition, or energy development of a turbine by adjusting the turbine blade angle, etc. It is furthermore within the scope of the invention to utilize the process of the invention in a portion of a more elaborate control system.
Brief Description of the Drawings
The invention is further described by way of illustrative example with reference to the annexed drawings, in which:
FIG. 1 is a graph in which combustion chamber pressure is plotted against the crankshaft angle;
FIG. 2 is a graph of the work performed in an engine cylinder between an initial crankshaft position and a later crankshaft angle;
FIG. 3 is a graph of the value of crankshaft angle of maximum combustion chamber plotted against the ignition timing angle;
FIG. 4 is a graph in which an averaged value of the work quantity A of FIG. 2 is plotted against the crankshaft angle for maximum combustion chamber pressure;
FIG. 5 is a circuit block diagram of a control system for performing the method of the invention;
FIG. 6 is a functional diagram in the nature of a graph for explanation of the method of operation of the control system of FIG. 5, and
FIG. 7 is another diagram in the nature of a graph for illustrating the manner of operation of the control system of FIG. 5.
Description of the Illustrated Embodiment
FIG. 1 shows the course of the pressure p in a cylinder of an internal combustion engine plotted against crankshaft angle .alpha. for a revolution of the crankshaft during which a power stroke takes place. The upper deadpoint OT is designated by the intersection of a broken vertical line crossing the horizontal axes of the graphs of FIGS. 1 and 2 and this represents a zero value of the angle .alpha. at the lower deadpoint that the left extremity of the graph where .alpha.=-180.degree.. The piston of the cylinder in question is moved upward from its lower deadpoint to its upper deadpoint in a compression stroke during which pressure rises. Near the end of this compression stroke, at the angle .alpha..sub.z, ignition takes place with the beginning of combustion in the cylinder. The pressure in the combustion chamber of the cylinder rises even after the piston starts moving downward at the upper deadpoint OT, until a maximum pressure p.sub.max is reached at a crankshaft angle .alpha..sub.p,max. The pressure then falls with the expansion of the burned gases while the piston moves downward until the crankshaft .alpha. reaches 180.degree.. In a four-stroke internal combustion engine, the exhaust stroke then follows, and after that the intake stroke. These last two strokes are not shown for simplification of the diagram.
FIG. 2 is drawn so that the same horizontal scale of the angle .alpha. is provided as in FIG. 1. In FIG. 2, however, the ordinate, the integral of the work done, considered as the integral of the pressure over the cylinder volume integrated beginning with the lower deadpoint and ending at the particular angle .alpha. shown on the Abscissa. During the compressing of the gas in the cylinder until the upper deadpoint is reached, energy is consumed, so that the work done must be given a negative sign. After the upper deadpoint is passed, the expansion of the gas in the cylinder takes place, while a higher pressure is present during combustion than during compression. Accordingly, at the end of the combustion stroke, an energy gain A is reached. For practical measurement of the energy output A during a function cycle of the internal combustion engine, the pressure is not integrated over the volume, but is integrated, with a substitution, over the crankshaft angle .alpha.. The substitution factor (dependence of the volume on crankshaft angle) is measured for a particular motor beforehand and stored so that a corresponding table can be provided in a read-only memory (ROM) for each engine of the particular type, since it is not necessary to measure each motor of the same type individually.
FIGS. 3 and 4 describe the statitical behavior of the engine for constant ignition angle. FIG. 3 shows the statistical average value .alpha..sub.p, max for the crankshaft angle of maximum combustion chamber pressure for a constant setting of the ignition angle plotted as a function of an ignition angle. The function rises monitonically for negative ignition angles, namely for ignition at instants before the upper deadpoint is reached. FIG. 4 shows the dependence of the average mechanical energy A developed with respect to the average value of crankshaft angle at which the maximum combustion chamber pressure .alpha..sub.p,max is found. This function is convex, i.e., it has a definite maximum at a particular crankshaft angle of maximum combustion chamber pressure. It is clearly recognizable from comparison of FIG. 3 with FIG. 4 that by setting of an average ignition angle .alpha..sub.z the maximum of average developed mechanical energy can be obtained.
FIG. 5 shows the diagram of a control system connected to an internal combustion engine 1 for optimally setting the ignition angle .alpha..sub.z which is the adjustment parameter in this case. It is intended to make this adjustment so that the work developed in the engine 1 should be at a maximum. For simplification of the drawing, the presence of a pressure sensor for measuring the combustion chamber pressure p and of a crankshaft angle sensor for measuring the crankshaft angle .alpha., is indicated in the drawing merely by output connections designated p and .alpha. respectively, going out from the engine to other components 2 and 4. The component 2 is a stage for forming, from the signals provided by the sensors just mentioned, a signal corresponding to the crankshaft angle of maximum combustion chamber pressure .alpha..sub.p, max, which is the actual value of the optimality parameter which is to be used in a control loop for an ignition timing control 3, at the output of which the signal determining the ignition timing angle .alpha..sub.z is produced for the engine. A work measurement stage 4 produces from the sensor signals above-mentioned, a work quantity signal A by integration.
The error signal supplied to the ignition timing controller 3 is also multiplied by the measured value of the work A in a multiplier 5 to produce an input magnitude K (correlation parameter) for a desired value controller 6. The output of t the desired valued controller 6 is a desired angle value .alpha..sub.s which is furnished to the non-inverting input of a difference forming circuit 7 to which the actual value .alpha..sub.p,max is supplied to produce the error signal .alpha..sub.r for "correcting" the output timing signal of the ignition timing controller 3.
FIG. 6 shows the behavior of the control system of FIG. 5 for a steady-state operating condition, i.e., during an interval of observation in which the desired value .alpha..sub.s is unchanged.
Part (a) of FIG. 6 shows the values of the error signal .alpha..sub.r for eight combustion cycles. Part (c) of FIG. 6 similarly shows the values of the work quantity A obtained for the same eight combustion cycles at the output of the work value measurement stage 4. For understanding the relation between these two sets of values, there is shown in part (b) of FIG. 6 the curve (corresponding to FIG. 4) showing the relation of the work performed plotted against the crankshaft angle for maximum cylinder pressure .alpha..sub.p,max. This relation holds for steady-state operation at constant ignition angle. Since in steady-state operation the desired value .alpha..sub.s is unchangeable, and the error signal .alpha..sub.r is not itself averaged, the respective values of the work A are to be found by reflecting the values of the error signal .alpha..sub.r about the steady-state desired value .alpha..sub.s at the characteristic curve shown in part (b) of FIG. 6. For each combustion cycle, the value of the measured work A is multiplied in the multiplier 5 by the applicable error signal .alpha..sub.r, thus producing the output values K of the multiplier 5 for the eight combustion cycles shown in part (d) of FIG. 6.
A horizontal broken line M in part (d) of FIG. 6 shows an average value of the output values K of the multiplier. Since these output values K operate on the desired value controller 6 which has integrating behavior, the desired value .alpha..sub.s will change at the output of the desired value controller 6 and will do this in the direction towards larger ignition angle, so that a desired value shift for producing higher developed mechanical work is obtained.
FIG. 7 shows the case of control system behavior when the desired value .alpha..sub.s lies behind the optimum desired value. FIG. 7, like FIG. 6, is in four parts, a part (a) showing the error signals .alpha..sub.r, a part (b) showing the measured values of work A and a part (d) showing the output signal K of the multiplier 5. The average value of the output signal K is negative, which leads to a diminution of the desired value .alpha..sub.s by the integrating behavior of the desired value controller 6.
In summary, it may be said that the behavior of the control system illustrated in FIGS. 6 and 7 shows that a desired value .alpha..sub.s is automatically set at which the work A developed by the internal combustion engine is at a maximum. When that is established, the error signal .alpha..sub.r and the measured value of the work A which appear are also correlated and, at the output of the multiplier 5, there is a pulse sequence of signals K having a zero average value, so that the desired ignition angle value .alpha..sub.s remains stable. An outstanding feature of this control of the ignition timing of an internal combustion engine in accordance with the present invention is its dynamic behavior. Rapid changes in load are coped with by the rapid control of the ignition angle with respect to a predetermined location of the pressure maximum by the rapid control provided by the actual value computing stage 2 and the ignition controller 3. By its capability for slow alteration of the desired value, the control system provides an optimal ignition angle independently of those operating of the parameters of the engine subject to slow persistent changes such, as, for example, temperature changes.
Although the invention has been described with respect to a particular illustrative example, it will be understood that variations and modifications are possible within the inventive concept. For example, the pressure may be measured in all of the cylinders of the engine and correlated with the respectively correct relative crankshaft angles, or it may be measured in only a few cylinders out of many, or in only one.