# How to achieve four quadrant operation of the field oriented control of the three phase induction motor?

I have been developing software for field oriented control of the three phase induction motor. I have been facing a problem how to incorporate changing of rotation direction into the control software. The requirement is to achieve a state where the motor is able to operate in all four quadrants of the torque-speed plane i.e. the machine shall work in motoring (braking) mode for both directions of rotation.

The rotation direction of the three phase induction motor is in my opinion given by the phase sequence of the stator three phase voltages which are basically produced by the three phase voltage source inverter in my situation. The problem which I have is how to incorporate change in the phase sequence of the stator three phase voltages in case the output of the control structure (the controllers of the torque and flux components of the stator current) is the desired space vector of the stator voltage. Can anybody help how to do that? Thanks in advance for any ideas.

if n>0 // positive direction