HS40J

HS40J
1 / 22 PagesView full catalog

HS40J

Product catalog summary
Introduction
The HS40J encoder module is engineered for precision motor control applications such as BLDC/PMSM motor control, robotics, and industrial motion control. It features a high-resolution SPI interface for precise position tracking.
Specifications
  • Resolution: Single-turn: 12-bit (0.0879° resolution); Multi-turn: 46 turns (0°~16,560°).
  • Features: Includes a battery-less multiturn counter, high-speed update rate, contamination-resistant design, built-in diagnostics, and compact size.
  • Electrical: SPI interface up to 10MHz, supply voltage options of 3.3V or 5.0V, and a maximum supply current of 40mA.
  • Environmental: Operating temperature range of -40 to +125°C, humidity up to 85% RH, shock resistance of 490 m/s², and vibration tolerance.
  • Mechanical: Blind bore diameters of 5, 6, 6.35, 8mm, housing made of PC, and a maximum RPM of 28,000.
Principle of Operation
The encoder utilizes GMR and AMR sensors for multiturn and single-turn position tracking. The GMR sensor tracks magnetic domain shifts for turn counting, while the AMR sensor provides high-resolution angle measurements.
Installation and Testing
Proper installation with the supplied magnet and spacer is crucial for accuracy. An acceptance test ensures correct alignment and magnetic strength, with specific RADIUS values indicating proper installation.
Safety and Limitations
External magnetic fields should not exceed 200 mT. The power-off rotation limit is 46 turns, beyond which accuracy cannot be guaranteed.
Reset Methods
Multiturn counter resets can be performed mechanically or magnetically. Mechanical reset involves rotating the shaft 46 turns, while magnetic reset requires an external field.
SPI Interface
The SPI interface operates in Mode 0 with a maximum clock frequency of 10 MHz. It supports 32-bit read/write operations and requires coherent position reads for synchronized data.
Diagnostics
The FAULT register monitors power supply, memory integrity, and sensor plausibility. Continuous monitoring is essential for safety-critical applications.
Registers
Key registers include ABSANGLE for multi-turn position, ANGLE for single-turn angle, and FAULT for diagnostics. Advanced configurations are detailed in Appendix A.
Conclusion
The HS40J encoder module offers robust and precise position tracking for various industrial applications, with comprehensive diagnostics and reset capabilities ensuring reliable operation.
Register Details
  • ABSANGLE Register: Combines turn count and angle information with a range of 16560°, using 16 bits.
  • DIGIO Register: Located at address 0x04, controls GPIO ports.
  • ANGLE Register: Found at address 0x05, stores angle information with corrections.
  • FAULT Register: Located at address 0x06, stores fault flags.
  • ANGLESEC Register: Serves as a diagnostic feature to verify the primary angle signal path.
  • SINE and COSINE Registers: Store uncorrected sine and cosine values of the AMR angle sensor.
  • SECANGLI and SECANGLQ Registers: Store uncorrected in-phase and quadrature-phase secondary angle measurements.
  • RADIUS Register: Stores the magnitude of the vector from SINE and COSINE measurements.
  • DIAG1 and DIAG2 Registers: Store the state of diagnostic resistors and measurements of fixed voltage.
  • TMP0 and TMP1 Registers: Store primary and secondary temperature sensor values.
  • GENERAL Register: Controls various functions of the HS40J.
  • DIGIOEN Register: Configures digital Input/Outputs for functional or GPIO mode.
Additional Information
  • GPIO Configuration: Bits control output enable and function of each GPIO.
  • Angle Check Register (ANGLECK): Stores threshold/limit for primary vs. secondary angle comparison.
  • Conversion Count Register (CNVCNT): Tracks conversion count.
  • Harmonic Error Calibration: Registers store amplitude and phase for harmonic errors.
  • Unique ID Registers: Store unique device identification numbers.
  • Revision History: Details updates and changes in versions.
See more

Catalog excerpts

HS40J-1

HS40J (Preliminary) Encoder modules • BLDC / PMSM Motor Control • Stepping Motor Closed-Loop Systems • Robotics & Collaborative Robots • Automated Equipment & Industrial Motion Control • Precision Positioning & Actuator Feedback Single-turn: 12-bit(0.0879° resolution) Multi-turn: 46 turns (0°~16,560°) Features True power-on battery-less multiturn counter ' Up to 46 turns non-volatile magnetic turn tracking ±0.25° single-turn angle accuracy (with supplied magnet & spacer, within specified operating window) ■ High-speed 100 kSPS update rate ■ Compact, robust, contamination-resistant magnetic design ■ Built-in diagnostics for safety-critical applications (UV/OV, GMR/AMR fault, CRC, ECC) Clockwise (CW) turn count increment Compact size and easy mounting • Electrical Specifications {3} PS. Dynamic phase lag due to system latency: error(°) = 8.64x10-4 x rpm Copyright © 2026 HONEST SENSOR Version 1.1 2026-03-03 [email protected] www.h

 Open the catalog to page 1
HS40J-2

HS40J (Preliminary) Encoder modules The HS40J encoder combines two magnetic sensing technologies to achieve true power-on multiturn position tracking. A GMR-based turn sensor monitors the movement of magnetic domain walls along a patterned nanowire structure. Each full rotation of the shaft’s magnet causes a deterministic shift in the magnetic state, allowing the module to accumulate turn counts even when power is off. For single-turn angle measurement, an AMR vector sensor detects the in-plane magnetic field and derives the shaft angle from the sine and cosine components of the field vector,...

 Open the catalog to page 2
