微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > Optimaizing function versus freq

Optimaizing function versus freq

时间:04-04 整理:3721RD 点击:
Hi,

I am trying to optimize function that is dependent in freq ( I am multiplying my shape filter with sinc function, and trying to get a square function - AC simulation). I want to optimize the result but ads does not let me optimize a function that is dependent in freq.

I tried to optimize the function using transient response - and using fs() function. but I don't know how to insert the range of frequencies I would like to optimize in (to the Goal variable).
can someone help me?

Sincerely,
Rony.

Hi,

Maybe the problem is that a true square function includes infinite high frequencies.

Klaus

I think you understood me wrong. I am multiplying sinc(pi*freq) (lets assume this is 1 Hz filter) with the frequency response of an active shaping filter I designed (Vout/Vin) to get a square function in the frequency domain - which will become a sinc function in the time domain. I want the square function in the frequancy domain to become as much as "square" it can be by optimizing my filter. But When I am trying to optimize the expression "plot_vs((Vout/Vin)*sin(pi*freq)/(pi*freq),freq)" I get an error from the ads because of the freq variable - "there is no data of the variable freq". What should i do to optimize this expression (lets say i want it to be a single square pulse from 0 to 1 Hz)?

Hi,

Yes, it wasn't clear to me that you want the square function in frequency domain.
And yes, this makes a sinc function in time domain.

But with your problem ... I can't help anymore.

Klaus

I think the problem can be solved by using Matlab interface within ADS.

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

网站地图

Top