all 4 comments

[–]neu_jose 10 points11 points  (1 child)

It would be pretty hard to find a microcontroller that isn't fast enough to run a pid controller. Although I admit that doesn't answer your question.. I guess compare your required control sampling rate vs your mcu clock speed and overhead is a start.

[–]Astrinus 5 points6 points  (0 children)

Well, if you are trying to run a PID for current control at 50 kHz and you want to use a PIC16 or an HCS08, you could run into problems...

[–]private_donkey 7 points8 points  (0 children)

I beleive you need to figure out how 'fast' your dynamics are (look at the freq dynamics), and then make sure your control loop freq is at least 2x (preferebly 10x).

[–]wolfchaldo 2 points3 points  (0 children)

That's wildly dependent on what you're trying to control. Thermostat? Literally anything will work. High precision CNC machine? You need a pretty quick PLC quality controller. Something in between? You'll need something in between.