<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: emily3339</title>
    <description>The latest articles on DEV Community by emily3339 (@estelle_morgan_66f9d0422e).</description>
    <link>https://dev.to/estelle_morgan_66f9d0422e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4077599%2Ff9629b76-53b3-45d2-8f84-c564089490b5.png</url>
      <title>DEV Community: emily3339</title>
      <link>https://dev.to/estelle_morgan_66f9d0422e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/estelle_morgan_66f9d0422e"/>
    <language>en</language>
    <item>
      <title>How Should a Frameless Torque Motor Be Sized for a Robot Joint?</title>
      <dc:creator>emily3339</dc:creator>
      <pubDate>Fri, 28 Aug 2026 14:45:00 +0000</pubDate>
      <link>https://dev.to/estelle_morgan_66f9d0422e/how-should-a-frameless-torque-motor-be-sized-for-a-robot-joint-41i3</link>
      <guid>https://dev.to/estelle_morgan_66f9d0422e/how-should-a-frameless-torque-motor-be-sized-for-a-robot-joint-41i3</guid>
      <description>&lt;p&gt;A frameless torque motor can make a robot joint smaller and more integrated.&lt;/p&gt;

&lt;p&gt;It can also create problems if the motor is selected from peak torque alone.&lt;/p&gt;

&lt;p&gt;Robot joint sizing requires a complete view of torque, speed, thermal load, mechanical integration and feedback.&lt;/p&gt;

&lt;p&gt;The motor is only one part of the actuator.&lt;/p&gt;

&lt;p&gt;Start With the Joint Torque Profile&lt;/p&gt;

&lt;p&gt;The first question should not be the motor diameter.&lt;/p&gt;

&lt;p&gt;It should be how much torque the joint actually needs during operation.&lt;/p&gt;

&lt;p&gt;A robot joint rarely operates at one fixed torque.&lt;/p&gt;

&lt;p&gt;Torque changes as the arm moves, accelerates, carries a payload and responds to gravity.&lt;/p&gt;

&lt;p&gt;The designer therefore needs both peak torque and continuous torque requirements.&lt;/p&gt;

&lt;p&gt;Peak torque may occur during rapid acceleration or an unusual operating condition.&lt;/p&gt;

&lt;p&gt;Continuous torque is related to the average thermal demand over the operating cycle.&lt;/p&gt;

&lt;p&gt;A motor that can produce the required peak torque for a few seconds may still overheat if its continuous capacity is too low.&lt;/p&gt;

&lt;p&gt;Consider the Complete Motion Cycle&lt;/p&gt;

&lt;p&gt;The most useful motor sizing information comes from the actual motion profile.&lt;/p&gt;

&lt;p&gt;This includes expected joint speed, acceleration, load inertia, duty cycle and dwell periods.&lt;/p&gt;

&lt;p&gt;Gravity also matters for joints that support a load vertically.&lt;/p&gt;

&lt;p&gt;For some axes the motor spends significant time holding torque even when the robot is not moving.&lt;/p&gt;

&lt;p&gt;That holding condition generates heat and must be included in thermal calculations.&lt;/p&gt;

&lt;p&gt;Ignoring it can lead to a motor that performs well during a short demonstration but becomes thermally limited during continuous production.&lt;/p&gt;

&lt;p&gt;Decide Whether the Joint Uses a Gear&lt;/p&gt;

&lt;p&gt;Frameless motors are often associated with direct drive robotics but many robot joints still use a reduction gear.&lt;/p&gt;

&lt;p&gt;A gear can multiply output torque and allow the motor to operate at a more favorable speed.&lt;/p&gt;

&lt;p&gt;It also adds friction, compliance and mechanical complexity.&lt;/p&gt;

&lt;p&gt;The selected gear ratio changes the torque and speed required from the motor.&lt;/p&gt;

&lt;p&gt;It also changes how reflected inertia appears to the motor.&lt;/p&gt;

&lt;p&gt;Motor sizing should therefore be performed together with gearbox selection rather than treating the two components independently.&lt;/p&gt;

&lt;p&gt;For joints that truly use direct drive the motor must produce the full joint torque without mechanical multiplication.&lt;/p&gt;

