I have assigned to design a kind of programmable power supply. Can't decide on a way to make it. Need help with this..
This is a high level block diagram of the required system
How it works (How it should work)
The system will be given 0 to 10 Volt variable input, which decide output voltage. The output shold be proportional to the input. So that when input is Min, output is also Min (i.e. 0v), when input goes to Max, output also should be Max (i.e.24V). Simply, if the input voltage is V_I, then the output voltage should be (24/10)*V_I
The output is drawn from the systems power supply, not from the input voltage. (Actually input and output should be isolated.)
I hope that part is clear.
Then there is another input(input 2). Let’s think about it as a Potentiometer. So that its value can vary between two values, for the sake of explanation, lets say it change between -10 and +10.
Its role is like this.(I’ve mentioned it as tolerance)
Output value is decided from the input 1. That value is changed a bit around the original value by this input 2. For example, if output is 10V now, I can increase it a bit by rotating my preset clockwise. Or decrease it a bit by rotating it counterclockwise. Maximum change, lets say, will be 10% of the set value.
That’s it. I tried to explain the thing to the best I can. If any clarifications are needed please ask.
This is the requirement. I’m very good at microcontrollers, But not much experienced in electrical side. I thought a lot to make this using microcontroller. May be there is, but can’t figure out. But it don’t need to be microcontroller based, this is an actual requirement. So if there is any way to achieve this, then I’ll move to that.
Please share your knowledge. If anyone can point me in an exact direction that will be much appreciated. Thanx in advance... Hope I’ll get a solution soon.