LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alignment of peaks

Hello

I am in the middle of writing a program to deconvolute the signal from
a modulated temperature differential scanning calorimeter (in which a
sinusoidal wave is superimposed on the linear heating ramp).

What I need to do is take the ratio of two sine waves (heating rate
and heat flow). However, there is a phase lag between each wave (due
to the time taken for the heat flow to respond to the applied
temperature) and this phase lag is not constant throughout the course
of the experiment because it is dependent of several factors (e.g. if
the sample in the calorimeter is undergoing some kind of transition).
What I need to do is treat the waves cycle by cycle i.e. divide cycle
1 of the heat flow by cycle 1 of the heating rate, then c
ycle 2 of the
heat flow by cycle 2 of the heating rate, etc., and I need to align
the waves for each cycle. I need to make sure the peaks of the
heatflow cycle are exactly aligned with the peaks of the heat rate
cycle.

The vast majority of my program is written, and I have just got
stumped as to how I can align my peaks. Does anyone have any ideas?

Thanks

Dr Jon Atkinson
0 Kudos
Message 1 of 3
(3,117 Views)
Hello,
first of all, see examples/Waveform/operations.llb
the vi called Align Waveforms Timestamps example.vi
I hope it help you, if any problems let me know.
Mike Manzheley

Dr Jon Atkinson wrote:

> Hello
>
> I am in the middle of writing a program to deconvolute the signal from
> a modulated temperature differential scanning calorimeter (in which a
> sinusoidal wave is superimposed on the linear heating ramp).
>
> What I need to do is take the ratio of two sine waves (heating rate
> and heat flow). However, there is a phase lag between each wave (due
> to the time taken for the heat flow to respond to the applied
> temperature) and this phase lag is not constant throughout the course
> of the experiment because it is dependent of several factors (e.g. if
> the
sample in the calorimeter is undergoing some kind of transition).
> What I need to do is treat the waves cycle by cycle i.e. divide cycle
> 1 of the heat flow by cycle 1 of the heating rate, then cycle 2 of the
> heat flow by cycle 2 of the heating rate, etc., and I need to align
> the waves for each cycle. I need to make sure the peaks of the
> heatflow cycle are exactly aligned with the peaks of the heat rate
> cycle.
>
> The vast majority of my program is written, and I have just got
> stumped as to how I can align my peaks. Does anyone have any ideas?
>
> Thanks
>
> Dr Jon Atkinson
0 Kudos
Message 2 of 3
(3,117 Views)
Use crosscorrelation

"Dr Jon Atkinson" wrote in message
news:94pnbp$4jr$1@usenet.bham.ac.uk...
> Hello
>
> I am in the middle of writing a program to deconvolute the signal from
> a modulated temperature differential scanning calorimeter (in which a
> sinusoidal wave is superimposed on the linear heating ramp).
>
> What I need to do is take the ratio of two sine waves (heating rate
> and heat flow). However, there is a phase lag between each wave (due
> to the time taken for the heat flow to respond to the applied
> temperature) and this phase lag is not constant throughout the course
> of the experiment because it is dependent of several factors (e.g. if
> the sample in the calorimeter is undergoing some kind of transition).
> What I need to do
is treat the waves cycle by cycle i.e. divide cycle
> 1 of the heat flow by cycle 1 of the heating rate, then cycle 2 of the
> heat flow by cycle 2 of the heating rate, etc., and I need to align
> the waves for each cycle. I need to make sure the peaks of the
> heatflow cycle are exactly aligned with the peaks of the heat rate
> cycle.
>
> The vast majority of my program is written, and I have just got
> stumped as to how I can align my peaks. Does anyone have any ideas?
>
> Thanks
>
> Dr Jon Atkinson
>
>
>
>
>
>
0 Kudos
Message 3 of 3
(3,117 Views)