&lt;p&gt;That normally requires greater motor torque but removes the backlash and compliance associated with a gearbox.&lt;/p&gt;

&lt;p&gt;Diameter and Length Affect Integration&lt;/p&gt;

&lt;p&gt;Frameless motors consist primarily of a rotor and stator.&lt;/p&gt;

&lt;p&gt;This gives the mechanical designer freedom to integrate the motor directly into the joint housing.&lt;/p&gt;

&lt;p&gt;However motor dimensions still influence the complete actuator.&lt;/p&gt;

&lt;p&gt;Torque is strongly related to motor geometry.&lt;/p&gt;

&lt;p&gt;A larger motor diameter can often provide more torque without requiring a proportionate increase in axial length.&lt;/p&gt;

&lt;p&gt;This can be useful in robot joints where keeping the actuator short is important.&lt;/p&gt;

&lt;p&gt;The available bore diameter also matters.&lt;/p&gt;

&lt;p&gt;Modern robotic joints often need space through the center for cables, hoses, brakes or mechanical shafts.&lt;/p&gt;

&lt;p&gt;The motor should therefore be evaluated as part of the joint packaging rather than as an isolated component.&lt;/p&gt;

&lt;p&gt;Thermal Design Can Limit Continuous Torque&lt;/p&gt;

&lt;p&gt;Compact robot joints are difficult thermal environments.&lt;/p&gt;

&lt;p&gt;The motor may be surrounded by gears, bearings, electronics and structural components.&lt;/p&gt;

&lt;p&gt;There may be very little natural airflow.&lt;/p&gt;

&lt;p&gt;The stator housing often becomes the main thermal path.&lt;/p&gt;

&lt;p&gt;Good contact between the stator and the surrounding structure can therefore have a significant effect on continuous torque capability.&lt;/p&gt;

&lt;p&gt;High duty applications may require additional cooling.&lt;/p&gt;

&lt;p&gt;The designer should also consider how motor heat affects nearby encoders and lubrication.&lt;/p&gt;

&lt;p&gt;A joint can remain below the winding temperature limit while still becoming too hot for another component.&lt;/p&gt;

&lt;p&gt;Bearings and Encoders Are Part of the Design&lt;/p&gt;

&lt;p&gt;A frameless motor normally does not provide its own bearing system.&lt;/p&gt;

&lt;p&gt;The joint designer must select bearings capable of supporting radial loads, axial loads and moments generated by the robot structure.&lt;/p&gt;

&lt;p&gt;Bearing stiffness can influence positioning accuracy and dynamic response.&lt;/p&gt;

&lt;p&gt;Feedback is equally important.&lt;/p&gt;

&lt;p&gt;Encoder resolution and accuracy should match the real performance requirement of the joint.&lt;/p&gt;

&lt;p&gt;Mounting errors can reduce the benefit of an expensive encoder.&lt;/p&gt;

&lt;p&gt;Mechanical alignment should therefore be considered during the earliest stages of joint design.&lt;/p&gt;

&lt;p&gt;A frameless torque motor supplier such as HansMotor can be most useful when torque requirements are provided together with the available joint envelope, bore requirement, cooling conditions, speed range and feedback concept.&lt;/p&gt;

&lt;p&gt;Validate More Than One Operating Point&lt;/p&gt;

&lt;p&gt;A good motor selection should be checked at several conditions.&lt;/p&gt;

&lt;p&gt;Maximum acceleration&lt;br&gt;
Maximum operating speed&lt;br&gt;
Continuous production cycle&lt;br&gt;
Static holding condition&lt;br&gt;
Highest expected ambient temperature&lt;br&gt;
Maximum payload&lt;br&gt;
Emergency or abnormal loading where relevant&lt;/p&gt;

&lt;p&gt;A motor that passes only the maximum torque calculation is not necessarily suitable for the application.&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;Sizing a frameless torque motor is an actuator design problem rather than a catalog selection exercise.&lt;/p&gt;

&lt;p&gt;Peak torque determines whether the joint can handle demanding movements.&lt;/p&gt;

&lt;p&gt;Continuous torque determines whether it can operate repeatedly without overheating.&lt;/p&gt;

