# Why Does LTSpice Always Show Negative Voltages in a Rectifier Circuit?

Rather new to electronics, I'm trying to design some of my first circuits. One of them includes a bridge rectifier feeding into an opamp used as a comparator. However, I'm a bit perplexed as to why LTSpice shows the input voltage as consistently negative, regardless of where in the sine wave the input voltage component is at/should be. I've tried reversing the polarity of the voltage component, reversing the leads that feed the bridge, and the like but seem to get the same result. The input voltage is above zero at about +1V (I'm assuming due to 2X the voltage drop of the diodes used) for part of the cycle - inverting the concept of a diode "voltage drop". Is the voltage really driving negative or is this an artifact of LTSpice modeling? In either case, is there a way to change this? • It reports the voltage relative to GND. Look where you put GND. – PlasmaHH May 20 '16 at 12:54
• You built your bridge rectifier upside-down, connecting vrout to the negative dc terminal. – W5VO May 20 '16 at 12:59
• @PlasmaHH and W5VO You were both correct - I'd had tried changing both ground and outputs before, but never at the same time. Thanks for the pointers toward the issue - I'll do some more thinking. If one of you wants to make this an answer I'll mark it as such. – JimMSDN May 20 '16 at 13:08
• So, a follow-up question: is there another way to see both the positive and negative halves of the input sine wave other than what I've done, which is to measure at both my Vrin1 and Vrin2? – JimMSDN May 20 '16 at 13:11
• When you probe (measure) Vrin1, what the program plots is the voltage between Vrin1 and ground (which is actually 0 V (zero volts)). So if you would plot Vrin1 - Vrin2 you would plot the voltage across V1 which will have positive and negative values. – Bimpelrekkie May 20 '16 at 13:58

Note that the voltage source is ideal by default, so has no resistance, thus will produce a perfect sine wave. Expect real-world measurements to never match simulation. So here is added 1Ω of series resistance, and a capacitor chosen with real-world parasistic values (a good 25v Nichicon): 