With the development of science and technology,people not only increase the demand for displacement measurement but also have higher and higher requirements for the accuracy of displacement measurement.However,high-precision grating sensors are expensive.Therefore,this paper uses a subdivision technology combining hardware and software subdivision to design a low-cost,high-precision,and satisfying demanding grating displacement measurement system.This article compares the advantages and disadvantages of the current mainstream raster subdivision technology,and determines that this topic selects the subdivision method combining hardware subdivision and software subdivision to design,and the hardware subdivision adopts simple and fast four subdivisions.Neural network subdivision.The subdivision system design mainly includes the following content:First,the overall design of the subdivision system.The front-end hardware circuit is designed to process the original signal,and the FPGA is used to implement hardware four-division differentiation.The count function is the rough subdivision to obtain large values.At the same time,the FPGA control ADC converts the sinusoidal signal’s analog quantity to digital quantity.Through the communication between the FPGA and the PC,the large value and digital quantity are uploaded to the PC.The PC sends the digital quantity to the neural network subdivision program to output the decimal value,ie,fine points.The final measured displacement is obtained by combining the large value and the small value.value.Secondly,by comparing the linearity of the sinusoidal signal and the constructor P in the[π/4,π/2]range,this paper selects the good linearity constructor P as the input of the neural network subdivision,and takes the micro-displacement value of the sample insufficiency period as the network output,and With the aid of genetic algorithm to optimize the weights and thresholds of the network,a neural network model suitable for fine points is obtained.Finally,through the debugging of the subdivision system,the feasibility of the design of the subdivision system in this paper is verified.At the same time,high-precision measuring instruments were used to verify the displacement measurement values of the system. |