Tool/software: Code Composer Studio
Hello,
I am using the TMS320C2000 MCU and hvmtr_r1p1 kit to test a 3 phase ACIM. I am using code composer studio, specifically lab 6b to get the motor to simulate opening and closing a garage door. I would like the motor to be at rest at state A, then speed up to some speed and hold it for 30 seconds for State B, and then accelerate back down to zero for state C. Thus, I need to control the amount of time spent in each state.
In order to do this, I believe I need to adjust the parameter StateTimer[ticks] which I have highlighted below. Is there a conversion between number of ticks and seconds? I used a stopwatch to try and get this conversion (measure the time spent in each state and divide by the value entered for StateTimer[ticks] but the relationship was not linear. How can I ensure I get the motion profile that I want?