# Alternative Encoder Idea

**URL:** <https://forums.maslowcnc.com/t/alternative-encoder-idea/4183>\
**Category:** Technical Details\
**Created:** [June 1, 2018, 1:47am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183 "2018-06-01T01:47:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [June 1, 2018, 1:47am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/1 "2018-06-01T01:47:58Z")

</div>

This is just an idea I want to throw out there to keep it in the public domain.

We were tossing around the idea of synchromesh cable

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/d/d298562cad998a795e5f7e94166d5f83ce290c9b.jpg)

but we found that it is not manufactured with high enough accuracy for our applications.

One alternative could be to use a cord like this with stripes on it to let us read the distance:

![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/b/bde1448950a01c95ef220eae5dcfb4ed3d1ac7ed.jpg)

The strips alone are not close enough to read position, but coupled with an optical sensor from a computer mouse I think it could work. The stripes would give us an absolute position count, while the computer mouse is likely to drift over time, but is very precise over short distances.

Cable stretch would be a big issue.

Personally I still think pinch rollers are the easiest way to measure the length, but I thought this idea was worth keeping open anyway

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 1, 2018, 1:52am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/2 "2018-06-01T01:52:37Z")

</div>

take the first picture and remove the outer spiral and use the movement of the wheels as the thing to put an encoder on to measure.

you wouldn’t need to change any existing code (with it at the top), have a bobbin on the motor and don’t worry about overlap, run the steel cable through a pair of wheels like you show and have an encoder on one of the wheels.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [June 1, 2018, 2:02am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/3 "2018-06-01T02:02:26Z")

</div>

As you pointed out earlier, there would be a reduction in resolution when tracking the cable compared to tracking the motor shaft before the gearbox. What kinds of resolution are available in the hobbyist price range? Would gearing between the pinch roller and the encoder shaft be reasonable?

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 1, 2018, 2:08am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/4 "2018-06-01T02:08:06Z")

</div>

4000 pulses/rev encoders are ~$20 each. that’s about half the resolution of the current encoder setup, but should be reasonable.

how tight can the steel cable turn? if you can go with a smaller diameter wheel, you can gain back the accuracy.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [June 1, 2018, 2:25am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/5 "2018-06-01T02:25:09Z")

</div>

Where to look for those 4000 ppr encoders? I’d like to play around with one. Wouldn’t a friction roller on the encoder shaft riding against the cable wheel separate the cable minimum bend spec from the equation?

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 1, 2018, 2:25am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/6 "2018-06-01T02:25:42Z")

</div>

hmm, the bend radius for 1/32" wire rope is saying that the wheel should be \>  
1.5" diameter

This is only 140 pound breaking force (uncomfortably close to motor output  
IMHO), going to 1/16" wire rope has a breaking force of 480 pounds but a wheel  
diameter of just over 2.5"

