STM32のタイマでステッピングモータの速度・回転角制御/1相励磁と2相励磁

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,465
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 17, 2010

大きいサイズの高画質動画をホームページでダウンロード
http://miqn.net/node/94
タイマを使ってステッピングモータを回すサンプルプログラムです。
ステッピングモータは、一定のパターンのパルスを送ることで回転させることができるモータです。パルスを送る回数調整して回転角度をコントロールしたり、パルスを送るタイ­ミングを調整して回転速度をコントロールすることができます。
最初の2つのサンプルはタイマで励磁の切り替えのタイミングを作っています。実際には2相励磁で使うのが一般的でしょう。
タイマだけで2相励磁のパターンを作ることもでき、この場合はCPUが関与することなく、ステッピングモータを回し続けられます。

回路図や詳しい解説はマイコン徹底入門に掲載しています。
tim4_stepping_motor_1phase/ tim4_stepping_motor_2phase/ tim3_stepping_motor_output_compare

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more