Optimizing KCL using Matrix Inversion

  • Thread starter Thread starter chart2006
  • Start date Start date
  • Tags Tags
    Direction
AI Thread Summary
The discussion focuses on optimizing KCL using matrix inversion by setting R1 and R2 to 500 ohms and adjusting R3 to limit current between 0.5 to 2mA. The user encountered discrepancies in their calculations, particularly with R3 set at 1000 ohms, yielding current values of 0.0008A and 0.0016A for voltage extremes of 1V and 2V. Clarification was sought regarding the notation "V1 = 1:0.01:2," which refers to MATLAB syntax for plotting voltage increments. The user has not yet plotted the function but emphasizes that testing extreme voltage values can help determine the function's range. Accurate results are crucial for achieving the desired current limits.
chart2006
Messages
11
Reaction score
0
Set R1 = R2 = 500 ohms, then choose any R3 and plot I versus V1 and V2 for V1 and V2 are between 1 and 2 volts until you find a value of R3 that limits the magnitude of the current to .5 to 2mA.

DP45-1-1.jpg
;
DP45-2.jpg



KCL
i1, i2 = inv(A)*x
i = i1 - i2


I made some large changes and found a few errors with my previous attempt so I deleted that photo and added the new photo of my current work. The equation was derived from using the formula above in reference to matrices. My question is whether or not this is accurate and if so why are my values off? The closest value i can determine is when R3 = 1000 however it doesn't give me i from .5 to 2mA (0.0005 to 0.002). Checking from the extreme values of the source voltage when R3 = 1000:
Low: v1 = v2 = 1, i = .0008A
High: v1 = v2 = 2, i = .0016A
 
Last edited:
Physics news on Phys.org
Sorry, I'm not understanding your problem statement. V1 and V2 both can vary between 1-2V? What does your notation "V1 = 1:0.01:2" mean?
 
sorry it's a MATLAB notation I'm using. It means V1 = 1 to 2 in increments of 0.01. The incrementation is for me when I'm plotting the function.
 
Can you post your MATLAB plots?
 
I only have MATLAB on my laptop and haven't had a chance to plot the function yet but if you take the extreme values as I have with v1=v2=1 and v1=v2=2 that will tell you the range of the function.
 
Last edited:
Back
Top