微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > 硬件电路设计讨论 > 求助变压器transformer模型

求助变压器transformer模型

时间:10-02 整理:3721RD 点击:
三绕组变压器transformer
能够在cadence下spectre仿真的模型
等效电路或veriloga模型均可啊
求助急用啊,哪位帮忙指点一下

关注,学习下

hspice 可以转陈?

any one help of it ?!

学习了 谢谢


之前大牛贴的,我只是帮忙转一下,不是原创!
转发请记得说下,尊重原作者!

    // VerilogA for edaboard, transformer, veriloga
`include "constants.vams"
`include "disciplines.vams"
module transformer(pr1,pr2,sec1,sec2,th1,th2);
inout pr1,pr2,sec1,sec2,th1,th2;
electrical pr1,pr2,sec1,sec2,th1,th2;
parameter real n1 = 1.0 from [1:inf); //number of turns in primary winding
parameter real n2 = 3.0 from [1:inf); //number of turns in second winding
parameter real n3 = 3.0 from [1:inf); //number of turnes in third winding
parameter real L = 1n from (0:inf); //inductanse per one turn in H
parameter real k12 = 0.97 from [0:1]; //coupling between first and second, first and third windings
parameter real R1 = 1.0 from [0:inf); //resistance of primary winding in Ohm
parameter real R2 = 3.0 from [0:inf); //resistance of second winding in Ohm
parameter real R3 = 3.0 from [0:inf); //resistance of third winding in Ohm
real k13,F1,F2,F3;
analog begin
@(initial_step or initial_step("dc")) begin
k13 = k12;
end
F1 = L*(n1*I(pr1,pr2)-k12*n2*I(sec1,sec2)-k13*n3*I(th1,th2)); //magnetic flow through primary winding
F2 = L*(n2*I(sec1,sec2)-k12*n1*I(pr1,pr2)+n3*I(th1,th2)); //magnetic flow through secondary winding
F3 = L*(n3*I(th1,th2)-k13*n1*I(pr1,pr2)+n2*I(sec1,sec2)); //magnetic flow through secondary winding
V(pr1,pr2)<+R1*I(pr1,pr2)+n1*ddt(F1);
V(sec1,sec2)<+R2*I(sec1,sec2)+n2*ddt(F2);
V(th1,th2)<+R3*I(th1,th2)+n3*ddt(F3);
end
endmodule

good 谢谢了

谢谢了 good

很需要
謝謝了



    this veriloga model sim
1. input sin



2. input pwm pulse



zoom out find



veriloga 可模擬 flyback transformer 漏感嗎?

还有更多的吗

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top