Constant current smps for efficiency
Set right most opamp gain to 3kv/v to start the simulation, then ramp it up to 10 kv/v to increase accuracy.
edit: edit a final output stage to the switching element to reduce the voltage that the logic operand needs.