Multilevel inverter real-time switching angle calculation with low gain error | IEEE Conference Publication | IEEE Xplore