EveryCircuit
Contact
Reviews
Home
pajaka
modified 8 years ago

8 bit DAC Power supply

11
0
429
03:56:27
Model of AVR controlled power supply. 8 bit input represents one port of atmega32. Comparator is provided by build-in AD converter operating in 8 bit mode and the output voltage is set in software part. The value of the port register is being increased until the output voltage measured by ADC reaches the preseted value. It can be easily configured in upto 30 bit, providing superior resolution, but then you should use two pins for compararor as the max res of the ADC in atmega32 is 10 bit and then increment the 30 bit value until it compares. Also you can add some sort of adaptive delta ( double the increment for reaching the value quicker ) in your code to help it to react to rapid changes of the reference quicker. This way you can build yourself a sophisticated bench supply with voltmeter and ammeter using microcontroller. There is a noticeable output noise which is caused by constant oscillations around desired output values, there is simply no room to add a circuitry to stop counting when close to wished value.
published 10 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy