48v bldc self balancing controller design

Ok,
So i am thinking to make new BLDC controller that will work with arduino, but as i told i don't know how to make it a need your thoughts on this, sir.