Intelligent Sensor Design Using the Microchip dsPICBy
- Creed Huddleston
Intelligent seonsors are revolutionizing the world of system design in everything from sports cars to assembly lines. These new sensors have abilities that leave their predecessors in the dust! They not only measure parameters efficiently and precisely, but they also have the ability to enhance and interupt those measurements, thereby transformng raw data into truly useful information.Unlike many embedded systems books that confine themselves strictly to firmware and software, this book also delves into the supporting electronic hardware, providing the reader with a complete understanding of the issues involved when interfacing to specific types of sensor and offering insight into the real-world problems designers will face. Meaningful software examples are implemented in both C and assembly language, and the source code is included on the accompanying CD. The examples provide a complete, easily extensible code framework for sensor-based applications as well as basic support routines that are often ignored or treated superficially. The goal throughout is to make readers truly productive as quickly as possible while providing the thorough understanding necessary to design robust systems.Readers will gain in-depth, real-world design information that will help them be more productive and get up to speed on sensor design skills more quickly. The book provides designers and students a leg up in a relatively new design area, imparting knowledge about a new microcontroller that offers some of the functionality of a DSP chip.
Embedded systems engineers and programmers working onsensor design and interface in a number of markets, including automotive, aerospace, industrial controls, construction; electrical and software engineering students, electronics technicians working in embedded systems, inhouse training departments of electronicsmanufacturers
Published: December 2006
"Although Huddleston specifically covers the dsPIC in this book, it is general enough to be used as an introduction on digital sensors for any DSP or DSC platform. Huddleston does get into dsPIC specifics, though he assumes a general understanding of Microchipâs DSC platform. Huddleston does cover some of the non-signal processing aspects of the dsPIC like communication support...If you plan on using the dsPIC, youâll likely be pulling this one off the shelf for reference."- William Wong, Electronic Design
- Chapter 1: What ARE Intelligent Sensors, and Why Should I Care About Them?1.1 Conventional Sensors Aren't Perfect1.2 First Things First--Digitizing the Sensor Signal1.3 Next Step--Add Some Intelligence1.4 Finish Up with Quick and Reliable Communications1.5 Put It All Together, and You've Got an Intelligent Sensor1.6 Why Don't We Make Everything IntelligentChapter 2: Intuitive Digital Signal Processing2.1 Foundational Concepts for Signal Processing2.2 Issues Related to Signal Sampling2.3 How to Analyze a Sensor Signal Application2.4 A General Sensor Signal-processing Framework2.5 SummaryChapter 3: Underneath the Hood of the dsPIC DSC3.1 The dsPIC DSC's Data Processing Architecture3.2 Interrupt Structure3.3 The On-chip Peripherals3.4 SummaryChapter 4: Learning to be a Good Communicator4.1 Types of Communication4.2 Conmmunication Options Available on the dsPIC30F4.3 High-level Protocols4.4 SummaryChapter 5: A Basic Toolkit for the dsPIC DSC5.1 The Application Test Bed5.2 Overview of the Firmware Framework5.3 Implementation of the Framework Modules5.4 SummaryChapter 6: Sensor Application: Temperature Sensor6.1 Types of Temperature Sensors6.2 Key Aspects of Temperature Measurement6.3 Application Design6.4 Hardware Implementation6.5 Firmware Implementation6.6 SummaryChapter 7: Sensor Application: Pressure and Load Sensors7.1 Types of Load and Pressure Sensors7.2 Key Aspects of Load Measurement7.3 Application Design7.4 Firmware Implementation7.5 SummaryChapter 8: Sensor Application: Flow Sensors8.1 Types of Flow Sensors8.2 Key Aspects of Flow Measurement8.3 Application Design8.4 Hardware Implementation8.5 Firmware Implementation8.6 SummaryChapter 9: Where Are We Headed? 9.1 Technology Trends9.2 Economic Trends9.3 SummaryAppendix A: The Software on the Accompanying CDA.1 On-disk Website of ResourcesA.2 Source Code for the Three ApplicationsAppendix B: Initialization of the dsPIC DSC and the System Start-up CodeAppendix C: Buffered, Interrupt-driven Serial I/OC.1 Pseudo-code for the FrameworkC.2 System InitializationC.3 Readign Data from the InterfaceC.4 Writing Data to the InterfaceIndex