?MAST????????? - PowerPoint PPT Presentation

1 / 37
About This Presentation
Title:

?MAST?????????

Description:

Title: MAST Author: jiangyu Last modified by: acer Created Date: 11/27/2003 11:29:45 AM Document presentation format – PowerPoint PPT presentation

Number of Views:77
Avg rating:3.0/5.0
Slides: 38
Provided by: jiang153
Category:

less

Transcript and Presenter's Notes

Title: ?MAST?????????


1
?MAST?????????
  • ?????,?????????????????,??????????????????????????
    ???,?????????

2
???????MAST?????
  • ??????????????MAST?????????????????
  • ???????????????????,???????????????????
  • ???????????????????????????

3
MAST???????
  • ?????????,????????????????????????,????????????,??
    ??argument?????monte carlo???????????????????????,
    ??C?fortran????????????parameters,??????
  • parameters
  • statements

4
??????MAST??
  • element template ideal_transformer p1 p2 s1
    s2ratio,n1,n2
  • electrical p1,p2,s1,s2
  • number ratio1
  • number n10
  • number n20
  • number ref
  • var i ip,is
  • val v vp,vs

5
??????MAST??(1)
  • parameters
  • if(n10n20) then refratio
  • else refn1/n2
  • values
  • vpv(p1)-v(p2)
  • vsv(s1)-v(s2)
  • equations
  • i(p1-gtp2)ip
  • i(s2-gts1)is
  • ip ipis/ref
  • is vpvsref

6
?????????????
  • ????????????????????,????????????????????,????????
    ???????????
  • ????????????????,?????????????????????????????????
    ??????????????,????????????,???????????,??????????
    ???

??
7
???????
  • element template xformer p1 m1 p2 m2 l1, l2, k
  • electrical p1, m1, p2, m2
  • number l1, l2, k 1
  • start body of template
  • number m local declaration
  • parameters start parameters section
  • if (k lt -1 k gt 1)
  • error("coupling factor must be between -1 and
    1k",
  • instance(), k) if error, display message
  • and terminate simulation

8
???????(1)
  • else
  • m k sqrt(abs(l1 l2))
  • otherwise, compute mutual
  • inductance
  • Use following netlist to make a transformer
    from
  • two mutually-coupled inductors
  • inductor.1 p1 m1 l1 inductor netlist entry
  • inductor.2 p2 m2 l2 other inductor netlist
    entry
  • mutind.12 i(inductor.1) i(inductor.2) m
  • mutual inductance netlist entry

??
???
????
??
9
??????????
  • ?????????element template ???template?
  • ????????????????????,????????????????????????
  • ???????????,???????????????????????????

10
???????????????
  • inductor.1 p1 m1 l1
  • inductor.2 p2 m2 l2
  • mutind.12 i(inductor.1) i(inductor.2) m

?????
11
???????????
  • ????????????????????
  • ????????????????
  • ??????????????????????
  • ??????????????????????

12
??????
  • ?????????????????
  • ???alter?????????????very??????????
  • ???????value????????,????????????,????????????????
    ???

13
??????
  • ???????,???????parameters,??????????
    ,??????????????
  • ??????????,???????????????????

??
14
???????
  • ?MAST??????????????????????,??????????????????????
    ???????????,??????????????????????????????????????
    ??????,??????????????????

