Strange waveform in LTspice

Thread Starter

AlbertHall

Joined Jun 4, 2014
12,619
Clipboard_11-08-2025_01.jpg

I have drawn the above circuit in LTspice. I have attached the LTspice file and the voltage waveform across R2. The waveform has sharp edges when I would expect a rounded waveform. Can anyone explain where the edges come form, please?
 

Attachments

Jony130

Joined Feb 17, 2009
5,593
Why didn't you draw the full bridge rectifier in a traditional way? And you have the edges when D3 start conducting current and D4 stops conducting (jump to "0V" ), and when D4 stops and D3 starts, the voltage jumps to around 330V * 480k/(1.6G + 480k) = 100mV
 

Jony130

Joined Feb 17, 2009
5,593
This is the waveform at the top of C1.
But the voltage drop across R1 + R2 follows the capacitor current.

And because in your circuit capacitor is very small, we can ignore the resistors and the diode.
And if we connect a capacitor directly to a Half-wave rectified voltage, and you plot the current, you will see this shape:
Figure_1.png


And here you have an example of how you should have drawn this circuit :

1aaa.PNG

In LTspice, use Ctrl+R to rotate the part and Ctrl+E to mirror the part.
 

Attachments

Last edited:

Thread Starter

AlbertHall

Joined Jun 4, 2014
12,619
It is my representation of the touch switch input. C1 represents the capacitance from my finger to the touch pad. The rest is the circuit to be part of a remote light switch. Does that make sense to you?
 
Top