Font Size: a A A

Research And Design On The Upper-computer Software Of Color Sorter Based On Fuzzy Clustering

Posted on:2017-04-01Degree:MasterType:Thesis
Country:ChinaCandidate:M H LiFull Text:PDF
GTID:2308330503960839Subject:Mechanical engineering
Abstract/Summary:PDF Full Text Request
The software of upper-computer system is used to collect the current status information of color sorter and control the actual work of color sorter by setting the parameter according to the user, when the color sorter starts. The dissertation, based on actual demand and system analysis, researched and designed the key algorithm and the main system module, and then conducted software debugging.Firstly, the dissertation completed the image acquisition by using industrial color line scan CCD camera and upper computer, then obtained the image RGB components and the differences between each two of image RGB components establishing a six-dimensional color feature matrix. In order to improve the algorithm’s efficiency, the dissertation preselected the image of granular material using mean filtering method combined with dynamic region partition. The color feature matrix data was simplified, which provided the necessary precondition for the research and design of the real-time color selection algorithm. According to the internal characteristics of the image, data of matrix can be classified by cluster analysis method, which obtained the optimal classification matrix, unqualified material and the corresponding position. By introducing parcel model and consistency measurement, features of color were selected effectively eliminating irrelevant and redundant features. Combined with pattern recognition theory, a preselecting theoretical model of granular material color was constructed, so that the system has the ability to dynamic adjusting threshold parameter based on fuzzy clustering sorting. According to the collected drawings,we calculated optimization feature and the corresponding real-time color optional algorithm and threshold segmentation parameter, and verified that the established color sorting algorithm is reliable and effective, which can be used to control the sorting.Next, based on the need of actual transmission of data types and data size in the upper-computer and lower-computer system, the dissertation discussed the design of color sorter, then introduced the structure and the basic concepts of the CAN bus and analyzed the sequence and accuracy demand of large amount of image data transmission. Base of CAN bus expanding frame format,protocol parameters and functions were defined in the arbitration of the domain identifier and data domain, which include priority, x-coordinates of image, source address, destination address, numbers of function, and the format of data. The research and design of image transmission algorithm and the upper and lower computer communications program based on CAN bus, achieved a reliable image transmission. Experiment researched the time transfer performance of the algorithm and achieved good results, which meets the expectations of the use of the requirements and supports the subsequent design of the software system by providing an effective communication program.Subsequently, the dissertation made a systematic analysis, interfacial design, operational design about the upper system and got six main system module according to the actual demand. The system adopted visual interface which includes blowing settings and test, cleaner set, camera setting, background setting, primary and color settings, the model storage and user management with human-computer interaction to realize the control between the upper software and the color sorter, and improved the property of real-time of the system. The primary function decreased workload of the lower system, and improved the efficiency and sorting accuracy.Finally, the method of debugging was adopted to analyze image transmission algorithm about the upper system. The upper computer software made use of SDRAM in the lower computer to write data which is transmitted to the upper machine through CAN bus.The upper computer took it as image display, and sent image data to the lower computer which received data and written SDRAM through the lower computer. The experimental results verified the algorithms of image transmission and the accuracy of the properties of reading and writing data about the superior software designed in this paper. At present, the parameters of the system and function has been tested in the laboratory and the performance has been basically meet the design goals and requirements for application.
Keywords/Search Tags:fuzzy clustering, upper-computer system, color sorter, CAN bus, image transmission
PDF Full Text Request
Related items