LTSpice / Problem with transformer

Thread Starter

Shadowlord

Joined Jun 1, 2005
3
I've build a simple transformer model with LTSpice. I works wonderful with the voltage, but I've got a problem with the current. On the secondary side i have a rectifier, current and voltage shape are ok. But on the primary side, I have a sinus shaped curren with a dc offset. Can somebody help me further ?

P.S. The transformer is build with two inductors (coupling=1) and two resistors for the resistance
 

Thread Starter

Shadowlord

Joined Jun 1, 2005
3
Originally posted by mozikluv@Jun 2 2005, 04:37 AM
hi,

post your circuit :D
[post=8142]Quoted post[/post]​
Main circuit

* C:\Programme\LTC\SwCADIII\examples\Jung\Test\Transformator_1.asc
V1 Phase_In 0 SINE(0 340 50)
X§T1 Phase_In 0 Phase_Out 0 Trafo_1P
D1 Phase_Out DC+ MURS320
D2 0 DC+ MURS320
D3 DC- Phase_Out MURS320
D4 DC- 0 MURS320
C1 DC+ DC- 100µ
R1 DC+ DC- 100
.model D D
.lib C:\Programme\LTC\SwCADIII\lib\cmp\standard.dio
.tran 0.1
.lib Jung_1\Trafo_1P.sub
.backanno
.end

Trafo:

* 1 Phasentrafo
* L1= 76mH
* L2= 0.76mH
* u= 10
* Ohmscher Widerstand = 0.01 Ohm

.subckt Trafo_1P P1 N1 P2 N2
L1 N001 N1 0.076
L2 N002 N2 7.64e-4
R1 P1 N001 0.01
R2 P2 N002 0.01
K1 L1 L2 1
.backanno
.ends Trafo_1P
 
Top