Tuesday, August 27, 2013

Audio post processing _codec


DSPs take on next generation automotive audio processing

The availability of low cost DVD player/recorders as well as more affordable home theater systems has enabled millions of consumers to experience high-quality surround-sound audio. Multi-channel surround sound—once thought to be the sole property of a limited number of audio enthusiasts—is now commonplace in the home, and is swiftly becoming more available in automobiles. High-performance, programmable DSP technology has played a key role in the advance of this automotive infotainment market segment and, given current trends, will continue to be essential to future market growth.
As is typical in many consumer markets, surround sound audio equipment manufacturers continually add value to their products by integrating new features and capabilities or by making them easier to use. In the case of home audio products, there is an ever-increasing array of decoders and post-processing formats that must be supported. Additionally, most major IP providers have proposed new algorithms that increase audio channel count and sample rates while leveraging new high speed interfaces such as HDMI and IEEE 1396. Typically these upgraded algorithms are more computationally complex than their predecessors, thus increasing the processing load on the audio processing DSP.
The technology landscape in automotive audio systems is becoming equally complicated. In addition to the required multi-channel audio processing, sophisticated network processing is becoming more prevalent due to the increased bandwidth requirements of the high performance audio and video systems. In particular, the MOST (Media Oriented System Transport) optical network with its associated digital transport copy protection (DTCP) encryption methodology is becoming adopted in many high- and mid-end vehicles. This trend, combined with the fact that automotive audio systems typically have to accommodate a wider variety of input sources (such as AM/FM tuner, CD, DVD, cell phone, and navigation system input) and sample frequencies, applies increased pressure on DSP suppliers to provide higher performance and more highly integrated processors.
Background
With all of the various combinations of multi-channel audio decoder, virtualizer, and post-processing formats, today’s audio processing engines have to be very flexible. A high performance digital signal processor (DSP) is ideal for running the decoders and has the programmability and flexibility to perform the additional functions like automatic room equalization. Whether the signal processing is performed in the DVD or another component, the digital signal processor is the central processing engine of the entire system. With such audio sources as pulse code modulation (PCM), Super Audio Compact Disc (SACD), DVD Audio, Digital Theatre Systems (DTS), audio codec 3 (AC3), advanced audio coding (AAC), and Windows Media Audio (WMA); post processing algorithms such as DPLII, Neo6, Surround EX, ES Matrix, and Bass; and delay and custom post processing modules, the processor must support a myriad of combinations while dynamically detecting changes in the input streams to invoke the correct decoding software.
To improve the user experience, many of today’s A/V receivers include an automatic calibration and equalization feature. Until recently, this audio environmental tuning was a manual process, usually restricted to custom installation system for homes and automobiles. These new algorithms detect the speaker position in a room or car, the shape and size of the listening environment, and the reflective and absorption qualities of the listening area. The system automatically adjusts the sound to optimize the listening experience by changing the speaker frequency characteristic and modeling the response of the audio environment. Many of the features that are adjusted can also be manually set according to the listener's preference. These include independent channel gain, variable crossover frequency, and audio delay adjustment.
The figure below illustrates the development of audio systems as technology progresses. With the increasing number of encoded audio content streams and the demand for higher quality audio, the memory and processing needs of the DSP system create great challenges for the designer. This, coupled with the contradicting need for decreased system cost, has driven DSP design engineers to integrate peripheral devices into the DSP processor. An example is the Analog Devices ADSP-2136X family. With 400Mhz of single instruction stream, multiple data stream (SIMD) based floating-point performance, 6 Mbits of on-chip ROM, 3 Mbits of on-chip RAM, integrated Sony-Philips Digital Interface Format (S/PDIF), hardware sample rate converters, delay line DMA functionality and other audio system specific peripherals, this next-generation family of SHARC devices is advancing audio-specific DSP development.




