The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Shift of sensor data and correlation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cs-au

Germany
9 Posts

Posted - 02/15/2016 :  05:06:45 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have to deal with a sensor-systems with three fotosensors used to measure the speed of passing objects. The speed is determinded by the time shift of the luminance-profiles of the sensors and the distance between them.

How can I automatically calculate the time shift of the very similar sensorsignals and after that the correlation of the shifted, then corresponding sensor-data?

Edited by - cs-au on 02/15/2016 05:27:06 AM

KenLefebvre

USA
66 Posts

Posted - 02/15/2016 :  10:18:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Carsten,

While I'm not entirely sure what the parameters are for such sensors, if the distance is being set as a constant, it can be defined as a variable in Labtalk. As for the time shift- while I don't know what other variables this is dependent on (i.e. if there is a way of calculating it based on other values), what you're describing should be accomplishable using recalculate in tandem with batch processing/cloneable templates of the analyses run on this data (if you have 2016).

Set Column Values
http://www.originlab.com/doc/Tutorials/SetColVal

Cloneable templates
http://www.originlab.com/doc/Origin-Help/Graph-Template-Basics

Batch processing
http://www.originlab.com/index.aspx?go=Products/Origin/DataAnalysis/BatchProcessing

Unfortunately beyond that I can't help you without further details. Are you using data that's already recorded, are you trying to input these readings directly into Origin? What kind of interface do these sensors use? Are they compatible with a National Instruments USB console, or are you using some form of legacy system like RS-232?

Best regards,
Ken Lefebvre
Technical Service Engineer
OriginLab

Edited by - KenLefebvre on 02/15/2016 10:20:56 AM
Go to Top of Page

cs-au

Germany
9 Posts

Posted - 02/15/2016 :  11:32:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Ken.

The parameters only consist of numbers that represent the brightness the sensor has measured.

As the structure doesn´t change while passing the three sensors, the signals are almost the same on all three sensors.

the structure is scanned with a frequency of 100.000 Hz, so that the data are given in four columns. First column ist time in mysecond, columns 2-4 are the brightness-values for each sensor at the time in column 1.

As the sensor have a certain distance, the values have an offset.
This offset is needed to calculate the speed simply by v=s/t.

When the offset is known, the correlation is needed to check if the range (that has delivered the speed) complies with the condition of a correlation of at least 0.95.

I think the problem is quite simple...at least when you know how to solve it...

Edited by - cs-au on 02/15/2016 11:34:26 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000