Measuring the Resistance-Magnetic Field (R-H) Response Curve of TMR Sensors: Underlying Calibration Logic for Magnetic-Switch Keyboards and Gaming Mice

  1. Start
  2. Aktuelles
  3. Technische Briefings
  4. Measuring the Resistance-Magnetic Field (R-H) Response Curve of TMR Sensors: Underlying Calibration Logic for Magnetic-Switch Keyboards and Gaming Mice

Measuring the resistance-versus-magnetic-field (R-H) response curve of a TMR (Tunneling Magnetoresistance) sensor is a fundamental engineering method for evaluating its linearity, sensitivity, and hysteresis characteristics. In the context of keyboards, this measurement is used to calibrate the actuation precision of magnetic switch travel; for mice, it serves as a physical prerequisite for verifying the consistency of button actuation points and the reliability of scroll wheel positioning. Whether it concerns the „Rapid Trigger“ (RT) functionality in magnetic-switch keyboards or the ultra-fast clicking performance of gaming mice, the underlying performance relies on the quality of this specific curve.


 

I. Differences in Measurement Targets: Bare Components vs. Integrated Chips

The packaging format of TMR sensors in keyboards and mice dictates the specific measurement approach.

In magnetic-switch keyboards, TMR chips (such as the TMR2617S from MultiDimension Technology) typically utilize an SOT23-3 package, which integrates linearization circuitry and operational amplifiers. During measurement, the voltage at the VOUT pin is monitored as the magnetic field varies, yielding a V-H (output voltage vs. magnetic field) curve rather than a raw resistance value.

In gaming mice, TMR sensors—such as those found in the Finalmouse Starlight X—are generally integrated as finished modules beneath the buttons. Similarly, some high-end scroll wheel positioning solutions (e.g., those utilizing TDK’s TMR technology) also employ integrated packaging. Consequently, the measurement logic for mice mirrors that of keyboards: the focus is on the voltage response rather than the resistance of the raw sensing element.

Only when dealing with bare TMR components during the R&D phase (i.e., unpackaged wafers) is it necessary to employ a four-wire (Kelvin) sensing method, combined with a constant current source, to measure the voltage across the component and derive its resistance.

 

II. Applying the Magnetic Field: Helmholtz Coils and Field-Sweeping Logic

Whether for keyboards or mice, the horizontal axis of the R-H or V-H curve represents magnetic field strength. Obtaining this measurement requires a setup capable of generating a uniform and controllable magnetic field.

The standard solution is the Helmholtz coil. By passing an electric current through a pair of parallel, coaxial coils, a highly uniform magnetic field is generated within the central region. The magnetic field is swept linearly from a negative saturation value (e.g., -1200 Gs) to a positive saturation value (+1200 Gs) and then back again. By recording both the ascending and descending curves, the gap between them—known as hysteresis—can be determined.

For keyboard applications, lower hysteresis ensures greater consistency in the triggering of „Rapid Trigger“ (RT) functions. For mouse applications, lower hysteresis translates to higher stability at the actuation point and more reliable positioning for the scroll wheel. In both cases, the quality of the R-H (resistance vs. magnetic field) curve is critical.

 

III. Key Environmental Controls: Temperature and Shielding

The resistance/output voltage of a TMR (Tunnel Magnetoresistance) sensor is temperature-sensitive. Measurements must be conducted in a stable environment (e.g., 25°C ± 1°C), typically using a temperature-controlled chamber or stage.

External stray magnetic fields—such as the Earth’s magnetic field or interference from nearby motors or speaker magnets—can skew measurement results. The measurement area must be kept free of magnetic objects; if necessary, the sample should be enclosed in a permalloy shield.

When performing incoming quality inspections for keyboards and mice, temperature control and magnetic shielding are essential for ensuring batch-to-batch consistency. Keyboard manufacturers typically perform „endpoint calibration“ to record output voltages at both zero-field and full-scale field conditions, while mouse manufacturers use similar calibration methods to ensure that the actuation threshold remains consistent across all sensors.

 

IV. Specific Considerations for Keyboards: Distance Between Switch Magnets and Sensors

The actual operating conditions for TMR sensors in keyboards differ from laboratory measurement environments in two key ways:

Relative Magnet Position: In a keyboard, the TMR sensor is fixed to the PCB, while the magnet moves vertically with the key switch stem. While an R-H curve measures the sensor’s intrinsic response, the actual actuation precision in a keyboard also depends on the initial distance between the magnet and the sensor, as well as the consistency of the magnet’s magnetization strength.

Calibration Requirements: During mass production, keyboard manufacturers generally perform endpoint calibration for each sensor rather than measuring the full R-H curve. Full-curve characterization is typically reserved for incoming quality inspections or failure analysis.

V. Specific Considerations for Mice: Button Travel and Actuation Consistency

The application of TMR sensors in mice differs from their use in keyboards. The total travel distance of a mouse button is typically only 0.5–1 mm (for instance, the MagOptic switch in the Keychron G6 HE has a total travel of 0.65 mm), whereas the total travel of a mechanical keyboard switch is generally 3.5–4 mm.

This places higher demands on the measurement precision of a mouse’s TMR (Tunnel Magnetoresistance) sensor: it must be capable of detecting displacements on the order of 0.01 mm within a very short travel distance. The linearity of the R-H (resistance vs. magnetic field) or V-H (voltage vs. magnetic field) curve directly determines how uniform and reliable the adjustable actuation points—such as the 40 discrete settings found in the Finalmouse Starlight X—will be.

In the context of scroll wheel positioning, the TMR sensor is tasked with measuring the periodic changes in a magnetic field during rotation, rather than linear displacement. In this application, the focus shifts from absolute linearity to the periodicity and repeatability of the R-H curve.

Row-Column Timing in Keyboard PCB Matrix Scanning Circuits
Epomaker HE75 V2 TMR: Introducing TMR Sensor Technology and a „Dual-Switch-Type“ PCB Design
Menü