Wednesday, 18 May 2011

Day 13(18th May 2011)

To establish a common ground the positive terminal of the power supply was shorted with the ground of the micro controller. A voltage divider circuit with a potentiometer along with an op-amp working in the inverting configuration was used to bring the output voltage to one sixth of its value. This is given to the analog input of the arduino. Hence a 30 V output voltage will result in a value of 1023 after ADC. The duty cycle is slowly increased until the given maximum voltage is obtained. The duty cycle at this point is the maximum duty cycle for the given power supply. This is value is written to EEPROM so that it is held even when power is switched off. 

No comments:

Post a Comment