Microcontroller-Based Temperature Monitoring and Control is an essential and practical guide for all engineers involved in the use of microcontrollers in measurement and control systems. The book provides design principles and application case studies backed up with sufficient control theory and electronics to develop your own systems. It will also prove invaluable for students and experimenters seeking real-world project work involving the use of a microcontroller. Techniques for the application of microcontroller-based control systems are backed up with the basic theory and mathematics used in these designs, and various digital control techniques are discussed with reference to digital sample theory. The first part of the book covers temperature sensors and their use in measurement, and includes the latest non-invasive and digital sensor types. The second part covers sampling procedures, control systems and the application of digital control algorithms using a microcontroller. The final chapter describes a complete microcontroller-based temperature control system, including a full software listing for the programming of the controller. *Provides practical guidance and essential theory making it ideal for engineers facing a design challenge or students devising a project *Includes real-world design guides for implementing a microcontroller-based control systems *Requires only basic mathematical and engineering background as the use of microcontrollers is introduced from first principles
Inhaltsverzeichnis
1;Cover;1 2;Contents;5 3;Preface;11 4;1 Microcomputer Systems;13 4.1;1.1 Introduction;13 4.2;1.2 Microcontroller systems;13 4.3;1.3 Microcontroller features;15 4.4;1.4 Microcontroller architectures;19 4.5;1.5 The PIC microcontroller family;20 4.6;1.6 Minimum PIC configuration;24 4.7;1.7 PIC16F84 microcontroller;28 4.8;1.8 PIC16F877 microcontroller;33 4.9;1.9 Using C language to program PIC microcontrollers;36 4.10;1.10 PIC C project development tools;57 4.11;1.11 Structure of a microcontroller based C program;58 4.12;1.12 Program Description Language;60 4.13;1.13 Example LCD project;63 4.14;1.14 Exercises;65 4.15;1.15 Further reading;66 5;2 Temperature and its Measurement;67 5.1;2.1 Temperature scales;67 5.2;2.2 Types of temperature sensors;68 5.3;2.3 Measurement errors;71 5.4;2.4 Selecting a temperature sensor;73 6;3 Thermocouple Temperature Sensors;75 6.1;3.1 Thermocouple types;78 6.2;3.2 Thermocouple junction mounting;80 6.3;3.3 Thermocouple insulation;80 6.4;3.4 Extension cables;81 6.5;3.5 Thermocouple response times;81 6.6;3.6 Thermocouple styles;82 6.7;3.7 Thermocouple temperature voltage relationships;83 6.8;3.8 The theory of the cold junction compensation;88 6.9;3.9 Microcontroller based practical thermocouple circuits;91 6.10;3.10 PROJECT Measuring temperature using a thermocouple and a microcontroller;92 6.11;3.11 Exercises;96 7;4 RTD Temperature Sensors;99 7.1;4.1 RTD principles;99 7.2;4.2 RTD types;100 7.3;4.3 RTD temperature resistance relationship;101 7.4;4.4 RTD standards;104 7.5;4.5 Practical RTD circuits;108 7.6;4.6 Microcontroller based RTD temperature measurement;111 7.7;4.7 PROJECT Designing a microcontroller based temperature measurement system using an RTD;112 7.8;4.8 Exercises;117 8;5 Thermistor Temperature Sensors;119 8.1;5.1 Thermistor principles;119 8.2;5.2 Thermistor types;120 8.3;5.3 Self-heating;122 8.4;5.4 Thermal time constant;123 8.5;5.5 Thermistor temperature-resistance relationship;123 8.6;5.6 Practical thermistor circuits;128 8.7;5
.7 Microcontroller based temperature measurement;131 8.8;5.8 PROJECT Designing a microcontroller based temperature measurement system using a thermistor;132 8.9;5.9 Exercises;138 9;6 Integrated Circuit Temperature Sensors;141 9.1;6.1 Voltage output temperature sensors;142 9.2;6.2 Current output temperature sensors;144 9.3;6.3 Digital output temperature sensors;146 9.4;6.4 PROJECT Using a digital output sensor to measure the temperature;150 9.5;6.5 Exercises;154 10;7 Digital Control Systems and the z- transform;157 10.1;7.1 The sampling process;158 10.2;7.2 The z-transform;160 10.3;7.3 Inverse z-transform;166 10.4;7.4 The pulse transfer function;169 10.5;7.5 Exercises;180 11;8 Stability;183 11.1;8.1 Jurys stability test for small systems;183 11.2;8.2 The root locus technique;187 11.3;8.3 Digital control algorithms;191 11.4;8.4 Temperature control using digital computers;192 11.5;8.5 Digital realizations;202 11.6;8.6 Realization of the discrete PID controller;206 11.7;8.7 Problems with the standard PID controller;207 11.8;8.8 Choosing a sampling interval;209 11.9;8.9 Exercises;210 12;9 Case Study: Temperature Control Project;213 12.1;9.1 Overview;213 12.2;9.2 The mathematical model;214 12.3;9.3 The circuit diagram;219 12.4;9.4 Identification of the system;220 12.5;9.5 Pulse width output of the microcontroller;221 12.6;9.6 Design of a PI controller;222 12.7;9.7 Design of a PID controller;227 12.8;9.8 Compensating for heat losses;231 12.9;9.9 Other considerations;231 12.10;9.10 Exercises;231 13;Glossary;243 14;Appendix A Platinum RTD Sensor Resistances;233 15;Appendix B ASCII Code;235 16;Appendix C FED C Compiler Library Functions;239 17;Index;247