Lab 2 - ECE 421L
Lab:
First off, we will create a voltage divider similar to the image above, using two resistors in series for 2R.
Following the schematic we should end up with this schematic and symbol:
Next, we will test our DAC delay using a 10pF capacitor.
We will first predict our delay with the following equation:
Td = 0.7RC = .7 * 10K * 10pF = 70ns
Now
that we know our delay is correct, we will copy the Ideal DAC from our
prelab, but replace the 10-bit DAC with the one we have created and run
a simulation.
Upon our first test the simulation didn't finish to 1ns, so we change some settings in our simulator.
Simulation -> Options -> Analog, change the settings as seen below.
Run the simulator once more and we end up with this:
As you can see, there are a few areas that are a bit weird, but overall it is very similar to what we saw in the prelab.
Now that we know our 10-bit DAC is working correctly, we will test it under different loads (R, C, RC) and see the result.
10K resistor load:
With a 10K load, the output was reduced to 2.5V from 5V
10pF capacitor load:
With a 10pF load, the output smooths out, but it lags a bit and the output is lower.
10K and 10pF RC load:
Under both a 10K and 10pF load the output both smooths out and reduces to 2.5V, but it still lags a bit.
In a real circuit the switches in the example are implemented with transistors, if the resistances of the switches isn't small compared to R, then our output voltage will drop.