Skip to main navigation Skip to search Skip to main content

Design, Control, and Implementation of a 1D Gimbal on a Microcontroller Using Embedded Coder in MATLAB/Simulink

  • Johannes Senzenberger

    Student thesis: Master's Thesis

    Abstract

    This thesis addresses the design, control, implementation, and experimental evaluation of two physical one-dimensional smartphone gimbal systems. The objective is to develop a custom control system without the use of pre-built libraries. For both approaches, the Embedded Coder Support Package for the respective microcontroller platform in MathWorks MATLAB/Simulink is used to automatically generate code from the developed Simulink models. To measure the gimbal angle, two inertial measurement units employing different sensor fusion approaches are compared. The first gimbal prototype is an Arduino-based system driven by a servo motor commonly used in radio-controlled model applications. To overcome the limitations encountered with this approach, a second prototype based on an STMicroelectronics microcontroller platform and a brushless direct current motor is developed. The motor is controlled using a field-oriented control system based on a Clarke–Park transformation, while its position is determined by an absolute encoder. Both gimbal systems operate as standalone battery-powered devices without requiring a connection to a computer. In both cases, the smartphone is maintained in a horizontal position despite movements of the user’s hand.
    Date of Award2026
    Original languageEnglish
    Awarding Institution
    • FH OÖ
    SupervisorHarald Kirchsteiger (Supervisor)

    Studyprogram

    • Mechatronics & Business Management

    Cite this

    '