作者zxvc (樂於助人)
看板Electronics
標題Re: [問題] HSPICE計算平均功率
時間Thu Oct 23 09:50:18 2008
終於在HSPICE的說明書找到POWER這個variable,
要在HSPICE說明書搜尋"total power"這個關鍵字。
HSPICE說明書說它在計算total power的時候是把
所有的的devices、resistors、independent current sources(!?)、
dependent sources的power加起來
(HSPICE Simulation and Analysis User Guide 2004 pp. 7-19)。
但pp. 7-20又說for total power,HSPICE不會加入independent sources
(voltage and current sources)的power,矛盾。
但我自己測試的結果應該是pp. 7-19的independent current sources是寫錯的。
因為我用這個指令所算出的total power與"AVG POWER"算出的power是完全一樣的
(測試程式可以在此串討論第一篇下載):
.MEASURE TRAN pwr3 AVG PAR('P(XNAND1)+P(XNAND2)+P(XNAND3)+P(XInv1)')
所以HSPICE在算所謂的total power是指消耗在電路上的power。
但為什麼加總sources的total power不等於消耗在電路上的total power?
可能是因為pp. 7-19有說,for semiconductor devices,
HSPICE excludes the power stored in the device junction
or parasitic capacitances。
--
西方三聖:
http://p8.p.pixnet.net/albums/userpics/8/3/553683/1193661731.jpg
《佛說阿彌陀經》
http://web.cc.ncu.edu.tw/~93501025/amtf.doc
十一面觀音咒:
http://file.buda.idv.tw/music/DBZFY04.mp3
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.220.219
※ 編輯: zxvc 來自: 140.115.220.219 (10/23 09:56)
→ zxvc:再給個範例RC response: 10/23 10:27
http://cid-87cef5e6683b5427.skydrive.live.com/self.aspx/Share/RC.sp
※ 編輯: zxvc 來自: 140.115.220.219 (10/23 10:27)
推 pow:拍拍手 追根究底 認真讀manual之後會發現很多bug喔! 10/23 11:36
推 elvisrod:推薦這篇文章 10/23 15:16
推 stephen7710:推推 解決了我的問題 11/18 11:10