微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > ADS - about function- dbpolar()

ADS - about function- dbpolar()

时间:04-08 整理:3721RD 点击:
Hi ,I met a strange problem. Why the dbpolar() is not valid in my design ?All other function are OK~As pho below~
Is there any one met the same problem ?

BTW,how to display this point, 0.23/14 (dB/ang) ,on the smith chart ?

thanks very much~~

help~~~~~

Sorry, no idea

"dbpolar()" is not available as "Measurement Expressions", although it is available as "Simulator Expressions".

See the followings.
http://edocs.soco.agilent.com/displa...nt+Expressions
http://edocs.soco.agilent.com/displa...or+Expressions

Use "A1=10**(0.2872/20.0)*exp(j*14*pi/180.0)" instead of "A1=dbpolar(0.2872, 14)".

Or use "A1=polar(10**(0.2872/20.0), 14)"

Of course you can define your "dbpolar()" function which is available as Measurement Expressions.

Save following as "SHOME/hpeesof/expressions/ael/dbpolar.ael"

defun dbpolar(dBX, Angle_deg)
{
return 10**(dBX/20.0) * exp(j*Angle_deg*pi/180.0);
}

or

defun dbpolar(dBX, Angle_deg)
{
return polar(10**(dBX/20.0), Angle_deg);
}


And add load("dbpolar"); in the following.
"SHOME/hpeesof/expressions/ael/user_defined_fun.ael"

Then restart ADS.

Thanks a lot~~~~So great~~~

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top