48v bldc self balancing controller design

It is up to you to negotiate that

How much are you prepared to pay ?

Note that I am not offering to write the code