Free Print Subscription Printer-friendly version Email to a Friend

Microprocessor, linear potentiometer deliver echo pulses

( 01 Aug 2005 )
by Abel Raynus, Armatron International Inc, Malden, MA

For designers of radar or sonar echo-ranging systems, an echo imitator can ease development and adjustment chores by generating a controllable pulse that’s similar to an incoming echo signal. A decade ago, you’d probably use several 555 timers and their associated RC circuits to design an echo imitator. As Figure 1 shows, today’s version uses only two components: linear potentiometer R1 and a small, low end microcontroller, IC1. An external trigger pulse applied to IC1’s pA0 input pin triggers the first of two pulses delivered to output pin pA1. For ultrasonic-receiver testing, the optional first pulse imitates 2msec of post-trigger sensor ringing that limits the minimum reception distance. You can also use this pulse to synchronize an oscilloscope.



Linear potentiometer R1, a Panasonic model EVA-JGTJ20B14, sets the echo pulse’s delay time. Microcontroller IC1, a Freescale MC68HC908QT2 8-bit Flash memory device, includes four 8-bit successive – approximation ADCs, one of which digitizes the voltage at R1’s sliding contact. For this application, the firmware divides the digitized potentiometer readings by four to match the system’s reception range. Every 0.5msec, the firmware alsogenerates internal timer-overflow interrupts that determine the resolution of the simulated target’s return echo. The interruptservice routine increments the distance counter, and, when the counter’s value equals thedistance setting that R1 supplies, output pin pA1 produces a 0.5msec wide echo pulse. Thus, the echo’s delay time tracks the potentiometer’s sliding-contact position. Although this Design Idea features a Freescale microcontroller, you can use others that include an ADC. To download the firmware’s assembler code, view the online version of this Design Idea at www.edn.com.




 
Free Print Subscription Printer-friendly version Email to a Friend
 
Article Rating 
Average Rate: No rating yet
 
Poor Quite Good Good Very Good Excellent
 
Related Content 
 
 
KNOWLEDGE CENTER
Panasonic Key Devices Guide 2008 :
 
Fairchild Semiconductor :
 
Texas Instruments: DaVinci™ Technology
 
Texas Instruments: Safe Bet Series
 
 
 
Highest Rated  
Feedback Loop  

ADS BY GOOGLE 
 
 
 
ADVERTISEMENT
Press Release 
 
TECHNOLOGY NEWS
 
RESOURCE CENTER

 
 
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