Silicon ChipMotor Control, Part 3 - December 2026 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: I seriously underestimated AI coding
  4. Feature: The History of AMD, Part 2 by Dr David Maddison, VK3DSM
  5. Project: Advanced Cable Analyser by Richard Palmer
  6. Project: Inrush Current Limiter by Phil Prosser
  7. Feature: Motor Control, Part 3 by Andrew Levido
  8. Project: NeoPixel RGB LED Analog Clock, Part 2 by Nicholas Vinen
  9. Feature: Working with AVR & PIC Fuses, Part 1 by Tim Blythman
  10. PartShop
  11. Project: The Magic Candle by Dr Hugo Holden
  12. Serviceman's Log: Working with switch-mode power supplies by Malcolm Batchelor et al
  13. Vintage Radio: STC Bantam model A141 by Ian Batty
  14. Subscriptions
  15. Market Centre
  16. Advertising Index
  17. Notes & Errata: PicoSDR, April 2026
  18. Outer Back Cover

This is only a preview of the December 2026 issue of Silicon Chip.

You can view 37 of the 104 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Articles in this series:
  • The History of AMD, Part 1 (November 2026)
  • The History of AMD, Part 2 (December 2026)
Items relevant to "Advanced Cable Analyser":
  • Advanced Cable Analyser main PCB [04101261] (AUD $5.00)
  • Advanced Cable Analyser lid PCB [04101262] (AUD $10.00)
  • Advanced Cable Analyser software and documentation (Free)
  • Advanced Cable Analyser PCB patterns (PDF download) [04101261-2] (Free)
  • Cutting/drilling diagrams for the Advanced Cable Analyser (Panel Artwork, Free)
Items relevant to "Inrush Current Limiter":
  • Inrush Current Limiter PCB [10110261] (AUD $7.50)
  • Inrush Current Limiter PCB pattern (PDF download) [10110261] (Free)
Articles in this series:
  • Motor Control, Part 1 (October 2026)
  • Motor Control, Part 2 (November 2026)
  • Motor Control, Part 3 (December 2026)
Items relevant to "NeoPixel RGB LED Analog Clock, Part 2":
  • BZ-121 miniature GNSS receiver (Component, AUD $30.00)
  • Neo-7M GPS module with onboard SMA connector & 5-pin header (Component, AUD $20.00)
  • VK2828U7G5LF TTL GPS/GLONASS/GALILEO module with antenna and cable (Component, AUD $25.00)
  • New RGB LED 'Analog' Clock kit (Component, AUD $85.00)
  • New RGB LED 'Analog' Clock firmware (Software, Free)
Articles in this series:
  • NeoPixel RGB LED Analog Clock, Part 1 (November 2026)
  • NeoPixel RGB LED Analog Clock, Part 2 (December 2026)
Items relevant to "The Magic Candle":
  • Magic Candle PCB [05112251] (AUD $2.50)
  • Magic Candle PCB pattern (PDF download) [05112251] (Free)
  • Magic Candle assembly diagrams (Panel Artwork, Free)

Purchase a printed copy of this issue for $15.00.

