How to convert a varying (Hall) pulse signal to frequency in simulink?

5 ビュー (過去 30 日間)
teun hinkamp
teun hinkamp 2022 年 3 月 15 日
回答済み: Mathieu NOE 2022 年 3 月 15 日
This question is about modeling an control system of an internal combustion engine.
One of the input signals of the simulink model will be a Hall signal from a crankshaft posistion sensor. This signal will vary over time, as this engine will operate between the idle and maximum revolutions per minute. The signal will be used to time the engines injection and ignition system.
I have read multiple questions regarding the same topic but in those cases, the frequency was fixed. Since I have a varying signal, I was wondering if this is even possible to build in simulink? If possible, is there a block for which I am missing?

採用された回答

Mathieu NOE
Mathieu NOE 2022 年 3 月 15 日
hello
see attachement
make sure the sampling frequency is set according to your preference (here it's 100 kHz)
all the best

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by