Added 2 more relays for diodes in groups of 2 and 1 to get a better resolution.Added a feedback network using a voltage divider circuit and an op-amp buffer.The voltage across the LED's is divided by 6 and fed back to the microcontroller.Based on the keyboard input a slightly lesser number of LED's than required is switched on and the voltage across them is fed back. Then diodes are turned on 1 by 1.Once 3 diodes are turned on one more LED is turned on and the diodes are turned off.This process is repeated till the load voltage crosses the set voltage.The present error and the previous error(when load voltage was below set voltage) are compared and the better case is chosen.
No comments:
Post a Comment