Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012

Similar documents
speech signal S(n). This involves a transformation of S(n) into another signal or a set of signals

International Journal of Modern Trends in Engineering and Research e-issn No.: , Date: 2-4 July, 2015

Understanding Digital Signal Processing

Signal Processing Toolbox

Frequency Domain Representation of Signals

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

Discrete Fourier Transform (DFT)

Advanced audio analysis. Martin Gasser

Theory of Telecommunications Networks

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

Envelope Modulation Spectrum (EMS)

Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling)

Project 0: Part 2 A second hands-on lab on Speech Processing Frequency-domain processing

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Chapter 4 SPEECH ENHANCEMENT

Audio Restoration Based on DSP Tools

Introduction of Audio and Music

E : Lecture 8 Source-Filter Processing. E : Lecture 8 Source-Filter Processing / 21

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

Lecture 6. Rhythm Analysis. (some slides are adapted from Zafar Rafii and some figures are from Meinard Mueller)

Rhythmic Similarity -- a quick paper review. Presented by: Shi Yong March 15, 2007 Music Technology, McGill University

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Spectral estimation using higher-lag autocorrelation coefficients with applications to speech recognition

Lab 8. Signal Analysis Using Matlab Simulink

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

MUS421/EE367B Applications Lecture 9C: Time Scale Modification (TSM) and Frequency Scaling/Shifting

Adaptive Filters Application of Linear Prediction

Time-Frequency Analysis of Shock and Vibration Measurements Using Wavelet Transforms

Digital Signal Processing

Digital Signal Processing

Performance Analysis of MFCC and LPCC Techniques in Automatic Speech Recognition

Measuring the complexity of sound

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

L19: Prosodic modification of speech

Changing the sampling rate

AN AUTOREGRESSIVE BASED LFM REVERBERATION SUPPRESSION FOR RADAR AND SONAR APPLICATIONS

Noise Measurements Using a Teledyne LeCroy Oscilloscope

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

Signal Analysis. Peak Detection. Envelope Follower (Amplitude detection) Music 270a: Signal Analysis

Short-Time Fourier Transform and Its Inverse

Chapter 5. Frequency Domain Analysis

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Speech Enhancement Using Spectral Flatness Measure Based Spectral Subtraction

Teaching Scheme. Credits Assigned (hrs/week) Theory Practical Tutorial Theory Oral & Tutorial Total

System analysis and signal processing

Signal Processing Techniques for Software Radio

SINOLA: A New Analysis/Synthesis Method using Spectrum Peak Shape Distortion, Phase and Reassigned Spectrum

Linguistic Phonetics. Spectral Analysis

Quantification of glottal and voiced speech harmonicsto-noise ratios using cepstral-based estimation

Speech Signal Analysis

Biomedical Instrumentation B2. Dealing with noise

Time-Frequency analysis of biophysical time series. Courtesy of Arnaud Delorme

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK

Short Time Fourier Transform *

A Parametric Model for Spectral Sound Synthesis of Musical Sounds

EE482: Digital Signal Processing Applications

Ultra Wide Band Communications

Sound Synthesis Methods

Post-processing using Matlab (Advanced)!

A Novel Technique or Blind Bandwidth Estimation of the Radio Communication Signal

Chapter 2: Signal Representation

Advanced Data Analysis Pattern Recognition & Neural Networks Software for Acoustic Emission Applications. Topic: Waveforms in Noesis

Reference Manual SPECTRUM. Signal Processing for Experimental Chemistry Teaching and Research / University of Maryland

Detection, localization, and classification of power quality disturbances using discrete wavelet transform technique

FFT analysis in practice

Forced Oscillation Detection Fundamentals Fundamentals of Forced Oscillation Detection

EE216B: VLSI Signal Processing. Wavelets. Prof. Dejan Marković Shortcomings of the Fourier Transform (FT)

Automatic Transcription of Monophonic Audio to MIDI

Signal Processing First Lab 20: Extracting Frequencies of Musical Tones

EE 451: Digital Signal Processing

MATLAB Assignment. The Fourier Series

SIGNAL PROCESSING OF POWER QUALITY DISTURBANCES

Characterization of a Very Shallow Water Acoustic Communication Channel MTS/IEEE OCEANS 09 Biloxi, MS

Carrier Frequency Offset Estimation in WCDMA Systems Using a Modified FFT-Based Algorithm

University of Washington Department of Electrical Engineering Computer Speech Processing EE516 Winter 2005

Reading: Johnson Ch , Ch.5.5 (today); Liljencrants & Lindblom; Stevens (Tues) reminder: no class on Thursday.

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

Time-Frequency analysis of biophysical time series. Arnaud Delorme CERCO, CNRS, France & SCCN, UCSD, La Jolla, USA

REAL TIME DIGITAL SIGNAL PROCESSING

HIGH ACCURACY FRAME-BY-FRAME NON-STATIONARY SINUSOIDAL MODELLING

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows:

Introduction to Wavelets Michael Phipps Vallary Bhopatkar

Chapter 2 Channel Equalization

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2

Topic. Spectrogram Chromagram Cesptrogram. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

Signal processing preliminaries

SPEECH TO SINGING SYNTHESIS SYSTEM. Mingqing Yun, Yoon mo Yang, Yufei Zhang. Department of Electrical and Computer Engineering University of Rochester

Identification of Nonstationary Audio Signals Using the FFT, with Application to Analysis-based Synthesis of Sound

