A practical guide to programming for data acquisition and measurement - must-have info in just the right amount of depth for engineers who are not programming specialists.
This book offers a complete guide to the programming and interfacing techniques involved in data collection and the subsequent measurement and control systems using an IBM compatible PC. It is an essential guide for electronic engineers and technicians involved in measurement and instrumentation, DA&C programmers and students aiming to gain a working knowledge of the industrial applications of computer interfacing.
A basic working knowledge of programming in a high-level language is assumed, but analytical mathematics is kept to a minimum. Sample listings are given in C and can be downloaded from the Newnes website.
- Practical guidance on PC-based acquisition
- Written for electronic engineers and software engineers in industry, not academics or computer scientists
- A textbook with strong foundations in industry
Inhaltsverzeichnis
1;Cover;1 2;Contents;6 3;Preface;10 3.1;A note on software examples;11 4;Part 1: Introduction to Data Acquisition on the PC;14 4.1;Chapter 1. The PC as a platform for data acquisition;16 4.1.1;1.1 Types of PC;17 4.1.2;1.2 The processor;18 4.1.3;1.3 Memory;24 4.1.4;1.4 Input/output ports;28 4.1.5;1.5 Buses and adaptor card slots;30 4.2;Chapter 2. Software considerations;39 4.2.1;2.1 An overview of DA&C software;39 4.2.2;2.2 Data acquisition and control in real time;43 4.2.3;2.3 Implementing real-time systems on the PC;58 4.2.4;2.4 Robustness, reliability and safety;74 5;Part 2: Sampling Fundamentals;82 5.1;Chapter 3. Sensors and interfacing;84 5.1.1;3.1 Introduction;84 5.1.2;3.2 Digital I/O;89 5.1.3;3.3 Sensors for analogue signals;94 5.1.4;3.4 Handling analogue signals;108 5.1.5;3.5 Digitization and signal conversion;116 5.1.6;3.6 Analogue measurements;137 5.1.7;3.7 Timers and pacing;141 5.2;Chapter 4. Sampling, noise and filtering;144 5.2.1;4.1 Sampling and aliasing;144 5.2.2;4.2 Noise and filtering;154 6;Part 3: I/O Techniques and Buses;174 6.1;Chapter 5. The interrupt system;176 6.1.1;5.1 Interrupt vectors;177 6.1.2;5.2 Hardware interrupts;182 6.1.3;5.3 Software interrupts and processor exceptions;198 6.1.4;5.4 Interrupt priorities;202 6.1.5;5.5 Writing interrupt handlers;203 6.1.6;5.6 Re-entrancy and accessing shared resources;212 6.1.7;5.7 Interrupt response times;213 6.2;Chapter 6. Data transfer;218 6.2.1;6.1 Data-acquisition interface devices;218 6.2.2;6.2 Data transfer techniques and protocols;224 6.2.3;6.3 Buffers and buffered I/O;257 6.3;Chapter 7. Parallel buses;264 6.3.1;7.1 Introduction;265 6.3.2;7.2 Data acquisition using a parallel bus;266 6.3.3;7.3 The PCs parallel port;267 6.3.4;7.4 The IEEE-488 (GPIB) bus;283 6.4;Chapter 8. Serial communications;297 6.4.1;8.1 Some common terms;297 6.4.2;8.2 Introduction to asynchronous communication;299 6.4.3;8.3 Data acquisition via a serial link;304 6.4.4;8.4 Serial interface standards;309 6.4.5;8.5 Asynchronous
serial I/O on the PC;321 7;Part 4: Interpreting and Using Acquired Data;356 7.1;Chapter 9. Scaling and linearization;358 7.1.1;9.1 Scaling of linear response curves;359 7.1.2;9.2 Linearization;369 7.1.3;9.3 Polynomial linearization;370 7.1.4;9.4 Interpolation between points in a look-up table;386 7.1.5;9.5 Interpolation vs. power-series polynomials;394 7.1.6;9.6 Interactive calibration programs;394 7.1.7;9.7 Practical issues;396 7.2;Chapter 10. Basic control techniques;400 7.2.1;10.1 Terminology;400 7.2.2;10.2 An overview of control systems;401 7.2.3;10.3 Programmable logic controllers;403 7.2.4;10.4 Safety and reliability of control systems;404 7.2.5;10.5 Discontinuous control systems;405 7.2.6;10.6 Continuous control systems;409 8;Part 5: Examples;422 8.1;Chapter 11. Example projects;424 8.1.1;11.1 Dimensional gauging of railway carriage wheels;424 8.1.2;11.2 In-situ sensor calibration on a tube-straightening machine;426 8.1.3;11.3 Dimensional gauging of turbine blades;429 8.1.4;11.4 Torsional rigidity testing of car bodies;433 8.1.5;11.5 Winch testing system;436 8.1.6;11.6 Brake actuator test system;439 8.1.7;11.7 Monitoring of bush-insertion load;442 8.1.8;11.8 Laboratory furnace temperature control;445 8.1.9;11.9 Thermoluminescence spectrometry;447 9;Part 6: Appendices;452 9.1;Appendix A. Adaptor installation reference;454 9.2;Appendix B. Character codes;460 10;References;466 11;Index;470