Friday, April 26, 2013

To be or not be Dr


 Abstract :

Dilemma of whether to go for a PhD was the question at hand. I did some research to arrive at an answer after looking at three main parts (mainly socio-economic fronts across India, US and Europe) :


  1.  Surviving as a PhD student,
  2.  Difference it makes in a your career
  3.  Difference from a corporate career,

Motivation :


Questions about pursuing PhD has been bothering me since a year now. But as it always happen, unless you have a deadline, you don't conclude. I had always dreamed of being a scientist, my innocent motivation to PhD. Moreover, I found quite a few people who were in a similar situation. I set myself up to figure out what's in store apart from being a scientist as a PhD and the journey for becoming a Doctorate.

Conclusion :

I have always chosen things which opens up more opportunities. In other words, I have always restrained my self from choosing something which channelizes my efforts and look at a bigger goal.

I have discussed on public forums, read books discussed with colleagues , profs, PhD students and concluded. Currently, I am not prepared to be a doctoral student. Hence, decided not to go for PhD immediately after my Masters. (Keeping my options open ..).

Sunday, November 18, 2012

Kalman Filter simplified

While trying to understand what "Kalman Filter" is all about, I encountered that there were very less instances when people have explained in layman's terms.

After searching a lot , I have came up with a combination of three sources which can help you grasp this concept in a easier way.

Before we move on, I always consider a one line description/definition which we can always look back.

First line in the Kalman's Original paper [1] tell us that :
    its a "recursive solution to the discrete-data linear filtering problem"
just re-framing it  :
   "recursive solution for digtal filters"

If you are familiar with digital filters  (low butterworth filters ,etc) it manipulates the incoming data according to the given constraints. Keep in mind frequency is not the only way to characterize a signal. What if one cannot quantify the constants in terms of frequency,wavelets,etc? We land up to something called stochastic method, where we consider variables to be random (with certain constraints) and essentially don't try to characterize in a terms of a "feature" like frequency.

When we are looking at a digital filter, what we should be looking for is :
> type of input
      Discrete-time data. this data can be either scalar or vector.
      E.g. of discrete time scalar data : x
      At t=1 , x=4; At t=2 , x=2; At t=1 , x=8; At t=1 , x=6 ;

> type of constraints and how to apply?
     Constraint is given in terms of Model parameters ( coefficients of the equations given by Kalman )
     Kalman arrives at a linear stochastic equation which is generalization of system prone to noise.
     We apply the constraints guessing the behavior of the system and noise.

> suitable applications
   Filtering noise in most signals (sampled at certain rate). Majorly, used in noise removal from measured quantities when the behavior of the system is known.

The three sources are :
1)  Buffalo tutorial :
start by refering to the block-diagram on page 6. and the description of the variable on page 2.
This will help you visualize what these equations are about.

2) Bilgin's Blog :
  Awesome blog on Kalman filter. It tell you every thing about how can you apply Kalman filters.

3) Cornell course material   :
  Refer to the example of  measurement of water level in tank. This could give a good ending to your pursuit of learning kalman filters.


References:
[1] Kalman, Rudolph Emil. "A new approach to linear filtering and prediction problems." Journal of basic Engineering 82.1 (1960): 35-45.

Sunday, July 1, 2012

understanding DDR2 RAM modules

I was looking for a proper way to understand the working of a DDR2 SDRAM modules which are readily available in the market. I wanted to understand how to interface, but i figured out that its important to know the a about the working.



I figured out that , one can understand by following the following sequence:
1) Look for a Micron DDR2 data sheet.
    - This will give you an idea about the SDRAM 'Chip' on the modules you buy .
2) Then if you look for DIMM(Dual in-line memory module). wiki page is good enough to give you a good idea. Consider looking for SO-DIMM, which are used for Laptops and even Mini-DIMM ,which are used in some of the development kits .
3) Now you may look for difference b/w buffered and unbuffered  modules.

By the end i feel one may completely understand the working of DDR2 modules.

Monday, June 18, 2012

Idle mode disables JTAG interface in LPC2378

I was working with MCB2300 a ARM7 development/evaluation board from Keil. It has LPC2378 , a 32bit 144pin ,ARM7 by NXP .
Interestingly , when i started working on it , around 8 months before , i couldn't figure out that it had Serial ISP. The online userguide on Kiel website is not very friendly.

So, I am an expert in messing things up. I asked the mcu to sleep , but did not tell when to wake up. So whenever i reset the system , the system did perform some task and within miliseconds it would go into Idle mode.
  PCON |= 1; // MCU goes into idle mode

When i tied to program it using JTAG , it won't respond. I was not able to program .Finally, I asked in forums (ARM and Kiel).
It was pretty simple , if JTAG goes down, go for Serial ISP.

Need to put some jumpers on (ISP and COM0)
remove ETM jumper if there.

Erase flash using flashmagic @ 19200 baudrate .
It not done, you need to put it some new code to see whether you Ulink JTAG debugger is not faulty.

I was very happy that Kiel and ARM guys had replied so fast.

Friday, June 8, 2012

Agilent Soft touch pro

Working with Agilent Logic analyzer , I was thrilled to see the technology that has come up in the field of debugging .

I realized lately that XUP-V5 board has a mictor port available for debugging. Mictor stands for Matched impedance connector , very useful for capturing high speed signals and it also captures lot of signals in a small footprint.
Mictor Connector

After this I saw the Soft touch pro , an awesome implementation of contact-less probing . No its not actually contact-less, but it like the probe just touches the pads/lands. Though it has an overhead of soldering additional holder around the trace temporarily, its can be incorporated in end products. No extra cost on connectors on each board, and small foot print a win-win combo. Only thing is that one needs to buy a Agilent soft touch pro connector , which might cost heavily.

Dying to try them all.

Digitally Controlled Impedance

Working with Xilinx Virtex5 FPGA , I found this feature called DCI (Digitally controlled Impedance) very interesting. 

If we have an IC with several hundred pins and one wants to pull up all the GPIO pins through a resistor and further connect it to some simple device say, switches. Then in a conventional scenario one needs hundreds of resistors to be connected. This increases the area consumed. 
If the IC has DCI, it will match all termination resistors(which will be some transistors already fabricated on the chip ) to this reference resistor and terminate internally. This decreasing the resistors required and the area.

I know only from the application point of view , but will look into how is this implemented in near future.

Wednesday, May 23, 2012

Online compilers a Boon

Sitting on a public computer , its is mostly impossible and feasible to install a compiler and start coding . On line compiler websites, is helping me out of these kinda situations .

 These compilers not only check the syntax but also link it for either windows or linux.
http://www.onlinecompiler.net/
Check out if you are in the same kinda situation. hope it helps.