Hi Nuwands
I am hoping to demonstrate PID controlling (motor or temperature control)using a micro controller.
My thoughts:
8051 is good but quite old, any chance of anything more modern?
If you need to demonstrate the assembler route, then fine, but if you could use "C" it would make the maths of the PID control more visible.
"motor or temperature", if by demonstrate you are in front or a panel or class, then you need an overall system that is fast, i.e. doesn't take hours to demonstrate, so I would tend to rule out temperature. Motor speed control could be good with a small motor and you could show the effects of a varying load with different PID settings.
Regarding not being fully familiar with closed loop control. Always stand back from the maths and the equations and think what is actually happening.
Proportional control is just that. The drive to the motor is proportional to error between desired speed and actual speed.
So there will always be an error to generate the drive voltage, hence the desired speed can never reach the actual speed.
This can be corrected by adding a correction for this offset error. The method is to integrate the error signal which progressively reduces the error to zero.
The differential term is trying to correct for step (or rate of) change in load or speed change to get to the target speed as soon as possible.
As you are aware you then need to tune the loop for the best performance in your application, which is where your project will demonstrate this.
Does that help?