################################################################################ # FICHE DE MODELE SABER : ED:1 REV:0 # AUTEUR:OCSIMIZE DATE:04/18/06 # # FICHIER mos_l4.sin : ind. a du 06/15/06 # ETAT : valid ################################################################################ #==============================================================================# template mos_l4 g d s = rdson,tr,tf #==============================================================================# ################################################################################ # Copyright 2006 to infinity and beyond..., Ocsimize. # This template may not be reproduced or modified # without permission from Ocsimize. Ocsimize does not assume # liability for the use of this template or the results # obtained from using it as long as it is not validated by the final user. # Usage of this template is allowed for customers of Ocsimize's customers ################################################################################ ################################################################################ # # MODIFICATION # # 06/15/06: creation ################################################################################ # # pins # ################################################################################ # Name Type Signification # # g logical_4 mos gate # d electrical mos drain # s electrical mos source # ################################################################################ # # Parameters definition # ################################################################################ # Name Default value Signification # # rdson 30m (Ohms) on resistance # tr 50n (s) risetime # tf 50n (s) falltime # ################################################################################ # # Postprocess information # ################################################################################ # Name Unit Signification # # - - - # ################################################################################ # # usage # ################################################################################ # # This template mimics a mosfet (n): negligible energy command # and on resistive behaviour : # # # Use : # # # | |-----O (d) # | | # (g) O---| |-<---| # | | | # | |-----O (s) # # # ################################################################################ # Notes : ################################################################################ # # the behaviour is mainly dependant of the native template "sw_vc.sin". # please note also that (tr=2*tr,tf=2*tr) to approach the desirable # times. # You may need to add a diode in antiparallel (body diode) and inductive # load. ################################################################################ number rdson = 30m,tr=50n,tf=50n electrical d,s state logic_4 g { sw_vc.sw_vc1 p:s m:d vp:_n4 vm:s = model=(2.5,0.05,rdson,100k) ide_d2an.ide_d2an1 d:g a:_n4 m:s = model=(tr=2*tr,tf=2*tr) }