FPGA vs. Arduino for a PID Controller

arduinofpgapid controller

I'd like to use an FPGA or an Arduino asa PID controller, and was wondering which device would be better to use? It will be used in a lab, and needs to be fast. Can I get all those in an Arduino without having to pay the extra money for an FPGA? Or will the larger price tag be worth it? Thanks!

Best Answer

The absolute majority of PI(D) controllers in the world are implemented on 8/16/32-bit microprocessors. For example, Microchip has sold over 10 billion microcontrollers as of 2011. Another example: GE uses 99% microcontrollers and 1% FPGA for control loop execution (reaction on @Eugene Sh).

Some of my control loops for power electronics are run at 200 kHz and it's all on the C2000 series from TI- digital signal controllers (32-bit).

FPGAs are for the high-end stuff, such as MRI, ultrasound, etc.

I'd suggest that unless you need super high execution speed/MHz bandwidth or would like to learn VHDL/Verilog then stay with Arduino. It certainly has better source-base than FPGAs. It is much easier to get started with Arduino than with FPGAs.

Arduino Uno also can also sample analog signals, which FPGAs cannot without an external ADC chip. E.g. look at the Mercury FPGA card (http://www.micro-nova.com/mercury/).

The picture below shows the analog ports on the Arduino Uno board.

enter image description here

Related Topic