Can ADS ptolemy Cosimulation with MATLAB to extract data from Band Pass FIlter in ADS

Status
Not open for further replies.

Shan_uoit

Newbie level 4
Joined
Mar 15, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,323
I am trying to work with ADS (the Schematic and Momentum) data in .csv format and want to export these set of data to MATLAB. Can ADS ptolemy Cosimulation with MATLAB, be used to transfer these data sets to be used for Matlab simulation??
 


I am trying to design the band pass filter using ADS schematic model and Layout model using momentum. I am a beginner to ADS, how can I use ADS Ptolemy in this case? And where should I start?

P.S. I have to work with only .m files in MATLAB and will not be using Simulink.
 

I am trying to design the band pass filter using ADS schematic model and Layout model using momentum.
In your case ADS Ptolemy is not involved at all.
Your data are data which have frequency as independent variable.

how can I use ADS Ptolemy in this case?
Do you understand what Ptolemy do ?
The Designer's Guide Community Forum - Complex Analog/RF/DSP IC design tool/flow
Do you understand what a cosimulation between Ptolemy and M-file do ?
Ptolemy is DT(Discrete Time) ; SDF/TSDF simulator.

What on earth do you want to do ?
Why do you need ADS Ptolemy ?

Describe what you want to do in detail and correctly.

I think simply text dump in ADS is enough for your need.
**broken link removed**)

https://www.edaboard.com/threads/162224/

Here use load(), dlmread(), textread() in MATLAB.
% freq[MHz] time[nsec] Root_Noise_PSD[nVrms/sqrt(Hz)]
[x, y, z] = textread('monkey.txt', '%f%f%f', 'headerlines', 2);
 
Last edited:

The band pass filter simulation is run in ADS using Q-manager. For each set of width and length a frequency sweep are done and the corresponding S-parameter data are obtained and stored as ".dds" format from momentum


My First Goal is to;
Convert the s-parameter ".dds" files to ".csv" format or as test file. How can I do this using AEL?

My Second goal is to;
Export these .csv files or text file, into MATLAB, where the data will be used to model Neural Network (NN). (I already have the NN part from MATLAB set up, I just need to export the data to MATLAB)
 
Last edited:

As I expected you don't need ADS Ptolemy at all.

the corresponding S-parameter data are obtained and stored as ".dds" format from momentum
Wrong.
It is ".ds" not ".dds".

Convert the s-parameter ".dds" files to ".csv" format or as test file. How can I do this using AEL?
Surely read my appends.
Use "write_snp()" or "write_var()".
You can read source code of these and modify them.

Export these .csv files or text file, into MATLAB
Do you mean you want to control MATLAB from ADS ?
I don't know whether ADS's AEL can control MATLAB by IPC without any custom special C-Lang sources.
 
Last edited:

duah....i told you I am a beginner at this...are you going to just catch my silly mistakes or are you going to help me?
 

duah....i told you I am a beginner at this...are you going to just catch my silly mistakes or are you going to help me?
Before doing something, try to do everything correctly.
".dds" is AEL for data display not data.


First of all, why do you want to use AEL of ADS ?
https://www.edaboard.com/threads/206057/
I don't think you are familiar with ADS's AEL.

AEL of ADS is very difficult because there are only few documents about it.
Rather I use Unix Shell Script with a few AEL.

Again surely read all my appends.
https://www.edaboard.com/threads/170458/
https://www.edaboard.com/threads/168640/
https://www.edaboard.com/threads/121986/
https://www.edaboard.com/threads/162224/
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…