微机接口技术实验教程(英文版)
作者 : (美)Stephen E.Derenzo
丛书名 : 经典原版书库
出版日期 : 2004-01-01
ISBN : 7-111-13129-0
定价 : 59.00元
教辅资源下载
扩展信息
语种 : 英文
页数 : 610
开本 : 16开
原书名 : Practical Interfacing in the Laboratory: Using a PC for Instrumentation, Data Analysis, and Control
原出版社: Cambridge University Press
属性分类: 教材
包含CD :
绝版 : 已绝版
图书简介

本书是作者在美国加州大学伯克利分校15年教学经验的结晶。它对PC机接口实验过程进行了详尽的阐述。具体涉及到的问题有:如何设计出实验所需的电子电路;如何编写计算机程序来测量,分析和显示实际物理量,如位移。温度、压力。光波波长等等。全书不仅包含大量的实验习题,而且附录的内容也十分丰富,提供有计算机体系结构和接口方面的实用信息,并附有完整的图表说明。书中主题包括模拟放大器、信号处理。模/数及数/模转换。电子传感器、激励器。数字模拟接口电路、数据分析与控制等。
  在阅读本书前,读者需要已掌握基本的电子学知识。
  本书可用做大学电子技术和微机接口技术实验教材,也可供相关领域内的专业技术人员、研究人员阅读.

图书前言

This text describes in practical terms how to use the microcomputer to sense real-world quantities such as temperature, force, sound, light, etc., to analyze the data rapidly, to display the results, or to use the results to perform a control function. It was written for practicing engineers and scientists, and as a textbook for laboratory courses in electronic
transducers and microcomputer interfacing.
  Our approach takes full advantage of the availability of relatively low-cost micro-computers that are powerful enough to support high,speed parallel input/output (I/O)ports, data-acquisition circuit boards, graphical operating systems, high-level programming languages, and fast double-precision calculations. This book shows in practical terms the range of problems in data acquisition, analysis, display, and control that can be tackled in a cost-effective manner without delving into the bus protocol or native language of a particular microprocessor.
  The book contains five chapters, covering digital tools, analog tools, conversion between analog and digital signals, sensors and actuators, and data analysis and control.
The 27 laboratory exercises can be used either in a college-level laboratory course or as working examples for practicing engineers and scientists who wish to apply sensor, low-level amplification, and microcomputer principles in their work in a practical and immediate way.
  This material was developed for two one-semester laboratory courses in the Electrical Engineering and Computer Science Department at the University of California in Berkeley, EECS 145L: "Electronic Transducer Laboratory" and EECS 145M: "Microcomputer Interfacing Laboratory:' The purpose of these two courses is to provide upper-level undergraduate students with the tools needed to sense and control "real-world" quantities, such as temperature and force, as well as to display the results of "real-time" analyses, such as least-squares fitting, the Student's t test, fast Fourier transforms, digital filtering, etc. It is assumed that the students have had some exposure to elementary analog and digital electronics, differential calculus and linear algebra, and the C programming language.
  Over the years, we have used several different microcomputer systems in the laboratory, and the laboratory exercises were designed to be as machine-independent as possible. Special instructions (such as Appendices E and F) were provided for the particular counter/timer, parallel I/O port, and data-acquisition board that were used.
  A recent advance is software support in the form of C-callable drivers that make it relatively easy to perform single-word and block-data acquisitions and transfers in the Windows NT environment.
  The C programming language was chosen because it is available for almost all microcomputers and is well-suited to data acquisition, analysis, and control. It provides word and byte I/O, bit manipulation, powerful conditional branching and data structures,a wide choice of accuracy and bit length for integer and floating point numbers, and high-speed execution.
  Chapter 1, "Digital tools," briefly describes the overall organization of the microcomputer, binary and 2's complement number systems, and the digital components needed to perform data acquisition and control, such as digital timers, latches, registers, tri-state buffers, and parallel I/O ports. It goes on to describe the digital and control aspects of several data-acquisition procedures, and discusses the level of handshaking needed for various applications.
  Laboratory Exercise 1 introduces the Windows NT operating system, the C compiler/editor, and the many ways that binary bit patterns can be interpreted as numerical quantities. Laboratory Exercise 2 provides examples using the microprocessor timer to measure human reaction times, and Laboratory Exercise 3 introduces the parallel I/O ports, reading switches, and controlling lights.
  Chapter 2, "Analog tools," covers commonly used op-amp circuits, the instrumentation amplifier used for low-level differential amplification of sensor signals, noise sources, and the analog signal processing that can be used to enhance the signal-to-noise ratio. It goes on to describe a class B power amplifier that can be used to drive actuators.
  Laboratory Exercises 4 and 5 explore op-amp circuits, instrumentation amplifiers,differential amplification, and noise sources, including electromagnetic interference.Laboratory Exercise 6 explores analog signal processing using the op amp, including active high-pass, low-pass, and notch filters.
  Chapter 3, "Analog - digital conversion" covers the data-conversion components needed to perform data acquisition and control, such as digital-to-analog (D/A) and analog-to-digital (A/D) converters, the sample-and-hold amplifier, and the comparator.It describes the commonly used methods for data sampling and introduces the notion of frequency aliasing resulting from inadequate sampling. (Considerations of aliasing in the Fourier domain are deferred to Chapter 5.) Chapter 3 lists and describes several commercially available circuit boards.
  Laboratory Exercise 7 uses a commercial analog I/O board to provide an overview of both digital-to-analog and analog-to-digital conversion for those students who will not be doing Laboratory Exercises 8 and 9. The conversion between analog and digital is explored in Laboratory Exercises 8 and 9, using D/A and A/D integrated circuit chips. Laboratory Exercise 8 involves interfacing a D/A converter to a parallel input port and waveform generation. Laboratory Exercise 9 involves interfacing an A/D converter to a parallel output port, using a hardware "strobe" and "ready for data"and "data available" handshaking protocol. Laboratory Exercise 10 uses a commercial data-acquisition board for the periodic sampling of waveforms and demonstrates the concept of frequency aliasing in the time domain.
  Chapter 4, "Sensors and actuators" covers the sensors (the first element in manydata-acquisition systems), the real-world quantities that they sense, the nature of the
