Salve uso switchercadIII per le simulazioni, il modello che uso per il diac e' molto scadente ed e' questo (conduce un po' quando vuole):
*Generic DIAC .subckt DIAC T1 T2- default parameters .param RS=10 ; series resistance .param VK=20 ; breakdown voltage Q1 N002 N001 T2 0 PN Q2 N001 N002 N005 0 NP R1 N002 N004 {20K*
In rete ho trovato questi due che pero' non funzionano, sono per LTspice e credo siano adatti, noto che il comando .subckt ha parametri diversi pur es sendo in tutti i casi un diac, io non mi ci raccapezzo, qualcuno conosce le modifiche da fare per farlo funzionare? Nel secondo mi pare di capire che sono compresi 6 modelli, ma per usarli de vo rinominare il componente sullo schema chiamandolo non "diac" ma "db3"?
Grazie
mandi
-----
Primo modello:
------
- PSpice Model Editor - Version 9.2
*$
********** *SRC=DB3; 32V 2A *DIAC..SUBCKT DB3 1 2
- TERMINALS: MT2 MT1 QN1 5 4 2 NOUT; OFF QN2 8 6 7 NOUT; OFF QP1 6 8 10 POUT; OFF QP2 4 5 9 POUT; OFF D1 7 9 DZ D2 2 10 DZ DF 4 3 DZ; OFF DR 6 3 DZ; OFF RF 4 3 1.13E+7 RR 6 3 1.13E+7 RT2 1 7 0.755 RH 7 6 10k RH2 4 2 10k ..MODEL DZ D (IS=321F RS=100 N=1.5 IBV=10N BV=30.3) ..MODEL POUT PNP (IS=321F BF=100 CJE=134p TF=25.5U) ..MODEL NOUT NPN (IS=321F BF=200 CJE=134p CJC=26.8p TF=1.7U) ..ENDS
------
Secondo modello:
------
***********************************************************************- DIAC PSpice Models *
- This DIAC model simulates:
*Vbo: Break over voltage
*Delta_V: Dynamic breakover voltage *Ibo: Breakover current * *All these parameters are constant, and don't vary neither *with temperature nor other parameters. ************************************************************************$ .SUBCKT DIAC DIAC_IN DIAC_OUT PARAMS:
+Tr=0.342 +Vbo=13.6V +Delta_V=19V +Ibo=15uA **Vbo: Break over voltage
*Delta_V: Dynamic breakover voltage *Ibo: Breakover current*******************************
- Power circuit *
*******************************
- Switch Model *
- Diodes Model *
- .model DZ19V D(Is=6.994f Rs=5.612 Ikf=0 N=1 Eg=1.11 M=.2906
- Standard DIACs *
- 2008 / ST / Rev 1 .ends
- 2008 / ST / Rev 0 .ends
- 2008 / ST / Rev 1 .ends
- 2008 / ST / Rev 0 .ends
- 2010 / ST / Rev 0 .ends
- 2010 / ST / Rev 0 .ends