Font Size: a A A

Design Of Control System Based On MATLAB And Ethernet

Posted on:2015-11-29Degree:MasterType:Thesis
Country:ChinaCandidate:J L ZhuFull Text:PDF
GTID:2308330482956060Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
In recent years, with the development of information network technology, the network has become more and more popular, the rapid development of internet has brought great changes to the industrial production, Ethernet has been widely applied to various fields. For example, in the field of industrial control, some small-scale control equipments can easily access to the existing network, if they were added a network interface and implementation of TCP/IP protocol. On one hand, it can achieve the field of industrial data, and the collected data could be uploaded to the PC to display and storage via the network interface. On the other hand, in order to control the requirements of the industrial production, the field of industrial devices can be controlled in a real time according to the need of the system. Therefore, it is very important to study controller based on Ethernet.MATLAB is a commercial simulation software provided by The United States Math Works company, which is widely used in the study of the control system. MATLAB language is a very effective tool that can easily solve the problem of control system. Simulink is a visual simulation tool of MATLAB, which is a designing environment based on block diagram. It can achieve the simulation and processing of data, it can also be connected with external Ethernet device used by TCP/IP sending and receiving module provided by Simulink. On the other hand, GUI is a user interface of computer operating display graphically, which greatly facilitates the non-professional users, users no longer need to memorize a lot of command language but replaced by a window, menus, buttons, etc, to easily operate. In this paper, MATLAB GUI is used to establish a computer interface, which is convenient to control and achieve the data of the slave station, GUI is also used to call the established Simulink file to connect with Ethernet controller.In the part of hardware of control system, the controller selected C8051F120 chip as the core part and CP2200 as the Ethernet interface chip. On this basis, peripheral equipment included power supply module, JTAG debug module, driver module, reset module, serial communication module, Ethernet communication module, digital input and output module, analog input and output module. After achieving the above module driver by program, the DC motor was used as the controlled object in this paper. The designed control system was used to control the speed of DC motor, the experimental result obtained by curve showed the control system was transmitting data stability, having a good real-time performance. so the control system achieved the design goal. The controller’s parameters can be configured. The control method is available. It can be applied to different controlled object and meet the most requirements of industrial control.
Keywords/Search Tags:Ethernet, GUI, Simulink, TCP/IP protocol, C8051F120, CP2200
PDF Full Text Request
Related items