heru.htl Makin betah
Jumlah posting : 123 Join date : 2010-05-24 Age : 47 Lokasi : Purwokerto, Jawa Tengah
| | Bahasa Modeling Netlist SPICE | |
Test... Ini hanya test... Ini contoh rancangan pre-amp transistor tegangan tinggi dalam bahasa modeling Netlist SPICE: - Code:
-
Nama sirkit: HV Pre-Amp With BC546A * (Baris pertama adalah deskripsi singkat nama sirkit.) ******************************************************** * Baris diawali tanda bintang (*) adalah komentar ********************************************************
* Berikut ini contoh model NPN BJT BC546A .MODEL BC546A NPN( + IS=1.533E-14 + NF=1.002 + ISE=7.932E-16 + NE=1.436 + BF=178.7 + IKF=0.1216 + VAF=69.7 + NR=1.004 + ISC=8.305E-14 + NC=1.207 + BR=8.628 + IKR=0.1121 + VAR=44.7 + RB=1 + IRB=1E-06 + RBM=1 + RE=0.6395 + RC=0.6508 + XTB=0 + EG=1.11 + XTI=3 + CJE=1.61E-11 + VJE=0.4209 + MJE=0.3071 + TF=4.995E-10 + XTF=139 + VTF=3.523 + ITF=0.7021 + PTF=0 + CJC=4.388E-12 + VJC=0.2 + MJC=0.2793 + XCJC=0.6193 + TR=1E-32 + CJS=0 + VJS=0.75 + MJS=0.333 + FC=0.7762 )
* Berikut ini contoh detail netlist:
* Forward bias; net: bias & VCC, fixed-resistor 270k Rbias_fwd bias VCC 270k
* Reverse bias; net: bias & 0, fixed-resistor 6.5k Rbias_rev bias 0 6.5k
* Q1 Collector Load Media; net col_load & VCC, fixed-resistor 3.9k Rcol_load col_load VCC 3.9k
* Static Feedback Control; net stat_fb & 0 (GND), fixed-resistor 82-ohms Rstat_fb stat_fb 0 82
* Dielectric input couple; net v_in & bias, el. cap 10uF Cf_in v_in bias 10u
* Dielectric output couple; net col_load & out, el. cap 10uF Cf_out col_load out 10u
* Output final loader; net out & 0 (GND), fixed-resistor 3.9k Rout_load out 0 3.9k
* Q1, BC546A, net: P1 = col_load (collector) P2 = bias (base) * P3 = stat_fb (emitter) Q1 col_load bias stat_fb BC546A
* DC source: DC 63 V, net VCC & 0 (GND) Vsup VCC 0 dc 63
* Signal source: Freq. 1kHz, Mag. 0.7V, Offset = 0, Frame-Wave: Sinusoid Vsrc v_in 0 dc 0 ac 0.7 sin(0 0.7 1000 0 0)
* Batch control, diawali perintah .control .control
* Transient analysis: step=1000, stop=2ms, start=1ms max=2ms, nouic TRAN 1000 2ms 1ms 2ms
* Jalankan perintah cek operating point (OP) OP
* Jalankan simulasi (RUN) RUN
* Tampilkan sinyal output pada GUI NGSPICE: PLOT V(out)
* Akhir batch control berupa perintah .ends .ends
* Akhir netlist berupa perintah .end .end
Salin contoh netlist di atas dalam rupa file bernama "hv_pre_amp.cir". Jika Anda bekerja dengan komputer ber-sistem operasi GNU/Linux dan terinstalasi NGSPICE 2.1, Anda dapat jalankan Netlist SPICE di atas dengan perintah: - Code:
-
ngspice -a hv_pre_amp.cir
Selamat mencoba, Mohon maaf jika salah, ini hanya testing... Berapa tegangan DC di net col_load? Ya... kira-kira 31.5V Berapa tegangan sinyal peak-to-peak di net out? Kira-kira 15Vpp
Last edited by heru.htl on Tue Aug 03, 2010 12:47 am; edited 1 time in total | |
|
Mon Aug 02, 2010 10:23 pm indra_co_maniz