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.

PID controllers using Microcontrollers for dc motor speed control

Status
Not open for further replies.

ShashanCk

Newbie level 2
Joined
Feb 9, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
can anyone help me out regarding my project
"IMPLEMENTATION OF PID CONTROLLERS USING PIC FOR SPEED CONTROL OF DC MOTOR".i could nt figure out the exact circuit diagram....i will be really gratefulu to o if i can find it out
 

sr,the problem is i could not find a program written in PIC basic.so please help me for "pid controller code in pic for dc motor speed control"
 

your requirement should tell the part number of controller you are using...
programming language, if you have any circuit you need to put here..
if you wrote any code you need to put here.. if not you need to tell that you are not getting any material for reference.

see this https://ww1.microchip.com/downloads/en/AppNotes/00899a.pdf

---------- Post added at 21:53 ---------- Previous post was at 21:51 ----------

 

can anyone help me out regarding my project
"IMPLEMENTATION OF PID CONTROLLERS USING PIC FOR SPEED CONTROL OF DC MOTOR".i could nt figure out the exact circuit diagram....i will be really gratefulu to o if i can find it out

if you have done please send me
 
Last edited by a moderator:

Attaching PID alghorithm written on C.
Example of use:
1. Decalre
Code:
PidType PID;
2. Init
Code:
  PID_init(&PID, 1, 0.05, 0.25, PID_Direction_Direct);
  PID_SetMode(&PID, PID_Mode_Automatic);
  PID_SetOutputLimits(&PID, PWM_Step, PWM_Period);
3. Use
Code:
    PID.mySetpoint = SetTemp;    
    PID.myInput = RealTemp;
    PID_Compute(&PID);
Hope it helps. Some variables should be tuned for real process in debug mode.
 

Attachments

  • PID.rar
    3.7 KB · Views: 127
  • Like
Reactions: FvM

    FvM

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top