The circuit is made of a variable resistor of 10kΩ value and two fixed resistors R1 and R2 .The output voltage V0 should be variable from 2V to 9V, i have to calculate the values of the two fixed resistors R1 and R2. I don't know how to start.
Electrical – voltage divider two unknown resistors
resistorsseriesvoltage divider
Related Solutions
The main point is current.
Take a look at this circuit. Hover your mouse pointer over the ground symbol and you'll see that the current is 25 mA. Now take a look at this circuit and you'll see that the output current is \$ 2.5 \mbox{ } \mu A \$.
Now let's see how the circuits behave under load. Here's the first circuit with load. As you can see, is a 2.38 mA current going through the load resistor on the right and the voltage on it is no longer the expected 2.5 V but instead 2.38 V (because the two bottom resistors are in parallel). If we take a look at the second circuit here, we'll see that now the top resistor drops around whole 5 V while the two bottom resistors have voltage of 4.99 mV. That is because the resistor ratio have been changed here. Since the two bottom resistors are in parallel now, and we have one resistor with significantly larger resistance than the other, their combined resistance is negligible compared to the resistance of just the bottom right resistor (you can check that using parallel resistor formulas). So now the voltage output is significantly different from the 2.5 V we get in case of no-load condition.
Now let's take a look at opposite situation: Two small resistors in voltage divider and one large as load here. Again the combined resistance of the two lower resistors is smaller than the resistance of the smaller resistor of the two. In this case however this doesn't make a big impact on the voltage seen by the load. It still has the voltage of 2.5 V and everything is fine so far.
So the point is when determining the resistance of the resistors, we should take into account the input resistance of the load and the two voltage divider resistors should be as small as possible.
On the other hand, let's compare the current going through the divider in the circuit with large resistors on the divider and the circuit with small resistors on the divider. As you can see, the large resistors have current of just \$2.5 \mbox{ }\mu A\$ going through them and the small resistors have current of 25 mA. The point here is that the current is wasted by the voltage divider and if this was for example part of a battery operated device, it would have a negative impact on the battery life. So the resistors should be as large as possible in order to lower the wasted current.
This gives us two opposite requirements of having as small as possible resistors to get better voltage regulation at the output and as large as possible resistors to get as small as possible wasted current. So to get the correct value, we should see which voltage we need on the load, how precise it needs to be and get the load's input resistance and based on that calculate the size of the resistors we need to get to have the load with acceptable voltage. Then we need to experiment with higher voltage divider resistor values and see how the voltage will be affected by them and find the point where we can't have greater voltage variation depending on the input resistance. At that point, we (in general) have good choice of voltage divider resistors.
Another point that needs to be considered is the power rating of the resistors. This goes in favor of resistors with larger resistance because resistors with lower resistance will dissipate more power and heat up more. That means that they will need to be larger (and usually more expensive) than resistors with larger resistance.
In practice, once you do a number of voltage dividers, you'll see few popular values for the voltage divider resistors. Many people just pick one of them and don't bother too much with calculations, unless there is a problem with the choice. For example for smaller loads, you can pick resistors in the \$100 \mbox{ } k \Omega\$ range while for bigger loads you can use \$10 \mbox{ } k \Omega\$ or even \$1 \mbox{ } k \Omega\$ resistors, if you have enough current to spare.
According to the product details, the output impedance is 100kΩ, so 100Ω would almost completely short the signal.
To get 1.2V from 3V, you need a ratio of 1.2 / 3 = 0.4
Assuming a steady 100kΩ output impedance, you will need a single 66.6kΩ resistor from the sensors output to ground to divide the range down as necessary:
3V * (66.6 / 166.6) = 1.2V
Looking at the xBee datasheet, the ADC input impedance is only 10kΩ, so an signal impedance of ~40kΩ (which is what you would have with the above) is not ideal, and you may lose accuracy.
Ideally, the best thing would probably be to use an simple non-inverting opamp placed in between this and the xBee ADC input to buffer the signal.
Best Answer
A big hint (since this is a homework question).
The voltage varies from A to B, so the variation is (B - A) volts. That should give you a good idea as to what the current through the divider must be...