Wow! Ya, I was thinking about false crossings. I'm trying to build in some special cases to deal with that. Like requiring a minimum period, knowing that the frequency can't go from 0 to 15000 instantly, correcting for frequency change every 1/4 cycle, etc... I think the messy details will be 95% of the work. The nice thing is we'll have the encoder where we can test the real speed and the sensorless speed, and try weird varying loads and stuff to see if we can trick it.
|