[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnucap] Several problems: convergence failure, segment fault, para
From: |
Rubén Gómez Antolí |
Subject: |
[Help-gnucap] Several problems: convergence failure, segment fault, params error |
Date: |
Fri, 05 Feb 2010 20:36:06 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20091109) |
Hello all:
I'm getting several problems with a chopper circuit.
Here are the circuit:
gnucap> list
* Fuente de entrada
Vi ( 1 0 ) DC 5.
R1 ( 1 2 ) 1.
C1 ( 0 2 ) 0.0022
* Interruptor
S1 ( 2 3 4 0 ) IntT
* Diodo
D1 ( 0 3 ) UF4004 NA( 1.)
* Filtro
L1 ( 3 5 ) 0.001
C2 ( 5 0 ) 47.u
* Carga
RC ( 5 0 ) 10.
* Control de conmutación
VG ( 4 0 ) pulse iv= 0. pv= 35. delay= 35.u rise= 1.p fall= 1.p width=
15.u period= 50.u
RG ( 4 0 ) 0.01
* Modelos
.model IntT sw ( vt= 1. vh=NA( 0.) von=NA( 0.) voff=NA( 0.) ron= 0.01
roff= 10.Meg tnom=NA( NA))
.model UF4004 d ( tnom=NA( 27.) is= 650.p rs=NA( 0.) n= 2. tt= 50.n cjo=
31.61p pb= 0.85 mj= 0.33 egap= 1.11 xti=NA( 3.) fc=NA( 0.5) bv= 400.
ibv= 10.)
1· Problems with params:
gnucap> param periodo=50us
gnucap> param llano=0.7*periodo
param llano=0.7*periodo
^ ? syntax error
According to wiki page (0) are correct, but fails.
2· Convergence failure:
gnucap> print tran v(*) i(l1)
gnucap> tran 0 5ms 1u > S01.dat
non-recoverable convergence failure, reducing (itl4)
newtime=8.500000e-05 rejectedtime=8.500001e-05 oldtime=8.500000e-05
using=8.500000e-05
tried everything, still doesn't work, giving up
I'm tried setting itl4 bigger and smaller without sucess.
3· Segment fault
I tried to change diode with alter command; when I run tran command,
gnucap dies with a segment fault:
gnucap> alter D1 (0 3) D
gnucap> tran 0 5ms 1u > S01.dat
Violación de segmento
or
gnucap> alter D1 (0 3) D
gnucap> print tran v(*) i(l1)
Violación de segmento
Will help a strace output of this?
Thanks in advance.
Salud y Revolución.
Lobo.
(0)
http://www.gnucap.org/dokuwiki/doku.php?id=gnucap:manual:howto:expressions
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org
- [Help-gnucap] Several problems: convergence failure, segment fault, params error,
Rubén Gómez Antolí <=