The invention discloses a controller of a vertical shaft rotating
sun tracking frame. The controller comprises a main control
chip, a
satellite navigation module, an electronic
compass module, a
magnetic declination calibration module, a communication module, a
motor control module, a motor and a
power management module. The main control
chip calculates true sun time according to
sun tracking frame position information and
clock information received from the
satellite navigation module; the true sun start-
stop time and the start-stop
azimuth angle of the sun-tracking frame are determined according to the true sun start-
stop time and the start-stop
azimuth angle of the sun from east to west, the rotation
angular velocity of the sun-tracking frame is determined according to the rotation
angular velocity of the sun, and the motor controls and manages the motor to rotate the sun-tracking frame according to the
angular velocity; calibrating the
sun tracking frame
azimuth angle output by the electronic
compass module and the
magnetic declination obtained by the communication module from the
server; and the main control
chip takes the sun-tracking rack azimuth angle of 12: 00 in true sun time as the positive south, the time from the last half of sun tracking to the extremely west is completed by taking the sun-tracking rack azimuth angle as the starting point, then the sun-tracking rack is continuously reversed to the positive south for azimuth angle
stroke calibration, and then the sun-tracking rack is continuously reversed according to the
stroke time to the extremely east.