| Electro-hydraulic servo control system is widely used in industrial control and automation field because of its high precision control,regulation speed,good stability,as well as the characteristics of large inertia control and high power output.With the development of industrial control digitalization and the development of industry 4.0,the development of high performance,intelligent,digital,networked servo controller will be the development trend of electro-hydraulic servo control system.This paper designs a dual-core servo control system based on DSP and ARM.The DSP is mainly used to control the operation of the algorithm,and the communication Ethernet and RS485.ARM is mainly used to control various peripheral circuits.The two communicate with each other through SPI.Division of labor,the greatest degree of play to their respective advantages.In the hardware design part,this paper completes the power part,DSP part and ARM part of the circuit design.DSP part which includes external memory circuit design,Ethernet circuit design and RS485 communication circuit design and some external circuit design.ARM part includes input and output signal conditioning circuit design,input and output self-test circuit design,alarm circuit design,isolation circuit design,touch screen interface circuit design and some functional circuit design.The power section completes the power module design of the entire system.In the software design part,this paper completes the DSP part and the ARM part subroutine design,in which the DSP part includes the DSP initialization configuration subroutine,the EEPROM subroutine,the ethernet communication subroutine,the RS485 communication subroutine,the control algorithm subroutine,the SPI communication subroutine and so on.ARM part includes STM32 initialization configuration subroutine,A / D conversion subroutine,D / A conversion subroutine,self-test alarm subroutine and SPI communication subroutine design.Control algorithm part,through the research and comparison of classical PID control,fuzzy control and Bang-Bang control algorithm,the time-optimal fuzzy PID control algorithm based on fuzzy rule switching is established,which can eliminate the problem of switching perturbation between control algorithms while preserving the advantages of each controller.And passed the validation of the experiment.At the end of this thesis,the servo control system is tested as a whole.Through the test results,it shows the feasibility of the servo control system.The system has the advantages of high precision,fast response time and good stability,and meets the development trend of electro-hydraulic servo control system with high performance,intelligence,digitization and network.It meets meet the system design requirements. |