Electronic Buzzer for Blind

Similar documents
ULTRASONIC TRANSMITTER & RECEIVER

Scope. Here are the times schedule of the pulse-echo technique detect method. Reflect pulse. Emit detect pulse (Ultrasound)

Measuring Distance Using Sound

Small Signal Pulse Detection

HIGH LOW Astable multivibrators HIGH LOW 1:1

Comprehensive Ultrasound Research Platform

Massachusetts Institute of Technology MIT

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce

The steeper the phase shift as a function of frequency φ(ω) the more stable the frequency of oscillation

Preface... iii. Chapter 1: Diodes and Circuits... 1

The Breakdown. Figure 1: Block Diagram (above: Transmitter; below: Receiver)

Maintenance Manual ERICSSONZ LBI-31552E

Screening Audiometer

Function Generator Using Op Amp Ic 741 Theory

Simulation Of Radar With Ultrasonic Sensors

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

Exam Booklet. Pulse Circuits

1 Second Time Base From Crystal Oscillator

HART Modem DS8500. Features

MAKING TRANSIENT ANTENNA MEASUREMENTS

Scheme I Sample Question Paper

Spectrum analyzer for frequency bands of 8-12, and MHz

Chapter-15. Communication systems -1 mark Questions

WIRELESS PULSE RATE MONITORING USING NEAR FIELD COMMUNICATION

ENGR-2300 Electronic Instrumentation Quiz 3 Spring Name: Solution Please write you name on each page. Section: 1 or 2

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Linear Integrated Circuit Subject Code:

CMOS Schmitt Trigger A Uniquely Versatile Design Component

Assignment 11. 1) Using the LM741 op-amp IC a circuit is designed as shown, then find the output waveform for an input of 5kHz

Multiplexer for Capacitive sensors

ASTABLE MULTIVIBRATOR

Summer 2015 Examination

GOVERNMENT OF KARNATAKA KARNATAKA STATE PRE-UNIVERSITY EDUCATION EXAMINATION BOARD II YEAR PUC EXAMINATION MARCH-2013 SCHEME OF VALUATION

ECE 6770 FINAL PROJECT

Handy dandy little circuit #17 #17


Lab 9: Operational amplifiers II (version 1.5)

(i) Determine the admittance parameters of the network of Fig 1 (f) and draw its - equivalent circuit.

Ultrasonic Multiplexer OPMUX v12.0

Exercise 1: RF Stage, Mixer, and IF Filter

T25-35SA Subaudible Tone Decoder

Preliminary simulation study of the front-end electronics for the central detector PMTs

Topic Advanced Radio Receivers. Explain that an RF amplifier can be used to improve sensitivity;

). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC

Sonar Fish Detection and Measurement System with PIC16F873

Type Ordering Code Package TDA Q67000-A5066 P-DIP-8-1

Ohm Technologiees.

Control of Electrical Lights and Fans using TV Remote

High voltage amplifiers: how fast are they really? Falco Systems application note, version 2.0,

AUTOMATIC RAILWAY CROSSING SYSTEM

Distance Measurement of an Object by using Ultrasonic Sensors with Arduino and GSM Module

The SOL-20 Computer s Cassette interface.

Ultrasonic Sensor Module for a Robot (HG-M40 Series, HG-L40 Series)

Introduction. Theory of Operation

UNIT 2. Q.1) Describe the functioning of standard signal generator. Ans. Electronic Measurements & Instrumentation

LINEAR IC APPLICATIONS

Low Cost Screening Audiometer

Feed Forward Linearization of Power Amplifiers

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components

GCSE (9-1) WJEC Eduqas GCSE (9-1) in ELECTRONICS ACCREDITED BY OFQUAL DESIGNATED BY QUALIFICATIONS WALES SAMPLE ASSESSMENT MATERIALS

COMMUNICATION THROUGH POWER LINES

ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS

EE ELECTRICAL ENGINEERING AND INSTRUMENTATION

Figure 1 RC Based Soft Start Circuit. Path of charge during startup shown in red.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Hands-On Introduction to EE Lab Skills Laboratory No. 2 BJT, Op Amps IAP 2008

