Sun-Tracking System
The sun shines directly on the modules for only a short part of the day. However, high output is achieved only when this is the case. Therefore, the solar panel should be oriented according to the sun's position.

Sun-tracking system always maintains the optimal angle to the sun
Degree Program
ET - Discontinued
Project Description
Most PV systems are permanently anchored to the ground. As a result, the sun shines directly down on the modules for only a short part of the day. However, high output is achieved only when the sun shines directly down on the solar modules. Therefore, the solar panel should be oriented according to the sun’s position.
The goal of this project was to develop a device for tracking the sun’s position. The aim is to align a solar module so that it is always at the optimal angle to the sun, thereby achieving the highest possible output.
To evaluate the success of the tracking, the module’s output power is measured. For comparison, there is also a mode for stationary operation, in which the output is measured while the module is stationary.
People Involved
Student group: Ilyas Uzun, Florian Scharr, Mahdi Trabelsi
Advisor: Prof. Dr.-Ing. Christine Schwaegerl
Course
Systems Engineering 1 (IK)
Duration
Winter Semester 2024/25
Requirements
Requirements:
- Detection of the Sun’s Position: The Sun’s position should be detected using light sensors.
- Alignment perpendicular to the detected position of the sun: Alignment is achieved using two stepper motors, which are controlled based on the voltage measured at the light sensors.
- Solar panel power measurement: Power is calculated from the readings of a voltage sensor and a current sensor connected to the solar panel.
- Storing the measurement data: The measurement data is stored on an SD card and can then be analyzed on a PC.
Non-mandatory requirements:
- Weather resistance: Since this is a prototype, weather resistance cannot be guaranteed. However, every effort will be made to protect the technology as well as possible from environmental influences.
- Display for Measurement Values: If the budget and time allow, a display can also be installed to show the current measurement values.
Implementation
The solar panel is mounted on a frame that can rotate around two axes. The rotation is driven by two stepper motors. To adjust the elevation angle, the motor’s rotation is transmitted via a gear system to conserve power and allow for finer adjustments.
The light sensors are mounted in 3D-printed holders. They feature a shutter that shades one sensor when the module is not aligned perpendicular to the light source.
The system is controlled by a Raspberry Pi Pico. It reads the sensor data and controls the motors as well as the rest of the electronics, such as the display.
The solar module is connected to a charge controller. This charges the lead-acid battery and supplies power to the motors. Two microstep drivers are used to control the motors. A voltage and current sensor are installed to measure power, and their readings are also retrieved by the microcontroller.
The light sensors are connected via I2C and are also read by the microcontroller.
Uses
This project is intended for demonstration purposes. It can be used in school or college classes. A lamp can be used to simulate the sun’s movement. This allows students to understand how solar tracking works.
The display shows important real-time data, such as power consumption. The right switch turns the battery on and off. The left switch allows
you to toggle between stationary mode and tracking mode.
In stationary mode, a preset angle is set, and the module remains stationary thereafter. In tracking mode, the panel tracks the sun as described above. The device can operate independently and does not require a connection to the power grid.
The housing can be easily opened. The handles make it easy to transport the device.










