Diesel Engine Model
Diesel Engine Model
151-163
(pISSN: 2541-5972, eISSN: 2548-1479) 151
Figure. 6. PI Controller
By changing these values, the injection of fuel rack
results will be more similar to the real measured data.
Then there is another input in the left, which is the (1)
engine omega or angular velocity of the engine in the
crankshaft. This value is important because it will also be • Load Control block
used in the consumption formula.
The second block is the load control block. Inside the
The consumption formula is located in the top section
block, there are set of subsystems and connections which
of the figure. The whole blocks and connection of the
are controlling the load of the engine, the torque
formula is a translation from the mathematical model.
reference, and the inputs of torque reference.
The mathematical formula for the consumption is
On the left side, there are two inputs, which are the B. Model Development
actual torque of the engine and the actual torque of the The model for this thesis is running as a model, but it is
break. This break is equipment to transfer the torque still not similar to a real engine. In this case, the engine
from the engine crankshaft to the measurement that is used for comparison is the engine in the laboratory
equipment. This is because there is no way to actually of the University. To create a similar running process
measure the torque directly in the crankshaft while the from the model, some adjustments must be made.
piston is pushing it down. Therefore the system will be • Structural Change
using a two-mass configuration. This two-mass system The first model is different from the model that is
requires another inertia factor so that the system can run currently used in this thesis. It has been modified by
as similar to the real engine. The first part is the engine changing some blocks and even adding other blocks to
inertia. This is not modified much because the model create a more similar results from the simulation. The
already uses this in the previous block configuration. first change that was made was changing the way the
There is an addition of a brake inertia block. This block losses of the engine to be calculated. In the first model,
is similar to the diesel inertia block, but the difference is the losses for the incomplete combustion are included in
at the inertia of the part itself. For the engine inertia, the the losses system, but this can be simplified by
value is 45 kg.m2, but at the break inertia, the value is separating the incomplete combustion losses to be
3.6 kg.m2 (6). Another added part is the stiffness block. another type of losses. Therefore the accuracy of the
This is to represent the elasticity of the coupling that calculation is increased. And then the whole incomplete
connects the two mass of inertia. This stiffness will be a combustion is not affecting the calculation of the
load input to the engine inertia, but for the break inertia, efficiency anymore, but it is added to the total losses,
it will be the source of input. This way, the actual system which will be used to subtract the power to get the real
as the coupling is done. usable power.
International Journal of Marine Engineering Innovation and Research, Vol. 5(3), Sept. 2020. 151-163
(pISSN: 2541-5972, eISSN: 2548-1479) 159
Then the engine control block also gets a solved by adding the new formula to the model. And
modification. First, there is a problem with the fuel this formula is the calculation of the fuel
rack position being too low for the whole process. In consumption itself. In this formula, the fuel rack is
the first model, the consumption is calculated in the used to calculate fuel consumption. Therefore the
engine process block, which gets its input by the flow value of the power and torque are more similar to that
rate or, in this case, the fuel rack for the model. But of a real running engine. This consumption formula is
this is not exactly true, because the flow rate is not explained in the chapter above regarding the engine
equivalent to the fuel rack position. This problem is control block.
(7)
In the formula above, the variable [s] is for some
integral value, or in other words, the error value,
which will be used as an integral value. This integral
formula is already added to the model as an integrator
block.
TABLE 1.
KP AND KI
Rise Time Overshoot Oscillation
The table above is explaining what the Kp and Ki times the Ku. After the Kp value is obtained, the Ki
actually do in a certain graph. While the Kp is getting value will be increased steadily until the desired data is
higher, the rise time or the time for the process to get to acquired. (7)
the desired point is decreased. Therefore the ramp or When using the Ziegler-Nichols method, the model is
graph will slightly tilt to the time axis. It is the same for slightly modified to accommodate the needs of the
the Ki, but because Ki is an integral, therefore the time to controller. Due to the existence of another controller
get to the desired point will not be affected as much. beside the engine control unit, then the other controller,
Instead, the overshoot from the graph will increase which is the load control, must be turned off. This can be
significantly. The oscillation is located after the done by adding a limitation at the end of the controller,
overshoot. While the Kp will not affect the oscillation which limits the output to a certain value as constant.
greatly, it will still be a difference in the period of the Therefore the controller will act as if it is off. This way,
oscillation. The Ki, on the other hand, will affect the the load control will not affect the engine control. After
oscillation greatly, because if the Ki is higher, then the that, the engine control inputs will be changed according
oscillation will occur in a shorter period of time. Which to the method. First, the Ki will be turned to zero. Then
will result in a more unstable graph after the overshoot?. the Kp will be increased from zero to a certain value
There is a method for PI controller development. It is until the graph is constantly oscillating. The value that is
called the Ziegler-Nichols method. This method starts by achieved is 3. This represents the Ku or the ultimate
reducing the Ki or the integral gain to zero and then proportional gain. Then according to the theory, the Kp
increasing the Kp or the proportional gain until it should be 1.35. By this value, the Ki is increased until
generates a constant oscillation. Once the graph is the desired graph is achieved. For this matter, the value
constantly oscillating, the Kp value of that operating of the Ki is changed to 0.08 at first.
point will then be called the ultimate gain (Ku). Then the But when the load controller is turned on, the graph
estimated Kp value for the model should be about 0.45 starts to oscillate once more. Therefore some changes in
International Journal of Marine Engineering Innovation and Research, Vol. 5(3), Sept. 2020. 151-163
(pISSN: 2541-5972, eISSN: 2548-1479) 161
the controller input, both in the engine control and the will be logged into the excel sheet and then be compared
load control, should be done. But especially in the engine with the measured data. This way, the process will be
controller, the input should be changed in accordance easier.
with the calculated value so that it does not differ too
much from the first value. C. Analysis of Data
To analyze this matter, an excel sheet which contains The static operation data is compared with measured
the measured data and the graph created from that data, which have some static points. The model is
measured data is necessary. The data from the Simulink developed based on the result of this comparison.