Monday, 13 June 2016

resistors - How do I calculate the necessary resistance for a voltage divider?


I’m self-taught, and this is a little bit of a thought experiment for me to understand Ohm’s Law better.


I have a very simple voltage divider. Given a 15V DC input, each of three 4.7KΩ resistors cuts the voltage by 33%. I started doing some experimentation, and discovered that no matter what voltage I applied to the circuit, the resistors always cut the voltage and amperage by 33% each. enter image description here


But let’s say I wanted to create the same circuit and didn’t know the necessary resistance?


Given a 15V input and desired outputs of 10V, 5V and 0V, how would I calculate the necessary resistance to use? Is it possible to create a voltage divder that does not have proportional drops (e.g., let's say that from this same circuit, I want 14V, 12V, 5V and 0V)? And how does that math work? I think where I’m getting stuck is whether to use input voltage, output voltage, or change in voltage as the V value.



Answer



Here is one way of understanding the problem and thus arriving at the solutions you seek:



  1. You have a voltage V applied across a "black box", consisting of a series of resistors R1, R2 and R3 in this case. The resistances are in series so they add up, thus the Black Box has a cumulative resistance of R = R1 + R2 + R3.


  2. A voltage applied across a resistance causes a current I to flow, thus: I = V / R.

  3. Since the constituent resistors are in series, the SAME amount of current must flow through each of them. There is no alternative path for current to flow from V+ to ground.

  4. A current across a resistance implies a voltage across said resistance, by the same formula as above, thus: V(r1) = I * R1. That is the potential difference between the two ends of resistor R1.

  5. Similarly, V(r2) = I * R2, and so on.

  6. Evidently, one of these resistors, R3, has one end at ground potential, i.e. 0 volts. Thus, the voltage from there to the other end of that resistor is V(r3). The voltage at the next higher measurement point is V(r3) + V(r2), since the voltages add up, and as stated above, reference to ground.


By following this process, the voltages at each of the points of any series resistance network can be computed if either the applied voltage V (15 volts in this case) or the flowing current due to it, is known.


Now, how does one decide what resistances to use? Well, make the total resistance too small, and the current will be high, potentially burning out the resistors or the power supply, or causing the supplied voltage to droop, depending on how ideal we are assuming things to be. Similarly, use too high a resistance, and too little current will flow, thus the readings will be swamped by other noise effects that exist in practical electronics from various causes.


So pick a number that you like, and divide it in the ratio you want the test-point voltages to be. The resistances need not be equal, just as the voltages need not be at 33% each - calculate for any ratio you want.


I hope this helped.



No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...