Build a shutter tester for Focal Plane shutters - Cheap, Easy & it Works

Playing

Playing

  • 0
  • 0
  • 6
On The Mound

A
On The Mound

  • 6
  • 4
  • 138
Finn Slough-Bouquet

A
Finn Slough-Bouquet

  • 0
  • 1
  • 88
Table Rock and the Chimneys

A
Table Rock and the Chimneys

  • 4
  • 0
  • 137
Jizo

D
Jizo

  • 4
  • 1
  • 122

Forum statistics

Threads
197,419
Messages
2,758,675
Members
99,492
Latest member
f8andbethere
Recent bookmarks
0

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
( a bit of card with two slots cut in it :surprised:)
Did you see the thread describing a simple calibration device based on that same principle?


Screen Shot 2023-03-18 at 4.58.11 PM.png
 
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
My kids did some Arduino in High School, but they only borrowed the stuff. So I don't have any of the physical hardware with which to experiment at this time.

How will you distribute the code to those on PhotoTrio?

When I have tested the next iteration, will attach to another post.

Github maybe it's final resting place, but I don't know how github works, so need to look into it, sometime.
 
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
Nope, but the piccy looks like they using Audacity to measure a pulse length. Nice hack if they do not have access to an oscilloscope.
 

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
Nope, but the piccy looks like they using Audacity to measure a pulse length. Nice hack if they do not have access to an oscilloscope.

It is from a thread I had posted on calibrating my existing Audacity based shutter tester. My interest in Arduino is so I don't have to boot up my workbench computer and attach the A/D converter every time I want to test a camera.


speed-disk-makita-2-jpg.325421
 
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
It is from a thread I had posted on calibrating my existing Audacity based shutter tester. My interest in Arduino is so I don't have to boot up my workbench computer and attach the A/D converter every time I want to test a camera.


speed-disk-makita-2-jpg.325421

Not sure how this would calibrate an arduino. The internal arduino clock will be far more accurate than a drill, paper with slots in it, running into a computer where the operating system can go off and do something, the computer with its own clock that will not be 100% accurate into a program designed for audio.
I really do think you are chasing your tail with this.
 
  • Niglyn
  • Deleted
  • Reason: Can't attach photo

koraks

Moderator
Moderator
Joined
Nov 29, 2018
Messages
20,575
Location
Europe
Format
Multi Format
Not sure how this would calibrate an arduino.

The notion of calibration in this context seems to stem from a misunderstanding of what a microcontroller circuit is capable of. A typical Nano will be equipped with a +/-20ppm (typical max. boundary) quartz oscillator. Provided that the code doesn't mess things up (and this is easy to do!), this allows the thing to be accurate in its timings within 0.002% accuracy.

Of course, there will be some delays inherent to the laser gate circuitry. However:
1: These will be in the low microsecond range
2: They tend to be pretty symmetrical for both laser gates
3: They tend to be fairly stable over time and operating conditions
In short, they tend to cancel out and/or are insignificant in this application, provided somewhat sensible component choices.

The Arduino might be nice to calibrate that electric drill contraption, though 🙃
 

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
With a 1mm sensor the effective slit will be 2.25mm + the extra 1mm, so 3.25mm. When adjusting the closing curtain cam, this error will direct one to have the closing curtain cam release the closing curtain at 1.25mm to obtain 1/1000 of a second from the shutter tester.

This sensor width error is irrespective of how the sensor output is being read, Arduino, oscilloscope, etc. The wider the sensor the more error. If the sensor were 36mm across the sensor output would read 1/60 at all the faster speeds.

The calibration factor, likely will be the same across the board for all speeds for each sensor. It can be calculated a priori, but an empiric determination is better.

A slit of known velocity and width can be passed between the laser and the sensor using a shutter of known velocity and slit width. One can construct a gold-standard shutter with known slit width and velocity easily. An example is shown in post #80. But there can be other methods of passing a known slit width across the sensor if one does not have a motor or know how to determine RPM.
 
