Sanity Check on R-2R VGA DAC
escher
Posts: 138
I have to be losing my mind here or something, because I'm at a loss as to why I'm getting the following results from this LTSpice simulation of a KNOWN-GOOD R-2R VGA DAC that I'm going to hook up to my Propeller 1, referenced from @PhiPi:
This is the circuit and the results I'm getting:
I'm getting double the output I should be, and I cannot for the life of my figure out why.
I'm simulating 01, 10, and 11 voltage levels for Red, Green, and Blue (respectively).
Any one see something stupidly obvious? Thanks!
Update:
The physical version of the circuit results in the same behavior:
You can see the signal properly stepping through 00, 01, 10, 11 voltage levels. However the peak-to-peak measurement proves the DAC is only attenuating to 1.4V, not 0.7V.
This is the circuit and the results I'm getting:
I'm getting double the output I should be, and I cannot for the life of my figure out why.
I'm simulating 01, 10, and 11 voltage levels for Red, Green, and Blue (respectively).
Any one see something stupidly obvious? Thanks!
Update:
The physical version of the circuit results in the same behavior:
You can see the signal properly stepping through 00, 01, 10, 11 voltage levels. However the peak-to-peak measurement proves the DAC is only attenuating to 1.4V, not 0.7V.
Comments
-Phil
I added those before and saw barely mVs of difference... to simulate that termination resistance where would I properly insert those?
-Phil
Am I correct in assuming that all VGA systems have this internal 75 ohm termination resistance?
Are you aware of this being the case for older video standards, such as RGBS?
Don't know for sure, but I'd still put money on it. The reason it's there is for impedance matching. Otherwise you'd get reflections in the cable, which would show up on the monitor as ghosting.
-Phil
Some monitors have two video connectors and a switch to include the termination resistance or not. This is to allow several monitors to be daisy-chained together. The last monitor in the chain is the only one with the termination resistance switched in.
-Phil
uses 75ohm to my knowledge, both at RF and baseband.