EE 422G - Signals and Systems Laboratory

JOURNAL OF OBJECT TECHNOLOGY

Non-stationary Analysis/Synthesis using Spectrum Peak Shape Distortion, Phase and Reassignment

A Novel Technique for Automatic Modulation Classification and Time-Frequency Analysis of Digitally Modulated Signals

Fourier Methods of Spectral Estimation

Objectives. Presentation Outline. Digital Modulation Lecture 03

EE 438 Final Exam Spring 2000

Modern spectral analysis of non-stationary signals in power electronics

Spectral analysis of biosignals. Biosignal processing I, S Autumn 2017

Time-Frequency analysis of biophysical time series

Transcription:

Signal segmentation and waveform characterization Biosignal processing, 5173S Autumn 01

Short-time analysis of signals Signal statistics may vary in time: nonstationary how to compute signal characterizations? Signal must be partitioned into homogeneous segments Operation is called segmentation Statistics remain approximately the same in each segment: quasi-stationary segments Characteristics is then computed for each segment separately Fixed and adaptive segmentation

Fixed segmentation Partition the signal into fixed length segments of length M samples M must be selected manually (through trial and error, or via domain knowledge) For example: Short-Time Fourier Transform (STFT) STFT is computed for each segment (FFT, windowing, zero-padding) Segment overlap can be used: e.g. 50% Segment windows: no overlap Segment windows: partial overlap

STFT example: phonocardiogram Logarithmic PSD in three consecutive windows, normalized power axis - 64 sample windows with 3 sample overlap - 56 sample FFT, zero-padding

STFT example: phonocardiogram An alternative representation of the spectrogram: interpolated magnitude spectrum as a landscape plot - 64 sample windows with 3 sample overlap - 56 sample FFT, zero-padding

STFT example: speech signal An alternative representation of PSD in a sliding window: gray-level image of power spectrums - 18 sample windows with 64 sample overlap

Adaptive segmentation Partitioning of a nonstationary signal into quasi-stationary segments of variable duration Typically, a small window is anchored in the beginning of a segment, and another window slides forward Difference in the window contents is measured from their spectrums If large enough difference is found, the ending segment boundary has been found A new anchoring point is set where the segment ended, and the process starts over again

Spectral Error Measure method (SEM) SEM uses autoregressive modeling (AR) of the signal spectrum All-pole signal modeling in the stochastic process theory: useful when signal contains oscillating components in one or more frequencies AR(p) model is computed for the fixed window (0): the anchored window Linear prediction of signal samples from p previous samples x t p k1 a k ( t) x tk e t The AR(p) model based linear prediction of signal x t is applied in the sliding window (n) to generate prediction error signal e t for the sliding window of size N e t x t p k1 a k ( t) x tk Autocorrelation function e (n,m) of e t is computed for the sliding window (n) e( n, m) 1 N N m 1 et n0 ( n) e t ( n m) SEM is computed for sliding window (n) First term compares signal powers in the windows 0 and n Second term considers prediction error whiteness in window n M (0,0) (, ) e e n k SEM ( n) 1 ( n,0) ( n,0) e k1 e

Generalized Likelihood Ratio (GLR) Three windows: Growing reference window (1:m-1) Sliding test window of fixed size (m:n) Pooled window (1:n) AR(p) modeling is performed for each window (a:b) Energy of prediction error signal is computed for each window by using their own AR(p) model for prediction Each window is characterized with H(a:b), maximum log likelihood GLR distance measure d(n) is computed Modeling in the small windows produces smaller prediction errors than modeling the entire pooled window, if the signal is nonstationary If d(n) > Threshold, a segment ending boundary is detected ( a : b) ( i) b ia ( a : b) H( a : b) ( b a 1)ln b a 1 d( n) H(1: n) H(1: m1) H( m: n)

Waveform analysis

Correlation coefficient A detected waveform is compared to a model waveform Cross-correlation is computed and normalized between [-1, 1] An absolute value close to 1 indicates a close match In practice, a value above 0.8 can be considered good (depending on the application) xy N 1 n0 N 1 n0 x x( n) y( n) ( n) N 1 n0 y ( n) 1

Envelope extraction Estimation of trends in signal activity or energy Method: Full-wave rectify the signal (absolute value) Smooth the result (moving average, Butterworth low-pass filter,...) y( t) x( t) For pulse waveform extraction synchronized averaging may be needed if strong noise is present For example, Event-Related Potential (ERP) in EEG Measurement is repeated hundreds of times, pulses are averaged after synchronization

Envelogram Envelogram estimate: magnitude of the analytic signal y(t) formed using x(t) and its Hilbert transform x H (t) Practical algorithm in Matlab: 1. Compute DFT of x(t). Set the negative-frequency terms zero 3. Multiply positive-frequency terms by 4. Compute inverse DFT of the result 5. The magnitude of the result gives the envelogram estimate y( t) x( t) jx ( t) x H ( t) H x( t) d ( t )

Envelogram examples - Signal - Envelogram of the signal - Synchronously averaged envelogram (N=16) - Synchronously averaged envelope (N=16) - Signal - Envelogram of the signal - Synchronously averaged envelogram (N=6) - Synchronously averaged envelope (N=6)

Other descriptors of activity level Root-mean-square (RMS) value of the signal or signal window RMS 1 N N n 1 0 x ( n) 1 Zero-crossing rate (ZCR): number of times the signal crosses zero-value per time unit Turns count: number of times that the signal amplitude changes direction