&lt;p&gt;Motor geometry affects the mechanical envelope.Cooling affects usable output.&lt;/p&gt;

&lt;p&gt;Bearings and feedback affect the final precision of the joint.&lt;/p&gt;

&lt;p&gt;Treating these elements as one system usually produces a better robot joint than selecting each component independently.&lt;/p&gt;

</description>
      <category>design</category>
      <category>hardware</category>
      <category>robotics</category>
    </item>
    <item>
      <title>Momentary and Latching Push Button Switches Explained</title>
      <dc:creator>emily3339</dc:creator>
      <pubDate>Thu, 27 Aug 2026 09:44:53 +0000</pubDate>
      <link>https://dev.to/estelle_morgan_66f9d0422e/momentary-and-latching-push-button-switches-explained-1aoe</link>
      <guid>https://dev.to/estelle_morgan_66f9d0422e/momentary-and-latching-push-button-switches-explained-1aoe</guid>
      <description>&lt;p&gt;Push button switches may look similar from the outside, but their internal behavior can be very different.&lt;/p&gt;

&lt;p&gt;One of the most important distinctions is whether the switch is momentary or latching. Choosing the wrong type can create unexpected behavior in the finished product, even when the footprint and electrical configuration appear correct.&lt;/p&gt;

&lt;p&gt;Understanding where the switching state should be stored is the simplest way to make the right choice.&lt;/p&gt;

&lt;p&gt;What Is a Momentary Push Button Switch&lt;/p&gt;

&lt;p&gt;A momentary switch remains active only while the actuator is being pressed.&lt;/p&gt;

&lt;p&gt;When the user releases the button, an internal spring returns the mechanism to its original position.&lt;/p&gt;

&lt;p&gt;This behavior is common in:&lt;/p&gt;

&lt;p&gt;reset buttons&lt;br&gt;
menu controls&lt;br&gt;
keypad inputs&lt;br&gt;
test equipment&lt;br&gt;
handheld electronics&lt;br&gt;
control panels&lt;/p&gt;

&lt;p&gt;In many modern products, the momentary switch simply sends a signal to a microcontroller. Firmware then determines what happens next.&lt;/p&gt;

&lt;p&gt;For example, pressing a power button may tell the controller to turn a system on, even though the physical button immediately returns to its original position.&lt;/p&gt;

&lt;p&gt;What Is a Latching Push Button Switch&lt;/p&gt;

&lt;p&gt;A latching switch mechanically maintains its state after the user releases the button.&lt;/p&gt;

&lt;p&gt;Press once and the switch changes state.&lt;/p&gt;

&lt;p&gt;Press again and it returns.&lt;/p&gt;

&lt;p&gt;This is why latching designs are also commonly described as push on push off or self locking switches.&lt;/p&gt;

&lt;p&gt;A compact latching push button switch can be useful when the state needs to remain mechanically maintained rather than stored by software.&lt;/p&gt;

&lt;p&gt;Typical applications include:&lt;/p&gt;

&lt;p&gt;audio equipment&lt;br&gt;
test instruments&lt;br&gt;
control systems&lt;br&gt;
consumer electronics&lt;br&gt;
mode selection&lt;br&gt;
hardware power control&lt;br&gt;
The Main Difference Is Where the State Lives&lt;/p&gt;

&lt;p&gt;This is the most useful way to compare the two technologies.&lt;/p&gt;

&lt;p&gt;With a momentary switch, the physical button does not remember anything. The system usually remembers the state electronically.&lt;/p&gt;

&lt;p&gt;With a latching switch, the mechanism itself maintains the state.&lt;/p&gt;

&lt;p&gt;Consider a device with an electronic power button.&lt;/p&gt;

&lt;p&gt;A momentary switch sends a short signal to the controller. The controller then decides whether to keep the system powered.&lt;/p&gt;

&lt;p&gt;A mechanical latching switch can maintain the contact state even without a processor making that decision.&lt;/p&gt;

&lt;p&gt;Neither approach is universally better.&lt;/p&gt;

&lt;p&gt;The correct choice depends on the architecture of the product.&lt;/p&gt;

