The engine control unit controls the operation of a fuel-injected engine based on various sensor measurements. It computes the injector pulse width and spark advance angle based on the throttle position, RPM, intake air volume, and other variables. The controller must deal with sensor readings at different sampling rates and applies corrections to the initial pulse width and spark advance calculations based on other factors like intake air temperature. It has a multi-task architecture with processes to compute the control parameters for the spark plugs and injectors using physical sensor classes.
The engine control unit controls the operation of a fuel-injected engine based on various sensor measurements. It computes the injector pulse width and spark advance angle based on the throttle position, RPM, intake air volume, and other variables. The controller must deal with sensor readings at different sampling rates and applies corrections to the initial pulse width and spark advance calculations based on other factors like intake air temperature. It has a multi-task architecture with processes to compute the control parameters for the spark plugs and injectors using physical sensor classes.
The engine control unit controls the operation of a fuel-injected engine based on various sensor measurements. It computes the injector pulse width and spark advance angle based on the throttle position, RPM, intake air volume, and other variables. The controller must deal with sensor readings at different sampling rates and applies corrections to the initial pulse width and spark advance calculations based on other factors like intake air temperature. It has a multi-task architecture with processes to compute the control parameters for the spark plugs and injectors using physical sensor classes.
• This unit controls the operation of a fuel-injected engine based on several measurements taken from the running engine. 5.12.1)Operation and Requirements • The throttle is the command input. • The engine measures throttle, RPM, intake air volume, and other variables. • The engine controller computes injector pulse width and spark. 5.12.2)Requirements 5.12.3)Specification • The engine controller must deal with processes at different rates • ΔNE and ΔT to represent the change in RPM and throttle position. • Controller computes two output signals, injector pulse width PW and spark advance angle S. • S=k2X ΔNE-k3VS • The controller then applies corrections to these initial values • If intake air temperature (THA) increases during engine warm-up, the controller reduces the injection duration. • If the throttle opens, the controller temporarily increases the injection frequency. • Controller adjusts duration up or down based upon readings from the exhaust oxygen sensor (OX). 5.12.4)System architecture
• The two major processes, pulse-
width and advance-angle, compute the control parameters for the spark plugs and injectors. • Control parameters rely on changes in some of the input signals. • Physical sensor classes used to compute these values. • Each change must be updated at the variable’s sampling rate. 5.12.5)State diagram for throttle position sensing • Throttle sensing, which saves both the current value and change in value of the throttle. 5.12.6)State diagram for injector pulse width • In each case, the value is computed in two stages, first an initial value followed by a correction.
State diagram for spark advance angle
5.12.7)Component design and testing • Various tasks must be coded to satisfy the requirements of RTOS processes. • Variables that are maintained across task execution, such as the change-of-state variables, must be allocated and saved in appropriate memory locations. • Some of the output variables depend on changes in state, these tasks should be tested with multiple input variable sequences to ensure that both the basic and adjustment calculations are performed correctly.