Hi,
I want to implement want I think is a fairly standard feedback loop, however it's been many years since I've looked at control theory and I'm having trouble understanding the concepts and finding implementation examples. I was hoping someone might be explain in simple terms what is happening and maybe point to some resources I could use to implement a solution. All the information I've seen on this topic is usually drowning in mathematics.
So here's what I'm trying to achieve:
- I want to control the current of an electronic circuit, say I always want it to draw 0.75A.
- The current, of course, varies over time depending what other parts of the circuit are doing. But I have some hardware that will draw more or less current as controlled by a voltage level I pass to DAC.
- I also have an ADC which gives me a voltage which is proportional to the current be drawn by the system.
I need to handle ramping and also oscillations to within some thresholds. Also I'm working in C.
thanks, Richard