DIR Return Create A Forum - Home
---------------------------------------------------------
Micro-Cap EDA Users
HTML https://mc12.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Micro-Cap 12 Discussion
*****************************************************
#Post#: 59--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: MC12
Date: February 17, 2024, 3:45 am
---------------------------------------------------------
--- Quote from: Rohit link ---
>
>
--- Code ---
*VO=NOMINAL OPERATING VOLTAGE
> *IO=NOMINAL STEADY STATE OPERATING CURRENT
> *RCOLD=FILAMEMT RESISTANCE MEASURED AT ROOM TEMP (300K)
> *TAU=CURRENT TIME CONSTANT AFTER A 0 (zero) TO VO STEP IS
APPLIED
> .SUBCKT LAMP 1 2
> .PARAM VO=28 IO=25m RCOLD=112 TAU=22m TAMB=300
> H1 6 0 VML 1
> RH1 6 0 1
> GP 0 4 VALUE={V(6)*V(1,2)}
> *V(4,0) = FILAMENT TEMPERATURE IN KELVINS
> RT 4 5 {300*(VO-IO*RCOLD)/(IO*IO*VO*RCOLD)}
> CT 4 5 {TAU*IO*IO*VO*RCOLD/(300*(VO-IO*RCOLD))}
> VAMB 5 0 {TAMB}
> El 7 0 1 2 300
> R1 7 0 1
> E2 8 0 VALUE={V(4)*RCOLD}
> R2 8 0 1
> E3 10 0 7 9 10MEG
> R3 10 0 1
> E4 9 0 VALUE={V(8)*V(10)}
> R4 9 0 1
> GR 1 3 10 2 1
> VML 3 2 0
> .ENDS LAMP
--- End Code ---
>
--- End Quote ---
Instructions how to add that as a library model would be good,
please?
#Post#: 60--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Rohit
Date: February 17, 2024, 5:10 am
---------------------------------------------------------
Importing and creating a component deserves it's own thread.
I'll soon write a detailed guide.
Meanwhile check this introductory video.
HTML https://www.youtube.com/watch?v=jBNjpias6Qc
#Post#: 61--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: MC12
Date: February 18, 2024, 5:18 am
---------------------------------------------------------
It seems there's a load of YouTube material I wasn't aware of.
Pity their authors are not more consistent in titling, so search
finds them all!
#Post#: 64--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Robert
Date: March 28, 2024, 1:47 pm
---------------------------------------------------------
Hello All,
I wanted to check the DC voltages of the circuit in the
attachment.
At point "A" there should be 0 Volt DC voltage.
What am I doing the wrong way, and how do I check DC voltages in
a circuit?
Thanks for help.
Robert
#Post#: 65--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Rohit
Date: March 29, 2024, 11:55 am
---------------------------------------------------------
I also think so, dc voltage at A should be zero. If you can post
the micro-cap schematic file, then I can look into it.
#Post#: 66--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Robert
Date: March 29, 2024, 3:50 pm
---------------------------------------------------------
Rename .txt to CIR.
Thanks,
Robert
#Post#: 67--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Rohit
Date: March 30, 2024, 12:42 am
---------------------------------------------------------
You ran transient analysis then tried to find 'Node voltage', in
this case the voltage displayed will be the voltage calculated
at last data point (end of simulation time) which is 300m
seconds (as set by you). To find DC voltage (bias point) you
should run Dynamic DC analysis.
#Post#: 68--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Robert
Date: March 30, 2024, 10:17 am
---------------------------------------------------------
THANK YOU! - Success, I am still learning, MC12 is a great
program.
Regards, Robert
#Post#: 87--------------------------------------------------
Re: Incandescent Light Bulb
DIR By: Rohit
Date: February 22, 2025, 5:53 am
---------------------------------------------------------
Update: There is way to chose which voltage/current to display
(RMS, Average, Peak or last) in a transient analysis. It is
called VIP button, to activate it. Press F10 while in schematic
sheet -> View -> Schematic display of voltage current and power.
Select all.
[attachimg=1]
Then run analysis and press VIP button and select which one to
display.
[attachimg=2]
*****************************************************
Page 2 of 2
DIR Previous Page