Bookmark and Share Printer-friendly version Email to a Friend

Precision analog acquisition system can fit in pocket

( 01 Dec 2011 )
Zoltan Gingl, University of Szeged, Szeged, Hungary; Edited by Paul Rako and Fran Granville, EDN

This Design Idea allows you to connect many types of sensors to the circuit’s two analog-input channels, control the device and read measurement on a USB host. All you need is to combine a mixed-signal microcontroller, a USB UART and a novel adaptable analog sensor-input circuit. Powering the circuit is the USB connection. The device can be controlled from your computer using simple commands and even terminal software can make the measurements. Easy programming can be easily done using the 8051 core together with IDEs, debuggers, C compilers and other freely available tools.

The design is based on an $8 microcontroller that features an 8051 architecture, a programmable-gain amplifier (PGA) and a 24-bit sigma-delta ADC (Figures 1, 2 and 3). Microcontroller IC1 has an input multiplexer allowing differential or single-ended mode. It also has two DAC outputs and can provide five unassigned digital-I/O pins (Figure 1). One output pin drives D1 under program control. The remaining digital pins are used to configure the two analog-input ports. You also send the microcontroller’s reference output to one of the analog-input ports. Four remaining digital pins interface with the USB’s UART chip.







A 3.3V linear regulator, IC2, powers the microcontroller (Figure 2). You power USB chip IC1 directly from the USB port through a ferrite bead and a filter network. This popular and reliable USB UART chip lets you communicate with a computer using any operating system. Op amp IC4 buffers the microcontroller’s reference output (Figure 3).

Two configurable analog ports allow you to connect many sensor types using two three-input connectors, each of which has a ground pin (Figure 4). One ground pin provides 3.3V power, and the other outputs the buffered reference voltage—nominally, 2.5V. Wire the central pins of the two connectors to the microcontroller’s analog-input multiplexer. In this way, you can either measure two single-ended voltages or use these two connectors as differential inputs. Both inputs have individually switched pullup and pulldown resistors, R10, R11, R14 and R15.



The analog-input architecture allows you to directly connect many kinds of sensors. For example, you can connect a thermistor or a photoresistor between the ground and the input pins and switch on the pullup resistor to form a voltage divider; the on-chip ADC can directly digitize this voltage divider’s output (Figure 5). This approach also features ratiometric operation, meaning that the ADC uses the same reference as the driving voltage of the voltage divider. Current-output sensors can also be connected as you would connect photodiodes—directly between the ground and the input pins. Switch the pulldown resistor so that the photocurrent develops a voltage.



The high-resolution ADC and PGA allow direct connection of thermocouples (Figure 6). You achieve the required bias point by switching on both the pullup and the pulldown resistors on one channel. You can use directly connected bridge-type sensors, such as load cells and pressure sensors, by switching off all of the internal resistors. In these cases, you should operate the ADC in differential mode. Leaving all of the switches open also suits use in potentiometer inputs or IC sensors, such as the SS49E Hall-effect magnetic-field sensor.

When using directly connected sensors, you should consider source impedance, signal range, filtering and noise pickup. You might need to add external buffer amplifiers or a more precise voltage reference. The availability of a reference voltage and 3.3V power on the analog ports makes this setup possible. You can also use the DAC outputs in connector J1 to trim a value or to provide an arbitrary voltage to the sensors. Note that J1 also has five digital-I/O pins (Figure 1).

The design fits into a 2.36×1.38in enclosure (Figure 7). The underside of the PCB holds several passive components (Figure 8).




 
Printer-friendly version Email to a Friend
 
Article Rating 
Average Rate: No rating yet
 
Poor Quite Good Good Very Good Excellent
 
 
ADVERTISEMENT
 
Related Content 
 
 
ON-DEMAND WEBCASTS


 
 
Highest Rated  
Feedback Loop  

ADS BY GOOGLE 
 
 
 
ADVERTISEMENT
Press Release 
 
TECHNOLOGY NEWS
 
 
 
PRODUCT NEWS
 
FEATURED SPONSORS
 
 
 
DESIGN CENTERS
 
ADVERTISEMENT
     
Reference Designs 
   
     
 
 
 
 

 

RSS
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

POLL
What type of environmental regulation do you think will be most beneficial for the tech industry?
Proper recycling and disposal
Push for power efficiency and energy conservation
Chemical/lead regulation
View results


 
     
 
Power Technology E-newsletter 
Power.org Releases Power Architecture 32-bit Application Binary Interface Supplement
EDNA, May 11
POL Regulators Designed for Energy-efficient Computing
EDNA, March 11
Fairchild Revolutionizes Power Savings
EDNA, January 11
Lattice Transforms Board Power and Digital Management
EDNA, November 10
 
Analog E-newsletter 
12V Dual-channel Synchronous Buck Converter Features Integrated FETs
EDNA, February 10
Power MOSFETs features reduced top-side thermal impedanc
EDNA, January 10
 
     
 
KNOWLEDGE CENTER
 
Texas Instruments: DaVinci™ Technology
 
Texas Instruments: Safe Bet Series
 
 
INDUSTRY LINKS
 
Photonics Association (Singapore)
Singapore Industrial Automation Association (SIAA)
Taiwan Semiconductor Industry Association (TSIA)
 
 
OUR SPONSORS
 






Keithley Instruments
With more than 60 years of measurement expertise, Keithley Instruments has become a world leader in advanced electrical test instruments and systems from DC to RF (radio frequency). Our products solve emerging measurement needs in production testing, process monitoring, product development, and research...
 
 
 
     
 

EDN India | EDN Taiwan | EDN Korea | EDN Japan | EDN China | EDN | EDN Europe

 
ABOUT EDN Asia | CONTACT US
   
© 2012 EDN Asia All rights reserved.