| Before the directional antenna terminal leaves the factory,it needs to check the gain and lobe width of the test antenna.The current test platform mainly has the disadvantages of long test time,insufficient pointing accuracy,low degree of automation,and high cost.In order to improve test efficiency and test accuracy,and reduce production costs,this article is based on a specific series of our company’s directional antenna(RU2.0 directional base station transceiver terminal)as the object,in a wide survey of the current development status of stepping servo systems at home and abroad Based on this,the working principle of the two-axis turntable was deeply analyzed,and the control system of a new test turntable was designed in conjunction with the development trend of modern stepping servo system.main tasks as follows:1.This article first clearly tests the design selection of the two-axis design of the turntable,U-shaped table body,drive motor,deceleration mechanism and other major components,and builds a two-axis turntable based on the mathematical model and angle conversion algorithm in the synchronous rotating coordinate system The basic structure and control strategy of the system are determined.2.On the basis of structural design,this article refers to the currently widely used turntable controllers.These controllers are basically designed based on the classic PID control algorithm.In terms of test signal tracking algorithm,the traditional PID algorithm is used to design the controller.In order to improve the tracking accuracy and response speed of the test,and strengthen the research on the highly nonlinear and disturbing aspects of the specific two-axis turntable servo system,it was decided to use a new controller designed based on the sliding mode adaptive control method to implement the turntable Test signal tracking.The use of a sliding mode controller on the turntable improves the response speed of the system,allowing the system to reach a stable tracking test signal in the shortest time.In order to enhance the versatility of the turntable,partial adaptive control is used to solve the problem of parameter setting and estimation when some parameters of the system are unknown.The simulation results show that by combining sliding mode control and adaptive control,the system can quickly reach the synchronous stable state.3.For the hardware and software design of the system,this article uses the Ardunio UNO development board as the control core of the lower computer.Compared with the traditional embedded system MCU and PCB design,the development progress is improved,and compared with the use of industrial computers or PLC and other ready-made Control hardware greatly reduces development costs,enhances flexibility,and reduces the size of control equipment.In the software design part,this article writes the control program of the turntable system and improves the test system.It uses a window mode UI interface,which simplifies the process and operation compared to the traditional DOS mode test.4.In the process of design experiment verification,this paper adopts the combination of Labview+Ardunio,the PC side of the host computer uses Labview visa serial port function library and Ardunio UNO development board to realize real-time communication programming,data transmission and chart drawing,which has greatly improved The efficiency of the experiment reduces the cost of the experiment.In order to verify the actual control effect of the controller,this article uses the Ardunio UNO development board,corresponding sensors and stepper motors and other experimental equipment to build an experimental platform,test a series of designed module programs,and use the traditional PID controller and sliding mode The control effect of the adaptive controller was experimentally compared in the antenna test signal tracking mode.It can be seen from the experimental results that the adaptive sliding mode controller has better control speed and dynamic and static performance than the traditional PID controller.This article applies the modern control theory to the actual equipment production process,and has certain reference significance for the research and development of the new stepping servo system. |