Book Revew
Digital Media Processing: DSP Algorithms Using C, by Hazarathaiah Malepati, Newnes, 2010, ISBN 978-1-85617-678-1.
This book discusses various algorithms—related to the processing of data, signals, images, speech, audio, and video—that are used in present-day cutting-edge technologies—and the C simulation and implementation techniques to run them in real time on embedded processors.
Digital media processing demands efficient programming in order to optimize functionality. Optimized algorithms with step-by-step directions are difficult to create, but they can make all the difference when developing a new application. This book presents the most recent algorithms available to maximize functionality and efficiency, while simultaneously considering the memory and real time constraints of the working architecture.
This book uses the ADSP-BF5xx series Blackfin processor from Analog Devices as the reference embedded processor, discussing the implementation complexity of all algorithms covered with respect to this amazing general-purpose embedded processor.
Unlike other DSP algorithm books that concentrate mainly on basic operations, such as the Fourier transforms and digital filters, this book covers many algorithms commonly used in media processing and digital communications. For most of them, this book provides full details of flow, implementation complexity, and efficient implementation techniques using ANSI C. The table of contents, outlined below, shows a fuller picture of this book.

Part 1: Data Processing
  • Data security—AES, TDES, RC4, HMAC, ECDSA
  • Error correction—CRC, Hamming, BCH and RS codes, convolutional, TCM, Viterbi and Turbo codes, and LDPC codes and sum-product algorithm
  • Lossless data compression—Huffman coding, arithmetic coding, MPEG-2 VLD, H.264 UVLC, CAVLC and CABAC
Part 2: Signal and Image Processing
  • Signals and Systems—Introduction to signals and systems (Fourier transforms, time-frequency representation, linear time invariant systems, sampling and reconstruction of signals)
  • Transforms and Filters—FFT, DCT, FIR, IIR, Goertzel algorithm
  • Advanced Signal Processing—MMSE, LMS, RLS, Lattice filters, decimation, interpolation, polyphase decomposition, filterbanks, multiresolution analysis, DWT
  • Digital Communications—Overview of single and multicarrier communication systems, DMT, OFDM, channel estimation, channel equalization (MMSE, DFE, Viterbi, Turbo) and synchronization (frequency offset correction, symbol timing, frame boundaries identification)
  • Image Processing Tools—Color conversion, color enhancement, edge detection, edge enhancement, image filtering, scaling, dilation, erosion, corners detection, and Hough transform
  • Advanced Image processing Algorithms—Image rotation, image stabilization, object detection, 2D image filters, fisheye correction and image compression
Part 3: Speech and Audio Processing
  • Speech and Audio signals—Digital representation of audio, speech processing, speech compression, and VoIP
  • Audio Coding—Introduction to audio coding, MPEG-4 AAC Codec, audio post-processing
Part 4: Video Processing
  • Video Coding Technology- Video coding basics, MPEG-2 decoder, H.264 decoder, scalable video coding
  • Video Post-processing—Video scaling, filtering, blending, gamma correction, and transcoding
Part 5: Embedded systems
  • Embedded systems—System components, processors, peripherals, memory systems, video processing on embedded processor and system issues, hardware-software partitioning, and application requirements
  • Embedded Processing Applications—Automotive (ADAS and infotainment systems), video surveillance (object detection, people tracking), communications (DVB-H, VDSL, WiMAX), digital camera, 2d barcodes, medical imaging (ultra sound and MRI)
Appendix A: Blackfin Embedded Processor
Appendix B: Mathematical computations on fixed-point processors
Exercises, References and Index

For more details, or to order a copy, visit:




Audo processing

http://www.eetimes.com/document.asp?doc_id=1272728
http://www.analog.com/en/processors-dsp/sigmadsp/products/index.html
http://www.analog.com/en/processors-dsp/sigmadsp/products/index.html#SigmaDSP_Processors_for_TV
http://www.analog.com/en/audiovideo-products/products/index.html
http://www.analog.com/en/processors-dsp/sigmadsp/products/sigmastudio_algorithms/fca.html
http://cable.tmcnet.com/topics/cable/articles/40550-analog-devices-intros-soundmax-audio-processing-solution-hdtv.htm
http://www.bdti.com/InsideDSP/2012/01/24/Tensilica

http://www.analog.com/library/analogdialogue/archives/44-07/digital_media.html
http://www.analog.com/en/content/srs_uses_sharc/fca.html
http://www.eetimes.com/document.asp?doc_id=1276697

processor

http://www.analog.com/static/imported-files/data_sheets/ADAV4601.pdf

Monday, August 26, 2013


IES guide

Radar Range Equation

Page Outline

