The Development of a CAN Based Dyeing Machine Distributed Control System with Related Algorithm Discussions

Author
JiangFeng
Advisor
MaoYuLiang
School
Southeast University
Major
Mechanical and Electronic Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2005
Downloads
122
Citations
4

Request the full text

Abstract

Dyeing machine stand-alone control technology has matured on the basis of the actual needs of the corporate control of the device into a group , in accordance with the general structure of the distributed system , the composition and characteristics of the discussion of the distributed control system based on CAN fieldbus networking program , and one of the key technical problems in some studies . Part of the overall program , the analysis of the general composition and characteristics of distributed systems , according to the actual needs of the proposed dyeing machine equipment control system by the management level , the three levels of the control level and field level devices . Based on the function of the CAN network technology, various components of the system and their mutual relations . Management computer to access the fieldbus , combined with the characteristics of the project , access features of the Windows environment , the PCI bus devices , interface board design specification as well as hardware and software technology , the actual design of a CAN bus adapter , and through a hardware test . This paper summarizes the development process of the PCI bus CAN interface board . Successful PCI card hardware test based on the preparation method and process of the device driver under Windows system , combined with the application characteristics , improve the requirements of real-time data , completed Ring0 privileged layer interrupt CAN by increasing the data buffer , the preparation of the driver of the bus data transceiver capabilities ; effectively avoid the data loss that may occur in the CAN bus instant high-speed data communication ; application operating hardware package for ease of application , the use of dynamic link library interface functions ; CAN data transceiver based multi-threaded test program was developed at the application layer . This article also through the analysis of the experimental data obtained by the dye vat temperature control , select AR model using MATLAB software fitting the dye vat temperature model , and integral separation PID control algorithm , incomplete derivative PID control algorithm , differential forward PID control algorithm and Dalin control model simulation control . Reference adaptive control algorithm for further research and development of a distributed control system .

Table of contents

Chinese Abstract 4-5 Abstract 5-9 first chapter 9-15 1.1 Background papers 9 1.2 research status at home and abroad 9-13 1.2.1 dyeing machine computer 9-10 1.2.2 CAN fieldbus 10-11 1.2.3 PCI bus technology 11-12 1.2.4 Adaptive Control 12-13 1.3 research significance 13 1.4 issue is the major task, content and objectives 13-15 Chapter distributed control system components 15-21 2.1 System Overview 15 -16 2.1.1 Distributed Systems 15-16 2.1.2 System block diagram 16 2.2 field level devices 16 <br / > 2.3 Control class equipment 16-18 2.4 Management level equipment 18 2.5 analog screen display device 18-19 2.6 Distributed Control System features 19-21 Chapter PCI bus CAN card hardware design 21-31 3.1 hardware system architecture 21 3.2 CAN Bus Network Communication and Interface Design 21-23 3.2.1 CAN bus controller SJA1000 22 3.2.2 CAN bus driver PCA82C250 22-23 < br /> 3.2.3 CAN bus interface circuit 23 3.3 PCI bus interface circuit design 23-27 3.3.1 PCI bus interface 23-24 3.3.2 bus control chip PCI9052 24-26 3.3.3 serial EEPROM configuration circuitry 26-27 3.4 serial EEPROM configuration 27-28 3.4.1 PCI bus configuration registers 27-28 3.4.2 Local Bus configuration register 28 3.5 hardware debugging 28 -31 Chapter PCI bus CAN card software design 31-45 4.1 software architecture 31-32 4.2 device driver installation 32-33 4.2.1 device driver installation process 32 4.2.2 INF file 32-33 4.3 CAN adapter WDM Device Driver Development 33-38 4.3.1 Development Tools DriverStudio 33 4.3.2 Creating a WDM CAN adapter framework program 33-34 4.3.3 The structure and function of the driver 34 4.3.4 device driver routines 34-37 4.3.4.1 StartDevice routines 34-35 4.3.4.2 lsr routines 35-36 4.3.4.3 DpcFor_Irq routines 36-37 4.3.4.4 DeviceControl routines 37 < br /> 4.3.5 device driver debugging 37-38 4.3.5.1 DriverMonitor tool 37-38 4.3.5.2 SOFTICE tool 38 4.4 applications and driver communication 38-42 4.4.1 open and close the device 39 4.4.2 DeviceIoControl function call 39-40 < br /> 4.4.3 multithreading data transfer 40-41 4.4.3.1 pass an event handler 40-41 4.4.3.2 read received data 41 4.4.4 Dynamic Link Library 41-42 4.5 application 42-45 4.5.1 CAN bus communication test program 42-44 4.5.2 Dyeing monitoring procedures 44 4.5.3 program features 44-45 Chapter vat temperature model identification 45 - 53 5.1 system identification 45-46 5.1.1 System Identification meaning 45 5.1.2 vat temperature model identification method 45 - 46 5.2 MATLAB tools introduced 46 5.3 experimental data analysis 46-47 5.4 vat temperature model identification 47-53 5.4.1 big lag system identification 47-48 5.4.2 mathematical model forms of expression 48-49 5.4.3 Least Squares Parameter Estimation 49-50 5.4.4 Model Structure 50-51 5.4.5 Parameter identification result and calibration 51-53 Chapter VI Control Algorithm Research 53-61 6.1 control algorithm 53-54 6.2 Integral Separation PID control algorithm 54-55 6.2.1 Algorithm Works 54 6.2.2 model control and analysis 54-55 6.3 Incomplete Differential PID control algorithm 55-57 6.3.1 Algorithm principle 55-57 6.3.2 model control and analysis 57 6.4 differential forward PID control algorithm 57-59 6.4.1 Algorithm The principle 57-58 6.4.2 model control and analysis 58-59 6.5 Dalin control algorithm 59-60 6.5.1 algorithm principle 59 6.5.2 model control 59-60 6.6 Comparison of control algorithms 60-61 Chapter VII issues Summary and Project Prospect 61-63 7.1 topics summarize 61 7.2 using the adaptive control of new ideas 61-63 7.2.1 Adaptive Control Introduction 61-62 7.2.2 self-tuning control in the printing system implementations 62-63 Thanks 63-64 Reference literature 64-66 master's degree papers published during 66-67 master's degree to participate in research projects during 67

