T O P I C R E V I E W |
cs-au |
Posted - 02/15/2016 : 05:06:45 AM 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? |
2 L A T E S T R E P L I E S (Newest First) |
cs-au |
Posted - 02/15/2016 : 11:32:52 AM 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... |
KenLefebvre |
Posted - 02/15/2016 : 10:18:08 AM 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 |
|
|