Not all motors will respond to field weakening with high rpm performance under load. This might be your issue.
Field weakening is not PID, you could read up on it with a simple google search. Then how the controller manufacturers implement it will be individual to the controller (or controller family as many of them share basic functions)