# 0.2 Measuring impulse responses using golay complementary sequences

 Page 1 / 2
Two impulse-response measurement methods are demonstrated, with source code provided in Matlab and Pure Data (PD).The measurement technique using Golay complementary sequences is particularly robust to additive white noise, while the swept sine measurementtechnique is robust to a weakly nonlinear motor exciting the linear system being measured.

## Introduction

[link] depicts a linear system characterized by an impulse response $h\left(n\right)$ , driven by an input signal $s\left(n\right)$ , and producing the output signal $r\left(n\right)$ . The system identification problem is to estimate $h\left(n\right)$ given known input/output signals $s\left(n\right)$ and $r\left(n\right)$ . This module illustrates the swept-sine and the Golay complementary sequence techniques for identifying finite impulse responses. The firstexample measures the impulse response of a highpass filter using the Golay method, and the second example measures the impulse response ofa weakly nonlinear loudspeaker driver using the swept-sine method.

## Summary of objectives

• To provide a general framework for characterizing single-input, single-output linear systems .
• To demonstrate how to measure the impulse response of a linear system using Golay complementary sequences .
• To explain some of the limitations of making measurements using standard sound interfaces.
• To demonstrate how to find the minimum-phase spectrum corresponding to a complex spectrum.
• To explain how to measure the impulse response of a system even if the excitation source motor is weakly nonlinear . This measurement technique uses a sine sweep test signal.

## Installation

1. Install a sound card, sound interface, or other full-duplex data acquisition card.
2. Consider testing the data acquisition card viewing the soundcard set-up instructions .
3. Install either MATLAB or Octave .
4. Install pd . (Alternatively, you may use other software that is capable of recording a system's output for a given inputexcitation signal. The software should also be capable of reading and writing WAV files. For example, any multitrack recordingsoftware should be fine.)
5. Download tf_meas.zip and unzip the contents into a conveniently located local directory.

## Linear system

Consider the causal, single-input single-output (SISO) system shown in [link] . For simplicity, we will take the system to be linear and discrete-time, so that it is characterized by its impulseresponse $h\left(n\right)$ or equivalently its transfer function $H\left(z\right)$ , which is the $z$ transform of $h\left(n\right)$ .

$h\left(n\right)↔H\left(z\right)$

We will assume that both $h\left(n\right)$ and $H\left(z\right)$ exist so that we can discuss measuring them interchangeably. We will further assume that $h\left(n\right)$ has finite length so that we can measure the response to an input signal in a finite amount of time. The goal of this document isto explain how to excite the system with a signal $s\left(n\right)$ , measure the response $r\left(n\right)$ , and use $s\left(n\right)$ and $r\left(n\right)$ to determine $h\left(n\right)$ (and equivalently $H\left(z\right)$ ). In particular, it is useful to pick a signal $s\left(n\right)$ that contains a large amount of energy so that measurement noise will not significantly corrupt the measurement results.

## Limitations of sound interfaces

Sound cards and sound interfaces are not designed for making transfer function measurements. They merely provide a cost-effective solutionsince almost all computers have sound cards. We demonstrate these weaknesses given measurements made on a PreSonus Firepod soundinterface. The output from channel 1 was directly connected to the line input on channel 1, and the sampling rate was ${f}_{S}=44.1$ kHz.

#### Questions & Answers

do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
Maciej
characteristics of micro business
Abigail
Do somebody tell me a best nano engineering book for beginners?
s. Reply
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
SUYASH Reply
for screen printed electrodes ?
SUYASH
What is lattice structure?
s. Reply
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
Sanket Reply
what's the easiest and fastest way to the synthesize AgNP?
Damian Reply
China
Cied
types of nano material
abeetha Reply
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
Ramkumar Reply
what is nano technology
Sravani Reply
what is system testing?
AMJAD
preparation of nanomaterial
Victor Reply
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
Himanshu Reply
good afternoon madam
AMJAD
what is system testing
AMJAD
what is the application of nanotechnology?
Stotaw
In this morden time nanotechnology used in many field . 1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc 2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc 3- Atomobile -MEMS, Coating on car etc. and may other field for details you can check at Google
Azam
anybody can imagine what will be happen after 100 years from now in nano tech world
Prasenjit
after 100 year this will be not nanotechnology maybe this technology name will be change . maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments
Azam
name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world
Prasenjit
how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?
Damian
silver nanoparticles could handle the job?
Damian
not now but maybe in future only AgNP maybe any other nanomaterials
Azam
Hello
Uday
I'm interested in Nanotube
Uday
this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15
Prasenjit
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Berger describes sociologists as concerned with
Mueller Reply
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

### Read also:

#### Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Impulse response measurement toolbox. OpenStax CNX. Jun 23, 2008 Download for free at http://cnx.org/content/col10519/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Impulse response measurement toolbox' conversation and receive update notifications?

 By