| The existence of stress has a great influence on the structural strength,fatigue life and dimensional stability of the workpiece.With the continuous development of the material manufacturing industry,more and more attention has been paid to the accurate detection and evaluation of stress,and one of the important equipment for detecting stress is X-ray stress meter.At present,most of the domestic stress gauge control systems are not highly automated,the detection accuracy and intelligence are relatively backward.Although foreign equipment has great advantages in performance and function,but the price is expensive,and China is a large manufacturing country.There is an urgent need for high-performance stress detection equipment.Therefore,it is of great significance to develop a more intelligent and higher-precision stress gauge control system.This article combines the ARM processor technology and CPLD logic control technology to design a stress gauge control system,which realizes the function of stress gauge automatic,rapid and accurate stress detection.The paper first introduces the research background of the stress gauge,then analyzes the composition structure and working principle of the stress gauge,and proposes a control system scheme based on the dual ARM and CPLD processor architecture according to the functional requirements of the system.Finally,based on analysis and research,realized and verified the scheme.In specific work,this paper first builds a hardware platform around the core processor,completes the design of the control system hardware circuit and the production of printed circuit boards,and secondly completes the design and development of software programs on the basis of the hardware platform.The stress gauge control system has the function of network communication with the host computer.The user can issue commands from the upper computer to control the operation of the stress gauge.At the same time,the upper computer can monitor the working status of the stress gauge and visually display the relevant information of the system.The main ARM is the core of the entire control system,which is mainly responsible for parsing and processing the commands sent by the host computer to the control system,driving the goniometer to rotate in a predetermined manner,and as the communication center to communicate with the host computer and the slave ARM and CPLD,Realize the mutual transfer of data and commands between the host computer and each processor.The slave ARM and CPLD are used as coprocessors to cooperate with the master ARM to realize the operation control and management of the entire control system.The slave ARM receives the master ARM control commands and drives the measurement platform to move to a specified spatial position,thereby bringing the workpiece to be measured to the inspection Position;CPLD receives the control signal of the main ARM and is responsible for counting the Xray intensity pulses.After completing the hardware production and software designing,tested the function and stability of the system,and the test results met the design requirements.Taking 403 steel with a reference stress value of-568 MPa as the test sample,the system was used to test the stress,and finally the measured stress value was-560 MPa,proving that the system can achieve the functions required by the project and meet the expected design goals. |