Maximum Torque per Ampere Control Logic

1 visualización (últimos 30 días)
Sreerag Kunnathu Sugathan
Sreerag Kunnathu Sugathan el 21 de Mzo. de 2014
Respondida: zhenyu jia el 7 de Jun. de 2017
I have an m file creating MTPA (Maximum Torque Per Ampere) curve. In simulink model I have a constantly changing input that needs to select the data according to the curve. But I haven't seen any possible way to do this, please help me...

Respuesta aceptada

Mischa Kim
Mischa Kim el 21 de Mzo. de 2014
Sreerag, have you looked into lookup tables?
  4 comentarios
Sreerag Kunnathu Sugathan
Sreerag Kunnathu Sugathan el 21 de Mzo. de 2014
But still there is a problem. I have the m file that creates the curve. I need to get the y axis data from the curve as output with respect to the input data. Is that possible??
Mischa Kim
Mischa Kim el 21 de Mzo. de 2014
Editada: Mischa Kim el 21 de Mzo. de 2014
Sure, see the example above. in would be your input value ( x ), the sine is the curve (replace with your curve), out is the corresponding output value ( y ). For each input value you get one corresponding output value, continuously changing the input will result in the corresponding output signal based on the curve.
And, of course, the curve does not need to be a nice, smooth one, as the sine above. That is, you can also, e.g., if-else or switch commands to construct the curve.

Iniciar sesión para comentar.

Más respuestas (1)

zhenyu jia
zhenyu jia el 7 de Jun. de 2017
hello, could you send me the m file? thank you very much!

Categorías

Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by