avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] ATmega16 PWM


From: Per-Tore Aasestrand
Subject: Re: [avr-gcc-list] ATmega16 PWM
Date: Sun, 29 Jul 2007 00:30:14 +0200

Hi,

The theoretical determination of the frequency spectrum of a PWM signal is considered to be difficult.

Here is a reference I found interesting:

http://www.buet.ac.bd/eee/icece2002/paper_083.pdf

Per-Tore

At 00:50 27.07.2007, Thomas D. Dean wrote:
I discovered the spectrum of the PWM wave was strange.

I used the Fast PWM mode, 31kHz and a sinewave 600Hz modulation
frequency, sampled 8 to 32 times per cycle.  IOW, I changed the PWM
pulse width 8 to 32 times per cycle of the modulation sine wave.  The
modulation sine wave sampling rate seemed to make little difference in
the FFT of the output as displayed on a TDS 2014.

I can post the code and FFT, if anyone is interested.

tomdean


_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list



__________ NOD32 2424 (20070726) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

              \\|//
             /_"""_\
            |(O) (O)|
 --------oOOO--(_)--OOOo---------
|                                |
|   Per-Tore Aasestrand          |
|   E-mail: address@hidden        |
|   Tel   : +47 55 32 32 35      |
|   Mobile: +47 920 444 76       |
|   PO Box 1708 Nordnes          |
|   N-5816 BERGEN                |
|   Norway                       |
|                                |
 --------------------------------

Only recycled bits have been
used in this email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]