Monday, April 28, 2014

Experimental Lab - Capacitor Charging and Discharging



By performing this lab we wanted to show the charging and discharging pattern of a capacitor.


Expression for a non ideal capacitor circuit that charges and discharges:

We calculated the components for an ideal capacitor so as to meet our lab's parameters, and had 2.5 mJ of energy into the capacitor.



The box of variable resistance has a maximum output of 1 watt, which was sufficient.














The charging graph was unattainable because of the setting on the oscilloscope that was on a continuous recording. We were able to use a stopwatch and voltmeter in order to measure the charging capacitor's voltage in 20 seconds. We used a voltmeter, stopwatch, oscilloscope, 2 variable resistors, cables, and one capacitor rated at 33 micro farads, shown in the diagram below.









With our set up, the the charging time was 20 seconds and our voltage was 11 V. The discharge was two seconds long, which is a good time.





Calculation of Leakage Resistance and Percent error:


Graphs representing charging and discharging, respectively. This is if the oscilloscope was read once and not twice.



'
-We were able to successfully prove the validity of our theoretical equations for the charging and discharging of the capacitor. We found the leakage resistance around ten times that of the charging resistance, since the leakage resistor is in parallel to the capacitor, which stores energy.


Wednesday, April 16, 2014

"Experimental Lab" - Integrating and deriving Operational amplifiers



Our objective in the in-class lab was to be able to sketch waveforms for the input and output for 1,000 Hz sine, triangle, and square wave inputs. We wanted to be able to explain why a 10M resistor was used, and what would happen if we were to remove this resistor.

 Sine Wave:



Square Wave:




Cosine Wave:






Conclusion and notable facts:

- It was evident that the 10M resistor was important in order to refine the measurements of the DC voltage. If we decided to remove the resistor, the resulting graphs for the output waves would not be like smooth sine function waves.

-Although we can use capacitors to make integrator operational amplifiers which result in a large increase in voltage, but the capacitor's voltage is on a set time. If the capacitor is cheap, the resulting output can not be considered accurate. It is a double edged sword.

Tuesday, April 15, 2014

Experimental Lab: Practical Signal Conditioning



For this experimental lab we needed to perform both level shifting and scaling processes for an op amp, so in order to convert the temperature reliant voltage in celsisus, which came from the LM35 into a voltage amount that was proportional to farenheit.

Initially we tested the LM35 by applying 9 V into it and seeing what the resulting output voltage was. We got 220mA as our result, which is equivalent to room temperature and close enough.













Since our LM35 was fully functioning, we proceeded to solve the output voltage of the op amp according to the schematic below:












Applying the temperature change equation for celsius to farenheit allowed us to solve for the equation in respect to voltage:



We calculated the circuit and knew their to be a relationship between the output and input voltage. This relationship is shown below. We then solved for the reference voltage and removed the resistors that had the correct proportions to our calculated value.
Materials used in the bottom photos are: 3 variable power supplies, various wires, Lm35 temperature sensor, a breadboard, op amp, and potentiometers.




Finished circuit:



output Voltage-

We calculated the percent error shown below, which was 9.2 percent. We used the value of .716 mA because it was from the output of LM35's voltage into farenheit.



We were able to prove that there are practical uses of op amps, that is; to multiply and add. We ultimately had an error of 9.2 percent, but this was due to the inaccurate ratios for the resistors that were rounded off and their actual natural tendency for error.

Monday, March 31, 2014

Experimental Lab: Operational amplifiers

Our goal in this lab was to condition a signal from a voltage input into a specified voltage output. We set p a voltage divider circuit so that the signal voltage in DC could be obtained. We then set up an inverting op amp that signaled from 0 to 1 volts and 0 to -10 volts. We can only have a max output of 1 mA.

V_cc = 12 V.
V_ee = -12 V. 
V_in = 0 V to +1 V.
V_out = 0 V to -10 V.














