Digital control system

Status
Not open for further replies.

joebazoka

Advanced Member level 4
Joined
May 17, 2001
Messages
105
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Location
Argentina
Activity points
730
Hi. I need Help about digital system implementation. I plain develop a digital controller for a temperature control system. I have some problems with control times. I use sample time of 100us, I read an ADC even 100us. My problem is know when I must applicate the output (input signal procesed with a PID ) to the plant. Regards.
 

Your controller output should be applied to the system every 100us. You could use something like a peridoic timer interrupt with a period of 100us and calculate the controller parameters and apply them to the system in the ISR if the calculation of the parameters take always an equal amount of time.

Regards.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…