| The positioning technology of CNC work table is a significant part in processing, which is directly in relation to the accuracy. The now available table positioning systems, consisting of electrical, mechanical, optical and others, basically exist more or less drawbacks because of their inherent characteristics of each methods. For example, some devices are in high positioning accuracy but expensive, while some devices are inexpensive but in worse precision.This design is based on the platform of FPGA, using parallel processing mechanism powerful computing capabilities to improve the processing speed and performance of the system, together with an external auxiliary equipment to make the workbench modal enough accuracy. At the same time, the system will display the work process and store it.The system is divided into modules for design and implementation. D5M camera collects images, which can be converted to RGB format in SDRAM cache to complete the video collection; The image data can be obtained with methods of image processing, morphological filtering and so on. After that, the system would check the position with the application of the algorithm, where would be marked with a red box when it is correct; After that the images will be captured into MJPEG video encoding, packaged into AVI video streaming; The video streams real-time storage can be realized by invoking self-prepared SD card controller which under SPI mode; Then, an LCD will real-time display the process and results. Meanwhile, as the control core, NIOSâ…¡ soft-core processor achieve the above scheduling modules.The experimental results prove that the superiority of this system in real-time positioning with a accuracy requirements; The system working at 100M frequency. The video encoder IP core, working at 20M frequency, MJPEG video encode for RGB images to create coherent playing video, which is real-time stored in the SD card via the SD card controller which working at 40M frequency as a AVI video. At the same time a LCD will display images which working at 20M frequency. This system achieve the desired function with perfect real-time and accurate performance and portability, and it has broad a application prospects... |