Software technology for electromechanical integration systems

Author: Fang Jianjun
Publisher:
Publish Date: 2005-05-01
Features: This book is written from a practical perspective, providing a comprehensive and systematic introduction to the fundamental knowledge and related technologies required for developing software for mechatronics systems. It includes programming methods, software engineering methods, typical data structures, software reliability and testing techniques, human-machine interfaces, electrical interface technologies, and software anti-interference techniques. The content of the book is presented in a step-by-step and easy-to-understand manner. To help readers deepen their understanding of the fundamental theories and technologies of software, numerous application examples are provided. This book is suitable for engineering technicians in the field of mechatronics and can also serve as a teaching reference for students majoring in industrial automation, mechatronics, and computer applications.
Table of Contents
Table of Contents
Chapter 1 Introduction
1.1 The Meaning of Mechatronics 1
1.2 Computers in Mechatronics Systems 2
1.3 Software in Mechatronics Systems 3
1.4 Application Examples of Software in Mechatronics Systems 4
Chapter 2 Programming
2.1 Programs and Algorithms 8
2.2 Structured Programming 9
2.2.1 Structured Programming Methods 9
2.2.2 Structured Programming Tools 12
2.2.3 Structured Programming 15
2.3 Object-Oriented Programming 15
2.3.1 Object-Oriented Methods 15
2.3.2 Object-Oriented Programming 20
2.4 Object-Oriented Software Development Tools—Visual C++ 23
2.4.1 Classes and Objects 23
2.4.2 Inheritance 24
2.4.3 Polymorphism 31
2.4.4 Friends 34
2.4.5 Operator Overloading 34
2.4.6 Visual C++ Class Library 37
2.4.7 Templates 38
Chapter 3 Typical Data Structures
3.1 Stack 43
3.1.1 Stack Class 44
3.1.2 Stack Application Examples 45
3.2 Queue 49
3.2.1 Circular Queue 49
3.2.2 Circular Queue Class 50
3.2.3 Priority Queue 51
3.3 Linked Lists 53
3.3.1 Single-Linked List 53
3.3.2 Circular Linked List 57
3.3.3 Doubly-Linked List 58
3.3.4 Application Example—Josephus Problem 60
3.4 Binary Trees 62
3.4.1 Tree Concepts 62
3.4.2 Concepts and Binary Tree Class 63
3.4.3 Binary Search Trees 66
3.5 Standard Template Library (STL) 70
3.5.1 Introduction to STL 70
3.5.2 Containers 71
3.5.3 Iterators 75
3.5.4 Algorithms 78
Chapter 4 Software Engineering Methods
4.1 Software Life Cycle 82
4.2 Feasibility Study 83
4.2.1 Content of Feasibility Study 83
4.2.2 Steps of Feasibility Study 84
4.2.3 Analysis Tools for Feasibility Study 85
4.3 Requirements Analysis 87
4.3.1 Data Flow Modeling 87
4.3.2 Data Dictionary 90
4.3.3 Process Description 91
4.4 System Design 93
4.4.1 Basic Principles of Software Design 94
4.4.2 Software Structure 97
4.4.3 Data Flow Diagram-Oriented Design 99
4.4.4 Data Flow Diagram-Oriented Design Examples 102
4.5 Detailed Design 103
4.5.1 Warnier Programming Method 104
4.5.2 Warnier Programming Examples 104
4.6 Coding 109
4.7 Application Examples 110
4.7.1 Composition of CNC Systems for Laser Cutting Machines 110
4.7.2 Basic Functions of CNC Systems for Laser Cutting Machines 111
4.7.3 Software Design 111
Chapter 5 Software Reliability and Testing Techniques
5.1 Software Reliability 117
5.1.1 Meaning of Software Reliability 117
5.1.2 Software Reliability Metrics 117
5.1.3 Software Reliability Analysis 118
5.2 Software Testing Techniques 119
5.2.1 Software Testing Methods 119
5.2.2 Software Test Cases 120
5.2.3 Software Testing Process 123
5.3 Software Debugging 127
Chapter 6 Human-Machine Interface
6.1 Design Principles for User-Friendly Interfaces 130
6.2 Human-Machine Interaction in Chinese Environment 131
6.3 Design and Programming of Keyboards 135
6.3.1 Design and Programming of Mechanical Keyboards 135
6.3.2 Design and Programming of DIP Switches 139
6.3.3 Design and Programming of Touchscreens 141
6.4 Interface and Programming of LED and LCD Displays 145
6.4.1 Interface Design and Programming of LED Displays 145
6.4.2 Interface Design and Programming of LCD Displays 151
6.5 Integrated Interface of Keyboards and Displays 161
6.6 Interface and Programming of Thermal Printers 166
6.7 Graphical User Interface Design 195
Chapter 7 Electrical Interface Technology
7.1 Input/Output Signals in Mechatronics Systems 203
7.2 Design of Digital Input/Output Channels 205
7.2.1 Parallel Input/Output Interface 205
7.2.2 Serial Input/Output Interface 210
7.3 Design of Analog Input/Output Channels 215
7.3.1 Program Design for Analog Input Channels 216
7.3.2 Program Design for Analog Output Channels 219
Chapter 8 Software Anti-Interference Design
8.1 Anti-Interference Issues in Mechatronics Systems 221
8.2 Software Anti-Interference Measures 222
8.2.1 Software Anti-Interference for Data Acquisition Systems 222
8.2.2 Software Anti-Interference for Program Execution Disorders 224
8.2.3 Software Anti-Interference for Control State Disorders 227
8.3 Examples of Software Anti-Interference Design 228

📌 Related Posts