[http://www.loosco.com/resource-library/technical-information/recommended-bend-radius/](http://www.loosco.com/resource-library/technical-information/recommended-bend-radius/)

> **[Loos Stainless Steel 302/304 Wire Rope, 7x19 Strand Core: Cable And Wire Rope: Amazon.com: Industrial & Scientific](https://www.amazon.com/Loos-Stainless-Strand-Breaking-Strength/dp/B0050K3EC6/ref=sr_1_2?s=industrial&ie=UTF8&qid=1527819688&sr=1-2&refinements=p_item_diameter_string-bin%3A1%2F32+inches%7C1%2F16+Inches)**

so you would want to either gear the encoder to the larger wheel, or go with  
something else.

gearing to the wheel should not be that hard/

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [June 1, 2018, 4:25am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/7 "2018-06-01T04:25:15Z")

</div>

> [@dlang](#):
>
> This is only 140 pound breaking force

If the cable is only used for measurement, there doesn’t need to be that much tension on it. The chains would bear the force.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 1, 2018, 5:33am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/8 "2018-06-01T05:33:08Z")

</div>

> Where to look for those 4000 ppr encoders? I’d like to play around with one.

up to 10k steps/rev (PPRx4) at  
[https://www.aliexpress.com/item/E6B2CWZ6C-OMRON-Rotary-Encoder-E6B2-CWZ6C-2500-2000-1800-1024-1000-600-500-400-360-200/32814599978.html](https://www.aliexpress.com/item/E6B2CWZ6C-OMRON-Rotary-Encoder-E6B2-CWZ6C-2500-2000-1800-1024-1000-600-500-400-360-200/32814599978.html)

> **[AMT102-V | Digi-Key Electronics](https://www.digikey.com/en/products/detail/cui-inc/AMT102-V/827015)**
>
> Order today, ships today. AMT102-V – Rotary Encoder Incremental Programmable Quadrature with Index (Incremental) Vertical from CUI Devices. Pricing and Availability on millions of electronic components from Digi-Key Electronics.

more info on this thread

> **[Suggestions for a new encoder](https://discourse.odriverobotics.com/t/suggestions-for-a-new-encoder/319)**
>
> Hey everyone I am thinking about upgrading the included rotary encoder that comes with odrive. The current encoder has the following specs: Encoder resolution at 2400 counts per revolution A realistic top speed of around 5,000 RPM No support...

> Wouldn’t a friction roller on the encoder shaft riding against the cable wheel  
> separate the cable minimum bend spec from the equation?

I was looking at putting the enoder directly on the cable wheel rather than  
needing a separate one.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 1, 2018, 5:35am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/9 "2018-06-01T05:35:54Z")

</div>

I thought we were talking about replacing the chains with wires, not having  
both.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 1, 2018, 5:38am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/10 "2018-06-01T05:38:47Z")

</div>

and here’s the link to the full info on the AMT10x series

[https://www.cui.com/product/motion/rotary-encoders/incremental/modular/amt10-series](https://www.cui.com/product/motion/rotary-encoders/incremental/modular/amt10-series)

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [June 1, 2018, 5:57am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/11 "2018-06-01T05:57:58Z")

</div>

Thanks for the links, very interesting. Using that AMT102-V set for 2048p/r to measure 1/32" cable on a 1.5" diameter wheel would read 0.0584mm of cable per pulse. That, with no gearing needed. Very nice.  
Edit - using 7x19 cable greatly reduces the minimum bend radius - down to 7/16", or a 7/8" diameter. That makes it much easier to find a wheel to turn the cable.

> [@dlang](#):
>
> replacing the chains with wires

I’m chasing the other rabbit, eliminating chain stretch and sag by separating the measurement from the motion. I think the cable sag and stretch can be much less than that of the chain.

---

<div class="post-metadata">

**Author:** ![jwolter](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jwolter/32/30787_2.png) [@jwolter](https://forums.maslowcnc.com/u/jwolter)\
**Post date:** [June 2, 2018, 2:02pm UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/12 "2018-06-02T14:02:33Z")

</div>

I wonder if they make string potentiometers long enough for the Maslow…

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [June 2, 2018, 3:08pm UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/13 "2018-06-02T15:08:39Z")

</div>

> [@jwolter](#):
>
> string potentiometers long enough for the Maslow

An interesting idea. A quick search didn’t find any. They scan get pretty costly, too.

---

<div class="post-metadata">

**Author:** ![jgadbois](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jgadbois](https://forums.maslowcnc.com/u/jgadbois)\
**Post date:** [June 2, 2018, 4:21pm UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/14 "2018-06-02T16:21:38Z")

</div>

Since the important measurement is the distance to the router bit how about a laser distance sensor

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 3, 2018, 1:21am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/15 "2018-06-03T01:21:37Z")

</div>

a few problems

1. Aiming the lasers
2. sawdust
3. precision, laser distance sensors are not nearly as accurate as the encoders  
(by a factor of 10x-100x)

---

<div class="post-metadata">

**Author:** ![myk3y](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/myk3y/32/6981_2.png) [@myk3y](https://forums.maslowcnc.com/u/myk3y)\
**Post date:** [July 3, 2018, 3:10am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/16 "2018-07-03T03:10:34Z")

</div>

A closed-loop stepper or servo drive?

Once calibrated, the only thing that will make them out of whack is a jumped sprocket.

There are plenty of options for locking worm-drives for NEMA-23 sized motors: [https://www.aliexpress.com/item/7-5-1-80-1-Worm-Reducer-NMRV030-11mm-Input-Shaft-RV030-Worm-Gearbox-Speed-Reducer/32743752182.html](https://www.aliexpress.com/item/7-5-1-80-1-Worm-Reducer-NMRV030-11mm-Input-Shaft-RV030-Worm-Gearbox-Speed-Reducer/32743752182.html)

---

<div class="post-metadata">

**Author:** ![myk3y](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/myk3y/32/6981_2.png) [@myk3y](https://forums.maslowcnc.com/u/myk3y)\
**Post date:** [July 3, 2018, 4:17am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/17 "2018-07-03T04:17:12Z")

</div>

I’ve been thinking about sag (the wife’s getting on…)

The bricks perform two functions: holding the router to the material; assisting gravity in overcoming chain sag.

Too much mass reduces the ability of the sled to react to changes, making things worse. Too little mass and the weight of the chain overcomes the tension from the bricks, making things worse.

So - things to do to make things ‘better’ from a motion-control perspective are to: reduce the weight of the sled - less mass is always better when you’re moving things about; remove chain sag from the equation by not having chains acting against the motion by not having them hanging over the workpiece and only operating in a linear vertical motion.

For this you would either need a non-stretching, lightweight leader attached to the chain/motor drive or a different method of motion than hanging the sled from the two top corners. As the second one would mean it’s no longer a Maslow, that’s a non-starter.

To traverse a full 8x4 sheet of material the distance from the top corner to the furthest is ~2700mm - add in a bit for frame, etc. and let’s say 3M of leader is needed. To match that 3M of leader is 3M of chain, to give you the full range of motion.

 ![21%20AM](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/1/1614621c0de7529140b28844d01bcb6e791e28d1.png)

Currently the chain is tensioned using shock cord, but that doesn’t have to be the case - gravity and a bucket ‘o’ chain can serve to act as a reservoir - but you need positive chain engagement so the chain won’t slip, rather than relying on tension from shock cord and an acute angle to keep it in place. Two simple sprung rmotorcycle-type chain tensioners either side of the motor should suffice to keep it in contact with the sprocket.

To keep the sled in contact with the material and lose some mass, use a shock cord of sufficient length running on a traveller (like the boom on a yacht). This would ensure only vertical pull is exerted on the sled, while overcoming both the lighter sag potential from a light leader and the spindle/cutting tool.

Other advantages of a leader/remote motor arrangement could be: easier implementation of a limit switch, giving you straightforward calibration; greater range of motor options; less mass means faster motion; the freedom to place motors anywhere means they could be co-located on one side of the machine, making for simpler wiring - they can even use one single chain between them, as long as it allowed for full-extent movement.

Using a ‘traveller’ with shock cord makes for a slightly more cumbersome loading of material, but I would just have it hook on the sled and unhook it for material changes. For third-world/cheaper implementations both the traveller and leader/tensioner/pulley could use cheap ‘shower door’ running gear, as there is no need for high accuracy in those areas.

Moving away from the current worm gear to a NEMA standard, from a packaging perspective, gives a lot more options to the user - you can source NEMA steppers/servos across the world, and they are designed for this sort of installation. Supplying a NEMA-23 standard worm drive gearbox instead of a motor gives greater flexibility and removes the need to make the kit other than generic; NEMA steppers are available from lightweight to industrial tough, with huge duty cycles. The worm drive gearboxes are a significant step up in quality from the door-opener type boxes you are currently using.

---

<div class="post-metadata">

**Author:** ![myk3y](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/myk3y/32/6981_2.png) [@myk3y](https://forums.maslowcnc.com/u/myk3y)\
**Post date:** [July 3, 2018, 4:17am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/18 "2018-07-03T04:17:44Z")

</div>

New users can only put one image per post - so here is image 2

 ![24%20PM](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/a/a87a0e8e3a531de45430638e68af7bf735ef6a02.png)

---

<div class="post-metadata">

**Author:** ![myk3y](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/myk3y/32/6981_2.png) [@myk3y](https://forums.maslowcnc.com/u/myk3y)\
**Post date:** [July 3, 2018, 4:18am UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/19 "2018-07-03T04:18:15Z")

</div>

And image 3

Sled/shock cord tensioner/traveller/

 ![57%20PM](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/5/5ed21ddf76efe40e2e304f8b63a0203ba9a8144c.png)

---

<div class="post-metadata">

**Author:** ![jwolter](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jwolter/32/30787_2.png) [@jwolter](https://forums.maslowcnc.com/u/jwolter)\
**Post date:** [July 4, 2018, 8:11pm UTC](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183/20 "2018-07-04T20:11:42Z")

</div>

Interesting thoughts. I’m not sure if I fully understand your traveller arrangement, but I see your point about lightening the moving parts. Many users are going away from the shock cord as chain slack take-up and are using weights or an alternative arrangement with bungie cords. There are long threads on this topic. Glad you’ve joined the conversation!

[Next page](https://forums.maslowcnc.com/t/alternative-encoder-idea/4183.md?page=2)
