1 / 13

Application of a PID controller and Bluetooth communication

Application of a PID controller and Bluetooth communication. Computation & Modeling. Jade Mills, Gage Hibner Northwest Halifax High South Mecklenburg High. 2010. NXT Programming. All of our robots were programmed using the NXT programming software.

chiquita
Télécharger la présentation

Application of a PID controller and Bluetooth communication

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Application of a PID controller and Bluetooth communication Computation & Modeling Jade Mills, Gage Hibner Northwest Halifax High South Mecklenburg High 2010

  2. NXT Programming • All of our robots were programmed using the NXT programming software. • NXT is a program that allows the user to explore programming from the basic to complex levels . • The program uses blocks to map out the programs actions • NXT gives the robot “senses” by working with light, touch, ultrasonic, time, and rotation sensors.

  3. NXT Programming • An example of a simple program using NXT • It tells the robot to pivot to the left until it sees white then it will stop breifly.

  4. Can You Rock with this Balance? Our robot was designed to resemble a segway, meaning it was created to balance on two wheels while only using three motors and a light sensor We also included an ultra sonic sensor for a visual effect

  5. PID Controller • The balancing-bot was made possible by the PID controller. • A PID controller uses three terms to calculate a way to fix an error from a set point. • An easy way to think of it is as a controller that self adjusts to go back to the starting position. • A real life analogy of a PID controller is starting a bath. To get the perfect water temperature you have to adjust the hot water by turning it down or adding cold water. • The three terms are the proportional, the integral, and the derivative term.

  6. Proportional Term • The proportional term calculates error by taking the distance from the set point and multiplying it times a number, Kp, proportional to the error created to try and move back to the original position.

  7. Integral Term • The I (integral) term calculates the error over the time and multiplies it by the value of the integral gain, Ki. The I term is accurate but often produces a lot of overshoot which causes the robot to fall. The reason for this is because the I term corrects over long periods of time

  8. Derivative Term • The D term calculates the error by determining the slope over time. The derivate value also slows the rate of change, this is rather important because it contributes mostly to stability because it deals with the overshoot produced from the I term.

  9. Proportional-Integral-Derivative • The big picture.

  10. Results

  11. Robotic Interactions • Robots can interact with each other by using Bluetooth. • Our program created in NXT tells the balancing robot which direction to move based on the position of the slider .

  12. Robotic Interactions • This program contains a Boolean that says when the slider is far from the ultrasonic sensor it sends a true message to the balancing robot to move forward. • When the slider gets closer to the ultrasonic sensor it sends a true message to move backwards. Backward Forward

  13. What we Learned! • A new programming language, NXT. • How a PID controller works. • We gained a greater understanding about how Bluetooth technology works.

More Related