Motor Control of an Oscillating Pendulum Nick Myers and Chirag Patel March 9, 2004 Advised by: Dr. James Irwin and Mr. Jose Sanchez Bradley University.

Slides:



Advertisements
Similar presentations
Intro to Digital Logic. What does Digital mean? A method of storing, processing and transmitting information through the use of distinct electronic or.
Advertisements

MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
In this presentation you will:
Wiring the new control system MVRT 2010 – 2011 Season.
Active Suspension System Test Platform Bradley University Department of Electrical & Computer Engineering By: Craig Chan & Olusegun Michael Abidoye Advisor:
A.G.I.L.E Team Members: Brad Ramsey Derek Rodriguez Dane Wielgopolan Project Managers: Dr. Joel Schipper Dr. James Irwin Autonomously Guided Intelligent.
Group 4 Rotationally Refreshed Display Patrick Boyd Daniel Hill.
Motor Control of an Oscillating Pendulum Nick Myers and Chirag Patel March 9, 2004 Advised by: Dr. James Irwin and Mr. Jose Sanchez Bradley University.
Electrical and Computer Engineering iLights Nick Wittemen, EE Chris Merola, EE José Figueroa, EE Matt Ryder, EE Comprehensive Design Review.
Craig Chan & Mike Abidoye
1 Bradley University ECE Department EE452 – Sr. Capstone Project Computer Network Controlled Etch-A-Sketch ® Final Presentation 4/28/05 Dream Team members:
The Solar Tracker. Solar Tracking Project Team Members: –Cristian Ruvalcaba –Ken Seal –David Clark –Mark McKinley –Richard DeJarnatt.
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Coordinate Based Tracking System
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski April 29, 2004.
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski March 9, 2004.
(Voice Activated Home Control System). Project Summary Control any IR activated device –Via voice command Learnable –Learn IR Code –Learn Voice Command.
VAHCS Voice Activated Home Control System By: Kyle Joseph Troy Resetich Advisors: Dr. Malinowski Dr. Schertz.
Acoustic Fossil Imaging by Matt Kaiser & John Lewis Advised by: Dr. James H. Irwin & Mr. José Sánchez.
PT 5000 Pooja Rao Ted Tomporowski December 7, 2004.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Copier Jam Detector Design Problem
ACTIVE SUSPENSION TEST PLATFORM BRANDON NAYDEN & CHIAO LIU BY ADVISED BY: STEVEN GUTSCHLAG.
Robotic Arm Controller A VLSI Implementation Team: Justin Hamann & Dave McNamara Team: Justin Hamann & Dave McNamara Advisor: Dr. Vinod Prasad Advisor:
GPS-Guided Autonomous Vehicle.
Synchronized Strobe for Video Camera Jeff Baskett & Jason Zubo Project Advisor: Dr. Irwin.
Laser Shoot-Out Game By Steven Noto and Laura Miller Advisor Steven Gutschlag May 2, 2000 Senior Project Final Presentation.
WATER LEVEL CONTROLLER USING 555 TIMER
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Power Electronics and Drives (Version ) Dr. Zainal Salam, UTM-JB 1 Chapter 3 DC to DC CONVERTER (CHOPPER) General Buck converter Boost converter.
Peripherals and their Control An overview of industrially available “peripheral devices” that use “pulse-width modulation” for information passing. Review.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Balance Bot DT04 Stephan Baranoff Nicole Beck Chris Hamrock Stephanie Kosec Dr. Sastry Balance Bot DT04 Stephan Baranoff Nicole Beck Chris Hamrock Stephanie.
Lecture # 12&13 SWITCHING-MODE POWER SUPPLIES
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
Senior Project Presentation: Designers: Shreya Prasad & Heather Smith Advisor: Dr. Vinod Prasad May 6th, 2003 Internal Hardware Design of a Microcontroller.
Al-Najah National University
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals.
Input =inscription Block Diagram A: The first portion of the project will decode the users handwriting using Handwritten Character Recognition or HWR for.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
P.H.A.N.S PWM HUB AIR-COOLED NOISE-REDUCTION SYSTEM GROUP MEMBERS: ADAM PALERMO, BRIAN HANSEN FACULTY ADVISOR: DR. ARASH TAKSHI INDUSTRY ADVISOR: DANA.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski December 9, 2003.
Precision Robotics R. M. Satterthwaite R. Shockency Advised By: Dr. B. D. Huggins Mr. C. Mattus.
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
Self Switching Power Supply. Introduction Self Switching Power Supply  Embedded system requires a regulated power supply.
Password Based Door Lock System using 8051 Microcontroller
Solar Powered LED Blinds Group 28: Austin Estes and Kerr Oliva TA: Katherine O’Kane.
RTL Hardware Design by P. Chu Chapter 9 – ECE420 (CSUN) Mirzaei 1 Sequential Circuit Design: Practice Shahnam Mirzaei, PhD Spring 2016 California State.
Critical Air System Pressure Controller Senior Design Project, 2010 Morgan Hespe, Department of Electrical and Computer Engineering Mentor: Dr. Stanislaw.
Autonomous Wheelchair Tyler Morton & Ben Hoerst Senior Design Advisor: Dr. Stanislaw Legowski Project Advisor: Dr. Steven Barrett ECE Senior Design.
DC motor principles Speed control Direction Stepper motor principles
Microcontroller basics Embedded systems for mortals.
ARM CORTEX (STM32) BASED MOTOR SPEED CONTROL SUBMITTED BY EDGEFX TEAM.
Application Case Study Christmas Lights Controller
REMOTE JAMMING DEVICE.
TV OPERATION JAMMING SYSTEM
UNIT-IV Application of Special I.C’s.
ECE Computer Engineering Design Project
QUIZ COMPETITION SENSOR FOR FASTEST FINGER PRESS
DC MOTOR SPEED CONTROL 1. Introduction
CSCI1600: Embedded and Real Time Software
DC motor.
Copier Jam Detector Design Problem
CSCI1600: Embedded and Real Time Software
Dr. Unnikrishnan P.C. Professor, EEE
Presentation transcript:

