So, ultimately, depending on the current loop orientation I define, that dictates how the polarity changes in response (with respect to the voltage source). Which, in other words, determines whether the voltage term is either positive (voltage drop), or negative (voltage rise). I'm so used to having the voltage term isolated from the rest of the other terms when doing mesh-current analysis that I've forgotten how it's interpreted when included with the other terms (or simply having the loop equation be 0 = voltage term + ....). And so with that, the way current runs through resistors and sources are different that care has to be taken when arranging them correctly. Sounds like I need to take some time tonight to review passive sign orientation with sources and mesh-current analysis, since both play a role on how current runs through inductors and capacitors as well.
You can draw any mix of CCW or CW loops you want. I just draw them in the same direction because it makes things simpler. The point to take is that when following the loop equations use polarities that match the directions that you defined.
Loops X is indeed zero because the only current unique to loop X is flowing through R1, but there's a short across R1 so no current flows through R1, therefore Ix = 0. All the currents in the bottom and right side of that loop are accounted for in Iz and Iy.
Loop Z: Iz should be 3(Iz - Iy). You drew Iz CCW, so if you follow the loop in that direction to write the equations, Iz is positive (obviously), but in R3 Iy is flowing in the opposite direction that you are tracing the loop in, so Iy must be negative.
Loop Y is 0 = -8V + 4iy + 3(iy-iz).
The reasons for this are explained immediately above and in my last post about sources. These are the most confusing parts of basic mesh analsysis. If you can understand why these polarities are the way they are, you are good. You can define the current loops in any mix of direction you want (I just draw them all in the same direction because to me it removes variability).
What matters is to stick to the conventions you defined when writing your loop equations. If the current loop direction you defined is correct for the voltage drop of whatever component you come across, it gets a + polarity. If it's wrong (i.e. it's a source but the current direction treats it as a load), then it gets a negative sign. You can do this because, unless you are solving for a mystery source, you know ahead of time how it should behave. If you are solving for a mystery source then you don't know this which is very similar to encountering a load in your trace. You don't really know what's happening in the RLC loads. In either case, you do the same thing: just assume the voltage drop is in the direction you are tracing and if the result ends up being positive you know your assumption was right. If you were wrong, the result is negative.
If an adjacent current loop merges with the current loop you are tracing in the same direction, it gets a + polarity. If not, it gets a - polarity.
Mesh analysis is all about defining/assuming a convention and blindly keeping track of it as you write your loop equations. If it's positive, your assumption was right. If it's negative, your assumption was wrong.
Yeah. You can define whatever damn current loop directions you want. As long as you stay consistent with the currents and voltage drops polarities according to your convention it when tracing your current loop in your chosen direction to write out the loop equations. You can pre-separate the sources to one side if you really want to, but you need to be aware of how it works because what happens if you get a circuit where a single current loop has two sources in it that may or may not oppose each other? Then you're screwed. Or even worse, if they're dependent sources.
RLC mesh gets pretty ugly though if you stick to time domain. Solving differential equations due to all the inductor di/dT terms and dV/dT capacitor terms. I normally just go with frequency domain jwL and 1/jwC and then Laplace to turn it back into time domain or whatever. both are pretty involved for exam questions though if they want you to go all the way through the problem. But you still need to know it in case they just ask for a precursory analysis where an inductor or cap was already charging and a switch changes state which causes the inductor and cap to become a source. Either way, mesh analysis rides on that passive sign convention so you should know it.
Yeah...that's the term...passive sign convention. I had totally forgotten it was a thing.
Interesting. Dependent sources are certainly a nightmare that, while troublesome, are just as necessary into understanding the way current loop directions work, alongside with overall circuit analysis. I actually haven't been introduced to the frequency domain yet with respect to RLC circuits, at least not yet. I do wish to learn more about that method (considering that Laplace is also involved), but if both ways are viable ways into understanding how RLC circuits (for transient responses) work, it would definitely be best to learn both of the approaches (diff. equations vs. frequency domains) you mentioned.
But wait, if what you mentioned the idea of nearby loops merging with the current loops I defined is true, then does that mean that for i3(t=infinity), \[ i_3(t=\infty)\;=\;i_z\;-\;i_y \]? Or does your previous equation for i3 still hold for this steady state operation? Because in one of your previous posts, you described the current through R3 as I3 = Iz + Iy, but that was only due to me drawing Loop y in the CW position in my past drawing. Since I re-drew the current loop Y direction as CCW, should iy then be subtracted from iz to get i3?
Ahh, you're right about that. I don't know why, but I feel like when it comes to voltage sources, they're instinctively easier to understand and work with than current sources, but seeing that the current source was available there should've made for a nice opportunity. As for the current source bridging two loops, I do agree that that would introduce another equation to be included in the mesh analysis. Whether that makes things easier or harder to understand is likely subjective for anyone working with that.I should add that in post #17, you were making more work for yourself by converting the current source to it's thevnin voltage equivalent. The current source outright gives you the loop current for that loop there.
It might not always work out that way though. I can imagine cases where you need to find the voltage drop across the current source but where you can't change it to a Thevnin voltage equivalent either. Not sure what you would do...you might have to assign a dummy mystery voltage drop across it and hope it will solve itself out. It should since the voltage produced by the current source just equals everything else in the loop.
Like if a current source bridges the merge between two loops...then you would have another equation where Isource = I_loop1 + I_loop2, or minus depending on your defining of things. But you would still need the voltage drop across it in some cases just to trace through the loop.
Frequency domain and Laplace makes some things a lot easier. You just treat inductors like a resistor with resistance (impedance) jwL and for capacitors it's 1/jwC, where w = 2*pi*f. Then Laplace or Laplace tables to turn it into the time domain if required. It's like magic.
You mean in post #13?
Your drawing takes precedence. If you defined Iz and Iy as going in opposite directions through R3, then the current through R3 will be I3 = Iz - Iy or Iy - Iz, depending on which loop equation you were looking at. It all hinges on your drawing.
In that case, I said I3 = Iz + Iy because that's how you defined current directions in that drawing. If you defined them differently, it would change because your calculated Iz and Iy would change based on how you drew them.
Yes. If they were opposite direction it would be either Iz - Iy or Iy - Iz. Positive result means the direction matches that of the left operand. Negative means the right operand. Basically same as always: positive = assumption right, negative = assumption wrong.As for your post, yes, that's exactly what I meant. So in that case, if I defined the current loop Iz as going in a clockwise direction, and the loop y as going in a counterclockwise direction, would that also lead to the I3 = Iz + Iy as well? I just want to make sure because on the original post (post #1) I brought up, the original path of the I3 current across the R3 resistor was going downwards. So I'm not sure if that affects anything we've done up to this point?
It beats solving differential equations which is what you do if you stay in the time domain. You work off Laplace transform tables to minimize the amount of calculus you need to do and only if you actually need to bring the answer back into the time domain.Hmm, I would most certainly like to learn more about that method for treating inductors like resistors with impedance, except that sadly I haven't been introduced to that concept yet. Does that method usually simplify things when it comes to understanding RLC circuits?
Wait, so I'm confused about this matter. I do understand the part you mention about the opposing directions that current loops can take, which is what I decided to do for the t<0 case (the one with the voltage source intact only). I set the iz current loop to go CW, and iy in the CCW, so that both are in opposite directions and that I can follow their own respective conventions and polarities. Upon redoing the calculations again, it does turn out that both iz and iy are both positive, along with ix being positive as well. However, what I'm a bit lost on is what you mention about the "positive result". Were you stating with respect to i3 being positive? Or iz and iy?Yes. If they were opposite direction it would be either Iz - Iy or Iy - Iz. Positive result means the direction matches that of the left operand. Negative means the right operand. Basically same as always: positive = assumption right, negative = assumption wrong.
Oh dear, so with the assumptions you've stated in regards to i3 = iy +iz (being that both values are positive), I carelessly calculated the wrong value of i3 for this case. It is true, as you say, that the way current loops are defined and directed certainly affect what the resulting i3 value will be.If you go I3 = Iy + Iz, you are implicitly assuming that I3 is in the same direction as Iy.
If you go I3 = Iz + Iy, you are implicitly assuming that I3 is in the same direction as Iz.
If the calculated I3 < 0 then that means your assumption, whatever it was, was wrong.
It's obscured here because the current loops are defined to be in the same direction and you calculated they were both positive. But it matters when currents are opposite or if you calculated some of them to be negative. Do you need drawn examples of every combination?
If one loop was CW and the other was CCW:
If you go I3 = Iy - Iz, you are implicitly assuming that I3 is in the same direction as Iy as drawn, not as calculated.
It's obscured here because the current loops are defined to be in the same direction and you calculated they were both positive. But it matters when currents are opposite or if you calculated some of them to be negative.
So let's say one loop was CW and the other was CCW:
In visual form: Draw an arrow representing I3. Draw it completely backwards if you want. All loop currents that have the same direction have a positive operator, all opposite have a negative operator in front. Then substitute in the calculated loop currents WITH their calculated polarity. You basically assumed a direction for I3 when you do this. If I3 is positive you assumed right. If not you assumed wrong. No different than the rest.
You form the I3 equation with signs and operators for the variables that assume direction, then plug in loop currents WITH the calculated polarity on top of that.
Long form:
If you go I3 = Iy - Iz, you are implicitly assuming that I3 is in the same direction as Iy as drawn, not as calculated.
Then if you calculated Iy to be negative and Iz positive it means your assumption of Iy's direction was wrong, but let's ignore that and push ahead...
If |Iy| > |Iz| then plugging it in gets a negative I3 which means the direction of I3 is opposite of Iy as drawn, not as calculated (or same as Iz as drawn). Same thing happens if Iy is calculated positive and Iz is calculated positive but Iy < Iz.
Sort of...you would have known your assumption for Iz was wrong the second it popped out of the calculation as a negative number. if you need to display it as an answer then you can correct the direction at that point if required, but if you need to continue using the value in other calcuations in the mesh analysis then...Ah, now that makes sense, especially when you frame the loop currents having their respective operators and the actual calculated loop currents with their own polarities (either positive or negative). But then, by that token, we must've set up the current loop equation for Loop z wrong, because while Loop z is drawn in the opposite direction of i3, the i3 would be set up as: i3 = iy + (-iz) = (0.444 A) + (-1.33 A) = negative, indicating that my assumption of iz direction was wrong, right?
...you don't need to recalculate or re-draw if your assumption was wrong. Just continue working with all the values as is. This is probably best anyways since it will just cause confusion in your conventions if you make correct direction assumptions here and there. If you were consistent it should carry all the way through to the end. That's kind of why you treat it mechanically and blindly like a computer. The polarity of your calculated voltages and currents will work together to cancel out any wrong assumptions you made in their direction on your drawing. Whenever you combine the two together, then you know the actual direction but you only need to do this when you display the final result so the person reading it has an easier time.That must be the curveball you've been highlighting I think, which means I need to re-draw and re-calculate iz and iy in their correct directions to get their correct polarities and ultimately the right i3 value?
Hmm, you're right, it was perhaps silly of me to have not immediately seen the error of my assumptions when the negative value came up (and not realized it sooner). Oh, well I think you may be right about not needlessly involving more work with all the re-calculating and re-drawings. My final values did end up positive for i3(t<0) and i3(t=infinity), as 2.67 A and 1.78 A, respectively.Yes, but you would have known your assumption for Iz was wrong the second it popped out of the calculation as a negative number. if you need to display it as an answer then you can correct the direction at that point if required, but if you need to continue using the value in other calcuations in the mesh analysis then...
...you don't need to recalculate or re-draw if your assumption was wrong. Just continue working with all the values as is it by reversing direction in the drawing if your calculated current was negative (or voltage for that matter). This is probably best anyways since it will just cause confusion in your conventions if you make correct direction assumptions here and there. If you were consistent it should carry all the way through to the end. That's kind of why you treat it mechanically and blindly like a computer. Only whenever you actually require displaying a result do you need to correct for the bad assumption just so it makes sense to the person reading it.
Ah, your current statements into post #29 now ring true with respect to the example you clarified for the CW orientation of both Iz and Iy. It certainly demonstrates the point of just maintaining consistency for the drawing, currents and loops setup that allow you to test whether your assumptions were found to be true. It's more thorough than what I expected, but it emphasizes your point of working through the calculations in a consistent manner.Found a mistake in my last post and corrected it.
It's possible that the method I suggested to calculate tau is not valid. I don't see why it wouldn't be though. We might have to run this through a circuit simulator to check
https://www.falstad.com/circuit/
Hmm, well it's anyone guess as to whether the method taken was correct in determining tau. At least, when I tried to visualize opening the inductor and seeing how the resistors are oriented to find the equivalent resistance, that generated a lot of confusion.Found a mistake in my last post and corrected it.
It's possible that the method I suggested to calculate tau is not valid. I don't see why it wouldn't be though. We might have to run this through a circuit simulator to check
https://www.falstad.com/circuit/
Well, I set up the circuit already and linked you to it. MIght require some tinkering though.Ah, your current statements into post #29 now ring true with respect to the example you clarified for the CW orientation of both Iz and Iy. It certainly demonstrates the point of just maintaining consistency for the drawing, currents and loops setup that allow you to test whether your assumptions were found to be true. It's more thorough than what I expected, but it emphasizes your point of working through the calculations in a consistent manner.
Hmm, well it's anyone guess as to whether the method taken was correct in determining tau. At least, when I tried to visualize opening the inductor and seeing how the resistors are oriented to find the equivalent resistance, that generated a lot of confusion.
Oh, well this is a circuit simulator that I have not used before. I'm not exactly sure what key variables am I supposed to be identifying for the circuit shown?
Oh, okay, before I had a problem with my computer opening it up, I can see the condition now for where the switch is open. You are right about the strange change in I3 as the switch closes. I'm trying to interpret the cause of this, but even I'm uncertain as to what exactly it could be.Well, I set up the circuit already and linked you to it. MIght require some tinkering though.
https://www.falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+45.7144713268909+31+5+50 r+112+80+112+176+0+2 r+112+176+112+272+0+6 r+224+176+224+288+0+3 r+352+64+352+304+0+4 v+224+176+224+128+0+0+40+12+0+0+0.5 w+112+80+224+128+0 w+224+128+352+64+0 s+384+64+464+64+0+1+false w+352+64+384+64+0 i+480+240+464+64+0+2 w+480+240+352+304+0 w+112+272+224+336+0 w+224+336+352+304+0 l+112+176+224+176+0+0.000001+6.666666666666667 370+224+336+224+288+1+0 o+14+256+0+4099+5+1.6+0+2+14+3
Oh, okay, thanks for the heads up there. So the max scale option and the step time both help in identifying the time constant.The time constant is for the current in the inductor so that's what you have to look at, not I3. I observed it took 310ns to complete 37% of the change between the two steady states.
You have to turn on the max scale option right clicking on the plot and then fiddle with the step time under OPtions->Other Options, and then again with the time scale slide bar found by right clicking the plot- > properties.
But tau was calculated to be 630ns. Hmmm...
https://www.falstad.com/circuit/circuitjs.html?cct=$+1+1e-8+0.2954511527092107+31+5+50 r+80+80+80+176+0+2 r+80+176+80+272+0+6 r+224+176+224+288+0+3 r+352+64+352+304+0+4 v+224+176+224+128+0+0+40+12+0+0+0.5 w+80+80+224+128+0 w+224+128+352+64+0 s+384+64+464+64+0+0+false w+352+64+384+64+0 i+480+240+464+64+0+2 w+480+240+352+304+0 w+80+272+224+336+0 w+224+336+352+304+0 l+112+176+224+176+0+0.000001+6.223166169895595 370+224+336+224+288+1+0 370+80+176+112+176+1+0 o+15+1+0+12293+0.0001+6.666666666666481+0+2+15+3
I also realized that what we did with the "AC analysis" where we turned of all the sources and calculated the LR constant was the same as if you turned off all the sources, and calculated the thevnin resistance by looking out of the terminals of the inductor (treating it as the load for the thevnin circuit). In other words, it still seems to me that the tau calculation should have worked.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?