background image

8

|

ni.com

|

NI 9759 User Manual

The throttle control algorithm involves four major functions:

1.

The angle setpoint (reference), ThetaR is compensated by a user defined lead and lag time. 
These parameters will sharpen or dull the changes in setpoint.

2.

A proportional, integral and derivative action is calculated based on two sets of PID gains, 
above or below the default limp-home region. The reason for two sets of gains is because 
electronic throttle bodies typically have stiffer spring return rates applied to angles below 
the limp-home region.

3.

A limp-home compensation value is added to the PID value to assist with travel through the 
limp-home region. This compensation can minimize the flat control spot often found as the 
throttle plate moves through the limp-home region.

4.

A stiction compensation value is added to the PID value to assist with small error control. 
When the throttle plate approaches the setpoint, stiction in the throttle motor gearing can be 
significant enough such that PID control alone will cause integral overshoot. Stiction 
compensation will apply small alternating forces to assist the PID integral action.

5.

Battery voltage compensation is optionally added to the final output to compensate for 
battery voltage fluctuations away from the nominal voltage.

In general, the final voltage u (V) is a sum of three components and optionally multiplied by a 
battery compensation factor:

u (V) = [PID(V) + Stiction Comp(V) + Limp-Home Comp(V)] x Battery Comp Factor

The first calibration which the user should tune is throttle angle versus sensor voltage. A linear 
equation can be used, as well as a two-point 1D lookup table. 

1.

Manually close the throttle plate completely to determine the minimum sensor voltage. If 
the radii of the throttle body opening and the throttle plate are measured, then the minimum 
throttle angle can be calculated by using an inverse cosine calculation, or by approximating 
the small angle with sine. 

2.

Manually open the throttle plate to wide-open-throttle, noting the maximum sensor voltage. 

3.

Assume the wide-open-throttle angle to be 90 degrees. 

4.

After calibrating for position versus voltage, enter the value for ThetaLH (default 
limp-home position). It is recommended that the sensor voltages entered into the position 
calibration for the upper and lower limits be slightly narrowed so that position control at 
these points does not overwork the driver, trying to achieve positions that are not possible 
as sensing conditions change. Another way to prevent this condition is to limit the setpoint 
range to a small position away from the physical limits.

5.

Implement a filter on throttle position. A second order, lowpass Butterworth filter with a 
cuttoff frequency of 25 Hz is suggested. The filter is most effective during small-error 
control. 

6.

The 

throttle_rt_data_convert_revx.vi

 already implements a 25 Hz filter on the 

analog input voltages. If this VI is used for position, a filter is not required.

7.

Begin control calibration with zero for all Lead/Lag, PID and compensation calibration 
parameters. 

8.

Begin tuning PID gains for angles above ThetaLH. 

Summary of Contents for 9759

Page 1: ...onic Throttle Driver Module Contents Introduction 2 Pinout 2 Hardware 3 Powering the Module 3 Platform Compatibility 3 H Bridge Drivers 4 Analog Inputs 5 Throttle Control 7 Compliance and Certifications 9 Physical Specifications and Characteristics 11 ...

Page 2: ...tly and a set of RT VIs which allow the user to calibrate the throttle control algorithm in engineering units The FPGA VI may be used by itself for driving any small DC motor other than an electronic throttle This manual will focus on the application of electronic throttle position control The features included are listed below Features 2 Ch H Bridge Drivers for dual electronic throttle control 2 ...

Page 3: ...a maximum of 60 W peak and 30 W continuous Driving two throttles at full load requires a maximum 120 W peak and 60 W continuous The NI 9759 requires both external power and power from the CompactRIO backplane The NI 9759 directs the high current path through the BATT 0 and GND 9 terminals on the front of the NI 9759 and not through the HD15 backplane connector Note The NI 9759 will not be recogniz...

Page 4: ...uto detection or ID mode H Bridge Drivers The NI 9759 includes a CompactRIO cRIO module for driving passenger car electronic throttle bodies up to 70 mm in diameter A typical example of electronic throttle bodies which the NI 9759 is capable of driving is the Bosch DV E5 series which range from 32 mm to 68 mm in diameter The NI 9759 is capable of driving most other electronic throttle bodies withi...

Page 5: ...uts are sampled with a single multiplexed A D converter at an aggregate rate of 17 84 kHz Each analog signal is sampled at 2 23 kHz The A D result can be used directly at the FPGA level in ADC counts or at the RT level in converted engineering units The external analog inputs are protected from 6 V to 12 V inputs The external analog inputs are for connecting all wires of an electronic throttle dir...

Page 6: ...for controlling single or dual throttles respectively Table 1 below shows the terminal connections to a standard Bosch DV E5 electronic throttle body Figure 2 Terminal Connections to a Single Electronic Throttle Body Figure 3 Terminal Connections to Dual Electronic Throttle Bodies ...

Page 7: ...voltage is applied by means of a PWM duty cycle with battery voltage being the maximum possible voltage The control voltage may be compensated for actual battery voltage if it deviates from the nominal battery voltage according to BattCompEnable The compensated voltage is converted to a signed PWM duty cycle at a fixed frequency of 500 Hz The throttle control VI output results are in terms of 40 M...

Page 8: ...Comp V x Battery Comp Factor The first calibration which the user should tune is throttle angle versus sensor voltage A linear equation can be used as well as a two point 1D lookup table 1 Manually close the throttle plate completely to determine the minimum sensor voltage If the radii of the throttle body opening and the throttle plate are measured then the minimum throttle angle can be calculate...

Page 9: ...tions Safety This product meets the requirements of the following standards of safety for electrical equipment for measurement control and laboratory use IEC 61010 1 EN 61010 1 UL 61010 1 CSA 61010 1 Electromagnetic Compatibility This product meets the requirements of the following EMC standards for electrical equipment for measurement control and laboratory use EN 61326 1 IEC 61326 1 Class A emis...

Page 10: ...e it use the Return Material Authorization RMA process or contact an authorized National Instruments service representative For more information about compliance with the EU Battery Directives 2006 66 EC about Batteries and Accumulators and Waste Batteries and Accumulators visit ni com environment batterydirective Ferrite Requirement for EMC Compliance Install clamp on ferrite beads onto both the ...

Page 11: ...ing Pollution Degree 2 Ingress Protection IP30 For indoor use only If you need to clean the module wipe it with a dry towel Safety Guidelines Caution Do not operate the NI 9759 in a manner not specified in these operating instructions Product misuse can result in a hazard You can compromise the safety protection built into the product if the product is damaged in any way If the product is damaged ...

Page 12: ...truments products technology refer to the appropriate location Help Patents in your software the patents txt file on your media or the National Instruments Patents Notice at ni com patents You can find information about end user license agreements EULAs and third party legal notices in the readme file for your NI product Refer to the Export Compliance Information at ni com legal export compliance ...

Reviews: