<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jawad&#039;s Blog</title>
	<atom:link href="http://jawadsblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jawadsblog.wordpress.com</link>
	<description>Think different!!!</description>
	<lastBuildDate>Sun, 03 Jul 2011 13:31:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jawadsblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jawad&#039;s Blog</title>
		<link>http://jawadsblog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jawadsblog.wordpress.com/osd.xml" title="Jawad&#039;s Blog" />
	<atom:link rel='hub' href='http://jawadsblog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>CISCO Router Commands</title>
		<link>http://jawadsblog.wordpress.com/2011/05/17/cisco-router-commands/</link>
		<comments>http://jawadsblog.wordpress.com/2011/05/17/cisco-router-commands/#comments</comments>
		<pubDate>Tue, 17 May 2011 12:12:06 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[Computer Networks]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=410</guid>
		<description><![CDATA[Set the time on a Cisco router manually Setting the internal clock in a Cisco router allows timestamping of logging information which makes troubleshooting much easier. If you do not have an NTP server running, you can set the time manually with a simple command. To set the time, use this command in enable mode [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=410&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Set the time on a Cisco router manually</strong></p>
<pre>Setting the internal clock in a Cisco router allows timestamping of logging information
which makes troubleshooting much easier. If you do not have an NTP server running, you
can set the time manually with a simple command.
To set the time, use this command in enable mode (not configuration mode):
<strong>Router# clock set 22:55:05 June 19 2006</strong>
The time is in 24 hour mode. To see the information about the clock settings, use:
<strong>Router# show clock detail</strong>
22:56:07.136 PDT Mon Jun 19 2006

<strong>Enable and password protect telnet logins to Cisco routers</strong>
The ability to telnet to a Cisco router makes administration easier. This simple configuration enables telnet
logins to the router and protects them with a password.<strong> </strong>
To enable telnet logins with the password PaSsWoRd:
The ability to telnet to a Cisco router makes administration easier. This simple configuration enables
telnet logins to the router and protects them with a password.
To enable telnet logins with the password PaSsWoRd:
<strong>conf t</strong>
<strong>line vty 0 4</strong>
<strong>login</strong>
<strong>password PaSsWoRd</strong>
<strong> </strong></pre>
<p><strong><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=410&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2011/05/17/cisco-router-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>
	</item>
		<item>
		<title>Wav File Format</title>
		<link>http://jawadsblog.wordpress.com/2011/02/09/wav-file-format/</link>
		<comments>http://jawadsblog.wordpress.com/2011/02/09/wav-file-format/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 10:10:23 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=402</guid>
		<description><![CDATA[What is Wave File? Wav file is a common type of audio file. The wav format is based on RIFF (Resource interchange format) which store audio files in chunks and sub chunks. Wav file digitize sound 100% to the original source because it is lossless format. File Format The following figure shows the file format [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=402&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What is Wave File?</strong><br />
Wav file is a common type of audio file. The wav format is based on RIFF (Resource interchange format) which store audio files in chunks and sub chunks.<br />
Wav file digitize sound 100% to the original source because it is lossless format.</p>
<p><strong>File Format</strong><br />
The following figure shows the file format of the Wave file;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-403" src="http://jawadsblog.files.wordpress.com/2011/02/pic1.jpg?w=295&#038;h=300" alt="" width="295" height="300" /></p>
<p style="text-align:center;"><strong>Figure 1: </strong>File Format of Wav file</p>
<p><strong>Example</strong><br />
The following file shows the example of the Wav file.</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-404" src="http://jawadsblog.files.wordpress.com/2011/02/pic2.jpg?w=300&#038;h=31" alt="" width="300" height="31" /></p>
<p style="text-align:center;"><strong>Figure 2</strong>: Bytes of Wav file</p>
<p style="text-align:left;">&nbsp;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-405" src="http://jawadsblog.files.wordpress.com/2011/02/pic3.jpg?w=300&#038;h=190" alt="" width="300" height="190" /></p>
<p style="text-align:center;"><strong>Figure 3: </strong>Example of Wav File</p>
<p style="text-align:center;">&nbsp;</p>
<p style="text-align:center;">&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=402&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2011/02/09/wav-file-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2011/02/pic1.jpg?w=295" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2011/02/pic2.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2011/02/pic3.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Audio Programming</title>
		<link>http://jawadsblog.wordpress.com/2011/02/09/audio-programming/</link>
		<comments>http://jawadsblog.wordpress.com/2011/02/09/audio-programming/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 07:41:28 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=396</guid>
		<description><![CDATA[What is OSS? OSS is set of drivers that provide API across all major UNIX architecture. It can be used on Sound Blaster or Windows Sound System Sound Cards. OSS can be used for MIDI and electronic music. Code Help The following file contains some helping code. Code<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=396&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What is OSS?</strong></p>
<p>OSS is set of drivers that provide API across all major UNIX architecture. It can be used on Sound Blaster or Windows Sound System Sound Cards.<br />
OSS can be used for MIDI and electronic music.</p>
<p><strong>Code Help</strong><br />
The following file contains some helping code.<br />
<a href="http://jawadsblog.files.wordpress.com/2011/02/code.doc">Code</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=396&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2011/02/09/audio-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>
	</item>
		<item>
		<title>USB HID(Gadget Driver)</title>
		<link>http://jawadsblog.wordpress.com/2010/12/13/usb-hidgadget-driver/</link>
		<comments>http://jawadsblog.wordpress.com/2010/12/13/usb-hidgadget-driver/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 06:48:19 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=387</guid>
		<description><![CDATA[Gadget Driver A device driver is a software program that implements at the operating system kernel’s mode and communities between the hardware devices attached to the host platform and applications that wish to access the device. A USB gadget driver is a device driver for devices that are connected to the gadget platform via USB [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=387&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Gadget Driver</strong><br />
A device driver is a software program that implements at the operating system kernel’s mode and communities between the hardware devices attached to the host platform and applications that wish to access the device. A USB gadget driver is a device driver for devices that are connected to the gadget platform via USB and support data transfer on this bus. The following figure shows the general architecture of the USB gadget driver on embedded platform;</p>
<p style="text-align:center;"><img class="alignnone size-full wp-image-388" src="http://jawadsblog.files.wordpress.com/2010/12/pic1.jpg?w=291&#038;h=241" alt="" width="291" height="241" /></p>
<p style="text-align:center;"><strong>Figure: </strong>General Architecture of USB HID Class Gadget Driver</p>
<p><em>USB Device Controller Hardware</em></p>
<p>The USB controller driver handle low level operation on the USB device to select the speed of communication and configuration of control, interrupt and data pipes and also provide gadget API(s) and data structure to the upper layer for various operations .<br />
<em>USB gadget driver for HID class</em></p>
<p>This layer will provide to communicate descriptors with the host . The layer will enable pipes for various operations.  The character driver will also be implemented on this layer. The character driver will enable the user application to communicate reports between host and device.<br />
<em>Operating system Native wrapper</em></p>
<p>The layer provides various API(s) and data structures to different layers of HID class gadget driver</p>
<p style="text-align:left;"><strong>Software Architecture of USB Gadget Driver</strong></p>
<p>The following figure shows the software level architecture design of the USB HID class driver;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-389" src="http://jawadsblog.files.wordpress.com/2010/12/pic2.jpg?w=300&#038;h=277" alt="" width="300" height="277" /></p>
<p style="text-align:center;"><strong>Figure 2:</strong> Software level architecture design</p>
<p style="text-align:left;"><strong><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=387&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/12/13/usb-hidgadget-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/12/pic1.jpg" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/12/pic2.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>USB HID Class(Case Study)</title>
		<link>http://jawadsblog.wordpress.com/2010/11/13/usb-hid-classcase-study/</link>
		<comments>http://jawadsblog.wordpress.com/2010/11/13/usb-hid-classcase-study/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 11:35:02 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=372</guid>
		<description><![CDATA[USB HID Class The HID class consists of devices that are used by humans to control the operation of systems e.g. Keyboard, Mouse, Trackballs and Joy Sticks. HID classes are identified by a device as belonging to one of a finite number of classes (HID Class). A USB/HID class device uses a corresponding HID class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=372&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>USB HID Class</strong><br />
The HID class consists of devices that are used by humans to control the operation of systems e.g. Keyboard, Mouse, Trackballs and Joy Sticks. HID classes are identified by a device as belonging to one of a finite number of classes (HID Class). A USB/HID class device uses a corresponding HID class to retrieve and route all the data. The routing and retrieval of data is accomplished by examining the descriptors of the device and that it provides which is depicted in the following figure;</p>
<p>The HID class device descriptors identify which other HID class descriptors are present and indicate their sizes e.g. Report and Physical descriptors. The HID does not have a human interface. The device just needs to be able to function within the limits of major abilities and limits of HID class devices</p>
<p>All data exchanged resides in fixed length structure called reports. The host      sends and receives data by sending and requesting reports in a control or      interrupts transfers. The report format is flexible and can handle just about any type of data.</p>
<p>A HID must have interrupt IN end point for sending input reports</p>
<p>A HID can have at most one interrupt IN endpoint and one interrupt out endpoint.      A device that requires more interrupt endpoints can be a composite device      with multiple HID interfaces.The Interrupt IN end point enables the HID to send information to the host at unpredictable time’s e.g There is no way for the host computer to know when a user will press a key on the board.</p>
<p>The rate of data exchange is limited. A low speed interrupt end point, a  maximum data transfer rate of 800 bytes/sec.  For full speed points, the maximum is 64      KB/s. High Speed endpoints support faster rates.The USB specification allows for the connection of maximum of 127 peripheral devices to the system either on the same port or on different ports.<br />
<strong>Descriptors</strong><br />
The following  is the detail of descriptors used in USB HID class;<br />
<strong>Device Descriptor</strong><br />
Describes the number of configurations supported by the device and specifies vendor information and device class.<br />
<strong>Configuration Descriptor</strong><br />
Specify one/ more interface and define certain attributes associated with this configuration.<br />
<strong>Interface Descriptor</strong><br />
Defines the number of endpoints related to the interface along with information needed by host software to determine how end points should be accessed.<br />
<strong>String Descriptor</strong><br />
Optional descriptors consisting of a Unicode string that provide human readable information which can be displayed on host side device.<br />
<strong>HID Class Descriptor</strong><br />
The HID class descriptors identify additional descriptors for HID communication. The class description has seven or more fields depending on the number of additional descriptors.<br />
<strong>Report Descriptor</strong><br />
A report descriptor defines the format and use of the data in the HID reports. If the device is a mouse; the data reports mouse movements and button clicks. If the device is a relay controller, the data specifies which relay to open and close. The descriptor format is flexible enough for use with the devices with varied functions.</p>
<p><strong>Case Study(USB Mouse)</strong><br />
The following is the details of descriptors used for USB mouse as Case Study;<br />
<strong>Device Descriptor</strong></p>
<p style="text-align:center;">&nbsp;</p>
<div style="text-align:auto;"><strong><br />
</strong></div>
<p style="text-align:center;"><strong> <a href="http://jawadsblog.files.wordpress.com/2010/11/pic13.jpg?w=300"><img class="alignnone size-medium wp-image-373 aligncenter" src="http://jawadsblog.files.wordpress.com/2010/11/pic13.jpg?w=300&#038;h=56" alt="" width="300" height="56" /></a></strong></p>
<p style="text-align:left;"><strong>Configuration Descriptor</strong></p>
<p><strong><a href="http://jawadsblog.files.wordpress.com/2010/11/pic21.jpg?w=252"><img class="alignnone size-medium wp-image-374 aligncenter" src="http://jawadsblog.files.wordpress.com/2010/11/pic21.jpg?w=252&#038;h=299" alt="" width="252" height="299" /></a></strong></p>
<p style="text-align:left;"><strong>Interface Descriptor</strong></p>
<p style="text-align:center;"><strong><a href="http://jawadsblog.files.wordpress.com/2010/11/pic31.jpg?w=300"><img class="alignnone size-medium wp-image-375 aligncenter" src="http://jawadsblog.files.wordpress.com/2010/11/pic31.jpg?w=300&#038;h=162" alt="" width="300" height="162" /></a></strong></p>
<p style="text-align:left;"><strong>HID Descriptor</strong></p>
<p><strong><a href="http://jawadsblog.files.wordpress.com/2010/11/pic41.jpg?w=300"><img class="alignnone size-medium wp-image-377 aligncenter" src="http://jawadsblog.files.wordpress.com/2010/11/pic41.jpg?w=300&#038;h=129" alt="" width="300" height="129" /></a></strong></p>
<p style="text-align:left;"><strong>End Point Descriptor</strong></p>
<p style="text-align:left;"><strong><img class="alignnone size-medium wp-image-378 aligncenter" src="http://jawadsblog.files.wordpress.com/2010/11/pic51.jpg?w=300&#038;h=155" alt="" width="300" height="155" /></strong></p>
<p style="text-align:left;"><strong>Report Descriptor</strong></p>
<p style="text-align:center;"><strong> <img class="alignnone size-medium wp-image-379" src="http://jawadsblog.files.wordpress.com/2010/11/pic6.jpg?w=214&#038;h=300" alt="" width="214" height="300" /></strong></p>
<p style="text-align:left;">&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=372&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/11/13/usb-hid-classcase-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic13.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic21.jpg?w=252" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic31.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic41.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic51.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic6.jpg?w=214" medium="image" />
	</item>
		<item>
		<title>ALSA Audio Driver</title>
		<link>http://jawadsblog.wordpress.com/2010/11/11/alsa-audio-driver/</link>
		<comments>http://jawadsblog.wordpress.com/2010/11/11/alsa-audio-driver/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 12:13:51 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=359</guid>
		<description><![CDATA[ALSA Audio Driver The below figure shows audio connection on a PC compatible system; the audio controller on the south bridge, together with an external codec, interfaces with analog audio circuitry. Figure: Audio in a PC environment An audio codec converts digital audio data to analog sound signals for playing via speakers and performs the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=359&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>ALSA Audio Driver</strong><br />
The below figure shows audio connection on a PC compatible system; the audio controller on the south bridge, together with an external codec, interfaces with analog audio circuitry.</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-367" src="http://jawadsblog.files.wordpress.com/2010/11/pic12.jpg?w=300&#038;h=195" alt="" width="300" height="195" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Audio in a PC environment</p>
<p>An audio codec converts digital audio data to analog sound signals for playing via speakers and performs the reverse operation for recording via a microphone. Other common audio inputs and outputs that interface with a codec include headsets, earphone, hand free, line in and line Out. A codec offers mixer functionality that connects it to a combination of these audio outputs and inputs and controls the volume gain associated with audio signal.</p>
<p>Digital data is obtained by sampling audio analog signals at specific bit rates using a technique called pulse code modulation (PCM). CD quality is for example sound sampled at 44.1 KHz, using 16 bits to hold each sample. A codec is responsible for recording audio by sampling at supported PCM bit rates and for playing audio originally sampled at different bit rates.</p>
<p><strong>Linux Sound Sub System</strong><br />
Advanced Linux Sound Architecture (ALSA) is the sound sub system in 2.6 Kernel. Open Sound System (OSS), the sound layer in the 2.4 layer is now obsolete and depreciated.<br />
The following figure shows the Linux sound sub system;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-361" src="http://jawadsblog.files.wordpress.com/2010/11/pic2.jpg?w=249&#038;h=300" alt="" width="249" height="300" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Linux Sound Sub System (ALSA)</p>
<p>1). The following /dev/snd/* device nodes are created and managed by the ALSA core. /dev/snd/controlC0 is a control node that application uses for controlling volume gain and such. /dev/snd/pcmC0D0P is a play back device. /dev/snd/pcmD0C is a recording device.<br />
2). Audio controller drivers specific to the controller hardware . To drive the audio controller present in the intel ICH south bridge chipsets e.g. use the snd_intel8x0 driver.<br />
3). Audio codec interface that assist communication between controllers and codecs for AC’ 97 codec used the snd_ac97_codec and ac97_bus modules.<br />
4). The nodes /dev/adsp and /dev/mixer allow OSS application to run unchanged over ALSA. The OSS /dev/dsp node maps to ALSA nodes /dev/snd/pcmC0D0; /dev/adsp corresponds to /dev/snd/pcmC0D1* and /dev/mixer associates with /dev/snd/ControlC0.<br />
5). Procfs and sysfc interface implementations for accessing info via /proc/aSound and /Sys/class/sound.</p>
<p>6). The user space ALSA library alsa-lib which provides the libSound.so object. The library passes the job of the ALSA application programming by offering several canned routines to access ALSA drivers.</p>
<p><strong>Tools and Links</strong><br />
1). <a href="http://tldp.org/HOWTO/sound-HOWTO"></a><a href="http://tldp.org/HOWTO/Sound-HOWTO/"></a><a href="http://tldp.org/HOWTO/Sound-HOWTO/">http://tldp.org/HOWTO/Sound-HOWTO/</a><br />
Answers of FAQ pertaining to Linux<br />
2). <a href="http://sourceforge.net/projects/mad/files">http://sourceforge.net/projects/mad/files</a><br />
MadPlay is a software MP3 decoder and player that are both ALSA and OSS aware.<br />
3). <a href="http://rawrec.sourceforge.net/">http://rawrec.sourceforge.net</a><br />
It is used for basic playback and recording.</p>
<p><strong>Data Structure and API</strong><br />
The figures show the list of data structure and API used in developing the ALSA driver.</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-362" src="http://jawadsblog.files.wordpress.com/2010/11/pic3.jpg?w=300&#038;h=117" alt="" width="300" height="117" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Summary of data structures</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-363" src="http://jawadsblog.files.wordpress.com/2010/11/pic4.jpg?w=300&#038;h=168" alt="" width="300" height="168" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Summary of ALSA driver API</p>
<p style="text-align:center;">&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=359&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/11/11/alsa-audio-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic12.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic2.jpg?w=249" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic3.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/11/pic4.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>USB in User Mode</title>
		<link>http://jawadsblog.wordpress.com/2010/09/29/usb-in-user-mode/</link>
		<comments>http://jawadsblog.wordpress.com/2010/09/29/usb-in-user-mode/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 14:25:37 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=352</guid>
		<description><![CDATA[USB in User Mode LibUSB library is best option for developing a USB driver. It can work on both Windows and Linux machines. It can be downloaded from http://libusb.sourceforge.net/. The full list of USB access functions offered by this library is available under the doc/ directory of LibUSB sources. Architecture on Linux The following is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=352&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>USB in User Mode</strong><br />
LibUSB library is best option for developing a USB driver. It can work on both Windows and Linux machines. It can be downloaded from <a href="http://libusb.sourceforge.net/" target="_blank">http://libusb.sourceforge.net/</a>. The full list of USB access functions offered by this library is available under the doc/ directory of LibUSB sources.</p>
<p><strong>Architecture on Linux</strong><br />
The following is the detail design of using lib USB library with the user application on Linux machine.</p>
<p style="text-align:center;"><img class="size-medium wp-image-353 aligncenter" src="http://jawadsblog.files.wordpress.com/2010/09/pic1.jpg?w=202&#038;h=300" alt="" width="202" height="300" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Detail design of Lib USB with user mode application</p>
<p><strong>Architecture on Windows Machine</strong><br />
Following is the architecture of using libusb on windows platform;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-354" src="http://jawadsblog.files.wordpress.com/2010/09/pic2.jpg?w=261&#038;h=300" alt="" width="261" height="300" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Detail design of LibUSB on Windows machine</p>
<p>The following code implements a user space code for detecting a USB device according to its class and getting its different manufacturing information from descriptors like device descriptors and interface descriptors.</p>
<p><a href="http://jawadsblog.files.wordpress.com/2010/09/libusb_test1.doc">libusb_test</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/352/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=352&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/09/29/usb-in-user-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/09/pic1.jpg?w=202" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/09/pic2.jpg?w=261" medium="image" />
	</item>
		<item>
		<title>Smart Antenna?</title>
		<link>http://jawadsblog.wordpress.com/2010/08/24/smart-antenna/</link>
		<comments>http://jawadsblog.wordpress.com/2010/08/24/smart-antenna/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 12:20:32 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[Electronics and Communication]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=345</guid>
		<description><![CDATA[Smart Antenna? Smart Antenna is an antenna array aided by some “smart” algorithm to combine the signals, designed to adapt to different signal environments. The antenna can automatically adjust to a dynamic signal Environment. The gain of the antenna for a given direction of arrival is adjustable. In truth, antennas are not smart, antenna systems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=345&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Smart Antenna?</strong><br />
Smart Antenna is an antenna array aided by some “smart” algorithm to combine the signals, designed to adapt to different signal environments. The antenna can automatically adjust to a dynamic signal Environment. The gain of the antenna for a given direction of arrival is adjustable.  In truth, antennas are not smart, antenna systems are smart. Generally collocated with a base station, a smart antenna system combines an antenna array with a digital signal-processing capability to transmit and receive in an adaptive, spatially sensitive manner. In other words, such a system can automatically change the directionality of its radiation patterns in response to its signal environment. This can dramatically increase the performance characteristics (such as capacity) of a wireless system.</p>
<p><strong>Types of Smart Antenna Systems</strong></p>
<p>The following are distinctions between the two major categories of smart antennas regarding the choices in transmit strategy:</p>
<p><strong><em>Switched Beam Antennas</em></strong><br />
In Switched Beam Smart antenna, there are a finite number of fixed, predefined patterns or combining strategies (sectors).<br />
Switched beam antenna systems form multiple fixed beams with heightened sensitivity in particular directions. These antenna systems detect signal strength, choose from one of several predetermined, fixed beams, and switch from one beam to another as the mobile moves throughout the sector.  Instead of shaping the directional antenna pattern with the metallic properties and physical design of a single element (like a sectorized antenna), switched beam systems combine the outputs of multiple antennas in such a way as to form finely sectorized (directional) beams with more spatial selectivity than can be achieved with conventional, single-element approaches.<br />
In the Switched Beam scheme, beams are created by choosing a particular set of antenna weights from a fixed “library” of beam weight vectors. The weight vector associated with maximum SNIR is chosen as the current weight vector. It follows that in order to continuously maintain maximum SNIR, the choice of weight vector must be continuously updated via ongoing SNIR measurements.Switched beam systems are simpler and less computationally intensive.</p>
<p style="text-align:center;"><img class="alignnone size-full wp-image-346" src="http://jawadsblog.files.wordpress.com/2010/08/pic1.jpg?w=176&#038;h=161" alt="" width="176" height="161" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Switched Beam System Coverage Patterns (Sectors)</p>
<p><strong><em>Adaptive Array Antennas</em></strong><br />
In Adaptive Array antenna there are an infinite number of patterns (scenario-based) that are adjusted in real time.<br />
Adaptive antenna technology represents the most advanced smart antenna approach to date. Using a variety of new signal-processing algorithms, the adaptive system takes advantage of its ability to effectively locate and track various types of signals to dynamically minimize interference and maximize intended signal reception. Both systems attempt to increase gain according to the location of the user; however, only the adaptive system provides optimal gain while simultaneously identifying, tracking, and minimizing interfering signals.</p>
<p style="text-align:center;"><img class="alignnone size-full wp-image-347" src="http://jawadsblog.files.wordpress.com/2010/08/pic2.jpg?w=188&#038;h=161" alt="" width="188" height="161" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Adaptive Array Coverage, A representative depiction of a Main Lobe extending toward a User with a Null directed toward a Co channel Interferer.</p>
<p><strong>Beamforming Algorithms</strong><br />
In beamforming, both the amplitude and phase of each antenna element are controlled. Combined amplitude and phase control can be used to adjust side lobe levels and steer nulls better than can be achieved by phase control alone. The combined relative amplitude a<sub>k</sub><strong> </strong>and phase shift <strong>q</strong><sub>k</sub><strong> </strong>for each antenna is called a “<strong><em>complex weight</em></strong>” and is represented by a complex constant <strong>w</strong><sub>k </sub>(for the kth antenna). These weights are calculated using different algorithms.<br />
Beamforming is the term used to describe the application of weights to the inputs of an array of antennas to focus the reception of the antenna array in a certain direction, called the look direction or the main lobe. More importantly, other signals of the same carrier frequency from other directions can be rejected. These effects are all achieved electronically and no physical movement of the receiving antennas is necessary. In addition, multiple beamformers focused in different directions can share a single antenna array; one set of antennas can service multiple calls of the same carrier.<br />
In Beamforming, we discriminate between signals according to their angles of arrival (AOA). Beam pattern is controlled by the complex weights.</p>
<p style="text-align:center;">
<p style="text-align:center;"><img class="alignnone size-medium wp-image-348" src="http://jawadsblog.files.wordpress.com/2010/08/pic3.jpg?w=300&#038;h=181" alt="" width="300" height="181" /></p>
<p><em>Least-Mean-Squares Algorithm</em><br />
The LMS algorithm can be considered to be the most common adaptive algorithm for continues adaptation. It uses the steepest-descent method and recursively computes and updates the weight vector.</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-349" src="http://jawadsblog.files.wordpress.com/2010/08/pic4.jpg?w=300&#038;h=125" alt="" width="300" height="125" /></p>
<p style="text-align:center;">Figure: LMS Algorithm</p>
<p style="text-align:left;">
<div id="_mcePaste" style="position:absolute;left:-10000px;top:1966px;width:1px;height:1px;overflow:hidden;">
<p><!--[if !mso]&gt; &lt;!  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --> <!--[endif]--><!--[if gte mso 9]&gt;  Normal 0          MicrosoftInternetExplorer4  &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:TimesNewRomanPSMT; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:auto; 	mso-font-signature:3 0 0 0 1 0;} @font-face 	{font-family:TimesNewRomanPS-BoldItalicMT; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:auto; 	mso-font-signature:3 0 0 0 1 0;} @font-face 	{font-family:TT12Fo00; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-format:other; 	mso-font-pitch:auto; 	mso-font-signature:3 0 0 0 1 0;} @font-face 	{font-family:TimesNewRomanPS-ItalicMT; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-alt:"Times New Roman"; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:auto; 	mso-font-signature:131 0 0 0 9 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;;} --> <!--[endif]--></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">Due to the steepest-descend the updated vector will propagate to the vector which causes the least mean square error (MSE) between the beamformer output and the reference signal. The following derivation for the LMS algorithm is found in . The MSE is defined by: </span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:16pt;"><!--[if gte vml 1]&gt;                    &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image002.gif" alt="" width="217" height="57" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="position:relative;top:5pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image004.gif" alt="" width="40" height="21" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--> is the complex conjugate of the desired signal. The signal <span style="position:relative;top:6pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image006.gif" alt="" width="33" height="24" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--> is the received signal from the antenna elements, and <span style="position:relative;top:6pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image008.gif" alt="" width="53" height="25" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--> is the output of the beamform antenna and <span style="position:relative;top:6pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image010.gif" alt="" width="33" height="27" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--> is the Hermetian operator. The expected value of both sides leads to:</p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:12pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image012.gif" alt="" width="305" height="40" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">In this relation the </span><strong><em><span style="font-family:TimesNewRomanPS-BoldItalicMT;">r </span></em></strong><span style="font-family:TimesNewRomanPSMT;">and </span><strong><em><span style="font-family:TimesNewRomanPS-BoldItalicMT;">R </span></em></strong><span style="font-family:TimesNewRomanPSMT;">are defined by:</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:18pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image014.gif" alt="" width="127" height="56" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><strong><em><span style="font-family:TimesNewRomanPS-BoldItalicMT;">R </span></em></strong><span style="font-family:TimesNewRomanPSMT;">is referred to as the covariance matrix. If the gradient of the weight vector </span><strong><em><span style="font-family:TimesNewRomanPS-BoldItalicMT;">w </span></em></strong><span style="font-family:TimesNewRomanPSMT;">is zero, the MSE is at its</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">minimum. This leads to:</span><span style="font-family:TimesNewRomanPS-BoldItalicMT;"> </span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:9pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image016.gif" alt="" width="204" height="32" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">This solution is called the Wiener-Hopf equation for the optimum Wiener solution:</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:11pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image018.gif" alt="" width="65" height="31" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">The LMS algorithm converges to this optimum Wiener solution. The basic iteration is based on the</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">following simple recursive relation:</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:12pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image020.gif" alt="" width="237" height="41" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">And combining above two equations, gives:</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:7pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image022.gif" alt="" width="211" height="27" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">The measurement of the gradient vector is not possible, and therefore the instantaneous estimate is used.</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"> </span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:17pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image024.gif" alt="" width="125" height="53" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">The LMS algorithm can be written in its final form.</span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;"><span style="position:relative;top:18pt;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><img src="/DOCUME%7E1/JREHMA%7E1.STR/LOCALS%7E1/Temp/msohtml1/15/clip_image026.gif" alt="" width="301" height="56" /><!--[endif]--></span><!--[if gte mso 9]&gt;   &lt;![endif]--></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span style="font-family:TimesNewRomanPSMT;">One of the issues on the use of the instantaneous error is concerned with the gradient vector, which is not the true error gradient. The gradient is stochastic and therefore the estimated vector will never be the optimum solution. The steady state solution is noisy; it will fluctuate around the optimum solution. By decreasing </span><span style="font-family:TT12Fo00;">µ </span><span style="font-family:TimesNewRomanPSMT;">the precision will improve but it will decrease the adaptation rate. An adaptive </span><span style="font-family:TT12Fo00;">µ </span><span style="font-family:TimesNewRomanPSMT;">could solve this issue by starting with a large </span><span style="font-family:TT12Fo00;">µ </span><span style="font-family:TimesNewRomanPSMT;">and decrease the factor when the vector converges. When an array of 4 antennas is used, there is a maximum of 3 nulls that can eliminate the interferer. Figure 7 shows the convergence of the array for 2 interferers. The minimum error is a result of the extra ‘system’ noise that is added to all antennas. The interference signals are Gaussian white noise, zero mean with a sigma of 1. The extra system noise to all antennas is white noise with zero mean and a sigma of 0.1. The received signals are MSK signals with an oversampling of 4 and have an amplitude of 1 in the simulations. The true array output </span><em><span style="font-family:TimesNewRomanPS-ItalicMT;">y(t) </span></em><span style="font-family:TimesNewRomanPSMT;">is converging to the desired signal </span><em><span style="font-family:TimesNewRomanPS-ItalicMT;">d(t)</span></em><span style="font-family:TimesNewRomanPSMT;">. After 40 samples the signal is at its minimum due to the system noise. The LMS cannot filter the system noise, as it is not correlated for all four antennas. The interferers are cancelled by placing nulls in the direction of the interferers. The received signal arrives at an angle of 25 degrees and the array response is 0 dB. The LMS algorithm clearly works sufficient as the strong interferers are reduced. </span></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=345&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/08/24/smart-antenna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/08/pic1.jpg" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/08/pic2.jpg" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/08/pic3.jpg?w=300" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/08/pic4.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Digital Clock Simulation</title>
		<link>http://jawadsblog.wordpress.com/2010/06/08/digital-clock-simulation/</link>
		<comments>http://jawadsblog.wordpress.com/2010/06/08/digital-clock-simulation/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 22:00:15 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[Electronics and Communication]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=339</guid>
		<description><![CDATA[Digital Clock In digital clock circuit, the 50 Hz, 220 volts ac main sinusoidal signal is shaped into a 50Hz, a 5 volt square wave signal. A divide by 50 counters divides the input 50 Hz signal to a 1 Hz signal. The seconds, divide by 60 counter counts up to 60 seconds (0 to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=339&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Digital Clock</strong><br />
In digital clock circuit, the 50 Hz, 220 volts ac main sinusoidal signal is shaped into a 50Hz, a 5 volt square wave signal. A divide by 50 counters divides the input 50 Hz signal to a 1 Hz signal. The seconds, divide by 60 counter counts up to 60 seconds (0 to 59). The minutes, divide by 60 counter also counts up to sixty minutes (0 to 59). The hours, decade counter counts from 0 to 9. The flip flop connected to the output of the decade counter is set to 0 or 1 to represent hours from 0 to 9and 10 to 12 respectively.</p>
<p><strong>Simulation of Digital Clock</strong><br />
The following figure shows the simulation of the digital clock;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-340" src="http://jawadsblog.files.wordpress.com/2010/06/clock.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Digital Clock Simulation</p>
<p style="text-align:left;"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/339/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=339&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/06/08/digital-clock-simulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/06/clock.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Bridge Rectifier Simulation</title>
		<link>http://jawadsblog.wordpress.com/2010/06/08/bridge-rectifier-simulation/</link>
		<comments>http://jawadsblog.wordpress.com/2010/06/08/bridge-rectifier-simulation/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 04:17:44 +0000</pubDate>
		<dc:creator>Jawad Rehman</dc:creator>
				<category><![CDATA[Electronics and Communication]]></category>

		<guid isPermaLink="false">http://jawadsblog.wordpress.com/?p=331</guid>
		<description><![CDATA[Full Wave Bridge Rectifier The bridge rectifier is the most commonly used full wave rectifier circuit for several reasons (1) It does not require the use of center-tapped transformer, and therefore can be coupled directly to the ac power line, if desired. (2)Using a transformer with the same secondary voltage produces a peak output voltage [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=331&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Full Wave Bridge Rectifier</strong><br />
The bridge rectifier is the most commonly used full wave rectifier circuit for several reasons<br />
(1) It does not require the use of center-tapped transformer, and therefore can be coupled directly to the ac power line, if desired.<br />
(2)Using a transformer with the same secondary voltage produces a peak output voltage that is nearly double the voltage of the full wave center-tapped rectifier. This results in the higher dc voltage from the supply.</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-332" src="http://jawadsblog.files.wordpress.com/2010/06/pic11.jpg?w=286&#038;h=300" alt="" width="286" height="300" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Bridge full wave rectifier</p>
<p>When D1 and D3 are on, D2 and D4 are off and vive versa. This circuit operation is illustrated in the fig.<br />
The current direction will not change in the either condition.</p>
<p><strong>Simulation</strong></p>
<p>The follwing figure shows the simulation of full wave bridge rectifier;</p>
<p style="text-align:center;"><img class="alignnone size-medium wp-image-333" src="http://jawadsblog.files.wordpress.com/2010/06/rectifier.jpg?w=300&#038;h=253" alt="" width="300" height="253" /></p>
<p style="text-align:center;"><strong>Figure:</strong> Simulation of Full Wave Bridge Rectifier</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jawadsblog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jawadsblog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jawadsblog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jawadsblog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jawadsblog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jawadsblog.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jawadsblog.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jawadsblog.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jawadsblog.wordpress.com&amp;blog=10206999&amp;post=331&amp;subd=jawadsblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jawadsblog.wordpress.com/2010/06/08/bridge-rectifier-simulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aaf2c6556d897ca2c75930d44d52ed8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jawad</media:title>
		</media:content>

		<media:content url="http://jawadsblog.files.wordpress.com/2010/06/pic11.jpg?w=286" medium="image" />

		<media:content url="http://jawadsblog.files.wordpress.com/2010/06/rectifier.jpg?w=300" medium="image" />
	</item>
	</channel>
</rss>
