Wednesday, March 17, 2010

Noiseless measurement of Optical Signal and Laser Pulse generation

After one week of thinking my project is finally decided its "Noiseless measurement of Optical Signal and Laser Pulse generation". Deciding the project was tough job, not only I had to consider that the project should be complited in three weeks it should also not very complicated as well as not very simple. I had many thoughts in mind like making "MP3 player", "USB pen drive", "Touch screen " or "Laser guided robot" but I did'nt like any of them very much since they are mostly electronics gadgets, available in market ( and if you respect chines they can be really very cheap) also I am Physicist not an electronics engineer. Electrnics is just happend to be my hobby but Physics is my passion. So I wanted to decide some project which will reflect my Physics background and finally came up with this Idea.


Motivation-
Often during optical measurment background light is a big problem (still remember the complite blackout of optics lab ). I decided to come up with the idea to remove this background light noise. The idea is as follows-
  1. Light from the light source ( usually laser , monochromator ) is allowed to pass through sample and chopper on to the detector. The job of the chopper is to periodically allow and block the light from the light source. In this way the detector will receive two kinds of signals one with (laser + background ) and other with only background light. Now I just need to subtract these two signals to remove the noise.
  2. Second part of the project is generate laser pulse of desired pulse width of order of millisecond. The idea is to control the speed of chopper motor using PWM method. A feedback mechanism is used to continuously monitor the speed of the chopper motor and then use this data and the set value of pulse width to control the speed of motor.
Part List-
  1. Any 80C51 core micro-controller (I am using P89V51RD2).
  2. LDR ( Light dependent resistor ) as detector.
  3. Chopper and opto-coupler (soon going to post the picture of my opto-coupler ).
  4. LCD.
  5. Keyboard.
I will keep posting the development in the project. I have got three weeks to complete this project lest see how I do .


Update 16 April :
Finally got some time to write.
I started with interfacing LDC to microcontroller. I have written a nice code library for interfacing it. Then I switched to interfacing ADC. I used 8080ADC. Instead of  using external clock using say 555 I used the clock generated by the uC itself. The ADC worked perfectly fine. I landed up in making a simple voltmeter by interfacing the LCD and ADC together. Till now everything was fine but later I observed that ADC is too slow for my use (data sheets says 100us for each conversion ) so I had to ditch the entire Idea of using ADC and I switch to atmega16 which has internal ADC with 15ksps. It was frustrating as my design was completly ready and now I have to start from scrach. Any was I switched to atmega16 all the software development is completed and its working fine atleast in simulation. I will implement it in hardware later.

1 comment: