Ebike Basics · 12 min

Sensor de par magnético y óptico en bicicletas eléctricas: cómo mide

Cómo miden la fuerza del pedaleo los sensores de par magnéticos y ópticos en bicicletas eléctricas, cómo se nota la diferencia en ruta y cómo distinguirlos.

Kimdyma · 24 de noviembre de 2026

A magnetic torque sensor reads pedal force by detecting how the magnetic field in the shaft changes under load, with no physical contact. An optical sensor reads the same force by detecting how a light pattern shifts as the shaft twists. Magnetic sensors tolerate dirt and water better, while optical sensors can offer finer resolution when the light path stays clean.

How Does a Torque Sensor Turn Pedal Force Into Motor Assist?

A torque sensor turns the force you put into the pedals into a proportional motor output within milliseconds. A torque sensor is a component that measures how hard the rider twists the crank. It passes that reading to the controller, which decides how much current the motor gets. The chain runs: your leg loads the crank, the crank twists the spindle slightly, the sensor reads that twist, the controller calculates assist, and the motor adds its share.

A strain gauge is a thin foil element glued to a metal part. When the part flexes, the foil's electrical resistance changes, and that change becomes a voltage the electronics can read. It is the classic way to measure torque, and it is the same principle used in sports power meters. A cadence sensor is much simpler: it only detects that the cranks are turning and how fast. It knows nothing about how hard you push.

That difference matters off-road. Picture a steep, loose climb where you stand on the pedals for one hard stroke, then ease off to find grip. A torque-based system follows each push and each easing. A cadence-based system sees only that the cranks are moving, so it applies the level you selected, with a delay at the start and some push after you stop. For a deeper look at how assist curves shape that feel, see our article on torque sensing and assist curves.

Our own bikes show both approaches. The K01 and K02 use a torque sensor ebike design inside the bottom bracket, paired with an 80 N·m motor. The K03 Ranger, M1 Arete and K05 Firn use a cadence (speed) sensor. For readers weighing ebike cadence vs torque sensor systems, the K03 is a good reminder that motor torque and a torque sensor are different things: its 85 N·m per motor describes the motor's output, not how it reads your legs.

Close view of the bottom bracket area on an e-MTB where the torque sensor sits

How a Magnetic Torque Sensor Measures Pedal Force

A magnetic torque sensor reads the force on the shaft through a magnetic field, so nothing touches the moving part. This is the idea behind a magnetostrictive torque sensor: magnetostriction is a property of certain magnetic materials, which change their magnetic behaviour when they are strained. When the spindle twists under load, the field around it shifts. A stationary pickup next to the shaft reads that shift and sends a signal to the controller.

Here is why strain changes the field. Inside a magnetic material, tiny regions called domains each point their magnetism in a particular direction. At rest, the shaft is prepared so that these directions follow a known pattern, and the field outside it is steady. When pedal force twists the shaft, the material is stretched along one diagonal and squeezed along the other. The domains prefer to line up along the stretched direction, so many of them rotate. The overall magnetic pattern tilts, and the field leaking out around the shaft changes in a way that grows with the twist.

The pickup is a small coil or magnetic-field sensing element placed close to the shaft, with a small air gap. As the field changes, it induces or modifies an electrical signal in the pickup. The electronics turn that into a voltage that rises with torque and falls as you ease off. Because the pickup only senses the field, it never has to touch the spinning part.

The ride-feel consequence follows directly. With no rubbing surface and no light path, there is little to wear out or to foul with mud. The signal responds in real time to your pedal force, so assist ramps up as you push and fades as you ease off. That suits technical climbing, where you vary force constantly.

Magnetic sensors have weak points too. Strong magnetic parts close to the sensor can disturb the reading, and the magnet ring or pickup must be positioned correctly. The system assumes the pickup sees the field from a fixed distance and angle. If the ring or pickup is misaligned after a crash or a careless reassembly, the gap changes and the pickup sees a stronger or weaker field even though your pedal force has not changed. The controller cannot tell the difference, so it reads a false torque, which feels like uneven or late assist. Aligned and left alone, it is a low-maintenance part.