Last edited:
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
With a 1mm sensor the effective slit will be 2.25mm + the extra 1mm, so 3.25mm. When adjusting the closing curtain cam, this error will direct one to have the closing curtain cam release the closing curtain at 1.25mm to obtain 1/1000 of a second from the shutter tester.

This sensor width error is irrespective of how the sensor output is being read, Arduino, oscilloscope, etc. The wider the sensor the more error. If the sensor were 36mm across the sensor output would read 1/60 at all the faster speeds.

The calibration factor, likely will be the same across the board for all speeds for each sensor. It can be calculated a priori, but an empiric determination is better.

A slit of known velocity and width can be passed between the laser and the sensor using a shutter of known velocity and slit width. One can construct a gold-standard shutter with known slit width and velocity easily. An example is shown in post #80. But there can be other methods of passing a known slit width across the sensor if one does not have a motor or know how to determine RPM.

So what needs to be determined, is the width on & off of the sensor?

A rotating disc would introduce error as the sensor has both height and width, would a rotating drum be better?

Would a better way to measure sensor width, to use a card with a slot & move this across the sensor with a precise measuring aid, maybe a vernier or set it up on a milling machine with digital readout? We would know the actual measurement of the slot and the length travelled by the card.

The speed of each curtain and the distance over which this was measured is known. This is measured by two sensors, so there should be no width of sensor error.
Assuming the 'on-off' distance of the sensor is known, by measurement as described above, it seems just a maths problem to calculate the actual slot width.

Alternately, what about mounting the shutter tester vertically & dropping a weighted card with a slot cut, though it? The two lasers would measure speed & the slot width is known.
 
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
Latest code.
Now has shutter bounce detection. To use this, I would suggest moving the sensors/camera, so the second laser is right at the edge of the gate.

Has anybody built one yet?
 

Attachments

  • shuttertimer_2_lasers_2_9_3.txt
    14.6 KB · Views: 132

snusmumriken

Subscriber
Joined
Jul 22, 2021
Messages
2,343
Location
Salisbury, UK
Format
35mm
Latest code.
Now has shutter bounce detection. To use this, I would suggest moving the sensors/camera, so the second laser is right at the edge of the gate.

Has anybody built one yet?

Seems my laser units (ordered from the link you posted) are coming from China, so it will be a couple of weeks yet! But they have set off.
 
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
Seems my laser units (ordered from the link you posted) are coming from China, so it will be a couple of weeks yet! But they have set off.

Apologies, did not notice the item location when I found the item on Ebay.
At least it will give time to get the software set up & communicate with the Arduino board :surprised:)
 

Flighter

Member
Joined
Mar 7, 2023
Messages
261
Location
Scotland
Format
35mm
Apologies, did not notice the item location when I found the item on Ebay.
At least it will give time to get the software set up & communicate with the Arduino board :surprised:)

In case there are any other Arduino newbies following along, when I did a trial upload of the software on the Arduino IDE to my Nano it gave me a compile error as the LiquidCrystal_I2C library was missing but this was easily solved with Tools > Manage Libraries in the IDE and searching for LiquidCrystal_I2C.
 

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
So what needs to be determined, is the width on & off of the sensor?

A rotating disc would introduce error as the sensor has both height and width, would a rotating drum be better?

Would a better way to measure sensor width, to use a card with a slot & move this across the sensor with a precise measuring aid, maybe a vernier or set it up on a milling machine with digital readout? We would know the actual measurement of the slot and the length travelled by the card.

The speed of each curtain and the distance over which this was measured is known. This is measured by two sensors, so there should be no width of sensor error.
Assuming the 'on-off' distance of the sensor is known, by measurement as described above, it seems just a maths problem to calculate the actual slot width.

Alternately, what about mounting the shutter tester vertically & dropping a weighted card with a slot cut, though it? The two lasers would measure speed & the slot width is known.

All errors would be grouped into a single calibration factor by comparing a known shutter to the device output.
One does not really need to determine the sensor size, unless calculating , rather than measuring, a calibration factor.

It probably is a good idea to have the laser beam totally covering the sensor.

The nice thing about a rotating test shutter is it’s constant velocity.

I also found using an essentially new Nikon f6 as a standard didn’t work because the shutter won’t fire at high speed with the back open.
 
