海事天線為船舶和衛星之間提供通訊,然而與陸地上的地面站不同的是海洋的動態環境會對海事天線的指向性產生影響,導致信號衰減和通訊中斷,為了應對這些挑戰,本研究旨在最佳化海事天線的天線控制單元(Antenna Control Unit, ACU)演算法開發,使其能夠克服海面晃動後的姿態補償,並輸出方位角、俯仰角與橫滾角符合天線的機構設定,以達到更有效率且更精準的追蹤。演算法使用C語言撰寫,因其具有效率高、移植性高並且能夠即時處理計算需求。本研究仍有一些侷限性,未來可以在實際海上進行測試,驗證研究成果的實際應用效果,並針對不同類型和場景優化算法和控制方法。;Maritime antennas provide communication between ships and satellites. However, unlike terrestrial ground stations, the dynamic environment of the ocean affects the directionality of maritime antennas, leading to signal attenuation and communication interruptions. To address these challenges, this study aims to optimize the algorithm development of the Antenna Control Unit (ACU) for maritime antennas. The goal is to compensate for the attitude changes caused by sea movements and ensure that the azimuth, elevation, and roll angles conform to the antenna′s mechanical settings, achieving more efficient and precise tracking. The algorithm is written in C language due to its high efficiency, portability, and ability to handle real-time computational demands. Although this study has certain limitations, future work can involve testing the results in actual sea conditions to validate the practical application of the research outcomes. Additionally, the algorithm and control methods can be optimized for different types and scenarios.