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.

Harmonic distortions in an ideal sine wave

Status
Not open for further replies.

jiangxb

Full Member level 3
Full Member level 3
Joined
Apr 1, 2007
Messages
153
Helped
25
Reputation
50
Reaction score
4
Trophy points
1,298
Location
hangzhou, china
Activity points
2,075
hi

i use a ideal sine source in cadence to output a sine wave, and process it in matlab to plot it's psd, as below

this is a ideal sine wave, but there are the 3rd and 5th harmonic distortion. why?

(i use hanning window. if no window, the harmonic distortion exist yet)
 

Re: harmonic distortion

Hi

The harmonic distortion may be related to the way you are saving cadence results.
Please give more details, how are you saving cadence data for matlab processing?
 

    jiangxb

    Points: 2
    Helpful Answer Positive Rating
Re: harmonic distortion

there is no HD3 , HD5 if you use ideal sine wave in MATLAB,
the result u got probably come from some numerical , or truncation process.
 

    jiangxb

    Points: 2
    Helpful Answer Positive Rating
Re: harmonic distortion

hi analogy and Btrend
thank you

i have found the cause. i use ocnprint to output the data from cadence, and use the default precision, 6, so have truncation error. when i set precision 10, the result is correct.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top