For reference on how the bottom bracket houses this kind of sensor, see the general overview of the bottom bracket.

How an Optical Torque Sensor Measures Pedal Force

An optical torque sensor reads force by watching how a light pattern shifts as the shaft twists. A marked or patterned element rotates with the shaft and deforms slightly under load. A light source shines through or across it, and a photo detector reads how the pattern moves. The controller converts that movement into a torque value.

Picture two thin discs, or two rings of fine lines, mounted at different points along the shaft, both turning with it. A light source sits on one side and a photodetector on the other. At rest, the lines on the two elements are lined up in a known way, so a steady amount of light passes through, or the detector sees stripes at fixed positions. When you push on the pedal, the shaft between the two elements twists a tiny amount. The lines on one element shift slightly relative to the other, so the stripes slide sideways, or the light that gets through brightens or dims.

The detector watches this stripe movement and turns it into an electrical signal. The sideways shift is proportional to the twist, and the twist is proportional to the torque, because the shaft behaves like a stiff spring. The electronics take the measured shift, apply a calibration that links shift to torque for that particular shaft, and report a torque value. Double the force and the stripes move about twice as far.

In principle, this can give very fine resolution, because small movements of a pattern are easy to detect when the light path is clean. The catch is the light path itself. Dust, moisture or grit on the optical surfaces degrade the reading, and a fogged or dirty window means a noisy or lost signal.

That is why sealing decides how an optical sensor behaves in the real world. On a road bike in dry weather, a well-sealed unit can work very well. On a mountain bike that sees mud, river crossings and pressure washers, the seal has to keep working for years, and it is the first thing to ask about.

Rider checking the display on a parked Kimdyma TITAN X e-MTB after a ride

Magnetic vs Optical: What Changes on the Bike

The main difference you will notice is how each design copes with dirt, water and service. The table compares the two on the points that matter to off-road riders.

Dimension Magnetic Optical
Measuring principle Reads the change in the shaft's magnetic field under torque Reads the shift of a light pattern as the shaft twists
Contact with moving parts None; the pickup sits beside the shaft None between sensor and shaft, but the pattern element rotates inside a sealed housing
Dirt and water No light path to block, so mud on the housing does not change the signal Grit or condensation on the light path can distort or cut the signal
Main failure risk Misalignment or nearby magnetic interference Seal failure letting dirt or moisture reach the optics
Service by a home mechanic Usually a swap-in part, but alignment must be checked Opening the housing risks contaminating the optics, so replacement of the whole unit is safer
Cost tier Common in mainstream and mid-range designs Tends to appear in more specialised designs
Best suited to Wet, muddy, mixed-terrain riding Dry, clean conditions where fine resolution is valued

Why does dirt matter so differently? An optical sensor depends on a beam of light reaching the detector in a precise pattern. Mud, water droplets, mist or an oily film on a window scatter the light in random directions or absorb part of it. The detector then sees a dimmer, blurrier pattern, and the controller cannot tell whether that is dirt or a change in your force. A magnetic field is different. Mud, water and grease are not magnetic, so the field passes through them almost unchanged, and the pickup reads the same signal with or without a coating of grime. Only magnetic debris or a nearby magnet would interfere.

Off-road, that gap depends on the seal. A well-sealed optical unit can stay clean through a wet ride, so the difference may be small in good conditions. It shows up when a seal ages or is damaged: the optical reading can turn noisy, while the magnetic one usually carries on.

On a steep climb, the difference shows up as response. Imagine a punchy section where you stamp on the pedals to clear a root. A fast, clean sensor lets assist rise with that single stroke and drop away as you coast. A slow or noisy one delivers assist a beat late, which feels like the bike is pushing you after you needed it. A clean optical sensor and a magnetic one can both respond quickly at the instant of the stomp. The rider usually feels the gap when the optical path is dirty: assist becomes surging or hesitant, or drops out briefly, right when the wheel needs steady power on loose ground.

