Tuesday, 25 April 2017

Basic Operation using DSP Processor

 We used the hardware kit for the first time. The kit used was TMS320F28375. Instructions for arithmetic, Logical and Shift operations were performed. The changes in the register values before and after execution were observed and noted. Also a program was voice modulation was demonstrated.

Sunday, 23 April 2017

IEEE PAPER REVIEW

        AUTOMATIC WORD RECOGNITION IN CARS

           Author Name: Chafic E. Mokbel and Gerard F. A. Chollet, Member, IEEE


The widespread use of mobile technology motivated the development of robust recognition systems for car.
Speech produced and captured is contaminated by noise. A microphone is placed 50cm away from the mouth of the speaker and it capures a mixture of speech and noise.
A number of spectral representations and their associated distance measures were discussed.
The possibility of increasing the SNR is also considered. Using several microphones helps to achieve a higher SNR. But since only one microphone is supposed to be available for the work reported,
spectral subtraction was an appropriate technique.
A number of techniques in the domain of speech recognition in cars were verified. One important was related to Lombard effect which depends on the mean frequency characteristics of the ambient noise.

PATENT REVIEW

                 Spoken word controlled automatic dialer

PATENT NO. : US4348550 A
Inventors  : Frank C. Pirz, Lawrence R. Rabiner, Aaron E. Rosenberg, Jay G. Wilpon
Publication date: Sep 7, 1982
Filing date: Jun 9, 1980

A speech controlled dialing circuit identifies input utterances which may be a command word, repertory word (dialing name or number) or non-recognized ("Other") word.
Responsive to the identification of each occurring input utterance, a set of predetermined templates are selected to identify the next occuring utterance.
A programmed microprocessor system is described to implement the main controller function.
Automatic and repertory dialing arrangements permit telephone system subscribers to access frequently called telephone numbers
without time consuming and errorprone manual dialing.
Such dialers find widespread use in the business environment where efficient utilization of telephone communication is economically important.
While the number of manual operations needed to complete the dialing of a telephone number is significantly reduced 
in known repertory dialing systems, manual operations have not been eliminated.
A directory stores a set of dialing signals corresponding to the repertory words.Responsive to each input utterance, a speech analyzer produces a signal representative of the acoustic features of the utterance. 
Jointly responsive to the stored template signals and the utterance acoustic features signal, a spoken word recognizer generates a signal identifying the input utterance. 
Upon the identification of an input utterance as one of the repertory words, the corresponding dialing signal is retrieved from the directory store.
 Responsive to the identification of an input utterance, a set of predetermined template signals are selected to identify the next occurring input utterance.
According to one aspect of the invention, a control signal corresponding to each utterance identifying signal is generated. 
Signals to address templates in the template memory are produced responsive to the next occurring input utterance. 
Jointly responsive to the utterance identifying control signal and the memory addressing signals, a predetermined a set of template signals are applied to the 
spoken word recognizer.
Detection of other than the two short interval command words "error" or "stop" causes a dialing signal corresponding to the repertory name to be retrieved from a directory store.

 The dialing signal is then supplied to the user telephone line. Recognition of the short utterance as "error" resets the dialer to recognize the succeeding utterance as one of the repertory word templates.
 Detection of the shortened utterance as "stop" returns the dialer to its rest mode. After the dialing signal is obtained, the dialer is switched to its call state and the recognizer is conditioned to detect an input utterance as the isolated word template "hang up." 

FIR FILTER DESIGN

                       FREQUENCY SAMPLING METHOD

The frequency-sampling method for FIR filter design is a direct technique imaginable when a desired frequency response has been specified.
It consists of uniformly sampling the desired frequency response, and performing an inverse DFT to obtain the corresponding (finite) impulse response .
By using N-point filter response, the continuous frequency response is calculated as an interpolation of the sampled frequency response.
The approximation error would then be exactly zero at the sampling frequencies and would be finite in frequencies between them.
The smoother the frequency response being approximated, the smaller will be the error of 
One way to reduce the error is to increase the number of frequency samples.

FIR Filter Design

                           WINDOWING METHOD

FIR Filters have poles at origin. Thus, FIR filters are always stable. The order of FIR filters is given by 'N-1' where 'N' is the length of h(n).
FIR Filters can be designed by two ways 1) using a Window function 2) By Frequency Sampling method.
Focusing on the method of using a window function, a window function is a mathematical function that is zero-valued outside of some chosen interval.
Choice of the window function depends on the stop band attenuation required.
A scilab code for designing a High pass FIR filter with Hanning window was written and executed. 

Tuesday, 28 March 2017

Chebyshev Filter Design

                                 

In this experiment, Low pass and High pass Chebyshev filters were designed. By giving the values of pass band attenuation (Ap), stop band attenuation (As), pass band frequency (Fpass), stop band frequency (Fstop), sampling frequency (Fs) as inputs Low Pass and High pass filters were designed.
As a result order of the filter, cutoff frequency, normalised H(s), denormalised H^(s) and transfer function H(Z) was obtained.
The magnitude response and the pole zero plot was obatined. The filters we designed had ripples in the pass band and was monotonic in stop band indicating it was Chebyshev I filter. Also the ripples obtained verified the order of filter.

Butterworth Filter Design

                                 

In this experiment,  Butterworth filters were designed using Scilab. By giving the values of pass band attenuation (Ap), stop band attenuation (As), pass band frequency (Fpass), stop band frequency (Fstop), sampling frequency (Fs) as inputs Low Pass and High pass filters were designed.
As a result order of the filter, cutoff frequency, normalised H(s), denormalised H^(s) and transfer function H(Z) was obtained.
The pole-zero plot and magnitude response were observed. From the magnitude response it can be concluded that Butterworth filter is monotonic as it does'nt have any ripple in its pass band and stop band. 
Since Butterworth Filter has a flat response in its pass band, it finds application in audio processing.