Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

How to smooth the waveform comingfrom the DSP and DAC?

Status
Not open for further replies.

xiongnr

Junior Member level 2
Joined
Apr 14, 2011
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,425
I have done an experiment which can generate waveform from DSP and DAC,but the output waveform likes ladders when it up or down,especially when I stretch the waveform in the oscilloscope.

So how to improve the waveform?How to smooth it?

Thank you very much.

Best regards.
 

H.E.Tjelum

Newbie level 6
Joined
May 4, 2011
Messages
11
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Location
Denmark
Activity points
1,364
Hi

The way of smoothening could be done with a simple RC-filter. I don't know your switch frequence, but i usually use a Tau (R*C) of at least 5 times the period. I usually use 10 times, this gives better smoothening.
If the switch frequence is 500 Hz (PWM from Arduino) and the resistor is a 10k the capacitor is:
(((1/frq.)/(multiplication factor))/R)=C
(((1/500)/10)/10000) = 2*10^-6 = 2uF

I have attached a link for more detailed information.
Passive, first order low-pass RC filter:
Low-pass filter - Wikipedia, the free encyclopedia

Friendly regards
H.E-Tjelum
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top