Magic Lantern Forum

Developing Magic Lantern => Modules Development => Topic started by: Greg on September 11, 2013, 03:04:27 AM

Title: Sensor cleaning module
Post by: Greg on September 11, 2013, 03:04:27 AM
Sensor cleaning module, example video :

This module uses PROP_ACTIVE_SWEEP_STATUS.

Module:
https://bitbucket.org/Gr3g01/magic-lantern-sensor-cleaning/commits/87fc71749dcc57ad64d724c55056c665df37d1b1
Title: Re: Sensor cleaning module
Post by: fsnfs on March 29, 2014, 07:19:29 AM
what's the different between this and build-in?
Title: Re: Sensor cleaning module
Post by: g3gg0 on March 29, 2014, 01:19:23 PM
as the video shows, it repeats the cleaning process n times as you will never remove all dust with just one run.
Title: Re: Sensor cleaning module
Post by: ItsMeLenny on March 29, 2014, 01:56:52 PM
I googled to see how the sensor cleaning actually works and it turns out (according to an answer on a page):
" three wombles are released on command that move across picking up the detritus "
Title: Re: Sensor cleaning module
Post by: Greg on March 29, 2014, 02:20:09 PM
It is not 100% effective.
The best solution, sensor cleaning using cotton buds - https://www.google.pl/search?q=cotton+buds&source=lnms&tbm=isch
You have to be careful.
Title: Re: Sensor cleaning module
Post by: Marsu42 on March 29, 2014, 09:22:32 PM
as the video shows, it repeats the cleaning process n times as you will never remove all dust with just one run.

Which brings me to the question I've asked myself before: Why does Canon only do one short shake, is there any danger in doing it repeatedly?

Btw imho this is the best cleaning method, a lot of people on CR use it and I also do though w/o the butterfly:
Title: Re: Sensor cleaning module
Post by: dmilligan on March 29, 2014, 10:31:52 PM
Which brings me to the question I've asked myself before: Why does Canon only do one short shake, is there any danger in doing it repeatedly?

I think the idea is that it's kind of 'preventive'. It just does one little shake but it does that every time you turn the camera on or off.
Title: Re: Sensor cleaning module
Post by: Steven on March 29, 2014, 10:34:21 PM
Cotton Buds can scratch your sensor. Believe me, it happened to me...
Title: Re: Sensor cleaning module
Post by: engardeknave on March 30, 2014, 04:17:18 AM
I made a tiny squeegee-like implement with suede on the end. Very much like the kind from which Canon L pouches are made. (Didn't actually cut up an L pouch.) It's for dry use. Extremely effective, no streaks, no scratches.
Title: Re: Sensor cleaning module
Post by: Audionut on March 30, 2014, 04:57:13 AM
Which brings me to the question I've asked myself before: Why does Canon only do one short shake, is there any danger in doing it repeatedly?

The procedure requires a mechanical actuation.  As with all things mechanical, they wear with time.
I have no idea what the rated lifespan of the part is.  Nor do I have any idea, if the part is replaced with a shutter replacement.
Title: Re: Sensor cleaning module
Post by: Greg on March 30, 2014, 01:59:24 PM
Cotton Buds can scratch your sensor. Believe me, it happened to me...


I used a wet sensor swab from ebay. They do not clean the sensor...
I've used a few times cotton buds of the 500D. This gives the best effect.

before:
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs28.postimg.org%2Fpxt59p5il%2Fimage.jpg&hash=d5fafc0ddde771dc8a63e16325e8dfe9)

after china sensor swab:
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs28.postimg.org%2Fu87t5aalp%2Fimage.jpg&hash=3344a58b249b4c2fd6e1fd708f8ef03b)

after cotton buds :
(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs28.postimg.org%2Fg4bxww3e5%2Fimage.jpg&hash=4313a678be875fc1866b6b5082aff9dd)
Title: Re: Sensor cleaning module
Post by: Marsu42 on March 31, 2014, 09:16:18 PM
I've used a few times cotton buds of the 500D. This gives the best effect.

Lensrentals say that wet cleaning is fine if it works, but if not you're might make things worse ... that's why they advise dry cleaning through successive/iterative different steps.
Title: Re: Sensor cleaning module
Post by: Levas on May 27, 2014, 11:26:17 AM
 :)

@Greg

Do you think it's possible to activate the sensor cleaning module while reading out the sensor ?

The idea is, in (raw) video mode, the sensor cleaning could possibly act as a anti aliasing filter while recording...
http://www.magiclantern.fm/forum/index.php?topic=12043.0 

 ::)
If you could manage to activate sensor cleaning during the capture of a photo(or video) we could see the effect it has on the final image.
Since nobody has an idea if the effect is strong enough to work as an AA-filter for video...

Title: Re: Sensor cleaning module
Post by: ansius on May 27, 2014, 09:46:00 PM
On ontinuing the discussion on vibrating sensor while recording, there might be even some other benefits, because the idea is not new, there is a Aaton camera that does it, but for different reason. Reason being the temporial resolution, which has been there in film cinema, because grain never is in the same place, so while the film running it looks more detailed, than one still frame, but a regular sensor pixel place is fixed thus, apparent resolution does not change.  AATON Penelope Digital (http://nofilmschool.com/2012/10/aatons-penelope-delta-camera/) does jiggle the sensor frame to frame, to have the same effect.

Even tough this would probably kill the cleaning motor, it would be interesting to see the comparison results, it would be even worth getting an old outdated camera just for this test.
Title: Re: Sensor cleaning module
Post by: Greg on May 27, 2014, 10:35:22 PM
It does not work when Live View is activated.
Title: Re: Sensor cleaning module
Post by: Levas on May 27, 2014, 11:57:56 PM
Do you know the reason why it won't work when live view is activated ?
-Software blocked by canon, so maybe a way around it ?
Or
-Blocked by hardware design, in other words, impossible ?

Can you trigger it while taking a picture (without live view) ?
If you can manage to take a picture with sensor cleaning activated, we can see the amount of blur effect and see if it's worth it too invest more time in it.

Cause it's possible that the effect on the final image is way too big, or way too small that it won't work as an anti aliasing filter or work as random-movie-noise-generator.



Title: Re: Sensor cleaning module
Post by: barepixels on July 05, 2014, 08:13:45 PM
can someone share the mo file.  I have 5D2 if it makes a different.  thnx
Title: Re: Sensor cleaning module
Post by: Greg on December 29, 2014, 03:19:13 PM
I came back to this module.
It looks like:
PROP_ACTIVE_SWEEP_STATUS = 1 // activates the sensor cleaning, without shutter
PROP_ACTIVE_SWEEP_STATUS = 4 // activates the sensor cleaning, with shutter (shutter killer)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs11.postimg.org%2Fnnhh2aaqr%2FVRAM0.png&hash=daae9c32a8cb47f53b05b16a375e0177)

I wonder if this has some effect.
We need someone with a dirty sensor. ;)