Electronics/DC Voltage and Current

Ohm's Law
Ohm's law describes the relationship between voltage, current, and resistance.Voltage and current are proportional to the potential difference and inversely proportional to the resistance of the circuit



V = I \cdot R $$


 * Voltage (V) is measured in volts (V); Current (I) in amperes (A); and resistance (R) in ohms (&Omega;).



In this example, the current going through any point in the circuit, I, will be equal to the voltage V divided by the resistance R.



In this example, the voltage across the resistor, V, will be equal to the supplied current, I, times the resistance R.

If two of the values (V, I, or R) are known, the other can be calculated using this formula.

Any more complicated circuit has an equivalent resistance that will allow us to calculate the current draw from the voltage source. Equivalent resistance is worked out using the fact that all resistors are either in parallel or series. Similarly, if the circuit only has a current source, the equivalent resistance can be used to calculate the voltage dropped across the current source.

Kirchoff's Voltage Law
Kirchoff's Voltage Law (KVL):
 * The sum of voltage drops around any loop in the circuit that starts and ends at the same place must be zero.

Voltage as a Physical Quantity

 * 1) Voltage is the potential difference between two charged objects.
 * 2) Potentials can be added or subtracted  in series to make larger or smaller potentials as is commonly done in batteries.
 * 3) Positive charge flow from areas of high potential to lower potential.
 * 4) All the components of a circuit have resistance that acts as a potential drop.

Kirchoff's Current Law
Kirchoff's Current Law (KCL):
 * The sum of all current entering a node must equal the sum of all currents leaving the node.

KCL Example


-I1 + I2 + I3 = 0 &harr; I1 = I2 + I3



I1 - I2 - I3 - I4 = 0 &harr; I2 + I3 + I4 = I1


 * $$ I_1 = I_2 + I_3 + \cdots + I_n \,\! $$

Here is more about Kirchhoff's laws, which can be integrated here

Voltage Dividers
If two circuit elements are in series, there is a voltage drop across each element, but the current through both must be the same. The voltage at any point in the chain divides according to the resistances. A simple circuit with two (or more) resistors in series with a source is called a voltage divider.


 * [[Image:PotentialDivider.png|120px]]

Figure A: Voltage Divider circuit.

Consider the circuit in Figure A. According to KVL the voltage $$V_{in}$$ is dropped across resistors $$R_1$$ and $$R_2$$. If a current i flows through the two series resistors then by Ohm's Law.


 * $$i = \frac{V_{in}}{R_1+R_2}$$.

So
 * $$ V_{out}=iR_2 \,\!$$

Therefore
 * $$ V_{out}=\frac{V_{in}R_2}{R_1+R_2}$$

Similary if $$V_{R1}$$ is the voltage across $$R_1$$ then
 * $$ V_{R1}=\frac{V_{in}R_1}{R_1+R_2}$$

In general for n series resistors the voltage dropped across one of them say $$R_i$$ is
 * $$V_{Ri}=\frac{V_{in}R_i}{R_{eq}} $$

Where
 * $$R_{eq}=R_1+\cdots+R_n$$

Voltage Dividers as References
Clearly voltage dividers can be used as references. If you have a 9 volt battery and you want 4.5 volts, then connect two equal valued resistors in series and take the reference across the second and ground. There are clearly other concerns though, the first concern is current draw and the effect of the source impedance. Clearly connecting two 100 ohm resistors is a bad idea if the source impedance is, say, 50 ohms. Then the current draw would be 0.036 mA which is quite large if the battery is rated, say, 200 milliampere hours. The loading is more annoying with that source impedance too, the reference voltage with that source impedance is $$\frac {9(100)}{250}=3.6\mbox{ V}$$. So clearly, increasing the order of the resistor to at least 1 k$$\Omega$$ is the way to go to reduce the current draw and the effect of loading. The other problem with these voltage divider references is that the reference cannot be loaded if we put a 100 &Omega; resistor in parallel with a 10 k&Omega; resistor. When the voltage divider is made of two 10 k&Omega; resistors, then the resistance of the reference resistor becomes somewhere near 100 &Omega;. This clearly means a terrible reference. If a 10 M&Omega; resistor is used for the reference resistor will still be some where around 10 k&Omega; but still probably less. The effect of tolerances is also a problem; if the resistors are rated 5% then the resistance of 10 k&Omega; resistors can vary by &plusmn;500 &Omega;. This means more inaccuracy with this sort of reference.

Current Dividers
If two elements are in parallel, the voltage across them must be the same, but the current divides according to the resistances. A simple circuit with two (or more) resistors in parallel with a source is called a current divider.



Figure B: Parallel Resistors.

If a voltage V appears across the resistors in Figure B with only $$R_1$$ and $$R_2$$ for the moment then the current flowing in the circuit, before the division, i is according to Ohms Law.
 * $$i=\frac{V}{R_{eq}}$$

Using the equivalent resistance for a parallel combination of resistors is
 * $$i=\frac{V(R_1+R_2)}{R_1R_2}$$          (1)

The current through $$R_1$$ according to Ohms Law is
 * $$i_1=\frac{V}{R_1}$$           (2)

Dividing equation (2) by (1)
 * $$i_1=\frac{iR_2}{R_2+R_1}$$

Similarly
 * $$i_2=\frac{iR_1}{R_2+R_1}$$

In general with n Resistors the current $$i_x$$ is
 * $$i_x=\frac{iR_1R_2\cdots R_n}{ (R_2\cdots R_n+\cdots+ R_1\cdots R_{n-1}) R_x}$$

Or possibly more simply
 * $$\frac{i_x}{i}=\frac{R_{eq}}{R_x}$$

Where
 * $$R_{eq}=\frac{R_1\cdots R_n}{R_2\cdots R_n+\cdots+ R_1\cdots R_{n-1}}$$