The stepping motor: poles, coil sequence and step angleมอเตอร์สเต็ปปิ้ง: ขั้วแม่เหล็ก ลำดับการจ่ายไฟคอยล์ และมุมสเตป

Energize the stator coils in order and watch the magnet rotor follow, one exact step at a time. Switch to half step and see the resolution double.จ่ายไฟให้คอยล์สเตเตอร์ตามลำดับแล้วดูโรเตอร์แม่เหล็กหมุนตามไปทีละสเตปอย่างแม่นยำ สลับเป็นฮาล์ฟสเตปแล้วดูความละเอียดเพิ่มเป็นสองเท่า

Loading module…กำลังโหลดโมดูล…

Stator and rotor

The stator is the fixed outer part: iron poles, each wrapped in a coil. Energize a coil and its pole becomes an electromagnet. The rotor is a permanent magnet on the shaft. Opposite poles attract, so the rotor’s N pole swings into line with the energized stator poles and holds there.

That holding is the point of a stepper. With no position sensor at all, the controller knows where the shaft is, because it knows how many steps it has sent.

Stepping through the sequence

Switch the energized coils round the stator in order and the magnetic field turns with them; the rotor follows, step by step. Reverse the order and it turns the other way. How fast you step sets the speed.

Full step (two coils on):  AB → BC → CD → DA
Half step:  A → AB → B → BC → C → CD → D → DA

Step angle, pole pairs and speed

A real rotor carries many N–S pole pairs round its rim, not one. One pass through the four-step coil sequence moves the rotor along by one pole pair, so a motor’s full steps per revolution is four times its pole pairs. A 24-step motor has 6 pole pairs; a common 200-step motor has 50.

step angle = 360° / steps per revolution
pole pairs = full steps per revolution / 4
rpm = step rate · 60 / steps per revolution

Full step versus half step

Full stepping keeps two coils on all the time, so the rotor sits between two poles with full torque. Half stepping alternates between one coil and two, adding a position halfway between each pair of full steps. That doubles the resolution and halves the step angle, so at the same step rate the shaft turns half as fast. The one-coil positions hold with less torque.

Worked example (the simulator’s default values)

  1. Full step, 24 steps per revolution, 4 steps per second, clockwise.
  2. Step angle = 360° / 24 = 15°; pole pairs = 24 / 4 = 6.
  3. Speed = 4 · 60 / 24 = 10 RPM, so one revolution takes 6 s.
  4. Half step: 48 positions per revolution, 7.5° per step, and 5 RPM at the same 4 steps per second.
  5. Each full step turns the field by 90°, but the shaft by only 90° / 6 = 15°.

Common mistakes

  • Thinking a stepper turns smoothly. It moves in discrete steps and holds between them; smooth motion at low speed needs microstepping.
  • Assuming the step angle depends on the step rate. It is fixed by how the motor is built; the step rate only sets the speed.
  • Stepping too fast for the load. Above some rate the rotor cannot keep up, misses steps, and the controller loses track of where the shaft is.

Common questions

How does a stepper motor work?

Coils on the stator are energized in sequence, each turning its pole into an electromagnet. The magnet rotor is pulled into line with the energized poles, so it moves one step every time the sequence advances.

What is the difference between full step and half step?

Full step keeps two coils on and moves one full step angle per pulse. Half step alternates between one and two coils, giving twice as many positions per revolution at half the step angle.

How do you calculate stepper motor RPM?

RPM = step rate × 60 / steps per revolution. A 24-step motor driven at 4 steps per second turns at 10 RPM.

สเตเตอร์และโรเตอร์

สเตเตอร์คือส่วนนอกที่อยู่กับที่ ประกอบด้วยขั้วเหล็กที่แต่ละขั้วพันด้วยคอยล์ เมื่อจ่ายไฟให้คอยล์ ขั้วนั้นจะกลายเป็นแม่เหล็กไฟฟ้า โรเตอร์คือแม่เหล็กถาวรบนเพลา ขั้วต่างกันดูดกัน ขั้ว N ของโรเตอร์จึงหมุนไปเรียงตรงกับขั้วสเตเตอร์ที่ได้รับไฟและค้างอยู่ที่นั่น

การค้างตำแหน่งนี้คือจุดเด่นของมอเตอร์สเตป ตัวควบคุมรู้ตำแหน่งเพลาโดยไม่ต้องมีเซนเซอร์ตำแหน่งเลย เพราะรู้ว่าส่งสเตปไปแล้วกี่ครั้ง

เดินตามลำดับการจ่ายไฟ

สลับคอยล์ที่ได้รับไฟวนรอบสเตเตอร์ตามลำดับ สนามแม่เหล็กจะหมุนตามไป และโรเตอร์ก็หมุนตามทีละสเตป กลับลำดับแล้วมอเตอร์จะหมุนอีกทาง อัตราการสเตปเป็นตัวกำหนดความเร็ว

