Design a Transmission Shift Controller

8 visualizaciones (últimos 30 días)
MB
MB el 26 de Mzo. de 2022
Editada: J Chen el 4 de Abr. de 2022
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.

Respuestas (1)

J Chen
J Chen el 4 de Abr. de 2022
Editada: J Chen el 4 de Abr. de 2022
Use a MATLAB Function block in SImulink. You can put the logic in the block. Persist variables could be useful (link).

Categorías

Más información sobre Automotive Applications en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by