&lt;p&gt;When Momentary Switching Is Better&lt;/p&gt;

&lt;p&gt;A momentary switch is usually preferable when software already controls the system.&lt;/p&gt;

&lt;p&gt;It provides several advantages.&lt;/p&gt;

&lt;p&gt;The firmware can assign multiple functions to one button. A short press might perform one action while a long press performs another.&lt;/p&gt;

&lt;p&gt;Behavior can also be changed through software without redesigning the switch mechanism.&lt;/p&gt;

&lt;p&gt;Momentary tactile switches are therefore common in compact electronic interfaces. Engineers comparing tactile switch options can choose different sizes, mounting styles, operating forces and actuator heights depending on the design.&lt;/p&gt;

&lt;p&gt;Momentary switching also works well when the external control needs to remain visually unchanged regardless of the system state.&lt;/p&gt;

&lt;p&gt;When Latching Switching Is Better&lt;/p&gt;

&lt;p&gt;Latching switches are useful when maintaining a physical state has value.&lt;/p&gt;

&lt;p&gt;This can include equipment where users expect a clear mechanical on and off condition.&lt;/p&gt;

&lt;p&gt;They can also be useful when electronic state retention would unnecessarily increase circuit complexity.&lt;/p&gt;

&lt;p&gt;One important advantage is that the mechanical position can remain unchanged even when the device loses power.&lt;/p&gt;

&lt;p&gt;However, designers should not assume every latching switch is suitable for switching mains power directly.&lt;/p&gt;

&lt;p&gt;Electrical ratings, contact configuration and applicable safety requirements must still be checked for the specific component.&lt;/p&gt;

&lt;p&gt;Do Not Identify the Switch by Appearance Alone&lt;/p&gt;

&lt;p&gt;A common sourcing problem occurs when momentary and latching variants use nearly identical housings.&lt;/p&gt;

&lt;p&gt;A buyer may receive a part that fits the PCB perfectly but operates differently.&lt;/p&gt;

&lt;p&gt;This can be difficult to detect during basic incoming inspection.&lt;/p&gt;

&lt;p&gt;The safer approach is to control the complete manufacturer part number in the BOM and include functional behavior in the inspection procedure.&lt;/p&gt;

&lt;p&gt;A useful test is simple:&lt;/p&gt;

&lt;p&gt;Press the switch.&lt;br&gt;
Release it.&lt;br&gt;
Check whether the electrical state remains changed.&lt;br&gt;
Press it again.&lt;br&gt;
Confirm whether the state returns.&lt;/p&gt;

&lt;p&gt;A press and hold test cannot distinguish all momentary and latching variants.&lt;/p&gt;

&lt;p&gt;Consider Travel and Enclosure Geometry&lt;/p&gt;

&lt;p&gt;Latching mechanisms often need enough actuator travel to complete the locking and releasing sequence.&lt;/p&gt;

&lt;p&gt;The external button or plastic cap must not prevent this movement.&lt;/p&gt;

&lt;p&gt;This becomes important when a switch sits behind a custom enclosure.&lt;/p&gt;

&lt;p&gt;Tolerance from several parts can accumulate:&lt;/p&gt;

&lt;p&gt;PCB position&lt;br&gt;
switch height&lt;br&gt;
plastic button height&lt;br&gt;
enclosure wall thickness&lt;br&gt;
mounting hardware&lt;/p&gt;

&lt;p&gt;An apparently small dimensional error can prevent reliable latching.&lt;/p&gt;

&lt;p&gt;Prototype testing should therefore use the actual enclosure whenever possible.&lt;/p&gt;

&lt;p&gt;Contact Configuration Still Matters&lt;/p&gt;

&lt;p&gt;Mechanical behavior and electrical configuration are separate specifications.&lt;/p&gt;

&lt;p&gt;A latching switch might use SPST, SPDT, DPDT or another contact arrangement depending on the design.&lt;/p&gt;

&lt;p&gt;For example, a DPDT switch can change two circuits simultaneously.&lt;/p&gt;

&lt;p&gt;Engineers should verify the contact diagram instead of assuming the pin configuration based only on the number of terminals.&lt;/p&gt;

