TF Electronics Throttle Controller

Similar documents
OVEN INDUSTRIES, INC. Model 5C7-362

PID. What is PID and how does it work? Auto tuning PID with the 5400 Controller. Visit our website at:

Experiment 9. PID Controller

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive

Application Note CTAN #287

Technical description of the fuel tank sensor "Escort TD-500"

PLC Water Pump Control

Introduction To Temperature Controllers

CT435. PC Board Mount Temperature Controller

CHAPTER 7 HARDWARE IMPLEMENTATION

TECHNICAL DATASHEET #TDAX A DC MOTOR CONTROLLER P/N: AX Variable Speed Control, Onboard I/O CAN SAE J1939, Rugged Packaging

Different Controller Terms

Instruction Manual for the Software of ASSAN V2 Series Receiver

PID Control Technical Notes

PLEASE READ FIRST (NEW 2011 VERSION) Main features:

6.4 Adjusting PID Manually

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

Basic Tuning for the SERVOSTAR 400/600

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

Granular Spinner Spreader Module Quick Reference Sheet

PID control. since Similarly, modern industrial

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

InstaSPIN-BLDC Lab. DRV8312 Setup Jumpers and switches must be setup properly or the kit will not function correctly!

Equipment and materials from stockroom:! DC Permanent-magnet Motor (If you can, get the same motor you used last time.)! Dual Power Amp!

Test Bench Timing V3.1

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

PSF-520 Instruction Manual

TC LV-Series Temperature Controllers V1.01

STEP 3: TIME PROPORTIONING CONTROL If you re using discrete outputs for PID control, you will need to determine your time period for the output.

Advanced Servo Tuning

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

12. ELECTRONICS & INSTRUMENTATION FOR TEMPERATURE

6.270 Lecture. Control Systems

New Eagle PWM to Analog Converter

Controller Algorithms and Tuning

Chapter 5. Tracking system with MEMS mirror

Ultimate Actuator Drivebox 30A Quick start guide

The MFT B-Series Flow Controller.

Lab 5: Inverted Pendulum PID Control

This product is intended for off-road use. TurboTweak cannot be held responsible for any damage resulting from the use of this product.

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

PL420 PROGRAMMABLE LOGIC CONTROLLER

Ocean Controls KT-5221 Modbus IO Module

Introduction to Servo Control & PID Tuning

Servo Tuning Tutorial

2 Thermistor + Op-Amp + Relay = Sensor + Actuator

Lab 5: Control and Feedback. Lab 5: Controls and feedback. Lab 5: Controls and Feedback

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

DXXX Series Servo Programming...9 Introduction...9 Connections HSB-9XXX Series Servo Programming...19 Introduction...19 Connections...

A Model-Based Development Environment and Its Application in Engine Control

Training Schedule. Robotic System Design using Arduino Platform

EE 308 Spring Preparation for Final Lab Project Simple Motor Control. Motor Control

New Eagle PWM to Analog Converter

FLL Programming Workshop Series

User manuel. Hybrid stepper servo drive

Using CME 2 with AccelNet

A PID Controller For Lego Mindstorms Robots

Lesson 3: Arduino. Goals

QuickBuilder PID Reference

Control System for Lamp Luminosity. Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010

Automationdirect.com. D i r e c t L o g i c L o o p P I D C o p r o c e s s o r F P I D

Section 2: Functions... 7 PI Tuning... 8

Configuration Example of Temperature Control

Sensors and Sensing Motors, Encoders and Motor Control

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Switch Mode Power Conversion Prof. L. Umanand Department of Electronics System Engineering Indian Institute of Science, Bangalore

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

Module: Arduino as Signal Generator

5008 Dual Synthesizer Configuration Manager User s Guide (admin Version) Version valontechnology.com

Understanding the Arduino to LabVIEW Interface

MBE - Fault Codes for EPA98 engines (non-egr)

T6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224

Lab 2: Introduction to Real Time Workshop

EET 273 Experiment Introduction to Loop Control

Temperature Monitoring and Fan Control with Platform Manager 2

Relay Driver Overview and Applications

IMPLEMENTATION AND DESIGN OF TEMPERATURE CONTROLLER UTILIZING PC BASED DATA ACQUISITION SYSTEM

External Source Control

Lab 23 Microcomputer-Based Motor Controller

Software Operational Manual

Contents Technical background II. RUMBA technical specifications III. Hardware connection IV. Set-up of the instrument Laboratory set-up

An Introduction to Programming using the NXT Robot:

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

Castle Creations, INC.

