Electronics World articles Popular Electronics articles QST articles Radio & TV News articles Radio-Craft articles Radio-Electronics articles Short Wave Craft articles Wireless World articles Google Search of RF Cafe website Sitemap Electronics Equations Mathematics Equations Equations physics Manufacturers & distributors Engineer Jobs LinkedIn Crosswords Engineering Humor Kirt's Cogitations RF Engineering Quizzes Notable Quotes Calculators Education Engineering Magazine Articles Engineering software RF Cafe Archives RF Cascade Workbook 2018 RF Symbols for Visio - Word Advertising RF Cafe Forums Magazine Sponsor RF Cafe RF Electronics Symbols for Visio RF Electronics Symbols for Office Word RF Electronics Stencils for Visio Sponsor Links Saturday Evening Post NEETS EW Radar Handbook Microwave Museum About RF Cafe Aegis Power Systems Anritsu Alliance Test Equipment Amplifier Solutions Anatech Electronics Axiom Test Equipment Berkeley Nucleonics Bittele Centric RF Conduct RF Copper Mountain Technologies Empower RF everything RF Exodus Advanced Communications Innovative Power Products ISOTEC KR Filters Lotus Systems PCB Directory Rigol RF Superstore San Francisco Circuits Reactel RFCT TotalTemp Technologies Triad RF Systems Windfreak Technologies Withwave LadyBug Technologies Wireless Telecom Group Sponsorship Rates RF Cafe Software Resources Vintage Magazines Thank you for visiting RF Cafe!
RF Electronics Shapes, Stencils for Office, Visio by RF Cafe

fft beamforming - RF Cafe Forums

RF Cafe Forums closed its virtual doors in 2010 mainly due to other social media platforms dominating public commenting venues. RF Cafe Forums began sometime around August of 2003 and was quite well-attended for many years. By 2010, Facebook and Twitter were overwhelmingly dominating online personal interaction, and RF Cafe Forums activity dropped off precipitously. Regardless, there are still lots of great posts in the archive that ware worth looking at. Below are the old forum threads, including responses to the original posts.

NOTICE: The original RF Cafe Forum is available again for reading, and the new RF Cafe Blog is an active board.

-- Amateur Radio

-- Anecdotes, Gripes, & Humor

-- Antennas

-- CAE, CAD, & Software

-- Circuits & Components

-- Employment & Interviews

-- Miscellany

-- Swap Shop

-- Systems

-- Test & Measurement

-- Webmaster

tsuzu
 Post subject: fft beamforming
Posted: Tue Apr 12, 2005 3:09 am 
i'm a beginner in this area.

i just learned about the basic algorithm of fft beamforming from internet.and want to implement the algorithm by using matlab,but i don't know how to start(ps,i'm also a new user of matlab).

can anyone give me some sample souce code, even segments are okay.

I'm really stuck in mud. 

thanks in advance.


 
  
 
Manar
 Post subject: Beamformer
Posted: Mon May 09, 2005 5:51 am 
Dear

Here I give you a sample code for creating the filter coefficients of a Delay and Sum beamformer. if you have any question you can contact me on my email palange@hotmail.fr

Have a nice day.

[code]

c = 340; % m/s

nfft = 128; % nfft length

i_omega = -i*2*pi/c; % f will be variable

n_mic = 7;

mics = [ (-10*3:10:10*3)' zeros(7,1) ]/100;

source = [-0.2 0.63]; % to be measured

fs = 22050; % Sampling Frequency

f = (0:nfft-1)*fs/nfft; % Frequency bins

W = zeros(n_mic,nfft);

d = zeros(n_mic,1);

w = zeros(n_mic,1);

r = zeros(n_mic,1);

u = zeros(n_mic,1);

bp = zeros(nfft,181);

bps = zeros(1,181);

% Filter Coef

for k = 1:n_mic

r(k) = norm( source - mics(k,:));

end

index = 1;

for p=f

d = exp(i_omega*p*r)./r;

w=d.*r;

w=w/abs(w'*d);

W(:,index) = w;

theta_v=[-90:1:90];

source_n=norm(source);

for theta = theta_v

s=[source_n*sin(theta*pi/180) source_n*cos(theta*pi/180)];

for k=1:n_mic

u(k) = norm(s-mics(k,:));

end

d=exp(i_omega*p*u)./u;

bps(theta+91)=20*log10(abs(w'*d));

end

bp(index,:)=bps;

index = index + 1;

end

% here you can plot the BP as a function of DoA for any frequency.

% Implementing the Beamforming

start = 1;

skiprate = nfft/2;

window = triang(nfft)';

num_samples = size(data,2); % data size

num_blocks = ceil((num_samples-nfft)/skiprate);

frame = 1:nfft;

data_frame = zeros(n_mic,nfft); % frame of data ( from each mic)

data_fft = zeros(nfft,n_mic); % FFT of the frame

s = zeros(1,nfft); % frame data (time)

S = zeros(1,(n_blocks+1)*nfft/2);

for m = 1 : n_blocks

data_frame = data(:,frame);

data_fft = fft(data_frame');

s = sum(conj(W).*data_fft');

S(frame) = S(frame) + real(ifft(s.*window));

frame = frame + skiprate;

end[\code]

Posted  11/12/2012

Exodus Advanced Communications Best in Class RF Amplifier SSPAs - RF Cafe
RF Superstore (RF Components) - RF Cafe
Lotus Communication Systems Modular RF Component Building Blocks - RF Cafe
ConductRF Phased Matched RF Cables - RF Cafe

Please Support RF Cafe by purchasing my  ridiculously low−priced products, all of which I created.

These Are Available for Free

 

About RF Cafe

Kirt Blattenberger - RF Cafe Webmaster

Copyright: 1996 - 2024

Webmaster:

    Kirt Blattenberger,

    BSEE - KB3UON

RF Cafe began life in 1996 as "RF Tools" in an AOL screen name web space totaling 2 MB. Its primary purpose was to provide me with ready access to commonly needed formulas and reference material while performing my work as an RF system and circuit design engineer. The World Wide Web (Internet) was largely an unknown entity at the time and bandwidth was a scarce commodity. Dial-up modems blazed along at 14.4 kbps while tying up your telephone line, and a nice lady's voice announced "You've Got Mail" when a new message arrived...

All trademarks, copyrights, patents, and other rights of ownership to images and text used on the RF Cafe website are hereby acknowledged.

My Hobby Website:

AirplanesAndRockets.com