Radar Range

There exist hundreds of versions of the radar range equation. Below is one of the more basic forms for a single antenna system (same antenna for both transmit and receive). The target is assumed to be in the center of the antenna beam. The maximum radar detection range is;
equations
The variables in the above equation are constant and radar dependent except target RCS. Transmit power will be on the order of 1 mW (0 dBm) and antenna gain around 100 (20 dB) for an effective radiated power (ERP) of 100 mW (20 dBm). Minimum detectable signals are on the order of picowatts; RCS for an automobile might be on the order of 100 square meters. The accuracy of the radar range equation is only as good as the input data.

Minimum detectable signal (Pmin) depends on receiver bandwidth (B), noise figure (F), temperature (T), and required signal-to-noise ratio (S/N). A narrow bandwidth receiver will be more sensitive than a wider bandwidth receiver. Noise figure is a measure of how much noise a device (the receiver) contributes to a signal: the smaller the noise figure, the less noise the device contributes. Increasing temperature affects receiver sensitivity by increasing input noise.
Pmin = k T B F (S/N)min
Pmin = Minimum Detectable Signal
k = Blotzmann's Constant = 1.38 x 10-23 (Watt*sec/°Kelvin)
T = Temperature (°Kelvin)
B = Receiver Bandwidth (Hz)
F = Noise Factor (ratio), Noise Figure (dB)
(S/N)min = Minimum Signal to Noise Ratio

The available input thermal noise power (background noise) is proportional to the product kTB where k is Boltzmann's constant, T is temperature (degrees Kelvin) and B is receiver noise bandwidth (approximately receiver bandwidth) in hertz.
T = 290°K (62.33°F), B = 1 Hz
kTB = -174 dBm/Hz 
The radar range equation above can be written for power received as a function of range for a given transmit power, wavelength, antenna gain, and RCS.
equations
Prec = Power Received
Pt = Transmit Power
fo = Transmit Frequency
Lamda = Transmit Wavelength
G = Antenna Gain
Sigma = Radar Cross Section
R = Range
c = Speed of Light

Radar Detector Range

Radar has a range loss inversely proportional to range to the 4th power (1/R4). Radio communications range losses are inversely proportional to range squared (one-way path is 1/R2). Signal power received (by a radar detector), where Gdet is detector antenna gain, can be expressed as shown below. By substituting radar detector minimum signal for power received, detector maximum range can be estimated if radar power and antenna gain are known (ERP -- effective radiated power).
equations
Pdet = Power Received by Detector
Gdet = Detector Antenna Gain
Radar propagation loss is proportional to 1/R4 (2-way signal path), while a radar detector would be picking up the signal on the direct (1-way) path with loss proportional to 1/R2 (a hughadvantage for the detector). Another hugh advantage is the radar is receiving a reflection (RCS), most of the reflective energy is directed away from the radar. The radar has the advantage of a much larger antenna (more gain) and more sensitive (to radar signal) receiver. However, good radar detector should be able to detect a radar before the radar detects the vehicle, but not always.

Saturday, August 24, 2013

IES for ECE


IES Tips
  - Try answering questions to depth, marks will not be allotted for mere superficial knowledge so don’t waste time in questions which you don’t know properly.
  - Try to be legible; Deduction up to 5 per cent of the maximum marks for the written papers will be made for illegible handwriting.
  - Credit will be given for orderly, effective and exact expression combined with due economy of words in the conventional papers of the examination.
  - Candidates should use only International form of Indian numerals (e.g. 1,2,3,4,5,6 etc.) while answering question papers.
  - Conventional papers must be answered in English. Question papers will be set in English only.
  - In the Personality Test special attention will be paid to assessing the candidate’s capacity for leadership, initiative and intellectual curiosity, tact and other social qualities, mental and physical energy, powers of practical application and integrity of character.
  - In objective don’t mark answers if not sure as there is negative marking of 33%


Books for Electronics & Communication Engineering
 
SL.NO.SUBJECTAUTHOR
1.Electronic Devices and Circuits & Analog Electronics--
(i) Integrated electronics : Analog and Digital Circuit and system
(ii) Microelectronic Circuits
(iii) Electronic Devices and Circuits
(iv) OP Amp and linear Integrated Circuit
(v) Solid State electronic devices

