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.

Freemat Assignment

Based on the diagram shown, we solved the circuit by using KVL and KCL and put the resulting equations into matrix form, and then solve in freemat.





The graph shows that Circuit A reaches a lower output sooner than circuit B.




-Graph of relation of circuit's output to 2(1-e(-t/tau)).

2. If the circuit's output is related to 2(1-e(-t/tau)) the FreeMat generates the graph below.


The circuit A also reaches higher output in this case.










Part 2-

- Resultant graph of sum of two sinusoidal functions
f1-blue
f2-green
f3-red










The theoretical function is identical to the first graph method.









When frequency is a mere 10 Hz the graph is very similar except for the period being decreased greatly.


p

Sunday, March 16, 2014

Extra Credit - Chinese Institue of Engineers Presentation

Our class was asked to attend the program for CIE in order to get extra credit on our first exam. I was fortunate enough to see presentations from fellow Mt SAC students regarding pancreatic cancer cells, a quadcopter drone, and a 3d printer. I found the pancreatic cancer presentation to be the most interesting and technical, as the student had to reproduce the cells in an incubator.

Wednesday, March 12, 2014

Experimental Lab: Introduction to Biasing


Objective:

 Our group wanted to make two LED's that are parallel to each other turn on when they were connected to a 9 volt power source. The two LED's had different ratings in order to make the experiment more difficult - one was rated for 5 volts and 22.75 milliamps while the other was rated for 2 Volts and 20 milliamps.


Procedure:

 We had to begin by figuring out a resistance value that would lower the voltage of the battery such that the LED's would not overload and burn out. Using the fundamental equation V=I*R we found that 178.5 Ohm's was needed to drop 4V and 350 Ohm's was needed to drop 7V. Without the specific drops in voltages, we risked burning out the LED's. Our group used standard resistors for LED's 1 and 2, that were rated at 220 and 470 Ohm's respectively, since that is what we were given to work with. The circuit diagram according to the lab manual is displayed below:






Our group set up the circuit according to the diagram above and did a test in order to see if the LED's would light up without burning out. This is displayed below:

Data for other 3 configurations asked by the lab:





Post- Lab: 



Bonus section:

This section asked why the circuit only works properly if both LED's were hooked up. This is because one LED can not handle the voltage from the battery, so two LED's are needed to distribute the power among themselves.

Calculations: