Hi all, I was trying to simulate a direct torque and flux controlled induction motor in simulink. Even though ive managed to control torque within the band, i can't seem to be able to control the flux. It stays for a while within its hysteresis band and escapes after about 0.1 sec and keeps on increasing, and about 0.2 secs later torque escapes its own band ( im presuming its because of the rapidly increasing phase current sustaining the increasing flux). The switching table is giving the correct output. What could be going wrong. I am using the simulink models of igbt universal bridge and induction motor. Help!