10-16-2007 03:32 PM - edited 10-16-2007 03:32 PM
Message Edited by snouto override on 10-16-2007 03:35 PM
10-16-2007 05:57 PM - edited 10-16-2007 05:57 PM
Message Edited by digitalguy on 10-16-2007 05:58 PM
10-16-2007 06:07 PM
10-16-2007 06:31 PM - edited 10-16-2007 06:31 PM
Hi Max,
None of us even considered the internal mechanism at work when Multisim does its calculation in this manner. If what you say is what is correct (and I do think it is more than just that as my next question will emphasize). Then shouldn't that be something that should be looked into for a possible fix?
I have questions. The componenet models for the coils and capacitors are comsidered perfect with no internal resistances as modeled. Is this a correct statement? With that said and if the above statement is true, then this can contribute to a High Q circuit as well based mainly on the Q of the coil being defined as Q=XL/R where XL is Inductive Reactance and R is the internal or what I would refer to as DC Resistance of the coil In this case the Q of the coil would be XL/R or XL/0 which is considered infinity. Is this statement also true?IWith the Q of the coil being as such would that or would that not affect the results .especially since EL(Voltage across coil)=E (Source Voltage)*Q.(Q factor of coil)? I am wanting clear this up for may own satisfaction.
To digitalguy:
Thank you very much for your information. I think that is very good information when it comes to any design especially designs where tolerances may play a role in the eventual outcome. I beleive you when you say both are correct and I believe that they are both correct based upon my research.
I would also like to commend everyone that contributed to this disucssion. We may not have totally agreed at times and our methods my have been slightly different but I think we have come to the same conclusions and did it in a kind and professional manner. Thanks to everyone for keeping it respectful to everyone of all skill levels.
Message Edited by lacy on 10-16-2007 07:06 PM
10-16-2007 07:34 PM - edited 10-16-2007 07:34 PM
Sorry, if this was read. I am in error and have thus canceled this post.
Message Edited by lacy on 10-16-2007 07:40 PM
10-16-2007 08:18 PM
10-16-2007 10:38 PM
Hi Max,
A couple of questions about your reply to the question at hand:
1) Does this problem with SPICE you speak of occur only at resonance with high Q circuits, because the circuit measurements seems to match hand calculations at non-resonance points?
2) Is it just a fluke that in the simulated circuit we are speaking of, the measured voltages work out perfectly (within reason) when plugged into the test equation
v |
= |
((vL - vC)² + vR²)½ |
10-17-2007 09:27 AM
10-17-2007 01:00 PM
Maxish, would I be correct in characterizing your answer like this:
The root cause of the error was inherent to the methods used to digitize (or quantize) a calculus equation (the time domain). In effect when there is little damping, this allows for rapid change of current and voltage in the reactive components. In other words, dv/dt and di/dt have a very steep slope at various times. In this case, the math attempts to integrate the result by quantizing the area under this curve in small rectangular blocks as usual but the time step being too large for the now large slope causes unacceptable error to enter the calculation.
If this is the case, it is not a bug but a limitation of the method used to calculate the result. If my description above is correct, there is nothing to fix in the code but there are probably ways to teach the program to recognize these instances and give better debugging information back to the user. I've only really done simulation a handful of times but what i get back from the debugging window is often more cryptic than the spice models themselves.
10-17-2007 04:35 PM