Matching delayed signals I have pairs of 1d digitised waveform signals which are almost identical - except there are sections which are the same in both but one is delayed slightly.
I need to find sections and the delay with the corresponding section in the other channel.

I can set a maximum delay BUT I need to measure a delay to less than the sample interval - so some sort of convolution/correlation approach rather than a simple feature id.

Any suggestions where to start?
This may be a good candidate for a two step approach: 

Step 1 would be a pretty coarse running cross correlation with a threshold detector to identify what parts in the signals are matching. 

Step 2 would than determined the actual delay. There are various ways to get sub sample resolution:


Upsample to desired resolution and then cross correlate
Short term fourier transform and match a linear phase difference with a weighted least squares approach
Delayed lock loop with a fractional delay filter
Match the the two signals in with an adaptive filter. Then calculate the fourier transform of the filter impulse response and calculate the delay through a linear phase match