Care and Feeding of the One Bit Digital to Analog Converter

SSI-4 PLUS User Manual

Testing and Stabilizing Feedback Loops in Today s Power Supplies

QUICK SETUP GUIDE: Firewire/mLAN MACINTOSH OSX Cubase AI4 / Studio Manager / Motif XS Editor / Mac OSX

Getting the Best Performance from Challenging Control Loops

Teaching Children Proportional Control using ROBOLAB 2.9. By Dr C S Soh

Automotive Sensor Simulator. Automotive sensor simulator. Operating manual. AutoSim

Exercise 5: PWM and Control Theory

Power IT LV Active Filters PQFA - PQFL - PQFT

Care and Feeding of the One Bit Digital to Analog Converter

ARDUINO BASED DC MOTOR SPEED CONTROL

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24

Sensors and Sensing Motors, Encoders and Motor Control

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

Software User Manual

Transcription:

TF Electronics Throttle Controller Software Installation: Double click on TFEsetup.exe file to start installation. After installation there will be a shortcut on your desktop. Connecting the USB cable for the first time: Connect the USB cable to your PC and the throttle controller. The PC will recognize the controller and assign a port. Do NOT apply power to the controller. From the toolbar select Start > Settings > Control Panel and double click on the System icon. Click the Hardware tab and then select Device Manager. Click on Ports and look for CP210x USB to UART Bridge Controller. Note the COM port number that this device is using. Close all windows. Software Setup Settings: Double on the DBWsetup icon on your desktop to run the software. Click Edit and then COM Settings from the menu. Select the com port number. Click Ok. Apply power to the controller and press F3 to go online. Click Edit and then TPS Calibrate from the menu. Follow the instructions to calibrate the throttle pedal range. When finished click close and then press F4 on your keyboard to lock the changes into the controller. Your throttle controller is now ready to use. Hotkeys: F2.Save calibration to a file F3.Go online or offline with the controller F4.Locks the changes into the controller

Software Settings: Throttle Motor PID Settings: See PID Tuning part of this manual for detailed information on PID s and how to tune these. It is recommended that you do not change these settings, as incorrect settings could cause the throttle control to be lost and cause excessive engine RPM. Proportional: Default setting 150 Integral: Default setting 4 Derivative: Default setting 250 Idle Speed Settings: Base Idle Speed Offset is the amount of throttle offset required to get the engine to idle at the RPM you require. This value is not in engine RPM. AC extra air percentage is the amount of extra throttle opening when the Air Conditioner is switched on. This can also be used on car running antilag to open the throttle to get extra air. Stall Saver sets the amount of extra throttle opening when the engine is decelerating. This setting times out after six seconds. Cold Start Fast Idle: The values in this table are added to the Base Idle Speed offset. These values are not in engine RPM. Real Time Data: These show the current coolant temperature and engine RPM. Also the throttle pedal and throttle butterfly position. These values are displayed in raw data from the controller. The value range is 0 to 1024, with 237 to 708 being normal values.

Setup Settings: Com Port: Sets the COM port assigned to the CP210x USB interface on the controller. See Software Setup Settings in this manual on how to set this. RPM Scale: Calibrates the RPM signal into the controller. For the Ford XR6 cars, 6 is the correct value. Enable AC extra air as Antilag fast idle: Check this box to turn on this feature. Pin-out: Pin Description Ford ECU Pin 1 Throttle control motor (-) A27 (TM pin 1) 2 Throttle control motor (+) A28 (TM pin 2) 3 Sensor ground A20 or A21 or B28 4 AC compressor on/off signal 5 Auxiliary analog input Not used 6 Throttle body Sub signal A16 (TB pin D) 7 +12v Ignition switch I/P B9 8 Ignition control relay output -ve Not used 9 10 RPM input signal? 11 Coolant temperature signal A45 12 Foot pedal Sub signal (Diode required, see Fig 1) B18 (TP pin 5) 13 +12v Power supply B34 or B46 14 Ground B10 or B11 or B12 15 16 17 Foot pedal Main signal B19 (TP pin 8) 18 Throttle body Main signal A44 (TB pin A) TM = Throttle Motor - TB = Throttle Body - TP = Throttle Pedal

