blob: d7200d7a0d34bdacd77b2bcb1181c9c88478d5d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
* /home/fossee/downloads/powercktexamples/fullwaverec/fullwaverec.cir
.include scr.sub
.include PowerDiode.lib
x1 gnd pulse out2 scr
v1 in1 in2 sine(0 200 100 0 0)
v2 pulse gnd pulse(0 5 2m 0 0 1m 5m)
d1 in1 out1 PowerDiode
d3 in2 out1 PowerDiode
d2 gnd in1 PowerDiode
d4 gnd in2 PowerDiode
r1 out1 out2 100
.tran 20e-06 20e-03 0e-03
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
.endc
.end
|