Embedded Voice Announcement Ultrasonic Distance Meter and. University Lab Teaching Reformation

OBJECTIVE TYPE QUESTIONS

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

Exercise 2: Distance Measurement

PROPOSED SCHEME OF COURSE WORK

Microprocessor & Interfacing Lecture Programmable Interval Timer

Fundamentals Of Commercial Doppler Systems

Improvement of Ultrasonic Distance Measuring System

CD4541BC Programmable Timer

Electronic PRINCIPLES

Government Polytechnic Muzaffarpur Name of the Lab: Applied Electronics Lab

GCE AS. WJEC Eduqas GCE AS in ELECTRONICS ACCREDITED BY OFQUAL DESIGNATED BY QUALIFICATIONS WALES SAMPLE ASSESSMENT MATERIALS

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

ETEK TECHNOLOGY CO., LTD.

Chapter 2 Signal Conditioning, Propagation, and Conversion

PART TOP VIEW V EE 1 V CC 1 CONTROL LOGIC

Single Conversion LF Upconverter Andy Talbot G4JNT Jan 2009

ML4818 Phase Modulation/Soft Switching Controller

Generating MSK144 directly for Beacons and Test Sources.

COHERENT CW (ARRL2115.txt + bmp images)

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

DIGITAL ELECTRONICS ANALOG ELECTRONICS

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

Description of a device and software for precise sound velocity measurement

Operating Manual Ver.1.1

Momentum and Impulse. Objective. Theory. Investigate the relationship between impulse and momentum.

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

Project Report. Object Following Robot

DMI COLLEGE OF ENGINEERING

CHAPTER IV DESIGN AND ANALYSIS OF VARIOUS PWM TECHNIQUES FOR BUCK BOOST CONVERTER

Ultrasonic Proximity Sensor/Module for Water Proof Types of Ultrasonic Sensors (HG-P40WP)

CMOS Schmitt Trigger A Uniquely Versatile Design Component

SL300 Snow Depth Sensor USL300 SNOW DEPTH SENSOR. Revision User Manual

4. Forward bias of a silicon P-N junction will produce a barrier voltage of approximately how many volts? A. 0.2 B. 0.3 C. 0.7 D. 0.

Transcription:

EE318 Electronic Design Lab Project Report, EE Dept, IIT Bombay, April 2009 Electronic Buzzer for Blind Group no. B08 Vaibhav Chaudhary (06007018) <vaibhav.iitb@iitb.ac.in> Anuj Jain (06007019) <anujjain@iitb.ac.in> Anusha Ganne (06007037) <anusha_ganne@iitb.ac.in> Problem Statement: The aim of the project is to build an Electronic Buzzer for blind people. This product will detect any obstacle in the path of the person and if its distance is less than 1m, it will alert the person by buzzing the buzzer. Design Approach: 1. Issues 1.1 Conditions on the target For contact less detection of obstacle, we have to rely on the target to reflect the pulse back to itself. The target needs to have a proper orientation that is it needs to be perpendicular to the direction of propagation of the pulses. Also if the reflectivity of the target is low, the signal received by the device may not be detectable. For example we cannot expect the device to work on a sound absorbing target. Hence the target needs to be oriented perpendicularly and it should have high enough reflectivity. 1.2 Power and beam width The power in the ultrasonic waves reduces exponentially with distance in the medium it travels. We used 40 khz ultrasonic because of the easy availability of the corresponding transducers. Secondly, the beam width of typical ultrasonic sources is high, so that the waves diffuse in space. These two considerations greatly limit the range achievable by ultrasonic methods. We can do our best by transmitting pulses of high power, so that even after attenuation the signal is strong enough for detection. This would mean the use of a good drive circuit for the transducer. To avoid the beam from spreading, we can enclose the transmitter and receiver in a sound absorbing material. 1.3 Resonance of transducer The transducer resonates at 40khz.(It has a narrow bandwidth of about 4khz centered at 40kHz).The transmitted signal must hence be a pulse train of 40kHz, consisting of enough cycles to allow the transients to die down. Two Design approaches were tried to transmit a train of 40Khz pulses Design A The very narrow bandwidth of the transducer requires us to generate 40 khz pulse train

