Tuesday, May 3, 2016

Design a bipolar voltage source using the Microchip DAC MCP4922

Design a bipolar voltage source using the Microchip DAC MCP4922

The microchip device (MCP4922) is a very easy to use DAC that is accessed via SPI interface. I found it easier to interface with a +5V bus and VCC as opposed to +3.3V despite of what the datasheet says. (http://ww1.microchip.com/downloads/en/DeviceDoc/22250A.pdf)

In addition, I created a simple spreadsheet to enter different values in order to design before layout.

Once you read the datasheet, you'll understand where I got the values from.

DA and DB are the values that control the gain as well as the offset (Maximum 4095 in decimal).

VREFA and VREFB are your input reference sources. I typicaly use 2.5Vdc.

R1-R4 are the gain and offset resistors. I set all to 10k Ohms 1% 1/4Watts.

GA and GB are gain x1 or x2 as desire.

Vo is the output.

Enjoy.


Download worksheet here!!