We created a circuit with voltage divider so that the input voltage will be conditioned to the signal.

R_y = 909 Ohm's










The value for potential drop for R_y should now be 1 V. To make certain, we can calculate R_x so that it will not be over 1/4 of a watt. The minimum resistance we would need to prevent overpowering for R_x would be 1152 Ohm's, however a larger value resistance is better to stay on the safe side










We based our calculation with a larger value 1300 ohm resistor, and calculated the R_y value that was necessary for the 1 V potential drop.




R_y = 118 Ohm










For further precaution, we used a 10,000 ohm R_x value.


Our model values:















Since we decreased the Power or Current rating to less than 909, we could get our values for the signal input.

The circuit:























Results:

We were able to conclude that there was a -10 gain, which was able to properly condition the signal to the right voltage we needed. Since the current was never over 1 mA, we never broke the voltage divider.

Sunday, March 30, 2014

Experimental Lab: Thevenin Equivalents

Intro-
The main concept behind the thevenin equivalent is so that we can treat a linear circuit as  a single resistor and power supply, to make things simpler for us. Our goal is to prove that the thevenin is true. Our experiment will be conducted by measuring a complicated circuit through a load, while replacing it with the thevenan equivalent and measuring the resulting current and voltage readings. 

    
























































Calculations for Thevenin Resistance/Voltage and Norton Current

Th 


Various situations - Potential drop 8V, No load, and Infinite Resistance, respectively












We had resistors of 680, 38, and 100 Ohm's.



Setup image:





Measurements for the thevenin equivalent, theoretical and actual, by means of the resistor box.












Theoretical voltage through potentiometer contrasted with actual voltage













The results so far are consistent with our theoretical predictions and are reasonable even taking into account sources of error such as uncertainty


.






















Data measurements: 




























The thevenin circuit, current, and potential drop all match and are consistent.
The formula for max power P=V_thevening^2/4R



Final note- The use of the thevening equivalent is valid and simplifies calculations for linear circuits.

Experimental Lab: Transistor Switching

Intro & Procedure:


- Our purpose in performing this lab was to measure the effects of a transistor in use within a circuit.

-We set up a circuit as shown according to the lab diagram below such that we could switch the LED off or on by using our fingertip. The LED will light up so long as the transistor does its job to amplify the transistor.





Image of procedure done in real time according to diagram -























A POT was used in the next part of the experiment in order to regulate A1's voltage and A2's current. The following image displays our results, and we graphed the current A1 via the y-axis against the current A2 via the x-axis. The slope was a positive value of 2.43, and there appeared to be a directly proportional relationship between A1 and A2.



 
Notes:
- We used the transistor in order to make the gain which is dependent on the ratio of the currents both inside and outside of them, which allow for the rapid switching within the circuit.
- Although the transistor used was specified as a 10 mA saturation, we did not experience any saturation in our experiment.

Experimental Lab: Nodal Analysis



For this experiment we wanted to first find the node voltages, and then calculated the current through batteries 1 and 2. After this we could perform and experiment to verify our experimental results and compare them.
Part A:

We calculated the node voltages to be 10.28 and 8.67 volts for points 2 and 3, respectively.


Calculation of battery powers and currents:

Circuit set up according to lab manual diagram:



We measured each of the circuit elements taking note of the differences from our theoretical values.



Resultant values:

The large percent error is likely due to the cheap meters which can only measure small currents so accurately.

Part B:

Nodes 2 and 3 are designated as 9 volts each

Calculation of power supply and current-

    



Initial predicted voltage and current values-



Final notes:

- For part A we did not get the results we hoped for because there were large percent errors. It is almost certainly due to the nature of the cheap meters that have difficulty measuring and displaying accurate values of milliamps.
     
- For part B we got experimental results that were within a very small percentage range of our initially predicted values, so this tells us that all the conditions were right in order to perform the experiment according to theory, since the values were so close.