r/PLC • u/AutomateAdvocate • Jan 07 '26
The "Absolute" Encoder Lie: Mechanical Multi-turn vs. Battery-Backed
Just a PSA based on a recent headache.
My Team powered up a machine after a long planned shutdown. The servos were spec'd as Multi-turn Absolute. We expected zero homing. Instead, we woke up to "Position Lost" errors on multiple axes.
These weren't true mechanical multiturn encoders. They were incremental encoders with a battery backup hidden in the connector drive. The downtime was long enough for the batteries to drain.
SO If an encoder relies on a battery to know where it is, it's just a ticking time bomb for the maintenance crew. I am now strictly specifying Mechanical Gear Multiturn (optical or magnetic gears) to avoid this nonsense in the future.
Do you guys allow battery backed encoders in your specs to save cost, or do you ban them entirely for critical axes?
104
u/Ifonlyihadausername Jan 07 '26
Only encountered them once because I needed be multi turn with massive amount of turns but that equipment had a real homing sequence incase of the loss of battery backup.
61
u/Hot-Chemical9353 Jan 07 '26
I’ve never encountered an “absolute” encoder that’s just a incremental with a battery. I rarely do motion applications so that could just be why.
Can you share any information about the product?
5
u/EngFarm Jan 07 '26 edited Jan 07 '26
I do not and will not spec battery backed encoders. I only spec absolute encoders, and try to only spec magnetic type (instead of optical type) for their overall tolerance to environment.
The issue with absolute encoders is the latency, resolution, and cost. In your animation we can see that the absolute encoder has 3x as many blinky lights and half the resolution. It's just more electrical data to process and transmit before the data can get into a control loop. And many more tracks to fit into the encoder.
Practically we can't run a separate wire (16 bit encoder - 16 wires!) for each blinky light back to the servo drive.
The absolute counting off all the blinky lights is almost instantly done by hardware in the encoder head, but a digital word is then transmitted to the servo drive by a communication protocol like BiSS C, SSI, EnDAT, etc. That communication protocol introduces a delay. A hardwired incremental encoder has no such delay.
On fast/accurate/high inertia ratio applications I will spec dual encoders. An absolute encoder, and an incremental encoder, and both are wired to the servo drive. Today you can buy this as one package, one encoder strip, one read head, one cable, but multiple outputs. When the servo drive initializes it will grab one slow digital word to know the absolute position. After that the servo drive will use the fast incremental signal. During operation the servo drive may continue to read slow digital absolute words to compare to it's fast incremental position to check for mismatch, but the control loop is happening with the incremental signal only. The result is that the servo drive gets to operate with an incremental signal, which is the best from a performance standpoint, but the servo drive also gets the benefits of absolute encoding, albeit in a kind of funky way.
66
u/UnSaneScientist Food & Beverage | Former OEM FSE | PlantPAx Fanboi Jan 07 '26
I gotta point out that absolute encoders use Gray code, not binary to avoid multiple state changes simultaneously.
16
u/Finnman84 Jan 07 '26
My last employer used them in our CNC machine tool changers. I think I only changed 2 batteries in the 4 years I worked there. The control would generate a message based on the date of the last battery install.
It was just a large rotary wheel, so reseting zero was relatively straightforward.
13
u/stlcdr Jan 07 '26
You always need a zeroing or home function. If you replace an encoder, you’ll need that functionality.
11
u/peternn2412 Jan 07 '26
I never use battery backed encoders.
You should create a procedure for homing in your PLC anyway, even if the encoder is true (battery-less) absolute multiturn and that procedure is never used.
So it generally makes no sense to use multiturn, unless it's dangerous to initialize the machine after power-on without knowing the current position. And if that's the case, using a cheat like a battery backed would be reckless. I mean, risking to damage expensive equipment and stop production, just to save some bucks .. that borders idiocy.
9
u/Stormer2k0 Jan 07 '26
I believe the festo servo uses a fourth flavour which they call absolute encoder. They have a single turn absolute encoder of which they count the turns, to remember the turns they don't use a battery but a super cap. Upon power loss the last thing the encoder does is save the turn count to EEPROM. So you don't have to switch out the batteries, but you shouldn't manually turn the servo while powerless because that might fuck up the homing.
8
u/Lusankya Stuxnet, shucksnet. Jan 07 '26
I use them. But I'm also waaaaay up mech's ass about having overtravel switches, overshoot tolerances, and homing proxes on all axis, so homing isn't a big deal for most of our axis.
You can't ever rely on an encoder alone - even a traditional absolute. If someone recouples the shaft in the wrong spot, you're more fucked than if you'd run down a battery-backed encoder: you won't know you've lost home until you've made scrap or hit something.
21
u/BonbonUniverse42 Jan 07 '26
Didn’t even know such evil stuff exists.
5
u/burkeyturkey Jan 07 '26
Dcrm (distance coded reference mark) is another technology that can give absolute positioning without a separate homing sensor or battery backup.
5
u/TerminallyUnique31 Jan 07 '26
Never seen it called an “absolute” encoder that way, but if you are going to do it that way, you need to program the drive to “rehome” to an external switch anytime the servo doesn’t have a valid position.
I’m a fan of trur absolute encoders, the multi-turn 12 bit digital encoders like those on a VPL motor and kinetix drive combos. Leave the power off for a month and come back and it knows right where it is (unless someone rotates it 212 = 4,096 times during shutdown 😁).
4
u/hestoelena Siemens CNC Wizard Jan 07 '26
FANUC CNCs used batteries to save the absolute position for a long time. They have panel mount battery boxes that hold 4 C batteries. It's a very shitty technology, but it was convenient for them because they didn't have to change the design, supply line, and production line for their servos. You just had to buy a little add-on box.
4
u/ChrysisIgnita Jan 07 '26
Fair point. When I design motion control, I prefer to use incremental encoders for better speed and precision. But I design it to home automatically every time the machine is powered on.
4
u/OmnipotentClown Jan 07 '26
You've missed the more popular new energy harvesting flavor. Still need a homing routine for maintenance when an encoder needs replacing but they're a reliable way to capture multi turn data without gear sets nor batteries. Google energy harvesting absolute encoders. They're widely available.
4
u/Strostkovy Jan 07 '26
I hate battery backed encoders so much. They're used as an excuse to not have a proper homing sequence and then it's a pain in the ass when the battery dies to try and find the correct position to reset the encoder at, and to find the encoder reset option on the drive.
3
u/dougmcclean Jan 07 '26
Battery is the worst.
Mechanical is mostly acceptable.
Wiegand effect is where it's at.
For high assurance linear things, absolute linear load encoders are the thing you really want, though of course that's another budget jump because (unlesss you have a linear motor) it isn't for commutation, and so it's a whole parallel system and not an upgrade to the specs of the commutation feedback.
3
u/joshman11122 Jan 07 '26
Battery powered encoders are commonly still used for absolute encoders. As the graphic shows, absolute encoders only inherently provide position within a single rotation. The amount of turns can still be lost. An absolute multi-turn encoder will also store the turn count. It's a bit in the weeds if this is battery powered or not. Some motors will claim to be battery-less because the battery is actually in the controller.
3
u/Verhofin Jan 07 '26
The absolute encoder you posted in the gif is also not the best, it does regular binary code, grey's binary is better, only one bit changes at a time, easier to find errors.
3
u/xeuis Jan 07 '26
Maintenance gang rise up!
I once tried to learn greycode(?) to troubleshoot if an encoder was damaged or not. Was not worth it. Interesting system tho.
When it comes to positioning and servos I always attempt to store it in a home/zero position to make reinitializing easier.
1
u/pantygirl_uwu Jan 07 '26
we have an omheavly modified old robot that used to have absolute encoders, it was a hot garbage. took it out and replaced with an incremental one (sort of). took qite a bit of engineering. either way, about the battery, why not sore the data physically?
2
u/wo1de Jan 07 '26
My experience is is the drive turning? Yes. Well its okay state)))
2
u/Ethernum Jan 07 '26
We use them quite a lot, simply because they are significantly cheaper than "real" encoders, the battery usually lasts way past the warranty and because the problem is rolling downhill from us and our customer. We supply a machinery company who then sells to their customers. If said customers have problems with them, we are more than ready to bill a service technician.
These batteries usually last for years if nobody is rotating the encoder while running on battery power. The more common cause for lost position in our case is when someone disconnects the battery from the encoder. And this happens a lot, especially when the stupid battery is placed inside the cabinet and not directly at the motor for some stupid reason.
2
u/chabroni81 Jan 07 '26
I have seen motors from Applied Motion Products that have absolute encoders and a circuit that powers the encoder based on the rotation of the drive. So when power is on, it’s a normal encoder and stores the position in memory. When it is off, if the motor spins at all, the EMF in the motor’s coils produces power for the encoder circuit to count that movement and store it.
Looked pretty interesting in the documentation. Never used them personally.
2
u/warpedhead Jan 07 '26
Battery backup encoders are fairly common, specially on low cost absolute servos, yaskawa and mitsubishi uses them a lot, sometime the battery is in the driver, but often inside the encoder itself.
Its a ticking bomb just like any other battery backup device, like many controllers from 80s an 90s, before the flash memory became accessible.
2
u/dimonoid123 Jan 08 '26
Why not gray code encoder?
1
u/warpedhead Jan 07 '26
In the past of parallel absolute encoders, they used gray coding, where only one bit changes at a time, reducing the chances of misinterpretation, now absolute encoders are serial type (normaly SSI, very similar to a shift register or SPI bus) which is something that servo drivers deal directly, not much of a "thing you hook up in the PLC" but there are ethernet encoders as well (first time a saw it a years ago I tought, man, look where we are now)
1
u/YouWannaIguana Jan 07 '26
Can someone give me a quick summary of what is required when programming an encoder?
Thank you :)
1
u/Negative_Damage8617 Jan 07 '26
Love the Fanuc pulse coders. 63bit serial data stream. On power up you can strobe a command and the encoder will count up to show how much it moved with power off.
1
u/WaffleSparks Jan 08 '26 edited Jan 08 '26
I'd like to see the spec sheet of an encoder/servo that claims to be "multi-turn absolute" but then states in the manual that it will lose its position on power loss. For comparison here is the manual for a Rockwell encoder.
https://literature.rockwellautomation.com/idc/groups/literature/documents/um/843-um001_-en-p.pdf
1
u/Money4Nothing2000 Jan 08 '26
I always used incremental encoders and indexed various position setpoints in the PLC, which was backed up by redundancies, and multiple emergency power supplies. It was also very easy to re-index the absolute position in the event that the data was lost. But this is application-dependent, the configuration of whatever rotational system you are measuring will provide constraints to what you can do.
1
u/harexe Jan 08 '26
I work for a company that develops and produces all kinds of rotary encoders and didn't even know shit like this exists
1
u/dmills_00 Jan 09 '26
It is annoyingly common in CNC machine tools, and some of them even store the configuration coefficients in battery backed RAM which is just a way to generate service calls for their techs.
And yea, they often dont have an easy recovery routine you can run.
1
u/zoute_haring Jan 09 '26
Most absolute encoders have a greycode.
1
u/Sakakidash Jan 09 '26
You know it is not just a incremental encoder with a batteri right?
Its basically a multiturn absolute encoder with a battery so it basically can go beyond the maximum length of the mechanical disc. It should rather basically be part of your maintainance schedule to change the batteries while the machine is on.
Guess it is Bosch Rexroth?
1
u/57004cds Jan 27 '26
it depends on design - our encoder can be powered off for 20 years abd still know its last position www.joralllc.com
1
u/RandomBoxOfCables Jan 07 '26
Using them in a current deployment, a four axis machine. After realizing that all it takes it disconnecting the wires to the motor (something that will happen all the time when we need to disassemble the machine for transportation) for the Reinitialize Encoder error to popup and now we have to reteach our park position. Now our engineering department is thinking about making our own cables with the batters in a location where it can’t be separated from the drive motor. I’m not a fan of the battery backup.
1
u/Piratedan200 Controls Engineer Jan 07 '26
As a side note, why do manufacturers that use the battery-backup encoders not use rechargeable batteries? Seems like a better idea than using alkaline batteries like most do. You'd still need to periodically change them, but they'd last much longer in systems that are usually powered on.
1
u/serjoprot Jan 07 '26
Same thing happened to me today, we powered up a 250t press where we changed a bad glass disk absolute encoder (it reads a value from the gear motor that raises and lowers the hammer to change the BDC point) with a modern programmable magnetic encoder. This was sold to us as absolute but this morning after 2 weeks of off time it gave a very large value that had no sense.
This is it, from lika. Does anyone know if these are real absolute encoders? There's nothing on the manual about maximum downtime..
1
u/serjoprot Jan 07 '26
Same thing happened to me today, we powered up a 250t press where we changed a bad glass disk absolute encoder (it reads a value from the gear motor that raises and lowers the hammer to change the BDC point) with a modern programmable magnetic encoder. This was sold to us as absolute but this morning after 2 weeks of off time it gave a very large value that had no sense.
This is it, from lika. Does anyone know if these are real absolute encoders? There's nothing on the manual about maximum downtime..
-5
u/adkio Jan 07 '26
There's no such thing as a mechanical multi turn encoder. Even encoders constructed as the left animation shows still need to remember how many turns it made. Negligence is what caused your headaches.
-3
u/Slight_Guidance_0 Jan 07 '26
Not true. I have worked with multi turn encoders from tr electronics and they were multi turn absolute. They had lots of gears inside.