08-29-2007 12:59 PM
to a 2D polynomial. Do you know the order? How many adjustable paramters?
What is your LabVIEW version?
08-29-2007 01:03 PM
08-29-2007 01:56 PM
08-30-2007 09:09 AM
08-31-2007 05:16 AM
08-31-2007 07:34 AM
08-31-2007 11:49 AM - edited 08-31-2007 11:49 AM
Your fit cannot work for some combinations. For example, if you look at the data for Yaw(CP,CY), the data form a vertical arc, meaning you have multiple Z for some X,Y pairs.
If you swap the axes and e.g. calculate CY(CP, Yaw), the fit works fine.
(I have problems with your VI, it crashes my LabVIEW. Here's my variation of the same. We actually don't need the call by reference node).
Message Edited by altenbach on 08-31-2007 09:49 AM
09-03-2007 05:52 AM
Hi altenbach,
Yes, I agree that there are multiple values Z for some XY pairs in many cases, which will obviously cause difficulty on plotting. However, since Pitch and Yaw will be unknown in the main application, it is imperative that it falls on Z axis each of the two plots, else it would be impossible to find them. Do you think it is possible to compute these unknowns on the basis of the edited plots CY(CP, Yaw)? I doubt it 😛
This is a published method, so there must be some way out. I will work on it.
Regards,
ViHAR
09-03-2007 11:53 AM
@Vihar wrote:
I doubt it 😛
This is a published method, so there must be some way out. I will work on it.
Clearly, you won't get a unique answer, because there will often be zero, one or two (or even more) answers for the same xy input. A 2D polynomial cannot work here.
Do you have a link pointing to the theory?
Maybe it would be possible to solve this after e.g. a transformation to spherical coordinates?
09-03-2007 12:04 PM
Since the calibration process is unique, I am currently looking into the possibility of the Z values being unique (contrary to what we have observed until now), by increasing the accuracy of the calculation.
The theory I am referring to, is in the following book...
Bryer, D.W. and Pankhurst, R.C. (1971). Pressure-probe methods for determining wind speed and flow direction.
Thanks and Regards,
ViHAR