FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP

Please pid algorithm

Altera_Forum
Honored Contributor II
1,017 Views

I am working on FPGAs as a begginner and I want to implement a PID controller for DC motor speed control. Please I need advice and if possible relevant source codes for the Digital PID and PWM

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
211 Views

For PID, you may want to look into the theory behind PID controls, I'd recommend "Control Systems Engineering" by Norman S. Nise. 

 

As far as PWM goes, you probably need a little bit of basic VHDL/Verilog. I'm a VHDL guy myself. For a beginner, "VHDL programming by example" by Douglas Perry is my personal favorite. 

 

If you want more help than that, I'd recommend writing code of your own. When you get stuck with a specific problem (hardware/firmware/software), check back in and you'll probably get some good help.
0 Kudos
Altera_Forum
Honored Contributor II
211 Views

If you search for PID controller, you'll see my earlier posts on this topic. There is a whitepaper included. James

0 Kudos
Reply