ECU Throttle Position Signal: The SM4 requires a throttle position signal. This signal is taken from the foot pedal sub signal. A signal diode is required to isolate the ECU TPS input from the Electronic Throttle controller input signals. Adding a 1N4148 small signal diode as shown below is required. Fig 1 Understanding PID Control Most control systems utilize feedback in some manner. Here's a look at several fundamental feedback mechanisms, culminating in a description of a basic PID controller. Many real-time embedded systems make control decisions. These decisions are usually made by software and based on feedback from the hardware under its control (termed the "plant"). Such feedback commonly takes the form of an analog sensor that can be read via an A/D converter. A sample from the sensor may represent position, voltage, temperature, or any other appropriate parameter. Each sample provides the software with additional information upon which to base its control decisions. Closed loop control: Systems that utilize feedback are called closed-loop control systems. The feedback is used to make decisions about changes to the control signal that drives the plant. By contrast, an open-loop control system doesn't have or doesn't use feedback. Fig 2 A basic closed-loop control system is shown in Figure 2. This figure can describe a variety of control systems, including those driving elevators, thermostats, and cruise control.

Closed-loop control systems typically operate at a fixed frequency. The frequency of changes to the drive signal is usually the same as the sampling rate, and certainly not any faster. After reading each new sample from the sensor, the software reacts to the plant's changed state by recalculating and adjusting the drive signal. The plant responds to this change, another sample is taken, and the cycle repeats. Eventually, the plant should reach the desired state and the software will cease making changes. If feedback indicates that the temperature in your home is below your desired setpoint, the thermostat will turn the heater on until the room is at least that temperature. Similarly, if your car is going too quickly, the cruise control system can temporarily reduce the amount of fuel fed to the engine. Bang bang How much should the software increase or decrease the drive signal? One option is to just set the drive signal to its minimum value when you want the plant to decrease its activity and to its maximum value when you want the plant to increase its activity. This strategy is called on-off control, and it is how many thermostats work. On-off control doesn't work well in all systems. If the thermostat waits until the desired temperature is achieved to turn off the heater, the temperature may overshoot. See Figure 2. The same amount of overshoot and ripple probably isn't acceptable in an elevator. Proportional control is the primary alternative to on-off control. If the difference between the current plant output and its desired value (the current error) is large, the software should probably change the drive signal a lot. If the error is small, it should change it only a little. In other words, we always want a change like: P * (desired - current) where P is a constant proportional gain set by the system's designer. For example, if the drive signal uses PWM, it can take any value between 0% and 100% duty cycle. If the signal on the drive is 20% duty cycle and the error remaining at the output is small, we may just need to tweak it to 18% or 19% to achieve the desired output at the plant. If the proportional gain is well chosen, the time the plant takes to reach a new setpoint will be as short as possible, with overshoot (or undershoot) and oscillation minimized.

Unfortunately, proportional control alone is not sufficient in all control applications. One or more of the requirements for response time, overshoot, and oscillation may be impossible to fulfill at any proportional gain setting. A Derivative alternative The biggest problem with proportional control alone is that you want to reach new desired outputs quickly and avoid overshoot and minimize ripple once you get there. Responding quickly suggests a high proportional gain; minimizing overshoot and oscillation suggests a small proportional gain. Achieving both at the same time may not be possible in all systems. Fortunately, we do generally have (or can derive) information about the rate of change of the plant's output. If the output is changing rapidly, overshoot or undershoot may lie ahead. In that case, we can reduce the size of the change suggested by the proportional controller. The rate of change of a signal is also known as its derivative. The derivative at the current time is simply the change in value from the previous sample to the current one. This implies that we should subtract a change of: D * (current - previous) where D is a constant derivative gain. The only other thing we need to do is to save the previous sample in memory. In practice, proportional-derivative (PD) controllers work well. The net effect is a slower response time with far less overshoot and ripple than a proportional controller alone. Integration A remaining problem is that PD control alone will not always settle exactly to the desired output. In fact, depending on the proportional gain, it's altogether possible that a PD controller will ultimately settle to an output value that is far from that desired. The problem occurs if each individual error remains below the threshold for action by the proportional term. (Say the error is 3, P = 1/8, and integer math is used.) The derivative term won't help anything unless the output is changing. Something else needs to drive the plant toward the setpoint. That something is an integral term. An integral is a sum over time, in this case the sum of all past errors in the plant output: Even though the integral gain factor, I, is typically small, a persistent error will eventually cause the sum to grow large and the integral term to force a change in the drive signal. In practice, the accumulated error is usually capped at some maximum and minimum values. In summary, on-off and proportional control are the two basic techniques of closedloop control. However, derivative and/or integral terms are sometimes added to porportional controllers to improve qualitative properties of a particular plant's response. When all three terms are used together, the acronym used to describe the controller is PID.