| The research of X-ray high-precision TDC system,which based on ZedBoard dev elopment board Linux system.The background of it is "X-ray splicing detection Time measurement circuit".The data collection function was implemented by the digital conv erter circuits TDC(Time To Digital Convert)under control of the embedded Linux op erating system.TDC was designed by FPGA(Field-Programmable Gate Array),meanwh ile,the data was stored as.txtin Linux system.The ZedBoard development board zynq-7000 series provided by Xilinx company was used as the hardware circuit in this paper.The development board integrates FPGA and ARM-9 technologies,which allows the embedded Linux system based on ARM to read,write and control.The TDC hardware module implemented by FPGA technology.Modification of previous high-precision-picoseconds TDC hardware circuit based on Virtex5 development board,in order to integrate the resources between software Programming and the hardware of the ZedBoard development board.The TDC redesign which include the hardware of delay unit.Due module,the TDC counter module,and the pipeline FIFO data cache module.Changing counter module because of different global clock frequency of development boards.Through the design of TDC peripheral IP core based on AXI bus,the hardware bridges of communication was built between TDC and Cortex-A9 nuclear.And the bare plate running under the software controlling was also achieved,moreover,through the Debug to ensure the correctness of hardware system design.The crossing compile evironment was built in the Linux system by the VMware virtual machine.The Linux system was transplanted to ZedBoard by compilation and tailoring of Linux kernel,the creation of the root file,and the device tree and the BOOT.BIN file.To make the Linux kernel visit the TDC equipment,the driver program for hardware was designed.Moreover,the user program was designed under the Linux system,then the data acquisition function of TDC was achieved finally.This design through cooperative work between FPGA and ARM under the embedded Linux system.It realized the high precision data acquisition which possesses real-time performace,low power consumption and high performance.This design shows great application prospect and practical value in these fields of intelligent industrial control,intelligent Home Furnishing,military,environmental monitoring. |