FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Please pid algorithm

Altera_Forum
Honored Contributor II
909 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
103 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.
Altera_Forum
Honored Contributor II
103 Views

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

Reply