Common Misconceptions About Torque Sensor Technology

Most mistakes come from treating one number or one principle as the whole story. Here are the three that cause the most confusion.

  • "Higher sensor resolution always feels better." Resolution is only the input. The controller's assist curve decides how that input becomes motor power. A very precise signal fed into a badly tuned curve still feels jerky, while a decent signal with a well-tuned curve feels natural.
  • "Magnetic means better in all conditions." Magnetic sensors avoid the light-path problem, but they have their own weak points: sensitivity to nearby magnetic interference and the need for careful alignment after service. A crash that shifts the pickup can ruin the signal just as a dirty optic can.
  • "You can compare the two on the spec sheet number alone." A resolution or accuracy figure means little without the measuring range, the update rate and how the assist is tuned. A sensor that is accurate but slow to update will feel worse on a technical climb than a slightly coarser one that reports quickly.
  • "A torque sensor and motor Nm are the same thing." The 80 N·m or 85 N·m on a spec sheet describes what the motor can deliver, not how the bike reads your legs. A bike can have a strong motor and still use a simple cadence sensor.

How to Check or Compare Torque Sensors Before You Buy or Service

You can learn a lot about a sensor with questions and a short test ride. Work through these steps in order.

  1. Ask which principle is used. Find out whether the sensor is strain gauge, magnetic or optical, and where it sits. On the K01 and K02 it is inside the bottom bracket.
  2. Ask how it is sealed. For mud and wet riding, look for a stated ingress rating and ask whether the connectors are protected. The K01 and K02 are rated IPX5 and IP65.
  3. Test assist onset. From a standstill, push hard on one pedal. Assist should rise with your push, not a moment after. Note any delay.
  4. Test the release. Stop pedalling while moving. The motor should fade quickly, not push on for a second or two.
  5. Test sudden changes. Alternate hard and light strokes on a short rise. Assist should follow each change smoothly, without surging.
  6. After a wash, check connectors. Look for water, corrosion or loose contacts around the bottom bracket and motor. Dry them and reseat them. If assist stops after cleaning, our guide on what to check after washing walks through it.
  7. Record error codes. Write down what the display shows and when it appears. This saves time for whoever services the bike.
  8. Check alignment if you suspect damage. After a crash, look for cracks, bent wiring or a shifted magnet ring before riding again.
  9. Replace only with the right part. For the K01 and K02, use the torque sensor spare part and a splined bottom bracket tool to remove and fit it.

The same logic applies to the wider drive choice. If you are also weighing where the motor sits, our piece on mid-drive and hub motors for e-MTB climbing covers the trade-offs. For the legal side of pedal-assisted bikes in Europe, see the definition of a pedelec.

Frequently Asked Questions

What is the difference between a magnetic and an optical torque sensor?

Both measure how hard you push the pedals, but they use different physics. A magnetic sensor detects changes in the magnetic field of the shaft under load. An optical sensor detects changes in a light pattern caused by the shaft twisting. The practical difference is how each copes with dirt, water and alignment in daily riding.

Is a magnetic torque sensor better than an optical one?

Neither is better in every case. Magnetic sensors have no light path to foul, so they tolerate mud and water well, but they need careful alignment and can be affected by nearby magnetic interference. Optical sensors can offer finer resolution when the light path stays clean. The right choice depends on where and how you ride.

Does a torque sensor use more battery than a cadence sensor?

A torque sensor makes the motor's assist proportional to your pedal force, so the motor only adds power when you push. This tends to reduce wasted assist on flat or light riding. Your actual range depends on the rider, terrain and assist level, not the sensor type alone.

How can I tell if my torque sensor is failing?

Common signs include assist that starts late or stops unexpectedly, uneven assist during steady pedalling, and error codes on the display. Check the connectors for water or grit first, then check the sensor alignment and seals. If the problem persists, the sensor or its connection needs proper service.