Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] PI Control Query for motor control

Status
Not open for further replies.

electricgeek

Newbie level 5
Newbie level 5
Joined
Jan 29, 2011
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Pakistan
Activity points
1,335
PI Control Query for motor control with PIC18

I'm using PIC18F4520 to make a line tracking robot. It has to use an array of 10 LED/Photo-transistor pairs. Now i have to implement PI control on the robot. I've already done normal line tracking with a couple of LED/Photo-transistor pairs without PID. I have studied documentations on PI and understand how it works. What I want to ask is what will the PI control do? The error will be the comparator output going to zero when it moves offline? And will the PI rectify the error in software?
 
Last edited:

The PI controller is simply the same controler without the derivative gain (which helps you with the quick changes). The I gain (integral) will remove the steady state error from the output, for example the the robot is moving 5mm to the right of the line, this 5mm will be corrected by the I gain.

check these links, for the understanding and coding:
**broken link removed**
**broken link removed**
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top