Last edited:
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
All errors would be grouped into a single calibration factor by comparing a known shutter to the device output.
One does not really need to determine the sensor size, unless calculating , rather than measuring, a calibration factor.

It probably is a good idea to have the laser beam totally covering the sensor.

The nice thing about a rotating test shutter is it’s constant velocity.

I also found using an essentially new Nikon f6 as a standard didn’t work because the shutter won’t fire at high speed with the back open.

With a disc, how do you know the sensor is triggering on a circumference of 200mm, not 201mm or 199mm?
I doubt that the rotation speed of a drill is calibrated or that it's rotational velocity is constant.
I thought the whole point of your posts was that the sensor size would have an impact on the accuracy of measurement?

When I tested my tester against my electronically timed Canon T70, the results were spot on, so that is close enough for me.

The ISO standard for 1/500s is between 1/374s & 1/699s and for 1/30s it is between 1/25s and 1/39s

If you like maths, read this.
 

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
With a disc, how do you know the sensor is triggering on a circumference of 200mm, not 201mm or 199mm?

Good question. You know that the closer to the center the angular velocity is less, so, for the same shutter time, the gate has to be narrower. Likewise, the angular velocity farther out is greater, so for the same shutter time the gate needs to be larger.



This is accounted for by the shape of the openings. See how they are not rectangles but trapezoid openings. When laying the thin, slide masking tape on the edges of the openings, the tape is aligned with the spokes radiating from the center.



The same principle applies to rotating shutters in movie cameras. The opening is trapezoid and the entire frame gets even exposure.



I have many electric motors, but by good fortune the Makita drill had a speed that allowed the disk to be not too big or not too small to travel at the same velocity as a camera's curtains.



Also, as you get into the finer points of the math, my wheel actually gives speeds of 1/120, 1/240, 1/480 and 1/960 based on the progression of halving the 36mm shutter opening with each increasing speed.



Below, some movie camera rotating focal plane shutters that provide even illumination to the frame in spite of the outer portion moving faster than the inner portion:



Narrow-Shutter-Wings-Afford-Brighter-Illumination-on-the-Scr.jpg

I doubt that the rotation speed of a drill is calibrated or that it's rotational velocity is constant.

The 'ticks' on an oscilloscope (Audacity screen) from the openings were measured over ten revolutions during the calibration process to get the exact speed (which btw was identical to the speed I measured before constructing the wheel as I did not run the drill at all between measuring its initial speed and sizing the wheel in software and printing it). The speed was very constant over the measuring period of ten revolutions with the interval between the 'ticks' being essentially constant. The battery would not drain in that short period, ten revolutions in 1.652 seconds ; there was no battery drain in 1.6 seconds.

The ten second measuring period gave ten samples of each of the shutter speeds to average, but they were essentially all the same +/- 1 or 2/4410.
 
Last edited:

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
When I tested my tester against my electronically timed Canon T70, the results were spot on, so that is close enough for me.

That is good news!! Using Audacity, the photodiode turns ON instantly and stays on until no more light hits it. Thus the errors from the sensor size. Perhaps the sensors in the Arduino world register ON after 1/2 of the sensor is exposed and register OFF when the other 1/2 is exposed, effectively making it like a point sensing source.
 
OP
OP

Niglyn

Member
Joined
Feb 26, 2022
Messages
402
Location
Surrey, UK
Format
Analog
Good question. You know that the closer to the center the angular velocity is less, so, for the same shutter time, the gate has to be narrower. Likewise, the angular velocity farther out is greater, so for the same shutter time the gate needs to be larger.



This is accounted for by the shape of the openings. See how they are not rectangles but trapezoid openings. When laying the thin, slide masking tape on the edges of the openings, the tape is aligned with the spokes radiating from the center.



The same principle applies to rotating shutters in movie cameras. The opening is trapezoid and the entire frame gets even exposure.



I have many electric motors, but by good fortune the Makita drill had a speed that allowed the disk to be not too big or not too small to travel at the same velocity as a camera's curtains.



