I want automatic tuning of RF filter screws
3 ビュー (過去 30 日間)
古いコメントを表示
I want to automatically adjust the screws of the RF filter through machine learning. There aren't many examples, so I'm struggling.
0 件のコメント
採用された回答
Star Strider
2023 年 1 月 4 日
I do not have the RF Toolbox, however creating a filter as an anonymous function with appropriate arguments (I just use the passband frequencies here) is certainly possible with these filters, Signal Processing Toolbox filters, and Control System Toolbox system objects. You can use the first approach, or you can combine the frequencies (and other parameters) in one vector (as illustrated in the second approach) and then refer to the elements of the vector in the appropriate places in the rffilter object.
It should then be possible to use the anonymous function version of your rffilter object as part of an objective function in your machine learning application.
Example —
robj = @(f1,f2) rffilter('ResponseType','Bandpass','Implementation','LC Tee','PassbandFrequency',[f1 f2], ...
'StopbandFrequency',[f1 f2].*[0.95 1.05],'PassbandAttenuation',3,'StopbandAttenuation',40);
F1 = 950E+06;
F2 = 2200E+6;
frequencies = linspace(0,2*F2,1001);
figure
rfplot(robj(F1,F2), frequencies)
robj = @(params) rffilter('ResponseType','Bandpass','Implementation','LC Tee','PassbandFrequency',[params(1) params(2)], ...
'StopbandFrequency',[params(1) params(2)].*[0.95 1.05],'PassbandAttenuation',3,'StopbandAttenuation',40);
F1 = 950E+06;
F2 = 2200E+6;
P = [F1 F2];
frequencies = linspace(0,2*P(2),1001);
figure
rfplot(robj(P), frequencies)
.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Multirate and Multistage Filters についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