(vi) Semiconductor devices


Jacob Millman Halkias

Sedra & Smith
J.B. Gupta
Ramakant A. Gayakwad
Streetman and Banerjee
S.M.Sze
2.Communication System
(i) Communication System
(ii) An introduction to Analog and Digital Communication
(iii) Communication System : Analog and Digital
(iv) Modern Digital and Analog Communication System
(v) Electronic Communication System
opyright © www.examrace.com
Taub & Schilling
Simon Haykins
Simon Haykins

Singh and Sapre

B.P. Lathi
opyright © www.examrace.com
A. Bruu Carlson
Kennedyand Davis
3.Signal and SystemOppenheim and Willsky
4.Optical Fiber CommunicationSenior
5.Satellite CommunicationsPratt and Bostian
6.Monochrome and colourR.R. Gulati
7.Control System
(i) Control System Engg.
(ii) Automatic Control System
(iii) Linear Control System

I.G. Nagrath & M.Gopal
B.C. Kuo
B.S. Manke
8.Electro Magnetic Theory
(i) Elements of Engineering Electromagnetics
(ii) Elements of Electromagnetics
(iii) Engineering Electromagnetics
(iv) Antenna and Wave Propagation

N. N. Rao

Sadiku
W.H.Hayt
K.D. Prasad
9.Digital Electronics
(i) Digital Design
(ii) Digital Systems
(iii) Modern Digital Electronics

M. Morris Mano
Tocci & Widmer
R. P. Jain
10.Computer Engineering
(i) Microprocessor Architecture, Programming & Application
(ii) Computer Organization and Structure

Ramesh S. Gaonkar

Stalling
11.Microwave Engineering
(i) Microwave Devices and Circuits
(ii) Microwave Engineering
(iii) Microwave Engineering

Liao
Sanjeev Gupta
Pozar
12.Network Theory
(i) Networks and Systems
(ii) Engineering Circuit Analysis

D. Roy Chaudhary
Hayt
© ace.com www.examrace.com
Van Valkenburg
13.Measurement and Instrumentation
(i) Electrical & Electronic Measurement and Instrumentation
(ii) Electronic Instrumentation



Integrated Circuits
Op. Amps & Linear Integrated Circuit

A. K. Sahney

H. S. Kalsi

Copyright © www.examrace.com
 K R Botkar
 Gayakwad

Copyright © www.examrace.com

materials
http://www.examrace.com/IES/IES-Free-Study-Material/

http://www.engineersinstitute.com/ies_ese_previous_question_papers.php
TEST and REF


http://www.tcyonline.com/india/home
http://www.examrace.com/IES/
http://examcrazy.com/Engineering/IES.asp
http://www.engineersinstitute.com/ies-ese-classroom-test-series-registration-details.php



http://www.simplylearnt.com/UPSC--Engineering-Services--Exam-exam/how-to-prepare




http://www.engineersinstitute.com/ies-ese-online-test-series-registration-details.php



http://www.upscportal.com/civilservices/exam/engineering-services-examination
http://www.jagranjosh.com/articles-engineering-services-examination-question-papers-1331636363-1






http://www.engineersinstitute.com/ies-ese-crash-course-coaching-delhi.php




Things to Remember for IES exam
  - Candidates must write the papers in their own hand. In no circumstances will they be allowed the help of a scribe to write the answers for them.
  - The Commission have discretion to fix minimum qualifying marks in any or all the papers of the examination. The Objective Type papers as contained in Section-I of the Plan of the Examination will be evaluated first and evaluation of the Conventional Type papers contained in Section-II of the Plan of Examination will be done only of those candidates who obtain the minimum qualifying marks in Objective types papers, as fixed by the Commission.
  - In the question papers, wherever required, SI units will be used. Candidates will be supplied with standard tables/charts in SI units in the Examination hall for reference purpose, wherever considered necessary. Following tables will be supplied by Commission (on request)
      * Mathematical/Physical, Chemical and Engineering Tables (including Logarithmic Tables);
      * Steam Table (including Mollier Diagrams for Temperature up to 800 C and Pressure up to 500 Kgf/Cm);
      * National Building Code of India 1970 or 1983 Group 2 Part VI;
      * Any other special articles as may be necessary for the candidates to answer the questions set in the question paper.