HS40J-3

HS40J (Preliminary)Encoder modules<GMR Turn-Count Reset Conditions & Methods> A reset of the multiturn magnetic counter is required after initial assembly or whenever the module reports an invalid turn-state condition (e.g., FAULT bit D9 or D13). Typical causes include incorrect magnetic domain transitions or mismatch between the stored turn state and the measured angle. The reset can be performed using either of the following methods: Rotate the shaft 46 full turns clockwise to drive the magnetic-domain pattern back to its reference state. 2. Magnetic Reset(optional tooling): Apply an external...

 Open the catalog to page 3
HS40J-4

HS40J (Preliminary)Encoder modulesSPI TIMING DIAGRAMS ~v Figure 4. 32-bit write operation for 16-bit register Copyright © 2026 HONEST SENSOR Version 1.1 [email protected] www.honestsensor.com 4 / 22

 Open the catalog to page 4
HS40J-5

HS40J (Preliminary)Encoder modulesSPI Interface & Timing • Mode: SPI Mode 0 (CPOL=0, CPHA=0), MSB-first • Frame: 32-bit read/write per 16-bit register. Multi-register burst is supported while CS is held low. Coherent position read (MANDATORY for synchronized data): Read ABSANGLE (0x03) and ANGLE (0x05) in one single SPI transaction while CS is held low (e.g., a 64-bit transaction built from two 32-bit read frames). Keeping CS low prevents the second register from being updated before it is read. Position outputs: - ABSANGLE (0x03) -> 16-bit multi-turn absolute position (0° to 16,560°) • Includes...

 Open the catalog to page 5
HS40J-6

HS40J (Preliminary) Encoder modules _ Module Register Summary (for system integration) HS40J provides position and diagnostics through the following primary registers: - ABSANGLE (0x03, Read): 16-bit multi-turn absolute position (0° to 16,560°), with 10-bit intra-turn angle (0.3516°/LSB) - ANGLE (0x05, Read): 12-bit single-turn angle (0° to 360°), 0.0879°/LSB - FAULT (0x06, Read/Write): diagnostic flags (read 0xFFFF at power-up, then clear to 0x0000) For advanced configuration and calibration registers, refer to Appendix A. ABSANGLE Format & Interpretation ABSANGLE (0x03) reports the absolute...

 Open the catalog to page 6
HS40J-7

HS40J (Preliminary) Encoder modules ● Ordering Information ● Setting Dimension Mounting Screw Size:M3 x 5mm Copyright © 2026 HONEST SENSOR Version 1.1 [email protected] www.honestsensor.com

 Open the catalog to page 7
HS40J-8

HS40J (Preliminary) Encoder modules Axial assembly tolerance Radial assembly tolerance Concentric angle tolerance Copyright © 2026 HONEST SENSOR Version 1.1 [email protected] www.honestsensor.com

 Open the catalog to page 8
HS40J-9

HS40J (Preliminary)Encoder modulesAppendix A - Advanced Register Descriptions This appendix contains detailed register maps and bit descriptions for advanced configuration and calibration. Typical system integration only needs the primary registers listed in the main body. The register map for the HS40J is split into pages. To access registers on a specific page, the appropriate page address must be written into the CNVPAGE register. The default (power-on-reset) value for each register is 0x0000, unless otherwise stated in Table 3. The CNVPAGE, ABSANGLE, DIGIO, ANGLE, and FAULT registers are...

 Open the catalog to page 9
HS40J-10

Critical Configuration Registers ABSANGLE Format & Interpretation Refer to the ABSANGLE description in the main text (Module Register Summary section). No additional format differences apply. Primary vs Secondary Angle ANGLE (0x05) contains the fully-corrected primary angle. ANGLESEC (0x08) provides an independently-derived secondary angle for plausibility checking. The host should periodically compare ANGLE and ANGLESEC within a sufficiently short time interval and take appropriate action if the deviation exceeds the application-defined threshold. (Note: FAULT.D10 is reserved/not active.) CNV...

 Open the catalog to page 10
HS40J-11

HS40J (Preliminary) Encoder modules 2. Trigger or abort a conversion sequence, setting the upper two bits of the CNVPAGE register to 0b00 will start a conversion sequence, setting 0b11 will abort a conversion sequence Table 4. Table4. Bit descriptions for the CNVPAGE register. Address: 0x05, Reset: 0x8000, Name: ANGLE This register stores the angle information with the offset, gain, phase, and harmonic corrections applied and provides an accurate 0° to 360° position. See the Copyright © 2026 HONEST SENSOR Version 1.1 2026-03-03 [email protected] www.honestsensor.com

 Open the catalog to page 11
HS40J-12

HS40J (Preliminary)Encoder modules Sequencer section for details on when the angle register is updated. Angle Resolution = 360°/4096. Table 7. Bit descriptions for the ANGLE register. Copyright © 2026 HONEST SENSOR Version 1.1 [email protected] www.honestsensor.com

 Open the catalog to page 12

All HONEST SENSOR Corp. Taiwan catalogs and technical brochures

  1. HS28D

    8  Pages

  2. HS28H

    4  Pages

  3. HS40A

    6  Pages

  4. HS28A

    5  Pages

  5. HS20A

    5  Pages

Archived catalogs

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.
About DirectIndustry
DirectIndustry is a marketplace that offers B2B players a complete experience, from product sourcing to purchase. DirectIndustry is an entity of VirtualExpo Group.