Contents

Preface

1 Introduction

1.1 The Idea of System Control

1.2 Computer in the Loop

1.3 Centralized and Distributed Control Systems

1.4 Scada Systems

1.5 Hardware Requirements for Computer Control

1.5.1 General Purpose Computers

1.5.2 Microcontrollers

1.6 Software Requirements for Computer Control

1.6.1 Polling

1.6.2 Using External Interrupts for Timing

1.6.3 Using Timer Interrupts

1.6.4 Ballast Coding

1.6.5 Using an External Real-Time Clock

1.7 Sensors Used in Computer Control

1.7.1 Temperature Sensors

1.7.2 Position Sensors

1.7.3 Velocity and Acceleration Sensors

1.7.4 Force Sensors

1.7.5 Pressure Sensors

1.7.6 Liquid Sensors

1.7.7 Air Flow Sensors

1.8 Exercises

Further Reading

2 System Modelling

2.1 Mechanical Systems

2.1.1 Translational Mechanical Systems

2.1.2 Rotational Mechanical Systems

2.2 Electrical Systems

2.3 Electromechanical Systems

2.4 Fluid Systems

2.4.1 Hydraulic Systems

2.5 Thermal Systems

2.6 Exercises

Further Reading

3 The PIC Microcontroller

3.1 The PIC Microcontroller Family

3.1.1 The 10FXXX Family

3.1.2 The 12CXXX/PIC12FXXX Family

3.1.3 The 16C5X Family

3.1.4 The 16CXXX Family

3.1.5 The 17CXXX Family

3.1.6 The PIC18CXXX Family

3.2 Minimum PIC Configuration

3.2.1 External Oscillator

3.2.2 Crystal Operation

3.2.3 Resonator Operation

3.2.4 RC Operation

3.2.5 Internal Clock

3.3 Some Popular PIC Microcontrollers

3.3.1 PIC16F84 Microcontroller

3.3.2 PIC16F877 Microcontroller

3.4 Exercises

Further Reading

4 Programming PIC Microcontrollers in C

4.1 PICC Lite ...

Get Microcontroller Based Applied Digital Control now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.