Thursday, August 15, 2013

gstreamer install setup

GLib-2.36.4

Introduction to GLib

The GLib package contains a low-level libraries useful for providing data structure handling for C, portability wrappers and interfaces for such runtime functionality as an event loop, threads, dynamic loading and an object system.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

GLib Dependencies

Required

Recommended

Optional

attr-2.4.47, D-Bus-1.6.12 (required to run the tests) and GTK-Doc-1.19

Additional Runtime Dependencies

Quoted directly from the INSTALL file; “Some of the mimetype-related functionality in GIO requires the update-mime-database and update-desktop-database utilities”, which are part of shared-mime-info-1.1 and desktop-file-utils-0.21, respectively.

Installation of GLib

Install GLib by running the following commands:
 
touch -t 201306082300 gtk-doc.make           && 
 
./configure --prefix=/usr --with-pcre=system && 
 
make

The GLib test suite requires desktop-file-utils in order to run. However, desktop-file-utils requires GLib in order to compile; therefore, you must first install GLib and then run the test suite.
Now, as the root user:
 
make install


ref

http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html


-------------------------------------------------------------------------------------------------------------------------------

Python-2.7.5
First install some dependencies:
sudo apt-get install build-essential

sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev 


Then download using the following command:
 
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz

Extract and go to the dirctory:
tar -xvf Python-2.7.5.tgz
cd Python-2.7.5

Now, install using the command you just tried:
 
./configure
make
sudo make altinstall
 
ref
http://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu 


--------------------------------------------------------------------------------------------

Introduction to pkg-config

The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.
This package is known to build and work properly using an LFS-7.3 platform.
[Note]

Note

Pkg-config is part of LFS, but was omitted from the 7.0 and 7.1 releases. If you are using a system which includes it, there is nothing more to do. If not, you should follow these instructions.

Package Information

Installation of pkg-config

Install pkg-config by running the following commands:
 
./configure --prefix=/usr \
            --docdir=/usr/share/doc/pkg-config-0.28 \
            --with-internal-glib \
            --disable-host-tool &&
make

To test the results, issue: make check.
Now, as the root user:
 
make install

http://www.linuxfromscratch.org/blfs/view/svn/general/pkgconfig.html

-----------------------------------------------------------

Introduction to libffi

The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

Additional Downloads

libffi Dependencies

Optional

DejaGnu-1.5.1 (required to run the testsuite)

Installation of libffi

Install libffi by running the following commands:
patch -Np1 -i ../libffi-3.0.13-includedir-1.patch && 
 
./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check.
Now, as the root user:
 
make install 
 
---------------------------------------------------------------------------------

PCRE-8.33

Introduction to PCRE

The PCRE package contains Perl Compatible Regular Expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

PCRE Dependencies

Optional

Installation of PCRE

Install PCRE by running the following commands:
./configure --prefix=/usr                     \
            --docdir=/usr/share/doc/pcre-8.33 \
            --enable-utf                      \
            --enable-unicode-properties       \
            --enable-pcregrep-libz            \
            --enable-pcregrep-libbz2          \
            --enable-pcretest-libreadline     \
            --disable-static                 &&
make
To test the results, issue: make check.
Now, as the root user:
make install                     &&
mv -v /usr/lib/libpcre.so.* /lib &&
ln -sfv ../../lib/libpcre.so.1.2.1 /usr/lib/libpcre.so

 
______________________________________________________________________________ 
 

libxml2-2.9.1

Introduction to libxml2

The libxml2 package contains libraries and utilities used for parsing XML files.
This package is known to build and work properly using an LFS-7.3 platform.

Package Information

Additional Downloads

libxml2 Dependencies

Recommended

[Note]

Note

Some packages which utilize libxml2 (such as GNOME Doc Utils) need the Python module installed to function properly and some packages (such as MesaLib) will not build properly if the Python module is not available.

Installation of libxml2

If you downloaded the testsuite, issue the following command:
tar xf ../xmlts20080827.tar.gz
Install libxml2 by running the following commands:
 
./configure --prefix=/usr --disable-static --with-history &&
make

To test the results, issue: make check.
Now, as the root user:
 
make install