- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
How to add harmonic conent in time domain in ADS?
If I write ts(IDS.i) then I can see the current waveform in time domain.
But if I write ts(IDS.i[0])+ts(IDS.i[1])+ts(IDS.i[2])+ts(IDS.i[3])+..., I cannot obtain the correct waveform.
Anyone can help me how to write the expression correctly?
Thanks!
check with what()
also correct ) to ] in your expression
no, it's just typo here.
it seems that ADS trate the expression "ts(IDS.i[0])+ts(IDS.i[1])+ts(IDS.i[2])+ts(IDS.i[3])+..." as ts(constant magnitude), the result is always a perfect sinus waveform.
Try with ts(IDS.i[0]+IDS.i[1]) etc.
It doesn't work, neither. The result is a different perfect sinus waveform.
If you have a look of the 2 expressions in spectrum, Both does not contain any harmonic content.
will you share the plots? circuit?
Sorry to say that unable to understand the problem.
The left waveform is correct, but how can I write a expression by adding separate components to obtain the same waveform?
For me it looks OK.
will you take individual plots for me?
I mean i[1],i[3],I[5] and i[7].
The individual plot ts(IDS.i[1]),ts(IDS.i[2]),ts(IDS.i[3]),... look ok. Each has different magnitude and phase
The question is, by using "+", it cannot be added together in a correct manner.
thanks.
f0=HB.freq[1]
T0=1/f0
dt=(T0/5)/20
tx=[0.0::dt::T0]
numtpts=int(T0/dt)+1
y0=real(IDS.i[0])
y1=real(IDS.i[1]*exp(j*2*pi*1*f0*tx))
y2=real(IDS.i[2]*exp(j*2*pi*2*f0*tx))
y3=real(IDS.i[3]*exp(j*2*pi*3*f0*tx))
y4=real(IDS.i[4]*exp(j*2*pi*4*f0*tx))
y5=real(IDS.i[5]*exp(j*2*pi*5*f0*tx))
y=y0+y1+y2+y3+y4+y5
plot this y.
But why don't you write following simply ?
y=ts(IDS.i[0::5], 0.0, T0, numtpts)
Thanks, this really works.
The reason is that my output signal Y consists 2 carriers Y1 and Y2. I want to separate the 2 carrier from time domain.
Y=Y1+Y2
Y1=mix(Ids.i,{1,0})+mix(Ids.i,{2,0})+mix(Ids.i,{3, 0})
Y2=mix(Ids.i,{0,1})+mix(Ids.i,{0,2})+mix(Ids.i,{0, 3})
Do you think is there any easier method?
Make custom AEL function for your purpose.
See https://www.edaboard.com/thread163549.html
申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程。
国内最全面、最专业的Agilent ADS培训课程,可以帮助您从零开始,全面系统学习ADS设计应用【More..】
- Agilent ADS教学培训课程套装
- 两周学会ADS2011、ADS2013视频教程
- ADS2012、ADS2013射频电路设计详解
- ADS高低阻抗线微带滤波器设计培训教程
- ADS混频器仿真分析实例视频培训课程
- ADS Momentum电磁仿真设计视频课程
- ADS射频电路与通信系统设计高级培训
- ADS Layout和电磁仿真设计培训视频
- ADS Workspace and Simulators Training Course
- ADS Circuit Simulation Training Course
- ADS Layout and EM Simulation Training Course
- Agilent ADS 内部原版培训教材合集