FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2003, 03:18 AM
Zach R.
Guest
 
Posts: n/a
Default Back to the LMS again

Hi all,
I am currently trying to implement a simple LMS algorithm in C and on an
analog deviced blackfin ez-kit. The only real problem is that I am trying
to implement it in a streaming manner and as close to real time as possible.
I have an implementation but it isn't working.
I am wondering how many samples should I be looking at when estimating
the gradient? The books I have been reading pretty much just use the
samples in the filter e.g. the last 32 samples for a 32nd order filter.
That is how I have been estimating the gradient, should it work?

Thanks for your help,
Zach


Reply With Quote
  #2 (permalink)  
Old 07-14-2003, 11:30 PM
navan
Guest
 
Posts: n/a
Default Re: Back to the LMS again

It should work. Try playing with the step size.
If you are doubtful about your implementation of the algorithm try it
in matlab or 'C' code on PC.

Navan

"Zach R." <zrimkunas@verizon.net> wrote in message news:<yj3Qa.11308$Kw1.8216@nwrdny02.gnilink.net>.. .
> Hi all,
> I am currently trying to implement a simple LMS algorithm in C and on an
> analog deviced blackfin ez-kit. The only real problem is that I am trying
> to implement it in a streaming manner and as close to real time as possible.
> I have an implementation but it isn't working.
> I am wondering how many samples should I be looking at when estimating
> the gradient? The books I have been reading pretty much just use the
> samples in the filter e.g. the last 32 samples for a 32nd order filter.
> That is how I have been estimating the gradient, should it work?
>
> Thanks for your help,
> Zach

Reply With Quote
  #3 (permalink)  
Old 07-15-2003, 03:21 PM
Maurice Givens
Guest
 
Posts: n/a
Default Re: Back to the LMS again

I am a little confused by your ppost. You seem to be saying that
since the filter is 32 samples long, you are iterating over 32
samples. But I don't think that's what you mean. If you are asking
how many samples it will take for the filter to converge, then that is
an exponential exp[-1/(mu * lambda(m))], where mu is the gain, and
lambda(m) is the minimum eigenvalue. The number of samples it will
take to converge is dependent on the sampling rate.


Maurice Givens


"Zach R." <zrimkunas@verizon.net> wrote in message news:<yj3Qa.11308$Kw1.8216@nwrdny02.gnilink.net>.. .
> Hi all,
> I am currently trying to implement a simple LMS algorithm in C and on an
> analog deviced blackfin ez-kit. The only real problem is that I am trying
> to implement it in a streaming manner and as close to real time as possible.
> I have an implementation but it isn't working.
> I am wondering how many samples should I be looking at when estimating
> the gradient? The books I have been reading pretty much just use the
> samples in the filter e.g. the last 32 samples for a 32nd order filter.
> That is how I have been estimating the gradient, should it work?
>
> Thanks for your help,
> Zach

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Back annotating to RTL elshoukry@gmail.com FPGA 2 04-19-2007 02:30 PM
Welcome back Mr. Knapp oen_no_spam@yahoo.com.br FPGA 8 09-01-2005 02:00 AM
Recover back up recover back up FPGA 0 04-20-2005 12:37 AM
How to read back! VSR FPGA 0 03-03-2005 04:35 PM
BACK to FPGA ec FPGA 8 02-22-2005 12:36 PM


All times are GMT +1. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved