Transient Analysis
When I view the current through a resistor in either Probe analysis or by using the expression I(R1) in my analysis limits, the polarity of the current is reversed from what I expect. Why is it giving me these results?
In SPICE, the resistor, inductor, and capacitor all have polarity. SPICE uses this polarity in order to determine the polarity of the current and voltage that is present through the part. If your waveform is reversed, it probably means that the resistor needs to be rotated so that the leads are swapped. To view which side is positive and which is negative, double click on the part while in Select mode. In the Attribute dialog box, enable the Display Pin Names check box and hit OK. The pin names for the resistor will now be displayed on the schematic. You may also change the shape of the resistor and capacitor so that they display a + and - just as the inductor does. There are shapes already created for this purpose. Respolar is the shape for the resistor and Cappolar is the shape for the capacitor. You may change the assigned shape in the Component Editor.
|