Simulink Transmission Shift Map

11 ビュー (過去 30 日間)
MATLAB_Soldier
MATLAB_Soldier 2022 年 9 月 28 日
コメント済み: Fangjun Jiang 2022 年 11 月 11 日
Hello,
I am trying to create a system that would decide if the vehicle needs to shift up or down based on the vehicle speed gradient, the current speed and the following shift map:
I have come up with a simple method that would use a lookup table to decide on the appropriate gear selection. However, I am not sure if this is the best way to go about it. I know that it is possible to do the whole process using StateFlow but unfortunately, it is not available for me. Therefore, I need figure out how to make it work without stateflow.
Is it possible to do it with a lookup table or do you think there is a better way to do it?

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 9 月 29 日
It is possible and you are almost there.
You have the logic to check whether the speed is increasing (for up shipt) or else (for down shift). You only need a 1-D lookup table block with one input, which is the vehicle speed. The vehicle speed threshold would be the index. The gear number would be the output.
You will need two 1-D lookup tables (one for up shift and one for down shift). Use a Switch block to switch the output. Or Use a Merge block (which is more efficient but requires Enabled sub-system).
  2 件のコメント
Beau Tucker
Beau Tucker 2022 年 11 月 11 日
Could you explain the values in the lookup table? Specififcally how to obtain those values? Thank you.
Fangjun Jiang
Fangjun Jiang 2022 年 11 月 11 日
The values for the lookup table are provided in the Original Poster's question.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by