Related dissertations

  1. Design and Optimization of Powder Coal Injection Automatic Control System on Blast Furnace
    XiZuo ·Northeastern University ·2010 ·Master's thesis
  2. Research on Dual-Channel Semiconductor Laser Drive Technology
    MoShaoWu ·Central South University ·2013 ·Master's thesis
  3. Distributed Control System of Weifang Slag Cement Production Line
    ZhouXueLiang ·University of Jinan ·2012 ·Master's thesis
  4. Design and Implementation of Can Communication Card on Vxworks Operating System
    LiHanBing ·Southwest Jiaotong University ·2013 ·Master's thesis
  5. Study and Realization of PCI-CAN Bridge Technology
  6. Design and Research of Measuarement and Control Subsystem in Vechile Integrative Electronic System
    HuangLiangLiang ·Southeast University ·2006 ·Master's thesis
  7. Research on Development Strategy for Distributed Control System of Hollysys Company
  8. Development and Application about Data Management System of PVC Glove Production Line
  9. Design of Embedded Data Acquisition and Processing System of MEMS-INS
  10. Design and Temperature Control of Adsorber in the Regeneartion Heating Stage of the Purifier
    CaiZuoQing ·Shanghai Jiaotong University ·2009 ·Master's thesis
  11. Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
    AiTianLun ·Dalian Jiaotong University ·2012 ·Master's thesis
  12. Application of Distributed Control System to the Power Plant
    WangLiMing ·Harbin Engineering University ·2009 ·Master's thesis
  13. Application Research on Industrial Ethernet Based on EtherNet/Ip for the Production of Refined KCL
    GaoZhiGang ·Northeastern University ·2011 ·Master's thesis
  14. Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
    GuXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
    WangBing ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research on Dedicared Multi-axis Motion Controler and the Control Method Built in
    DuWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Tracking Control System Design for Light Universal Optical-Electronic Tracking Platform
  18. Concrete Batching Plant Control System Design
  19. Design of DeviceNet-CANopen Integrated Slave Node
    LiuXueWei ·Tianjin University of Technology ·2013 ·Master's thesis
  20. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis