Download Microprocessor-controlled reluctance motor
Transcript
55 Flags: F1 =0 F, 1 f,=O F;=I F2 =2 F 1 =1 Input: Output: Execute TABLE subroutine Pending timer overflow 1 Current exceeds maximum value l U=O X.Y.A TAB T T" T T~ OYF HT RT Fig. 3.3.7. Interrupt allowed Interrupt not allowed Interrupt during execution of TABLE subroutine TF=I U=l Variables: Condition Start frorn standstill Start with moving rotor Switch closed Switch opened Temporary variables Array, stored values of T" and T" Array, time between interrupts Arrav. used for WAIT subroutine Array. switch-on time Array, pulse width Counter. number of timer overflow Counter. guards OVF Counter. number of interrupts to be passed before adaptation of T" and Tt, in the TABLE subroutine Temporary variable Symbols used in control program.