ฟูลสเตป (เปิดสองคอยล์):  AB → BC → CD → DA
ฮาล์ฟสเตป:  A → AB → B → BC → C → CD → D → DA

มุมสเตป คู่ขั้ว และความเร็ว

โรเตอร์จริงมีคู่ขั้ว N–S หลายคู่รอบขอบ ไม่ใช่คู่เดียว การเดินครบลำดับสี่สเตปหนึ่งรอบทำให้โรเตอร์เลื่อนไปหนึ่งคู่ขั้ว จำนวนฟูลสเตปต่อรอบของมอเตอร์จึงเท่ากับสี่เท่าของจำนวนคู่ขั้ว มอเตอร์ 24 สเตปมี 6 คู่ขั้ว มอเตอร์ 200 สเตปที่พบบ่อยมี 50 คู่ขั้ว

มุมสเตป = 360° / จำนวนสเตปต่อรอบ
จำนวนคู่ขั้ว = จำนวนฟูลสเตปต่อรอบ / 4
rpm = อัตราสเตป · 60 / จำนวนสเตปต่อรอบ

ฟูลสเตปเทียบกับฮาล์ฟสเตป

ฟูลสเตปเปิดคอยล์สองตัวตลอดเวลา โรเตอร์จึงอยู่ระหว่างสองขั้วด้วยแรงบิดเต็มที่ ฮาล์ฟสเตปสลับระหว่างเปิดหนึ่งคอยล์และสองคอยล์ เพิ่มตำแหน่งตรงกลางระหว่างฟูลสเตปแต่ละคู่ ความละเอียดจึงเพิ่มเป็นสองเท่าและมุมสเตปลดลงครึ่งหนึ่ง ที่อัตราสเตปเท่าเดิมเพลาจึงหมุนช้าลงครึ่งหนึ่ง ตำแหน่งที่เปิดคอยล์เดียวยึดตำแหน่งด้วยแรงบิดที่น้อยกว่า

ตัวอย่างการคำนวณ (ค่าเริ่มต้นของโปรแกรมจำลอง)

  1. ฟูลสเตป 24 สเตปต่อรอบ 4 สเตปต่อวินาที หมุนตามเข็มนาฬิกา
  2. มุมสเตป = 360° / 24 = 15° จำนวนคู่ขั้ว = 24 / 4 = 6
  3. ความเร็ว = 4 · 60 / 24 = 10 RPM หมุนหนึ่งรอบใช้เวลา 6 วินาที
  4. ฮาล์ฟสเตป: 48 ตำแหน่งต่อรอบ 7.5° ต่อสเตป และ 5 RPM ที่ 4 สเตปต่อวินาทีเท่าเดิม
  5. ฟูลสเตปแต่ละครั้งหมุนสนามแม่เหล็กไป 90° แต่หมุนเพลาไปเพียง 90° / 6 = 15°

ข้อผิดพลาดที่พบบ่อย

  • คิดว่ามอเตอร์สเตปหมุนอย่างต่อเนื่อง ที่จริงมันเคลื่อนที่เป็นสเตปและค้างอยู่ระหว่างสเตป การหมุนให้เรียบที่ความเร็วต่ำต้องใช้ไมโครสเตปปิ้ง
  • คิดว่ามุมสเตปขึ้นกับอัตราสเตป ที่จริงมุมสเตปถูกกำหนดโดยโครงสร้างมอเตอร์ อัตราสเตปกำหนดเพียงความเร็ว
  • สเตปเร็วเกินไปสำหรับโหลด เมื่อเกินอัตราหนึ่ง โรเตอร์ตามไม่ทันและพลาดสเตป ตัวควบคุมจึงไม่รู้ตำแหน่งที่แท้จริงของเพลาอีกต่อไป

คำถามที่พบบ่อย

มอเตอร์สเตปทำงานอย่างไร?

คอยล์บนสเตเตอร์ได้รับไฟตามลำดับ แต่ละตัวทำให้ขั้วของมันกลายเป็นแม่เหล็กไฟฟ้า โรเตอร์แม่เหล็กถูกดึงให้เรียงตรงกับขั้วที่ได้รับไฟ จึงขยับไปหนึ่งสเตปทุกครั้งที่ลำดับเดินหน้า

ฟูลสเตปกับฮาล์ฟสเตปต่างกันอย่างไร?

ฟูลสเตปเปิดคอยล์สองตัวและขยับหนึ่งมุมสเตปเต็มต่อพัลส์ ฮาล์ฟสเตปสลับระหว่างหนึ่งและสองคอยล์ ได้ตำแหน่งต่อรอบเป็นสองเท่าที่มุมสเตปครึ่งหนึ่ง

คำนวณ RPM ของมอเตอร์สเตปอย่างไร?

RPM = อัตราสเตป × 60 / จำนวนสเตปต่อรอบ มอเตอร์ 24 สเตปที่ขับด้วย 4 สเตปต่อวินาทีจะหมุนที่ 10 RPM