How to increase data captured by scope, real time motor control

10 ビュー (過去 30 日間)
Damandeep Jior
Damandeep Jior 2019 年 5 月 23 日
回答済み: Ananth kumar 2025 年 1 月 20 日
Hi,
using a single motor with the code. while running the motor there is a delay when adjusting the desired speed attached below. The delay occours when the scope is added to measure the estimated speed, but becomes more responsive to speed adjustments after about 1 minute of operation. Along with this the scope data received is only the last 5-10 data points (depending on the duration selected in the settings: code/external mode control panel/ signal and triggering )captured so it is difficult to plot the response of the motor with changes in speed. The scope settings have sampling time of 0.01s. Attached also is the setting for the signal and triggering settings as well as the scope settings.
Any help would be much apperciated,
Regards.

回答 (2 件)

Ananth kumar
Ananth kumar 2025 年 1 月 20 日
You can try the above example as it uses two CPU for two motors connected back-to-back.
You can use this as starting point as it works real time.

Ananth kumar
Ananth kumar 2025 年 1 月 20 日
You can try the above example as it uses two CPU for two motors connected back-to-back.
You can use this as starting point as it works real time.

コミュニティ

カテゴリ

Help Center および File ExchangeMotor Control Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by