Feature by Andrew Levido Motor Control Part 3: Stepping/Stepper Motors This month, our topic is stepping (or stepper) motors. Unlike the DC & synchronous motors we covered in the last few articles, the stepping motor rotates in a series of discrete steps rather than continuously. This makes it very useful for applications that require fairly precise position control without the need for feedback. T hese types of motors are found in many low-cost positioning devices like 3D or 2D printers, where the expense of full-feedback servomotors is not justified. All the motors we have looked at so far produce torque through the BIl relationship between flux density, current and winding length. Stepper motors are no different, although the mechanism is a bit more obscure. Stepping motors generate torque through a mechanism called variable reluctance. You may recall that reluctance is the ‘resistance’ of a magnetic circuit to magnetic flux. The current in an electrical circuit tends to take the path of least resistance because this is the lowest energy state – it takes more voltage, and therefore energy, to push a given current through a higher resistance than a lower one. It is the same for magnetic flux – it takes more magnetomotive force (mmf), and thus more energy, to push a flux through a higher reluctance path than a lower one. Thus, flux tends to seek the low-reluctance path. Variable reluctance This phenomenon can create a torque in a variable reluctance motor, like a stepping motor, through the mechanism illustrated in Fig.1. In this simplified example, a salient pole stator carries three pairs of windings, each set 120° apart. Opposite windings are wired such that their magnetic fields are orientated in the same direction. I have shown the top and bottom poles energised in the direction that makes the magnetic field point upward through the rotor. The flux completes its loop through the stator body, but I have not bothered to show this to keep the diagram uncluttered. The rotor is made of laminated transformer steel and also has salient poles, but it has no windings – the ‘doubly salient’ characteristic is critical for torque production these motors. If the rotor poles are fully aligned Fig.1: stepping motors produce torque using variable reluctance. The torque tends to push the rotor back into alignment with the stator, where the reluctance is lowest. 50 Silicon Chip Australia's electronics magazine with the stator poles, as shown on the left, the low-reluctance path ensures the magnetic flux produced by the stator is evenly distributed across the poles and the flux densities on the winding on the top left in which current comes out of the page and the one on the top right where it goes in are equal. There are still BIl forces on each of the energised windings (blue arrows), but they are equal and opposite, so they cancel out and the net reactive torque on the rotor is zero. If the rotor is turned by a slight angle, as shown in the diagram on the right, the area of the air gap between the rotor and stator saliencies decreases. The field lines bunch together because they still want to take the lowest reluctance path, so the flux density in this region increases. The flux is no longer evenly distributed across the energised stator poles. At the right-hand side of the top stator, the flux density is higher, so the winding on the right sees a higher BIl force than the one on the left. The same thing happens on the other side at the bottom pole. The BIl forces on the windings are therefore unbalanced, indicated by the length of the blue vectors, resulting in a net torque on the rotor in the direction that tries to pull it back into alignment with the stator. The opposite would happen if we turned the rotor counterclockwise; the rotor always wants to pull back to the neutral position where the reluctance is minimum. The same thing would happen if the current in the windings were reversed. The magnetic field through the rotor would point down, but the net force will always act to pull the stator back siliconchip.com.au Fig.2: when the current commutates from the U-phase to the V-phase, the rotor shifts by 30° to align with the V-phase pole pair. Different pole configurations produce different step angles. to the minimum reluctance, fully aligned position. If we now energise successive sets of poles in sequence, as shown in Fig.2, the rotor is pulled around so that the nearest rotor poles align with the newly energised stator poles. In this motor with three stator pole pairs and four rotor poles, the step angle is 30°. The step angle (θ) is related to the number of rotor poles (Pr) and the number of stator pole pairs (Ns) by the expression θ = 2π ÷ (Pr Ns) for radians and θ = 360 ÷ (Pr Ns) for degrees. In the example in Fig.2, the phases are energised in a U-V-W sequence counter clockwise around the rotor, and the stable rotor angle rotates clockwise. You can probably see that if the phase sequence was U-W-V, the rotor would move the other way. A variable reluctance motor therefore rotates in a series of discrete angular steps each time the stator current commutates from one winding to the next. Between commutations, the rotor is ‘locked’ at a stable angle and will resist attempts to move it. This precise rotor positioning and ‘holding torque’ is what makes these motors handy for positioning applications. Unfortunately, there is no neat electrical model or simple equation for torque vs angle or speed for these motors because everything depends on the magnetic design of the motor. However, we can look at the general shape of the torque-angle characteristic and see what we can learn from it. Fig.3(a) shows three generalised torque-angle curves, each in a different colour according to which winding is energised. Only one of these curves is valid at any given time. The solid dots represent the stable low-­ reluctance rotor angle where there is zero torque. These dots will be 30° apart for the motor in Fig.2, but could be at different angles for motors with different stator and rotor pole configurations. Imagine the blue phase is energised. With no shaft load, the rotor is stable at the angle indicated by the solid blue dot. If some load torque is applied, the rotor angle will move up or down the curve to the point that the motor and load torques are balanced. One such point is indicated by the hollow blue circle. The angle of the rotor does change a bit with applied torque, but the characteristic is fairly steep in real motors, so the angle does not change a huge amount. If the current commutates from the blue phase to the green phase, the operating point shifts up to the green curve along the vertical black line. The torque initially increases significantly as the operating point rides up the green curve, accelerating the rotor toward the next pole. Once the rotor angle passes the green curve’s peak, the torque reduces until the rotor angle reaches the next stable angle indicated by the hollow green circle. The rotor has skipped ahead one step. This will obviously only work if the initial blue-phase operating point is at or below the intersection of the blue and green curves shown by the horizontal dotted line. If the operating point were above this ‘pull-out torque’ (Tpo), the green phase would not be able to ‘catch’ the rotor and the step would be missed. Depending on the circumstances, the rotor may or may not resynchronise, but if you are relying on the stepper to arrive at a precise angle, you will be out of luck. This ‘missed step’ problem is probably the most Fig.3: these charts together show the torque-speed and torque-angle characteristics of a typical stepping motor. There is no simple equation or model to describe their behaviour. ω is proportional to the drive pulse frequency. siliconchip.com.au Australia's electronics magazine December 2026  51 Fig.4: a hybrid stepping motor includes a permanent magnet in the rotor. This example has 50 rotor poles and four stator pole-pairs for a step angle of 1.8°. common difficulty people encounter when using stepper motors for the first time. It is made more difficult by the fact that the pull-out torque is not fixed for a given motor. When the rotor transitions from one stable position to another, it does not do so linearly, or even in perfect steps. The rotor and load’s moment of inertia will take it a little past the next equilibrium point where the net torque will reverse, pulling it back. It may take a few oscillations until the rotor settles at its steady-state position, as shown in Fig.3(b). It takes a finite time to settle, and the faster you move it, the more pronounced the overshoot will be. This imposes some limitations on the stepping rate and therefore the rotor speed. If you try to step too fast, the rotor does not have time to ‘lock on’ to the stable angle before it has to move to the next, and a step may be missed, or synchronisation may be lost altogether. The result of all this is that the pullout torque reduces as the step rate increases, as shown in the blue curve in Fig.3(c). Some version of this curve is usually provided in the motor’s data sheet. The horizontal axis is step rate, sometimes called pulse frequency for reasons we will get to in a moment, or shaft speed (in RPM or radians per second). The pull-out torque drops off dramatically with step rate until it reaches some maximum response frequency, where even the unloaded rotor cannot keep up. There is also a pull-in torque limit, as shown by the red line on the graph, although you will rarely find this mentioned in the data sheets. This is the maximum load torque that the motor can accelerate from stationary for a given step rate. It is not really relevant for most applications, because you would normally ramp the step rate up from a low value rather than banging it on full bore on a stationary motor and load. Hybrid stepping motor That’s the theory out of the way. If we want to get practical, we need to Photo 1 (left): you can clearly see the offset between the segments in this photo of the rotor of a NEMA 17 sized 1.8° stepper. This offset is critical for the operation of hybrid stepper motors. Photo 2 (right): this is the stator from the same motor as above. The four pole-pairs, each with six saliences, are clearly visible. 52 Silicon Chip Australia's electronics magazine talk about hybrid stepping motors, which are the types you will most commonly encounter in the wild. The ubiquitous “NEMA” type motors with the square-ish body are hybrid types. The most common variant has 200 steps per revolution (a 1.8° step angle) and comes in a range of standardised frame sizes. The NEMA size designation is the approximate width and height of the motor frame in tenths of an inch. For example, a NEMA 17 motor is roughly 1.7 inches (43mm) square. For more on NEMA stepper motors, see our article titled “A quick primer on stepper motors” (January 2019; siliconchip.au/ Article/11370). To achieve a 1.8° step angle requires lots of poles: 50 rotor poles and four stator pole-pairs is a common combination. Such a large number of necessarily small rotor poles makes it difficult to get adequate flux density using the stator windings alone. These stepper motors therefore have permanent magnets in the rotors to provide some additional flux – hence the “hybrid” designation. The elevation in Fig.4 shows a side view of the rotor. The magnets are positioned axially in the rotor, which is divided into two sections. Each section has 50 poles, which look a bit like the teeth of a gear. Critically, these sections are fixed to the rotor such that the ‘teeth’ on one section are aligned with the ‘slots’ on the other. Photo 1 is a photo of a rotor and its bearings from a NEMA 17 motor. The rotor slots and the gap between the rotor sections are filled with epoxy, but you can clearly see the offset. The rotor in this photo has two siliconchip.com.au sections. You can stack pairs of sections end-to-end on a common shaft to achieve higher torque, but you need a correspondingly longer stator. This is why NEMA-style stepping motors come in different lengths for each frame size. The stator of this motor (Photo 2) has four pole pairs arranged in two phases. Each pole has several saliences on the same pitch as the rotor poles. You can see how the stator and rotor interact if you look at the cross-section diagram in Fig.4. This cross-section is through the stator and the north pole section of the rotor. We will start by considering what is going on when no windings are energised. The flux produced by the permanent magnet crosses the air-gap from the north rotor section to the stator poles, flows axially along the stator and back across the air gap to the south-pole rotor section. Crucially, the offset between rotor sections ensures the reluctance of the flux path through each stator pole is about equal. If the reluctance of each path were not roughly equal, the permanent magnet’s field would produce a strong static torque that the torque produced by the windings would have to overcome. If you have ever turned the shaft of an unenergised hybrid stepping motor, you know that you can do so easily while feeling just a very light ‘detent’ torque. We can understand how this works by mentally following the flux path through each stator pole-pair. In the case of pole pair 1, the flux passes from the north rotor segment through the fully aligned poles on the north end of the motor and back via the fully unaligned pole pair to the south rotor segment. The same sequence happens for pole-pair 3, except the unaligned segment is at the north end and the aligned segment is at the south. The flux paths through pole pairs 2 and 4 are through two sets of half-aligned air gaps. By sizing the teeth and slots just right, the designers make the reluctance of all the paths almost identical. This clever design means the flux produced by the permanent magnets is available to assist the windings in creating torque when they are energised, but does not produce much torque on its own. When the green winding is energised, the flux it produces adds to the siliconchip.com.au permanent magnet flux to create a holding torque that locks the rotor in the position shown in the cross-­section in Fig.4. When the current commutates from the green winding to the blue one, the rotor advances clockwise by the 1.8° necessary to align pole-pair 2, as shown in Detail A. The directions shown are for positive current. If we had energised the blue winding with a negative current, the rotor would have moved 1.8° anti-clockwise. To rotate clockwise, the phases would be energised in the sequence +G, +B, –G, –B, and to rotate anti-clockwise the sequence is +G, –B, –G, +B. In reality, we don’t usually energise single windings in a hybrid stepper motor unless we are microstepping (more on that below), but it is easier to understand the motor’s operation if we make this simplification for now. Driving stepper motors The important thing to note is that to use a permanent-magnet or hybrid stepper motor, we have to be able to drive current through the windings in either direction. How we do this depends on the configuration of the motor windings. A bipolar or 4-wire stepping motor like that shown in Fig.5 has a single pair of wires for each phase and therefore each requires full-bridge drivers so current can be pushed through the windings in either direction. In a unipolar or 6-wire stepping motor, each winding is centre-tapped such that current flowing from the common wire to each end produces flux in the opposite direction. This means the power electronics to drive 6-wire motors is simpler, but it comes at the expense of reduced torque for a given motor size, since at any time only half of each winding is carrying current. You can operate a 6-wire motor as a bipolar one by ignoring the common terminal of each winding and driving the ends of the winding with a fullbridge. That is why most off-the-shelf stepper motor drivers use the fullbridge configuration. Unlike most motors, the current through a stepping motor is not directly proportional to torque. These motors, especially small ones, draw about the same current whether stationary or moving, loaded or unloaded. The only thing limiting the current is the DC resistance of the windings, so you almost always need to use a current-­mode controller to drive them. These motors usually have both a voltage rating and a current rating, but it is the latter you really need to pay attention to. You will burn out the motor if you exceed this for any length of time. Stepping and microstepping As mentioned above, we don’t usually drive a hybrid stepping motor Fig.5: 4-wire or bipolar stepping motors have one pair of terminals for each phase and must be driven by a full-bridge. Six-wire or ‘unipolar’ steppers have a centre-tapped winding which simplifies the drive requirements at the expense of lower torque. Australia's electronics magazine December 2026  53 Fig.6: microstepping creates intermediate steps for increased angular resolution and lower motor noise. The torque available at the incremental positions is lower than that at the full-step angles, though. using just one of the two phases. We get maximum torque if we energise both windings at the same time, which shifts the stable rotor position halfway between the stator poles. You can think of this as adjacent pole pairs (say 1 & 2 in Fig.4) forming a single larger pole if that helps. You can see this in action in the simplified representation of a two-phase stepper in Fig.6 (at upper left). This motor has two rotor poles and two stator pole-pairs, so nominally each step is 90°. During each full step, the red and blue phases windings are both energised, and the stable rotor angles fall between the stator poles. Note that this is a stylised drawing – a motor that actually looked like this would not work! In each stable full-step position, both windings are energised with 100% of the nominal current, albeit in different permutations of polarity, 54 Silicon Chip and the torque is maximised. The rotor will jump very positively from angle to angle with a lot of overshoot and ripple. We have already seen that if we energise a single winding, the rotor aligns directly with that pole-pair. We can use this to create intermediate steps between each full step. This is called half-stepping and is illustrated at upper right in Fig.6. There are now eight rotor positions instead of four, and the step-angle is halved. Still, there is a catch. In positions 2, 4, 6 & 8 where only one winding is energised, the holding torque is about half that at the full-step angle. This lower intermediate position torque is often referred to as the “incremental torque”. The advantage of half-stepping is that the noise and vibration of the motor are reduced, as is the magnitude of the angle overshoot each step. You also get twice the angular resolution (so 0.9° in a 1.8° stepper) but half the pull-out torque in the intermediate steps. There is no such thing as a free lunch! Because we (probably) have a current-­mode controller, we are not limited to the three current levels we have used so far (100% positive, zero and 100% negative), so we could create more sub-steps by partially energising coils. For example, we could create a stable position between steps 1 and 2 of the half-step drive by partially energising the blue winding and fully energising the red winding. In this way, we Australia's electronics magazine could quadruple the number of steps per revolution from four for full stepping to 16 for quarter stepping. The first four steps of the 16-step sequence are shown at lower left in Fig.6. You can actually create any arbitrary number of sub-steps, but powers of two are the most common. Collectively, these sub-stepping strategies are called microstepping. Typical stepping motor drivers capable of microstepping top out at 32 sub-steps per full step. The incremental torque is 1/8 of the full-step torque, so this level of micro-stepping is not all that useful for positioning unless the load is very light. The main use case for very small micro-steps is to make the rotor movement smoother and quieter. This can be useful since stepper motors tend to operate at audio frequencies and they can be loud. If you want proof, check out the video clips online of people using stepper motors to play music! Getting practical A good way to explore stepping motors is to get hold of one and a lowcost driver module, then try them out. The driver I bought (Photo 3) is a typical example. It is suitable for fourwire motors, can source and sink up to 4.0A and operates from a 9-42V DC supply. It is equipped with DIP switches to select the motor current and the step type. It has opto-isolated logic inputs for enable, direction and the step pulse. To run the motor, you leave enable open, so it is really a disable input. siliconchip.com.au Photo 3: a typical off-theshelf stepping motor controller. This unit is rated for 4.0A and can be set up for microstepping at various rates. You can also leave the direction input open if you only need single-­ direction rotation. The motor will take a single step on every rising edge of the step input. This direction/step pulse interface is very common with stepper motor drivers, and is the reason that a lot of the stepping motor data sheets use the term ‘pulse rate’ rather than step rate. It is pretty easy to generate a suitable pulse train with a microcontroller using a timer, but you can use more or less any source that can generate a 3.3V or 5V pulse train. I used my signal generator with the output amplitude and offset adjusted appropriately. I hooked the driver up to a NEMA 17 350mA stepping motor. Scope 1 shows the stator current waveforms at 500mA per division for full-­stepping at 100 pulses per second. The high-frequency ripple on the current waveform is the current-mode regulation in action. I had the current limit set to 500mA (the lowest setting), but with a 12V supply, the motor current was roughly 350mA as expected. This was with no load on the shaft, reinforcing the point that variable-reluctance motor current is not proportional to load as it is with most other motor types. Under these conditions, the shaft was making very distinct steps and was impossible to stall with my fingers. Scope 2 shows the same waveforms for half-stepping mode. You can clearly see the ‘shoulders’ on the waveform where only one winding is energised. The shaft rotation was noticeably smoother, but I could make the shaft skip intermediate steps with my fingers. Scope 3 is a close-up of the current waveform shape with 16× micro-­ stepping enabled. The steps themselves are barely visible in the current switching hash and the transitions siliconchip.com.au Scope 1: the current waveforms (500mA per division) for a NEMA 17 stepper operating in full-step mode at 100 steps per second. The hash on the traces is the currentmode controller switching. Scope 2: with half-stepping, the periods where only one winding is energised are very apparent. The torque available during these steps will be half that at the full-steps. Scope 3: this ‘scope grab shows the current waveforms with 16× microstepping. You can barely make out the steps. The motor operation was very quiet and smooth, but the impact on torque was marked. look more-or-less linear. The acoustic noise made by the motor was much lower with 16 micro-steps, but the very low incremental torque between major steps was very apparent, and it was easy to stall the shaft with my fingers. Conclusion Stepping motors, particularly the low-cost NEMA-style hybrid steppers, are very useful tools if you are looking for low-cost position control. They are easy to drive using cheap off-the-shelf modules or one of the many stepping motor control chips available from the usual suspects. They play very nicely with microcontrollers, so they are a good choice for many do-it-yourself projects. Australia's electronics magazine Their strengths are holding torque and positioning, as long as you don’t need to move too fast. They are not a replacement for DC motors, whether electrically or mechanically commutated, if you just need to turn a shaft. They don’t run fast (even at moderate speeds they have terrible torque) and they are not very efficient. If you want it all – accurate positioning, high speed and high torque, you probably need a full-blown servomotor. Nevertheless, if you can live with the limitations I have mentioned (and often you can), hybrid stepping motors are a cost-effective option. Next month we will take a look at three-phase induction motors, focusSC ing on field-orientated control. December 2026  55