&lt;p&gt;Consider Lifecycle&lt;/p&gt;

&lt;p&gt;A button used several times every hour requires a different lifecycle target from a configuration control changed only occasionally.&lt;/p&gt;

&lt;p&gt;Estimate how frequently the user will operate the switch over the expected service life.&lt;/p&gt;

&lt;p&gt;Then compare that requirement with the manufacturer's published mechanical and electrical life under relevant test conditions.&lt;/p&gt;

&lt;p&gt;Electrical life can also depend heavily on the load being switched.&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;The choice between momentary and latching push button switches should begin with one question:&lt;/p&gt;

&lt;p&gt;Should the mechanical switch maintain the state, or should the electronics maintain it?&lt;/p&gt;

&lt;p&gt;Once that decision is clear, engineers can evaluate footprint, actuator travel, contact configuration, electrical rating and lifecycle.&lt;/p&gt;

&lt;p&gt;Treating mechanical behavior as an explicit design requirement prevents one of the easiest switch selection mistakes to make.&lt;/p&gt;

</description>
      <category>hardware</category>
      <category>iot</category>
    </item>
    <item>
      <title>Han's Motor</title>
      <dc:creator>emily3339</dc:creator>
      <pubDate>Fri, 14 Aug 2026 11:35:39 +0000</pubDate>
      <link>https://dev.to/estelle_morgan_66f9d0422e/hans-motor-2c13</link>
      <guid>https://dev.to/estelle_morgan_66f9d0422e/hans-motor-2c13</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1y0sx3wz507gh9avtuwf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1y0sx3wz507gh9avtuwf.jpg" alt=" " width="799" height="319"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A gearbox is not only a mechanical part. It is also a stack of problems your control code spends its life fighting. Backlash at every reversal. Compliance you tune around. Couple the motor straight to the load and most of those problems leave, and a few new ones arrive to take their place.&lt;/p&gt;

&lt;p&gt;A direct drive motor connects the rotor or forcer straight to the load, with no gearbox, belt, or lead screw in between. Here is what changes once that transmission is gone, from the point of view of the code that runs the axis.&lt;/p&gt;

&lt;h2&gt;
  
  
  Backlash stops being a software problem
&lt;/h2&gt;

&lt;p&gt;Gearing gives you backlash, the lost motion you feel at every direction change. In firmware you pay for it with reversal compensation and settling time you can never fully tune out. Remove the gearbox and the gear backlash is gone at the source, so that compensation code goes with it.&lt;/p&gt;

&lt;p&gt;Be precise about the claim. Direct drive removes the backlash the gearing introduced. It does not remove compliance elsewhere in the axis, in a coupling or in the structure, so a stiff mount still matters. What you get back is a mechanical path that does not lie to your position loop at reversal.&lt;/p&gt;

&lt;h2&gt;
  
  
  You inherit the full load inertia
&lt;/h2&gt;

&lt;p&gt;This is the trade. With a gearbox, the load inertia reflected back to the motor is divided by the square of the gear ratio. A 10:1 stage divides it by 100. Take the gearbox out and that division is gone. The motor, and your position loop, see the full load inertia directly.&lt;/p&gt;

&lt;p&gt;That is why direct drive motors are larger and cost more at a given torque, and why the load-to-motor inertia ratio now sets your loop bandwidth and stability margin. You are not tuning against a comfortably reduced inertia anymore. You are tuning against the real thing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Commutation moves to the front
&lt;/h2&gt;

&lt;p&gt;With no gearbox in the way, smoothness of force or torque comes down to the current loop and to knowing the rotor position within one electrical cycle. In field-oriented control, torque tracks the q-axis current. That holds for a surface-magnet PMSM. An interior-magnet motor adds a reluctance term, so treat it as a close approximation, not a law.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Simplified. A real drive runs this in the current loop at tens of kHz.
&lt;/span&gt;
&lt;span class="c1"&gt;# 1. Commutation needs the rotor angle within one electrical cycle,
#    referenced to the correct alignment offset.
&lt;/span&gt;&lt;span class="n"&gt;theta_e&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pole_pairs&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;encoder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;angle&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;commutation_offset&lt;/span&gt;

