필터 지우기
필터 지우기

continuos, dicrete or hybrid?

조회 수: 2 (최근 30일)
Javier Guiterrez
Javier Guiterrez 2011년 3월 28일
댓글: Qiaoli Ji 2018년 1월 21일
Hello:
I have a transient continuous two dof model of a bycicle (inserted as a subsystem in a discrete system). If i want to convert it to continuous, using the model discretizer it converts my two continuous integrators to discrete integrators but the output solution is quite different. After that, reading in the internet i have found that it is possible to model hybrid systems where both continuous and discrete blocks live together. If i use the last approach, should i use anything to convert signal from continuous to discrete and viceversa or does matlab do it automatically? I have read Simulink help about hybrid systems and it does not say how to do it or i have not understood.
Please show me the best option and show me how to model hibrid systems

채택된 답변

Arnaud Miege
Arnaud Miege 2011년 3월 28일
Simulink will probably do it automatically, but a good practice is to use a Rate Transition block. If you are mixing continuous-time with discrete-time in the same model, it's also probably a good idea to use a variable-step solver. Have a look at Modeling Hybrid Systems and Hybrid Systems in the Simulink documentation. Choosing a Solver is probably also relevant.
HTH,
Arnaud
  댓글 수: 1
Qiaoli Ji
Qiaoli Ji 2018년 1월 21일
Can we use simulink(continuous)+simevents(discrete) to simulate the hybrid system? Thank you.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by