signals (and the noise) that they produce, and actuators (essential in any control system).
  Laboratory Exercises 11-14 explore the basic electronic transducers used to measure position, temperature, strain, force, and light. The thermoelectric heat pump is explored
in Laboratory Exercise 15. Laboratory Exercise 16 investigates the ac and dc electrical properties of bare metal and Ag(AgCI) electrodes. Laboratory Exercises 17-19 explore physiological signals from the heart, skeletal muscles, and eyes.
  Chapter 5, "Data analysis and control," covers data analysis, including statistical analysis; Student's t test; least-squares and Chi-squared fitting; continuous, discrete,and fast Fourier transforms, and some algorithms used for the control of real-world quantities.
  Laboratory Exercise 20 explores analog-to-digital conversion for the storage ofanalog signals, digital-to-analog conversion for the analog recovery of those signals,and least-squares fitting for determining the accuracy of signal recovery. Laboratory Exercise 21 involves the sampling of sine, square, and triangle waves and the computa-tion of their fast Fourier transforms (FFT). These techniques axe applied in Laboratory Exercise 22 to the sampling and FFT of the human voice. Laboratory Exercise 23 compares analog to real-time digital filtering and Laboratory Exercise 24 demonstrates how the microcomputer can measure the impulse response of a linear, time-invariant system and use FFT techniques to determine the digital filter that can compensate for signal distortion caused by the system, provided that the frequency response of the system meets certain requirements. Laboratory Exercise 25 provides experience with analog temperature sensing and control. Laboratory Exercise 26 provides experience with computer-based digital temperature sensing and control using an electrical resis-tance oven and several algorithms. Laboratory Exercise 27 is similar to Laboratory Exercise 26, except that a thermoelectric heat pump is used with both the ability to heat and cool actively. An essential component is the LM12 power op amp.
  In several laboratory exercises, a number of related circuits are built and examined.
  The equipment lists at the beginning of these exercises include all the parts needed for the students to build all the circuits before coming to the laboratory. As laboratory time is usually very limited, this approach works better than providing only the minimum number of parts needed and having the students dismantle one circuit during the laboratory period before they can build the next.
  Each chapter is provided with problems derived from those used in midterm and final examinations.
  Defined terms appear in the index followed by the word (definition) and the page number where they are first used. On that page, the term appears in bold face in the text
that defines it.
  Appendix A provides some physical and electronic units and constants for the prob-lems at the end of the chapters, and Appendix B discusses issues of error propagation,and electrical shielding and grounds. Appendix C summarizes some hints useful in C programming. Appendix D provides C code listings and flow charts of some numerical methods, including the fast Fourier transform, nonlinear function minimization (used to fit curves to data), numerical integration using adaptive quadrature, and function inversion using both Newton's method and quadratic approximation. A program to compute the probability of exceeding Student's t is given as an example.
  Appendix E describes the hardware and software needed to use the Data Translation DT3010 PCI plug-in board, and Appendix F describes how to use HP VEE to record waveforms on a digital oscilloscope. Appendix G discusses some potential electrical hazards and methods used to prevent them. Appendix H lists standard resistor and capacitor values and provides resistor color codes. Appendix I lists the ASCII character codes. Last is a glossary defining the technical terms used in the book.Guide for Ute instructor Although the entire book would serve for a full-year course, it is also possible to cover portions of the material in separate one-semester courses, as we do at Berkeley.
  A one-semester course on digital interfacing, data analysis, and control would include Chapters 1, 3, and 5, and Laboratory Exercises 1-3, 8-10, 20-24, and 26 or 27. A one-semester course on sensors, low-level amplification, and analog signal processing would include Chapters 2 and 4, and Laboratory Exercises 4-6 and 11-19.Portions of Chapter 5 and Laboratory Exercise 25 would provide an introduction to analog control.
  A one-semester course on bioengineering would include Chapters 2, 4, and 5, and selections from Laboratory Exercises 2, 4-7, 11-19, and 20-22, depending on course emphasis.
  A solutions set is available for this book - contact solutions@cambridge.org for details.

