It's only a square wave.
JCX shows how much one needs to know before one can learn anything from LTspice.
Simply learning how to operate LTspice is near the end of the learning required.
JCX shows how much one needs to know before one can learn anything from LTspice.
Simply learning how to operate LTspice is near the end of the learning required.
This is what I use
;PULSE({{ogen}+{vgen}} {{ogen}-{vgen}} {250m/{fgen}} 0 0 {450m/{fgen}} {1/{fgen}})
.param fgen 10k; Frequency
.param vgen 100m; Volts
.param ogen 300m; Offset volts
;PULSE({{ogen}+{vgen}} {{ogen}-{vgen}} {250m/{fgen}} 0 0 {450m/{fgen}} {1/{fgen}})
.param fgen 10k; Frequency
.param vgen 100m; Volts
.param ogen 300m; Offset volts
This is how I do it
A bit late, but this is how I do it:
Add a voltage source to your window, set parameters:
PULSE(-2 2 0 0.1p 0.1p 0.05m 0.1m)
.tran 1ms
This gives you a square pulse source, with an p-p amplitude of 4 volts (+2, -2)
The attached pdf explains how to do it in detail. (I've made it for myself to remember)
Typical output is shown in the picture.
A bit late, but this is how I do it:
Add a voltage source to your window, set parameters:
PULSE(-2 2 0 0.1p 0.1p 0.05m 0.1m)
.tran 1ms
This gives you a square pulse source, with an p-p amplitude of 4 volts (+2, -2)
The attached pdf explains how to do it in detail. (I've made it for myself to remember)
Typical output is shown in the picture.
Attachments
Last edited:
- Status
- Not open for further replies.