Also, as you get into the finer points of the math, my wheel actually gives speeds of 1/120, 1/240, 1/480 and 1/960 based on the progression of halving the 36mm shutter opening with each increasing speed.



Below, some movie camera rotating focal plane shutters that provide even illumination to the frame in spite of the outer portion moving faster than the inner portion:



Narrow-Shutter-Wings-Afford-Brighter-Illumination-on-the-Scr.jpg



The 'ticks' on an oscilloscope (Audacity screen) from the openings were measured over ten revolutions during the calibration process to get the exact speed (which btw was identical to the speed I measured before constructing the wheel as I did not run the drill at all between measuring its initial speed and sizing the wheel in software and printing it). The speed was very constant over the measuring period of ten revolutions with the interval between the 'ticks' being essentially constant. The battery would not drain in that short period, ten revolutions in 1.652 seconds ; there was no battery drain in 1.6 seconds.

The ten second measuring period gave ten samples of each of the shutter speeds to average, but they were essentially all the same +/- 1 or 2/4410.

Fascinating stuff. The Arduino can drive a stepper motor, one of the basics in the tutorials, which will give an accurate rotation speed. Aliexpress has steppers & interface boards for silly money. A photo-interrupter can be used to give feedback to confirm rotation speed.

Aliexpess also sell a complete tacho module for silly money. I have one around somewhere. I bought two, one of which I put onto a lathe to confirm rotation speed.


 

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
The Wokwi site is pretty amazing, I was able to build a complete version of the device with virtual components that actually runs Niglyn's code. I got both sensors to work on the simulation.
The file to create the model is attached below, it is a screen shot, so you'd have to type it in as a ".json" file to make the model.

I think there is a way to share a public link to the actual working virtual model running the code... stay tuned.


Screen Shot 2023-03-20 at 4.49.45 PM.png

Screen Shot 2023-03-20 at 5.01.28 PM.png
 

Xylo

Member
Joined
Dec 6, 2008
Messages
405
Location
South of Montreal, Canada
Format
Multi Format
This makes me think of the tester I built years ago. The only difference with mine is that I use a single visible light detector. At first I thought it would be great but in the end it turns out that it only works reliably with leaf shutters 🤔
One feature I had implemented is that I store the shutter speeds into memory, calculate the average speed and when I trigger a switch to reset the device, it shows me the lowest and highest speeds achieved.

But all this is not very useful if I can't get reliable results. I'll have to rebuild mine to include the dual laser system you implemented.
 

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
Here is a public link to Niglyn's sketch running on a virtual Arduino UNO. The sketch is modified somewhat to run under the simulation, so anything odd in the behavior is due to the simulation, not Niglyn's code.

 

Xylo

Member
Joined
Dec 6, 2008
Messages
405
Location
South of Montreal, Canada
Format
Multi Format
Here is a public link to Niglyn's sketch running on a virtual Arduino UNO

I've saved it and I'll have to compare them when I have a bit of time.
Here's the sketch I used on mine.
I use a 2 line LCD Keypad shield by D1Robot hooked to an Arduino UNO.
I figured that since the device is not something I want to carry in my pocket, I might as well go for the UNO.

But I made it with a removable sensor like on the commercial machines and I regret doing so a bit. Thing is that the commercial ones used in repair shops have a light that is collimated. This makes the readings much more precise.
They also probably have a slit aperture on the sensor to increase precision, something that mine doesn't have yet.
 

Attachments

  • Frank_s_Shutter_Tester.txt
    6.3 KB · Views: 102

ic-racer

Member
Joined
Feb 25, 2007
Messages
16,481
Location
USA
Format
Multi Format
This thread got my interest back in writing computer code. The last thing I wrote was in Think-C on my Macintosh Quadra 700. When I upgraded to an iMac, I bought Code Warier but it would not run on the iMac I got and never did anything since.
 
Photrio.com contains affiliate links to products. We may receive a commission for purchases made through these links.
To read our full affiliate disclosure statement please click Here.

PHOTRIO PARTNERS EQUALLY FUNDING OUR COMMUNITY:



Ilford ADOX Freestyle Photographic Stearman Press Weldon Color Lab Blue Moon Camera & Machine
Top Bottom