It has become a trend to use drone for automatic inspection in power system. As an important support for drone automatic inspection, drone hangar can meet the timeliness of power system inspection and improve the efficiency. Therefore, in this paper, a substation fully automatic drone hangar for small drone is designed, which uses visual-guided landing algorithm and UWB positioning algorithm. Based on its mechanical structure, a hardware system with STM32F103RCT6 chip as the core control chip is designed, which realizes fully automatic opening and closing of the drone hangar, position correction, remote control and data transmission.