15
??????????
  • error(format)
  • format ????????,?????,????? ,?????? ????????
    ,???????????????,?????????????
  • error("coupling factor must be between -1 and
  • 1k",instance(),k)
  • xformer.bad a b c d 1m, 2m, 2
  • xformer.badcoupling factor must be
  • between -1 and 1k2

16
??????????
  • warning(format)
  • message(format )?????????error???????,??message??
    ???????????

??
17
????????
  • ?????????????????,?????????????????,??????????????
    ?????,?????????????????????,??????????????????????
    ?
  • ?????????,?????????????????,?????????,????????????
    ?????

18
????????????
  • ????????,????????????,??????????????????1,???????,
    ????????????????,??????????,??????????????????
  • ?????????????????

?????
19
???????
  • ?????????????????????????????,????????????????????

????
????
????
????
20
??????
  • ?SABER???????????,???????????????????????????,????
    ???????????,??????????????????????????????????????
    ??????????,????????????

????
21
??????????
  • ????????????????????,???????????????????,?????????
    B-H??,????B-H???????????????????

22
????B-H?????
  • ????????????,?????B-H????????
  • ??????????????(bsat),?H??????bsat?????????????????
    ?,?H???2?bsat????H??,???????????,?????????????,???
    ?????????????,???????????????

23
???????
BK1H
24
?????????
  • element template core_bh_cont pm nm
    slop1,slop2,bsat,area,len
  • magnetic pm,nm
  • number slop10.065/5
  • number slop20.000166/5
  • number bsat1.67
  • number area0.12206
  • number len0.9

?????
25
?????????(1)
  • var bsi bcore
  • var f fcore
  • val mmf mmfcore
  • val nu mmfval
  • val bsi bcore1
  • number kneebsat/slop1
  • number a(slop2-slop1)/(2knee)
  • number bslop1-2aknee
  • number cbsat-aknee2-bknee
  • number bl_14knee2a2kneebc

26
?????value?
  • values
  • mmfcoremmf(pm)-mmf(nm)
  • mmfvalmmfcore/len 20
  • if(abs(mmfval)ltknee)
  • bcore1mmfvalslop1
  • if(mmfvalgt2knee)
  • bcore1bl_1slop2(mmfval-2knee)

27
?????value?(1)
  • if((mmfvalgtknee)(mmfvallt2knee))
  • bcore1ammfval2bmmfvalc
  • 30
  • if(mmfvallt(-2knee))
  • bcore1-bl_1slop2(mmfval2knee)
  • if((mmfvallt(-knee))(mmfvalgt(-2knee)))
  • bcore1-ammfval2bmmfval-c

????
28
????????
  • equations
  • f(pm-gtnm)fcore
  • fcorefcorebcorearea
  • bcorebcore1

29
????
  • ????????????????????,?????????????????????????

30
?????MAST??
  • element template reluct pm mm reluctance
  • magnetic pm,mm
  • number reluctance
  • var f flux
  • val mmf d
  • values
  • dmmf(pm)-mmf(mm)
  • equations
  • f(pm-gtmm)flux
  • dfluxreluctance

31
???????
  • number amp50,freq1k,ph00
  • vsine.v1 psea m0phph0,ffreq,amplamp
  • number nwind100,rwind1
  • wind.winda epsea em0 mpmmf_p
    mm0nnwind,rrwind
  • number area_cs0.0050.005
  • number length0.04
  • number bsat_start1
  • number slope_lin0.00804
  • number slope_satslope_lin/1500
  • core_bh_cont.core pmmmf_p nmcore_endareaarea_c
    s,lenlength,bsatbsat_start,slop1slope_lin,slop2
    slope_sat
  • number gap_length0.001
  • number reluctgap_length/(43.140.1uarea_cs)
  • reluct.air_gap pmcore_end mm0reluct

32
???????
33
?????????
  • ??????,??????????????,????????????????,???????????
    ?????????????,??????????????????
  • Vout AVin Vin Vout/A
  • ????????,??????????????????????????,??????????????
    ??

34
?????MAST??
  • element template opamp ip im out a
  • electrical ip, im, out header declarations
  • number a inf
  • start of template body
  • var i iout local declarations
  • number x1, x2

35
?????MAST??1
  • parameters
  • if (ainf aundef) if gain is infinite
  • x11 x20 or undefined, then input
  • voltage is 0
  • else otherwise, output voltage
  • x1a x21 is gain times input voltage
  • end of parameters section
  • equations start of equations section
  • i(out) iout current contribution at output
  • iout x1 (v(ip) - v(im)) x2 v(out)
  • equation associated with iout
  • end of equations section

36
?????MAST?????
  • ????????????,??????????inf?????inf ?
    undef??????MAST?????
  • ???????????????????

37
????MAST?????
  • ????????????????,???????????????????????????????va
    lues??????????????
  • ?????????????,??????????????????
Write a Comment
User Comments (0)
About PowerShow.com