| At present,Mechanical and electrical integration control systems whichmainly used foreign Programmable Logic Control(PLC), field control busmade up of PLC as core and control systems which are made up of industrycomputer as the core, the core chip being special chip or singlechip(SCM), arevery expensive, these PLC mostly come from oversea. The paper design acontrol system circuit that the hardware core of the system is implementedwith embedded micro processor Unit S3C44BOX+FPGA, and extend modules,such as: memory, I/O module of digital and simulation and CANcommunication module and so on. The host controller of system use latticeLCD display module and touch-screen as program and system running statusmonitors. OSμClinux is embedded to this system to realize multitask andfriendly graphical user interfaces. The explaining programs of basicinstructions and functional instructions of PLC are designed by C languageindependently. Advanced intelligent control arithmetic (such as: PID, fuzzycontrol and BP neural network) is embedded to ladder diagram as functionalmodule through FPGA.The thesis mostly introduce to design mini PLC by using the 32 bitsEmbedded Micro Processing Unit (MPU) S3C44BOX as the core controllerand CAN field bus. Work principle of this system is described. A detailedintroduction about the interface circuits between various function modules ofPLC host computer and MPU S3C44BOX will be given. Digital I/O areconfigured by FPGA in order to extend the I/O ports of PLC, and A/D, D/A circuits. The method about how to transplantμClinux to S3C44BOX is given.The drivers of CAN Bus device based onμClinux are achieved. The repertoireinterpreter is designed by C language independently. The graphical userinterface MiniGUI is transplanted toμClinux. The result of experimentationshows that the circuit and program are correct. |