How can i change the desired speed in Activate

Hi everyone, i'm currently running the Altair flux example "Flux-Activate :IPM speed Control" case 4. In this case the motor is currently running at 100 rpm, but I want to set the desired speed to 4000 rpm. How can I adjust this?
Best regard!
Nguyen Viet Bach
Answers
-
Hello @nguyenbach,
as I see from the attached picture the speed command comes from a lookup table. This block is utilizing two vector of X and Y values to create an output using interpolation of the data based on the input (here simulation time). Double click on the block to access alternate the values from 100rpm to 4000rpm. Keep in mind to not only change just the final value but also the previous ones in order to have a smooth acceleration. You can plot the curve to see what it looks like.If you wish to do it in another way you could probably use some blocks from Activate palette→ Signal Generators. From there you could probably use the ramp block and set a certain rate and given the simulation end time reach the desired speed of 4000rpm.
Hope this helps!
Best regards,
Orestes0