![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1136660/image.png)
Throttle Command to Torque Command
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello Everyone,
I am setting up a longitudinal motorcycle model using the mapped engine available in the Powertrain Blockset. The engine maps that I have are in the form of X: RPM, Y:Throttle_Positition_% & Z:Torque.
The Mapped Engine block in Simulink requires Torque_commands instead of Throttle_Position.
How can I convert my Throttle_position based engine maps to Torque command based?
Many thanks.
댓글 수: 0
답변 (1개)
Sam Chak
2022년 9월 26일
Hi @Tamas
Can you possibly find out the formula or relationship between the Throttle_position and the Torque_command?
If you don't have that, then try:
kp = 1; % Proportional Gain
Torque_command = - kp*Throttle_position;
The Proportional Gain
should be a positive value that you can mathematically calculate it (if you understand the physics) or tune it according to some objectives (if you don't know what value to put in).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1136660/image.png)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Powertrain Reference Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!