of adequate number of cycles accurately and reliably. Rather than generating this pulse using hardware, for example by using the 555 timer, we would like to generate this pulse train using a microcontroller (software).since it operates from a crystal, the microcontroller is accurate and reliable. In this case micro controller will generate pulses by setting a particular bit high and low. After generating fixed number of pulses, it waits for some time and then again re-transmits the pulses. Design B Using a Schmidt trigger to generate pulses of 40 khz and controlling it using a micro controller. Schmidt trigger continuously generates pulses of 40Khz frequency. But since we need bursts of such pulses at regular intervals, we made a switch using BJT and connected the microcontroller s terminal to its base. Detection BJT Switch which controls the pulses generated by Schmitt Trigger Received signal is very low in amplitude. So, an amplifier circuit is used to amplify the received signal. Because of the resonance, the receiver must give a voltage of frequency 40 khz across its terminals. But a lot of other noisy waveforms were also detected. For example when the transmitter was idle, some high frequency noise (in MHz) was detected at the receiver terminals. Also some noise in 80-90 KHz range was present when the receiver was operating. Since we need to detect the 40 khz waveform, we must be frequency selective in our detection, and not send out false detections coming from the noisy range to the measuring circuit. For this a tone decoder is used which was tuned to detect signal in the frequency range 38-42 Khz. Polling mechnaism in Design A: After sending a train of 40Khz pulses, microcontroller will wait for some time so as not to detect the transmitted signal and then polling will start so as to detect refected pulses. Duration of this polling is set in such a way that signal is detected only if the obstacle is in the range of 1m. Polling Mechanism in case of Design B: In this case, in order to reduce the flicker just due to reception of pulses just for a moment, micro controller will poll the output of tone detection for a fixed duration. If output of tone detector is low for this full duration, then only it will sound the buzzer. And if it is high even once the counter will reset and the buzzer wont sound.

1.5 Atmospheric Influences The velocity of sound is dependent on temperature. The variation is about 1% every 6 C around 20 C. Whether this is a critical problem or not depends on the accuracy the device achieves. For accurate measurements, or if the device requires to operate under diverse environments with similar results, then this must be taken into consideration. If not, it must be possible to include this later without too much change in the design and the components. 1.6 Hardware and Software Considering all the issues, the hardware should consist of 1. The drive circuit and 2. The circuit for detecting the 40kHz received wave And the software consists of 1. Generation of pulses 2.Detection of received signal and sounding of buzzer. Block Diagram: Design A

Circuit Design: Choice of Components: Design A: Transmitter: Micro Controller: In order to generate a 40 khz pulse train, the microcontroller needs to act (say toggle a port pin) every 12.5 μs. Hence a microcontroller with speed and instructions adequate enough to switch every 12.5 μs had to be chosen. These requirements are satisfied by 89c51. It has an instruction speed of 250 ns, which is adequate to generate 40 KHz. Drive Circuit: The 40 khz waveform is generated by the microcontroller. This cannot be given directly to the transducer because then the current being less, we wouldn t give enough power to the transducer. We need to use a power amplifier to drive the transducer. Since 40 khz is just outside the range of audio frequency, we can use an audio power amplifier to drive the ultrasonic transducer. We chose LM380 audio power amplifier. To quadruple the power given to the transducer two LM380 audio power amplifiers have been used in bridge configuration. Amplifier at the Detector: Because 40kz is near audio, an audio amplifier can be used at the receiver. We are using an LM386 audio amplifier. The gain of the amplifier is set to be 100.A gain of 100 is sufficient as the tone decoder detects signals as small as 0.1 V. Detection of the 40 KHz waveform: We need to look for the narrow band of signals in 38-42 KHz range. If any signal is detected in this band, the microcontroller needs to be reported to. A tone decoder is ideally suited for this. Its detection bandwidth is 10-20% of center frequency (which would be set to 40 KHz).There is no need for a rectifier (which would be required, for example if we use a notch pass filter).the microcontroller only needs to monitor the logic level of the tone detector output. We have used an LM 567 tone decoder. a) Amplification: First the sensor s output goes through the amplifier block which is a 2-stage opamp circuit. Because 40kz is near audio, an audio amplifier can be used at the receiver. We