&lt;span class="c1"&gt;# 2. In field-oriented control, torque tracks the q-axis current.
#    True for a surface-magnet PMSM. Interior-magnet motors add a
#    reluctance term, so this is an approximation, not a law.
&lt;/span&gt;&lt;span class="n"&gt;i_q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;torque_command&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;torque_constant&lt;/span&gt;
&lt;span class="n"&gt;i_d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;  &lt;span class="c1"&gt;# no field weakening in this example
&lt;/span&gt;
&lt;span class="c1"&gt;# 3. With a gearbox you would divide load inertia by the gear ratio
#    squared. Direct drive removes that division, so the position loop
#    is tuned against the full load inertia.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two feedback jobs live here, and developers mix them up constantly. One is coarse rotor position used to commutate the motor, often from hall sensors. The other is the fine axis-position feedback that tells you where the machine actually is. They are different devices with different wiring and different resolution, and confusing them is a classic reason a motor will not start smoothly.&lt;/p&gt;

&lt;h2&gt;
  
  
  A debugging heuristic worth keeping
&lt;/h2&gt;

&lt;p&gt;When an axis runs rough, a periodic torque variation that tracks the electrical angle is a typical clue that commutation, not the mechanics, is the source. Treat it as a clue, not a proof. Bearing friction, guideway drag, and load variation each produce their own periodic signatures, and you have to rule those out before you blame the feedback or the commutation offset.&lt;/p&gt;

&lt;h2&gt;
  
  
  Feedback becomes the ceiling on precision
&lt;/h2&gt;

&lt;p&gt;With no gearbox to average out feedback error, the encoder is part of the axis, not a bolt-on. Your precision ceiling is whatever the feedback device can resolve and hold. Two decisions land straight in your firmware.&lt;/p&gt;

&lt;p&gt;First, incremental or absolute. An incremental encoder sends counting pulses and needs a homing move after every power cycle. An absolute encoder assigns each position a unique code and reports true position the moment power returns, with no homing. On a direct drive axis that cannot afford a homing sequence at startup, absolute feedback is usually the default, and your boot code is simpler for it.&lt;/p&gt;

&lt;p&gt;Second, resolution is not accuracy. A high step count per revolution tells you how finely the device subdivides, not how well it knows the true angle. Match the encoder to the axis and its error budget rather than to a headline number.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.hansmotor.net/what-is-a-time-grating-encoder/" rel="noopener noreferrer"&gt;Time-grating encoders&lt;/a&gt; are one option worth knowing here. They are contactless and field-based, and they read angle from a phase shift in the time domain rather than by counting finely etched lines, so the precision comes from time-domain electronics. They are absolute, and on a direct drive axis they integrate as one feedback set with the motor. The honest boundary matters too. This is not the pick at the top metrology tier, where wafer-grade stages still run optical. It earns its place on large, hollow-shaft, or contaminated axes, where coolant and swarf would force an optical scale into a sealed, clean gap.&lt;/p&gt;

&lt;h2&gt;
  
  
  When direct drive is the wrong call
&lt;/h2&gt;

&lt;p&gt;Direct drive is not free. The motor is larger, costs more at a given torque, and usually needs cooling. If your drawing tolerates backlash and you do not need the stiffness or the settling time, a geared axis is cheaper and simpler to build. The deciding question is usually blunt. Does a specification on your drawing fail if there is backlash? If nothing fails, you may not need a direct drive axis at all.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We build these. &lt;a href="https://www.hansmotor.net/" rel="noopener noreferrer"&gt;HansMotor&lt;/a&gt; has designed and built direct drive motors, linear motors, torque motors, and time-grating encoders in-house in Shenzhen since 2005, holds more than 230 patents, and is part of the Han's Laser group (SZSE: 002008). We also contributed to China's GB/T 34115-2017 standard for permanent-magnet linear motors. For the longer breakdown of when direct drive earns its cost, &lt;a href="https://www.hansmotor.net/what-is-a-direct-drive-motor/" rel="noopener noreferrer"&gt;HansMotor&lt;/a&gt; has a full write-up.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written by the HansMotor Engineering Team.&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
