How to design a PID controller for this application?

Click For Summary
SUMMARY

The discussion focuses on designing a PID controller using a microcontroller for speed control applications. The process involves calculating an error signal by subtracting actual speed from the desired speed, which the PID controller will then process through integration, differentiation, and multiplication. The goal is to determine a pulse width modulation (PWM) factor to control the device's operation duration until the next speed sample. For further understanding, the Wikipedia page on PID controllers is recommended as a comprehensive resource.

PREREQUISITES
  • Understanding of PID control algorithms
  • Familiarity with microcontroller programming
  • Knowledge of pulse width modulation (PWM)
  • Basic concepts of error signal processing
NEXT STEPS
  • Study the implementation of PID algorithms in microcontrollers
  • Learn about pulse width modulation techniques for speed control
  • Research error signal processing methods in control systems
  • Explore advanced PID tuning methods for optimal performance
USEFUL FOR

Engineers and developers working on control systems, particularly those involved in embedded systems and speed regulation applications using microcontrollers.

NCEE
Messages
4
Reaction score
0
I just took over a project for a person that left the company. The project was supposed to be fully documented, but the documentation seems to have come up missing.
The application involves using a microcontroller as a PID controller.
I will have a desired speed, and the actual speed.
I will get an error signal by subtracting the actual speed from the desired speed.
One of my colleagues says that the PID controller will just integrate, differentiate, and multiply the error signal and I should get what I want.
I want to get a pulse width modulation factor so I will know how long I should run the device to lower my speed until the next sample.
 
Engineering news on Phys.org
It might be a good idea to read up on PID algorithms. You might just answer your own question.
 
http://en.wikipedia.org/wiki/PID_controller" should give you about all you need.

Regards
 
Last edited by a moderator:

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 8 ·
Replies
8
Views
8K
  • · Replies 39 ·
2
Replies
39
Views
21K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K