Design a Transmission Shift Controller

2 ビュー (過去 30 日間)
MB
MB 2022 年 3 月 26 日
編集済み: J Chen 2022 年 4 月 4 日
Would appreciate some direction on how to design a transmission shift controller in Simulink/Simscape without using State Flow. Basically I need to output a number (1,2,3) noting the desired transmission gear based upon an input engine speed.
My needs are very basic for now (just learning). I envision:
  • Input: RPM, engine speed
  • Output: GEAR, the desired transmission gear (number 1,2,3)
  • UP, engine speed upshift point (increment)
  • DN, engine speed downshift point (decrement)
And then the controller would simply:
  • If RPM>UP then increment GEAR just once.
  • If RPM<DN then decrement GEAR just once.
Also, I imagine that since the engine has substantial inertia, there may need to be some DELAY parameter setting the minimum time between any subsequent GEAR changes because although the transmission may shift gears instantly, the non-instantaneous engine speed change can trick the shift logic to shift twice.
Any design direction is appreciated. Thanks.

回答 (1 件)

J Chen
J Chen 2022 年 4 月 4 日
編集済み: J Chen 2022 年 4 月 4 日
Use a MATLAB Function block in SImulink. You can put the logic in the block. Persist variables could be useful (link).

カテゴリ

Help Center および File ExchangeSimscape Multibody についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by