| With the continuous development of science and technology,controllable and adjustable video surveillance is popularized in social development and daily production.As a device carrier carrying high-precision camera equipment,the gimlet head is widely used in security monitoring,UAV monitoring and other fields.The performance of the gimlet head control system is good or bad.It will directly affect the working efficiency of the head and the use effect of the camera equipment supported by the head.Therefore,the stability and robustness of the pan-head control system in the process of use are of great importance.At present,most of the pan-head control systems in the market are controlled by Wi-fi communication.Wi-fi control is widely used in the control system of the pan-head because of its small chip,light weight,convenient communication and remote control.However,Wi-fi communication mode control also has some disadvantages.Wi-fi control is greatly affected by the environment.In mountainous areas,tunnels or some places with extremely unstable signals,Wi-fi control mode will be unstable and completely cannot play its due role.With the development of China’s national strength and the popularity of wireless equipment,the above situation has been improved,but there are still some problems,such as blocked monitoring when the train enters the tunnel,jitters or temporary network interruption of Wi-fi signal of daily monitoring equipment,etc.In this case,Wi-fi control has certain limitations.Therefore,in order to solve the Wi-fi signal or the signal caused by blocked temporarily unable to control the situation,this paper puts forward the infrared control and Wi-fi wireless control two kinds of control mode,based on Wi-fi communication network dependence is strong but allow remote control,infrared control distance is shorter but affected by the environment of small advantages,improve the stability of the PTZ control.Through the combination of Wi-fi control mode and infrared control mode,the device can maintain stable and continuous command receiving under the condition of unstable Wi-fi signal,and improve the stability and robustness of the whole pan-head control system.At the same time,the posture information of the cradle head is obtained through the gyroscope chip,and the temperature around the chip is intelligent-ally monitored and the real-time feedback function is realized through the upper computer to maintain the stability of the camera equipment.Firstly,according to the actual demand of the video trunk head control system,the overall analysis of the trunk head controller is carried out,and based on the demand and actual consumption calculation,the selection of components is carried out.The hardware design mainly includes the main control module design based on STM32F103VET6 chip and its peripheral circuit design,such as: BOOT module design,serial communication module design,power module design,clock crystal module design and reset module design.In addition to the above content,the design of two communication modules is also carried out,namely the hardware design of infrared module and Wi-fi module.Finally,the hardware design of the gyroscope module and the stepper motor module is carried out.After the completion of the hardware design,the EMC test was carried out to verify the security.After the successful test,the software part was designed.The software design is mainly composed of five parts,which are: the software design of infrared module,the software design of Wi-fi module,the software design of gyroscope module,the program design of DMP attitude calculation algorithm and the software design of stepper motor.On this basis,through the debugging experiment of the video tan-head control system and the upper computer,it is proved that both the video tan-head control system and the upper computer have realized the expected functions and achieved the expected effects. |