Motor Control of an Oscillating Pendulum Nick Myers and Chirag Patel March 9, 2004 Advised by: Dr. James Irwin and Mr. Jose Sanchez Bradley University Department of Electrical Engineering and Technology

Presentation Overview Project Objectives System Block Diagrams Step by Step Project Goals Work Completed - Hardware (Nick) Work Completed - Software (Nick) Work Completed - Hardware (Chirag) Work Completed - Software (Chirag) Initial PWM Design Plan Summary of Progress Possible Additions Questions

Objectives To initialize the oscillation of a weighted pendulum using microprocessor controlled motor bursts. To oscillate the pendulum to a predefined angle and, using optical sensor outputs, maintain the angle of oscillation.

System Level Block Diagram

Subsystem Level Block Diagram

Step by Step Project Goals n H-bridge hardware n EMAC to H-bridge interface hardware n H-bridge switching software n Initial motor pulsing software n Incrementing motor pulsing software n Optical sensor hardware n Optical sensor interrupt software n Oscillation stabilization software n User interface software n Pendulum construction and wiring

H-bridge Hardware Truth table for forward and backward states

H-bridge Hardware n The H-bridge uses (2) N-Channel ZVN4206 Transistors and (2) P-Channel ZVP2106 Transistors n The H-bridge operates on a supply voltage of +15V DC n The inputs of the active transistors are pulled to Vcc n The voltage across the motor is approximately 12V

EMAC to H-bridge Hardware Interface All of the outputs from the EMAC microprocessor board come from Port 1 Port 1 supplies 80uA of current Additional hardware must be added for EMAC to be able to turn the H-bridge on/off

EMAC to H-bridge Hardware Interface From EMAC To H-bridge

H-bridge Microprocessor Code n The H-bridge will switch motor burst direction every time the pendulum passes equilibrium n Once the direction is switched, a burst will immediately be sent n The H-bridge code will be called by the equilibrium sensor interrupt n The H-bridge code will switch motor polarity by switching on/off two pins on Port 1