are using an LM358 audio amplifier. The overall gain of the amplifier is set to 200. b) Detection: We need to look for the narrow band of signals in 38-42 KHz range. If any signal is detected in this band, the microcontroller needs to be reported to. A tone detector is ideally suited for this. Its detection bandwidth is 10-20% of center frequency (which would be set to 40 KHz).There is no need for a rectifier (which would be required, for example if we use a notch pass filter).the microcontroller only needs to monitor the logic level of the tone detector output. We have used an LM 567 tone decoder. Hence the amplified signal goes into the tone decoder whose output goes low when its input falls in its passband range which is 37kHz-42kHz. Tone decoder settings: The LM567 being an important component of the receiver circuitry, we put down the components used in the LM567. The circuit diagram of this is given: The block diagram of LM567 tone decoder a) R1 and C1 have been selected to be 2.53k and 10nF for the desired center frequency of 40 khz. b) The loop filter C2 would decide the detection bandwidth, and more importantly, the speed of operation. For the optimum speed, a value of 3.3nF has been chosen. c) The output filter C3 (to avoid out of band transitions) has been chosen to be 10nF.Smaller values were required to speed up the turn on time.

d) In order to decrease the sensitivity of the output stage, a resistor (100k) has been introduced from pin 1 to pin 4 (reference no 4). Design B: Schmidt Trigger: We choose appropriate values of Resistors and capacitances in order to generate pulses of 40khz. Circuit diagram and calculations are given below. freq = 1.1*R*C= 40*1000 which gives R= 2.5K, C = 0.01nF Switch: Since we need only burst of pulses at different times we have to use a switch which was made using a BJT and latter being controlled with micro controller. Circuit Diagram:

Receiver Side: Same as Design A

Explanation of Micro Controller code: Design A: Connections: A train of pulses (40khz) is generated by toggling the bit p3.1 at the frequency of 40khz. Output of the tone decoder is checked at p3.2 and if it is low, output to the buzzer is send from p3.3 Software: It generates a train of 70 pulses and then wait for some time before starting polling for the received signal. Now the polling is done for that much duration so that only pulses reflected from obstacles in the range of 1m are detected. Design B: Connections: Input from the micro controller and Schmidt trigger is given to BJT. Output of BJT is given to transmit and received signal goes to tone decoder after being amplified. The output of the tone decoder also goes to micro controller and if it is low, signal to buzzer is also given from micro controller.

Software: To generate a burst of 40, 40kHz pulses, micro controller sets the control signal to BJT switch high for a period of 1000 micro seconds. After that it starts polling the output of Tone Decoder and sounds the Buzzer in the case when output is low. After the obstacle is detected in the polling duration or if the time is out, it will restart the process. Test Procedure: The receiver and transmitter were mounted on a general purpose board. They were padded with cotton so as to avoid any interference. To test the circuit we took an obstacle and brought it in front of the transducer pair and check for any sound that the buzzer is producing. Test Results and Conclusions: Design A: When the circuit was tested on Bread Board that is Micro Controller giving Signal to NAND gate and then bridge amplifier, output at the receiver was very much distorted. Even after passing the output through a filter, it was not good. So the possible reason may be that power supplied by micro controller is not enough. But since we are using power amplifiers, it adds up to the noise. Now if signal to NAND gate is given from a signal generator, output is very good and is detected at the receiver end even for very low input. So the possible reason may be very less slew rate of Micro Controller as compared to Signal Generator. At the receiver, good signal is detected if the transmitter works properly that is the transmitter is driven by signal generator. Conclusions: A micro controller with more driving capability should have been chosen. The output waveform of the power amplifier is:

Design B: We face the same problem in this case too, the microcontroller is not able to provide enough current for the BJT. So we put a NAND gate in between and use it as a NOT gate. It does successfully control the output of the Schmidt trigger, but in the process the voltage falls a little and the range of the transducer greatly reduces. Still this design was more successful and we could demonstrate the working of the project though for a very short range of about 60cm.

The output waveform of the Schmitt Trigger is: The waveform on receiver terminals is: