PID Control of a Remote Controlled Car - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

PID Control of a Remote Controlled Car

Description:

Remote control vehicle with one motor for turning and one for forward and reverse motion ... Motor unacceptable to program for true PID control ... – PowerPoint PPT presentation

Number of Views:96
Avg rating:3.0/5.0
Slides: 9
Provided by: computatio
Category:

less

Transcript and Presenter's Notes

Title: PID Control of a Remote Controlled Car


1
PID Control of a Remote Controlled Car
  • John J. Noegel

2
Purpose
  • To become familiar with the operation of a handy
    board and the coding involved in controlling a
    system.

3
Problem Statement
  • To use a Handy board to control a remote control
    vehicle to follow a wall at a specified distance
    and follow codes by priority

4
Test Background
  • Remote control vehicle with one motor for turning
    and one for forward and reverse motion
  • Two IR sensors One for staying a specified
    distance from the wall and the other for
    obstacles
  • Involve priority coding in the program

5
PID Programming
  • Set Point 228 (desired distance for IR)
  • Kp 32, Ki 2, Kd 0.1,
  • ts 0.001
  • c_error set-y ( y analog input of IR)
  • power (Kpc_error)Ki(integral)de_dt(Kd)
  • integral 0.5(c_errorp_error)ts
  • de_dt (c_error-p_error)/ts
  • motor(1,(int)power) (turn motor)

6
Final PID Control of System
7
Conclusions
  • Attempted to tune PID three times unsuccessfully
  • Motor unacceptable to program for true PID
    control
  • System can be made to operate without constraints
    of testing, but operation could be much cleaner

8
Recommendations
  • Use a system without a 3 position motor (all on
    right, all on left, or off)
  • Use a system preferably with position sensitive
    motor or install an actuator to control position
    of motor
Write a Comment
User Comments (0)
About PowerShow.com