Resistive Current Divider

Yaser Rahmati | یاسر رحمتی

Set Up the Circuit

In a current divider circuit with two resistors in parallel, let’s call the resistors as R1R_{1} and R2R_{2}. The total current entering the parallel combination is ItotalI_{total}.

Apply Ohm’s Law

According to Ohm’s Law, the current flowing through each resistor is inversely proportional to its resistance. The current flowing through R1R_{1} is I1I_{1} and through R2R_{2} is I2I_{2}. We can express them as:

I1=VR1,I2=VR2I_{1}=\frac{V}{R_{1}} , I_{2}=\frac{V}{R_{2}}

Determine Total Current

The total current, ItotalI_{total}, entering the parallel resistors can be calculated as the sum of currents through R1R_{1} and R2R_{2} :

Itotal=I1+I2=V(1R1+1R2)I_{total}=I_{1}+I_{2}=V(\frac{1}{R_{1}}+\frac{1}{R_{2}})

Calculate Individual Currents

Using the current divider formula, we can calculate the current through each resistor:

I1=Itotal×R2R1+R2    ,    I2=Itotal×R1R1+R2I_{1} = I_{total} \times \frac{R_{2}}{R_{1} + R_{2}} \; \; , \; \; I_{2} = I_{total} \times \frac{R_{1}}{R_{1} + R_{2}}

Example

Python

def calculate_current_divider(Is, R1, R2):
    total_resistance = 1 / (1/R1 + 1/R2)
    I1 = Is * (1 / R2) / total_resistance
    I2 = Is * (1 / R1) / total_resistance
    return I1, I2

Is = float(input("Enter the value of the current source Is: "))
R1 = float(input("Enter the value of resistor R1: "))
R2 = float(input("Enter the value of resistor R2: "))

I1, I2 = calculate_current_divider(Is, R1, R2)

print("Current through resistor R1: ", I1)
print("Current through resistor R2: ", I2)

Keywords

Web Development (Django, Flask) , Data Science (Pandas, NumPy, Matplotlib) , Machine Learning (Scikit-learn, TensorFlow, PyTorch) , Artificial Intelligence , Automation , GUI Development (Tkinter, PyQt) , Game Development (Pygame) , Scientific Computing , Financial Analysis (Pandas, NumPy) , Network Programming , Image Processing (OpenCV) , Web Scraping (Beautiful Soup, Scrapy) , Internet of Things (IoT) Development , Robotics , Cybersecurity , Mobile App Development (Kivy) , Cloud Computing (Boto3, AWS Lambda) , Big Data Analysis (PySpark) , Geographical Information Systems , Natural Language Processing (NLTK, spaCy) , Data Visualization (Seaborn, Plotly) , Bioinformatics (Biopython) , Multimedia Applications , Education and Teaching

Last updated