Peter Nachtwey
Member
The have been a couple of threads lately about finding outputs as a function of non-linear inputs. PhillipW had a problem where he needed an output as a function of 5 inputs and JPolidore needed to linearize the flow as a function of an output to a valve.
As it turns out I too need to be able to linear hydraulic valves so I thought I would put some extra effort in to this topic.
I don't expect that there would be more than about 5 to 10 people that will understand the data in the link below but then there is a tradition that must be upheld.
Linearization using Least Squares.
This is not the least squares fit that is taught in the basic statistics class. This is the general case that is able to appriximate an equation of just about any complexity.
I use least squares all the time. Often I will will have 1000 or so points and need to calculate 6 or 7 coefficients. Now you may want to know why I would want to do that. I can determine the coefficents of a equation that models a system. This allows me to predict how a system will respond up to 1000 iterations into the the future. This is handy when trying to control a system.
PhillipW, why would you want to use fuzzy logic when it is possible to empirically calculate the function you need with minimal error? You do know that the least square method minimizes the error squared?
As it turns out I too need to be able to linear hydraulic valves so I thought I would put some extra effort in to this topic.
I don't expect that there would be more than about 5 to 10 people that will understand the data in the link below but then there is a tradition that must be upheld.
Linearization using Least Squares.
This is not the least squares fit that is taught in the basic statistics class. This is the general case that is able to appriximate an equation of just about any complexity.
I use least squares all the time. Often I will will have 1000 or so points and need to calculate 6 or 7 coefficients. Now you may want to know why I would want to do that. I can determine the coefficents of a equation that models a system. This allows me to predict how a system will respond up to 1000 iterations into the the future. This is handy when trying to control a system.
PhillipW, why would you want to use fuzzy logic when it is possible to empirically calculate the function you need with minimal error? You do know that the least square method minimizes the error squared?