The master's thesis addresses the development and integration of the HiperFace DSL communication protocol into a magnetic absolute position encoder system with the aim of improving system reliability, functionality, and diagnostic capabilities. The main objective of the thesis was to develop a software solution that enables bidirectional digital communication over a two-wire connection while simultaneously ensuring accurate and deterministic transmission of position data.
A complete software architecture was developed for a system based on the AksIM-4 encoder, an FPGA module, and an STM32 microcontroller. The system enables acquisition of absolute position with a resolution of up to 21 bits, with position data available at intervals of 11.52 µs. In addition to position transmission, a structured data repository was implemented that provides access to configuration and diagnostic parameters and enables persistent data storage.
To store configuration and calibration data, the LittleFS file system was integrated, providing resilience against power loss and wear leveling of the memory. The quality of the overall software solution was verified through modular testing of key software components using the Googletest and gMock frameworks.
The result of the thesis is a functional prototype of software for a position encoder using the HiperFace DSL protocol, suitable for use in industrial servo drives and automated systems where precision, reliable communication, and reduced wiring complexity are essential.
|