H-bridge Microprocessor Code Flowchart

Initial Motor Pulsing Software n The equilibrium sensor will always be blocked initially n Interrupt driven pulsing cannot be used to begin pendulum oscillation n A constant pulse must be provided until the pendulum clears the equilibrium sensor

Initial Motor Pulsing Software 31H=1 ? Turn on P1.4 and P1.5 and set 31H=1 Turn off P1.4 and set 31H=0 Turn off P1.5 and set 31H=1 Delay Flowchart YesNo

Incrementing Motor Pulsing Software n Once the Pendulum has successfully cleared the equilibrium sensor, the length of the torque bursts can be increased n The bursts will only be sent when the equilibrium sensor is crossed n These bursts will continue to increase in length until the angle sensor is crossed

Incrementing Motor Pulsing Software Flowchart

Oscillation Stabilization Software n When the pendulum reaches its desired angle of oscillation, it should remain constant at that desired angle n Once the pendulum passes the angle sensor, the interrupt handler will check how many times the sensor is crossed n If the pendulum is overshooting the sensor, the delay will be shortened

Oscillation Stabilization Software Flowchart

User Interface Software n On startup, the LCD prompts the user: “Press ‘A’ to Begin” n The program is waiting to be interrupted by the keypad button ‘A’ n When the keypad button ‘A’ is pressed, the initial motor pulsing software is entered and the pendulum begins its oscillation

User Interface Software n As the initial motor burst software is entered, the LCD display changes to: “Press ‘B’ to Stop” n After every motor pulse, the code checks to see if the button ‘B’ has been pressed n If the button has been pressed, the motor is turned off and the the LCD is reset to the initial prompt

Constructed Pendulum

Optical Sensor n Two optical sensors: –Equilibrium Sensor –Predefined Angle Sensor n RF = 200 –Limits Current to 20 mA IF = 5V/200 = 20mA –Enough Current to transmit infrared signal –Not Enough Current to Damage Optical Sensor

Optical Sensor n R1 = 4700 to account for desired on/off switching times –ON Switching Time 8us * 1.7 = 14.4 us –OFF Switching Time 50us * 1.6 = 80us n Equilibrium and Predefined Angle Sensor Have Same Values.

Sensor Initialization n Equilibrium Sensor –Handled by Interrupt 3 –Once obstructed – Rerouted to code in order to output motor burst n Predefined Angle Sensor –Handled by Interrupt 4 –Once obstructed – Rerouted to code in order to count the number of obstructions –Used to determine overshoot or undershoot

Initial Design Plan n PWM signal will be used to initiate the oscillation of the pendulum. –Once pendulum is beyond the equilibrium sensor, timed pulse signals will be used to oscillate the pendulum.

Initial Design Plan n Pulse Width Measurement code used to measure length of time sensor is obstructed by pendulum. –This time will be used to control the length of the pulsel sent to motor to control oscillation of pendulum. Faster the oscillation = Smaller pulses Slower the oscillation = Larger pulses

Initial Design Plan n Pulse Width Measurement –Timer 2 used in gated mode –When P1.7 = High Timer begins counting –When P1.7 = Low Timer stops counting n Obtain time value through pulse width measurement when pendulum is dropped from desired angle. –Compare that value to value obtained each swing. If value obtained > stored value - INCREASE BURST LENGTH If value obtained < stored value – DECREASE BURST LENGTH

Initial Design Plan n Initial design was not used due to the complications encountered –Proved to be more time-consuming than expected –However, this design can be used for changing loads.

Summary of Progress n Completed H-bridge hardware n Completed EMAC to H- bridge hardware interface n Completed H-bridge software n Completed initial motor pulsing software n Completed incrementing motor pulsing software n Completed optical sensor Hardware n Completed optical sensor interrupt software n Completed oscillation stabilization software n Completed user interface software n Completed pendulum construction

Possible Additions n Adding additional angle sensors so that user may choose from multiple angles of oscillation n Changing initial motor pulsing code so that changing loads could be oscillated n Creating power storage circuitry so that system could run from a lower supply voltage

Questions?