Is this problem happening consistently or intermittently? This must be an analog AC if you have changed the speed boards. If you have a scope meter you can check your signal coming from the encoder to make sure it's clean back to the drive boards.
Just went through this with a car that had a bad governor shaft causing intermittent encoder faults. Also, check the encoder power supply to make sure it's clean. Good Luck!!