Font Size: a A A

Design And Implementation Of Serial Communication Interface Test Software For Autopilot System

Posted on:2024-09-26Degree:MasterType:Thesis
Country:ChinaCandidate:R Z MaFull Text:PDF
GTID:2542307079469824Subject:Transportation
Abstract/Summary:PDF Full Text Request
With the growing development of autopilot system,the data transmission rate of system communication is getting higher and higher,and the amount of data is also getting larger and larger,which puts forward higher requirements for ensuring the rapidity,stability and accuracy of data transmission.Based on the research and development of PXIE digital waveform generation and analysis module project of the teaching and research section,thesis focuses on the research and design of interface communication test software around the serial communication interface SPI,IIC,CSI and DSI.The main research contents of this project are:1.Design and implementation of data transmission and storage.On the basis of the receiving and sending functions,a processing scheme for a large amount of data is proposed,which generates and sends vector files and timing files in segments,collects and reads data in segments,and compresses and stores data in the way of run-length coding and Huffman coding,effectively reducing the transmission time and memory occupation.In addition,from the perspective of software,a method of adjusting the clock edge of low frequency clock to synthesize high frequency clock is proposed to realize high frequency signal transmission.2.Waveform synthesis and characteristic parameter analysis.In order to eliminate the influence of signal distortion in the physical transmission process,the differential method is used to generate arbitrary waves from the perspective of software,and then the waveform characteristic parameters are analyzed.The attenuation,overshoot,jitter and other signal distortion phenomena are tested and improved,and the test results are recorded as the basis of interface test.3.Design and implementation of serial interface test.According to the characteristics of the low speed serial communication interface SPI and IIC,the test scheme of its physical layer and protocol layer is proposed;According to the principle and characteristics of the physical layer D-PHY,C-PHY and A-PHY of high-speed serial communication interface CSI and DSI,the corresponding test scheme and optimized data analysis algorithm are proposed;According to the hierarchical structure and characteristics of CSI and DSI interfaces,the data packaging,parsing and verification methods of protocol layer are proposed based on the physical layer.4.Test and verification.After completing the design of serial communication interface test software,simulating the application scenario of the autopilot system,the relevant functions of several interfaces involved in the software,such as data transmission,waveform synthesis,characteristic parameter analysis,transmission of interface physical layer and protocol layer,were tested,and the goal was achieved by verifying all functions.
Keywords/Search Tags:Serial communication interface, data transmission, waveform synthesis, characteristic parameter analysis, interface test
PDF Full Text Request
Related items