Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] ADS Harmonic Balanced Warning

Status
Not open for further replies.

Ninie_M

Newbie level 3
Joined
May 17, 2017
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
34
Hi,

I am doing simulation in ADS 2013 for OIP3 (3rd order Intermodulation) and P1dB (1dB compression).

Attach below is my OIP3 Setup.
OIP3 Setup.jpg

P1dB Setup
P1dB Setup.jpg

The problem is when I'm simulate both controller, there are warning:
"For source Port1, (1xFreq[2] = 2.001e+09 Hz) is 1e+06 Hz away from the closest analysis frequency at 2e+09 Hz. The maximum allowed frequency difference is 2000Hz."

To solve this warning, I add another Freq[2] is XdB simulator (HB3).

Is this the correct way to solve the warning? or I can just ignore the warning?

Thanks in advance
 

Remove GHz from Analysis controler and signal source.
Instead, set GHz to f1 and f2.

Show me ADS netlist.
 
Define second frequency in HB controller instead VAR block.( f2 does not vary in your case..)
Like this..
hb.PNG

- - - Updated - - -

Or like this.. Use a Parameter Sweep Block
hb2.PNG

hb3.PNG.png
 
Hi Bigboss,

I won't have any problem when I run P1dB and OIP3 separately (means I activate only one simulator at time). But if I want to simulate both parameters at the same time, the error message pop-out.

I tried both of your opinions but the error is still there.

What else can I do? Does the error really affect the simulation result?

Thanks
 

Hi Bigboss,
I won't have any problem when I run P1dB and OIP3 separately (means I activate only one simulator at time). But if I want to simulate both parameters at the same time, the error message pop-out.
I tried both of your opinions but the error is still there.
What else can I do? Does the error really affect the simulation result?
Thanks
You can't do both simulation simultaneously.While one simulations is changing 2 carriers, other one should change single carrier only.
HB cannot discriminate which one is which..P1dB Compression Point simulation needs one single carrier at one single frequency but OIP3 needs 2 carriers ,,
Disable one simulation controller while the other is in progress.
 
The generated netlist is after I add Freq[2] in XdB Simulator.
Code:
f1=2
Spacing = 0.001
f2=f1+Spacing
Pin=-35

Port:PORT1  N__83 0 Num=1  Z=50 Ohm \
Freq[1]=f1 GHz Freq[2]=f2 GHz \
P[1]=dbmtow(Pin) P[2]=dbmtow(Pin) \
Noise=yes Pac=polar(dbmtow(0),0) Temp=Temp
Your PORT1 setting is two tones, Freq[1] and Freq[2].

However, if HB1 analysis is one tone analysis for Freq[1], HB can not treat "Freq[2]=f2 GHz P[2]=dbmtow(Pin)".

This is your mistake.

If if HB1 analysis is one tone analysis for Freq[1], PORT1 has to be one tone, "Freq[1]=f1 GHz P[1]=dbmtow(Pin)".

[Conclusion]
PORT1 Setting is wrong for HB1 which is one tone analysis.
 
Last edited:
Hi bigboss and Pancho,

Now I'm understand my mistake. Like what bigboss said, I need to simulate 1 parameter at time.

[Conclusion]
PORT1 Setting is wrong for HB1 which is one tone analysis.

This is because I used PORT1 to simulate OIP3 which needs 2 supply. I need to have just 1 supply for p1dB simulation.

Is there any way we can simulate both parameters at the same time?

Thanks
 

Is there any way we can simulate both parameters at the same time?
If you set P[2]=0 in PORT1, you can treat PORT1 by 1tone HB Analysis.

Code:
f1=2
Spacing = 0.001
f2=f1+Spacing
Pin_dBm=-35
en=1
Pin1_W=dbmtow(Pin_dBm)
Pin2_W=dbmtow(Pin_dBm)

Port:PORT1  N__83 0 Num=1  Z=50 Ohm \
Freq[1]=f1 GHz Freq[2]=f2 GHz \
P[1]=Pin1_W P[2]=en*Pin2_W \
Noise=yes Pac=polar(dbmtow(0),0) Temp=Temp

Set en=0 via Parameter_Sweep Controler for 1tone HB Analysis.

However no one do such thing, since it is not cool.
 
Last edited:
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top