作者简介

(美)Stephen E.Derenzo:Stephen E.Derenzo: 美国加州大学伯克利分校电气工程与计算机科学系教授,也是美国劳伦斯国家实验室的资深科学家。15年来,他一直致力于电子电路、电子传感器和微机接口方面的教学工作。本书充分凝聚了他从这些课程的教学中总结出来的经验和方法。他已独立或合作发表了150多篇论文或论著。他还是IEEE会士,并在1992年被IEEE核子与等离子体学会授予年度杰出贡献奖。

图书目录

Preface
Acknowledgments
Digital tools
1.1 Introduction
1.2 The microcomputer
1.3 Number systems
1.4 Digital building blocks
1.5 Digital counters/timers
1.6 Parallel and serial input/output ports
1.7 Digital data-acquisition procedures
1.8 Switch debouncing
1.9 Digital interfacing standards
1.10 Problems
1.11 Additional reading
Laboratory exercises
1.  Introduction to C programming
2.  Measuring event times
3.  Digital interfacing: switches and lights
2  Analog tools
2.1 Introduction
2.2 Operational-amplifier circuits
2.3 Op-amp characteristics
2.4 Instrumentation and isolation amplifiers
2.5 Noise sources
2.6 Analog filtering
2.7 The power amplifier
2.8 Problems
2.9 Additional reading
Laboratory exercises
4. Operational-amplifier circuits
5. Instrumentation amplifiers
6. Analog filtering
3  Analog - digital conversion and sampling
3.1 Introduction
3.2 Digital-to-analog converter circuits
3.3 Analog-to-digital converter circuits
3.4 The sample-and-hold amplifier
3.5 Sampling analog waveforms
3.6 Frequency aliasing
3.7 Available data-acquisition systems
3.8 Problems
3.9 Additional reading
Laboratory exercises
7.  Introduction to A/D and D/A conversion
8.  D/A conversion and waveform generation
9.  A/D conversion and periodic sampling
10. Frequency aliasing
4  Sensors and actuators
4.1 Introduction
4.2 Position and angle sensors
4.3 Temperature transducers
4.4 Strain-sensing elements
4.5 Force and pressure transducers
4.6 Measuring light
4.7 Producing visible light
4.8 Ionic potentials
4.9 The detection and measurement of ionizing radiation
4.10 Measuring time
4.11 Problems
4.12 Additional reading
Laboratory exercises
11. Measuring angular position
12. Measuring temperature
13. Measuring strain and force
14. Measuring light with a photodiode
15. The thermoelectric heat pump
16. Electrodes and ionic media
17. The human heart
18. The electromyogram (EMG)
19. The electrooculogram (EOG)
5  Data analysis and control
5.1 Introduction
5.2 The Gaussian-error disti-ibution
5.3 Student's t test
5.4 Least-squares fitting
5.5 The chi-squared statistic
5.6 Solving nonlinear equations
5.7 Monte Carlo simulation
5.8 Fourier transforms
5.9 Digital filters
5.10 Control techniques
5.11 Problems
5.12 Additional reading
Laboratory exercises
20. Analog - digital conversion and least-squares fitting
21. Fast Fourier transforms of sampled data
22. Fast Fourier transforms of the human voice
23. Digital filtering
24. Process compensation using Fourier deconvolution and digital filtering
25. Analog temperature control using a resistive heater
26. Temperature control using the computer and a resistive heater
27. Temperature control using the computer and a thermoelectric heat pump
Appendix A Grounding and shielding
A.1 Introduction
A.2 Interference noise due to common impedance
A.3 Interference noise due to capacitive coupling
A.4 General rules to follow
Appendix B Experimental uncertainties
B.1 Multimeter accuracy
B.2 Propagation of random error
Appendix C C programming tips
C.1 Declare all variables
C.2 Arithmetic statements
C.3 Conditional tests
C.4 Conditional operators
C.5 Indexed looping
C.6 Bitwise logical operators
C.7 Increment and decrement operators
C.8 The printf statement
C.9 Defining your own functions
C.10 "Including" your own functions
C.11 Opening and writing to files of arbitrary name
C.12 Using library functions
C.13 Allocating large storage arrays
C.14 General format rules for C programs
Appendix D Numerical methods and C functions
D.1 Introduction
D.2 Fast Fourier transform
D.3 Minimization function PARFIT
D.4 The uncertainty estimation function VARFIT
D.5 Numerical evaluation of functions defined by integrals
D.6 Function inversion using Newton's method
D.7 Function inversion using quadratic approximation
D.8 Random number generator
Appendix E Summary of Data Translation DT3010 PCI plug-in card
E.1 Introduction
E.2 Parallel output
E.3 Parallel input

教学资源推荐
作者: 朱敏 甘启宏 邓韩彬 主编
作者: 吴建平
作者: [加]约翰·沃特罗斯(John Watrous) 著
参考读物推荐
作者: W.Curtis Preston
作者: 占君 张倩 满谦 等编著