AME 30315 Pendulum Project: Difference between revisions

From Bill Goodwine's Wiki
Jump to navigationJump to search
Goodwine (talk | contribs)
Created page with "== Introduction == In this project you will design a feedback controller to stabilize an inverted pendulum. The basic steps are: # system identification, # controller design, # ..."
 
Goodwine (talk | contribs)
Line 12: Line 12:
# a d.c. motor with optical encoder,
# a d.c. motor with optical encoder,
# an H-bridge current controller (the device with the heat sinks),
# an H-bridge current controller (the device with the heat sinks),
# a [http://en.wikipedia.org/wiki/Freescale_68HC11 Freescale 68hc11 8-bit microcontroller] with peripherals.
# a [http://en.wikipedia.org/wiki/Freescale_68HC11 Freescale 68hc11 8-bit microcontroller] with peripherals, and
# a usb-port logic analyzer.
The microcontroller is [http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC11F1&tab=Buy_Parametric_Tab&nodeId=01624684498635&pspll=1&fromSearch=false very inexpensive] and has limited capability, as is realistic in industry where component costs are of significant importance.
The microcontroller is [http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC11F1&tab=Buy_Parametric_Tab&nodeId=01624684498635&pspll=1&fromSearch=false very inexpensive] and has limited capability, as is realistic in industry where component costs are of significant importance.
You will need to use one of the desktop computers in XXXXX Stinson-Remick.  Those computers should have the following software installed:
* the [http://www.gnu.org/software/m68hc11/m68hc11_gcc.html 68hc11 port of the gcc compiler] (look in xxxxxxx)
* putty, to be able to communicate with the microcontroller over the serial port
* notepadd++, for editing your programs
* the logic analyzer (????), whi

Revision as of 14:10, 15 March 2012

Introduction

In this project you will design a feedback controller to stabilize an inverted pendulum. The basic steps are:

  1. system identification,
  2. controller design,
  3. implementation and verification.

The first and third steps require that you be able to program a microcontroller. The second step requires that you understand the course material.


The System

The pendulum and controller are shown in the figure on the right. It is comprised of

  1. the pendulum,
  2. a d.c. motor with optical encoder,
  3. an H-bridge current controller (the device with the heat sinks),
  4. a Freescale 68hc11 8-bit microcontroller with peripherals, and
  5. a usb-port logic analyzer.

The microcontroller is very inexpensive and has limited capability, as is realistic in industry where component costs are of significant importance.

You will need to use one of the desktop computers in XXXXX Stinson-Remick. Those computers should have the following software installed:

  • the 68hc11 port of the gcc compiler (look in xxxxxxx)
  • putty, to be able to communicate with the microcontroller over the serial port
  • notepadd++, for editing your programs
  • the logic analyzer (????), whi