Account

You are currently not logged in yet.

Login
Home Rolling versus Global shutter

Rolling versus Global shutter

Rolling versus Global shutter

Global shutter is used for capturing moving objects, while rolling shutter is used for capturing still images. A rolling shutter camera is cheaper, especialy for resolutions above 1.6 Megapixel. For example, our 12MP rolling shutter camera costs approx. 200 euro: MER2-1220-32U3C. In contrast, our 12MP global shutter costs approx. 1000 euro: ME2P-1230-23U3C. A Global shutter has larger pixels, therefore a larger sensor as a rolling shutter camera. As a result, a global shutter camera is more light sensitive and produces sharper images.

Exposure and Shutter

Exposure time is a period of the shutter from open to close. During the period, the light exposing on the chip’s photosensitive array and Photoelectric effect occurs. After that, photoelectric charges are produced. By the A/D transformation, the grayscale value of each pixel is displayed. Under a certain light intensity, the longer the shutter is open, the longer the exposure time, the brighter the image. Long exposure time can show the trajectory of slow moving objects on an image. Short exposure time can record things more accurately. 

With the development of technology, the film gradually gave way to the chip, and the control method of the shutter also changes from mechanical control to electric control gradually. When using the electric control mode, a new exposure begins when the charge of the photoelectric unit is completely emptied. When the charge of the photoelectric unit is transferred out, the exposure ends. 

For the global-shutter CCD/CMOS sensor, the camera starts and stops exposure of all pixels in an array simultaneously. But for the rolling-shutter CMOS sensors, the camera only exposures one line at a time, then to the second line, etc.. It reads out one line at a time, by the time it reads the next line, the object has moved. 
 
Foto
 

The working principle of global shutter and rolling shutter

A complete exposure process is divided into 4 stages: reset, integrating, memory operation and readout. As shown in the following figure 3: 
● Reset timing: also called shutter timing. This phase is used to clear the charge in the photoelectric unit and to ensure the electronic shutter is opened 
● Integrating timing: also called exposure timing. At this stage the photoelectric conversion occurs and the photoelectrons are produced 
● Memory operation: at this stage, the photoelectrons are shifted from the photoelectric cell 
● Readout timing: at this stage, the pixel data is transferred out 

The difference between global shutter and rolling shutter is whether the timing of exposure is exactly the same in the different lines of the image. 
Foto
 

Global Shutter

As shown in the following figure 4: in global shutter mode each pixel in the sensor begins and ends the exposure simultaneously, thus a large amount of memory is needed, the whole image can be stored in the memory after the exposure is ended and can be readout gradually. The manufacturing process of the sensor is relatively complex and the price is relatively expensive. The advantage is that it can capture high-speed moving objects without distortion, and the application is more extensive. 
Foto
 

Rolling Shutter

In rolling shutter mode, different lines of the array are exposed at different times as the read out ‘wave’ sweeps through the sensor. This is shown in the following figure 5: the first line exposes first, and after a readout time, the second line starts exposure, and so on. So, each line reads out and then the next line can be read. Each pixel of the rolling shutter needs only need two transistors to transport electron, thus less heat production, low noise. Compared to the global shutter sensor, the structure of rolling shutter sensor is more simple and low cost. However, each line is not exposed at the same time, so it will produce distortion when capturing the high-speed moving objects. 
Foto
Reach out to us below if we could assist you in choosing the most suitable global or rolling shutter camera for your project. 


 

1. What’s the problem?

The difference in imaging between global shutter sensor and rolling shutter sensor is mainly reflected in the dynamic image acquisition: 

● When capturing high-speed moving objects, distortion occurs easily in rolling shutter mode. This is visible in Figure 6: Capturing the high-speed running fan, the images of global shutter sensors and rolling shutter sensors are shown in the left image and right image. The left image can restore the shape of the fan blade perfectly but the right image is deformed. 

â—Ź When capturing brightness variation objects, horizontal stripes with uneven brightness may be occur in rolling shutter mode. This is shown in the following figure 7. We have set the exposure time to 5ms and are capturing the indoor objects under the fluorescent lamp (take off the lens) with global shutter sensor and rolling shutter sensor respectively. The right image has clear water ripples in the background and the left image’s background is relatively uniform. This is because the frequency of fluorescent lamp is 50Hz, the period is 10ms (a period of absolute value). The exposure time 5ms may fall in the brighter range, and may also fall in the darker range. For rolling shutter sensor, each line of the array exposes at different times. Therefore, bright and dark, period variations stripes appeared in the image. For the global shutter sensor, all lines in the sensor begin and end the exposure simultaneously, no stripes will appear. 

 
Foto
 

2. How did this happen?

The following image sequence can interpret the imaging process of a rolling shutter sensor capturing a running dog. The dog is running from right to left. When the first line begins exposure, the dog’s head just entering the frame. When the last line begins exposure, the dog is nearly out of the frame. Each line exposes, the dog is at a different position, so the final image shows a ‘split’ dog. 
Foto
 

3. How to avoid?

If the moving speed is not so high, and the brightness is varied slowly, the problem discussed above has little affect to the image. Usually, using a global shutter sensor instead of rolling shutter sensor is the most fundamental and effective method in high-speed applications. However, in some cost-sensitive or noise-sensitive applications, you could use the flash to mitigate the effects. This is also possiblewhen you have to use a rolling shutter sensor.

Figure 9 shows the following. Strobe is the flash signal output by the camera. When the strobe signal is high, the strobe flashes (sometimes, when the strobe signal is low, the strobe flashes). When the strobe flashes, all the lines expose at the same time, so the image has no distortion. 

There are several aspects to be aware of when using the sync flash feature with the rolling shutter sensor: 
● Note that with all the exposure time that has strobe signal output, when the exposure time is too short and the readout time is too long, all the lines have no overlap exposure. There is no strobe signal output, and the strobe does not flash. 
● When the time of the strobe flash is shorter than the exposure time  
● When the strobe signal output time is too short (μs level), some strobe’s performance can’t meet the high-speed switch requirement, so the strobe can’t catch the strobe signal 
Foto
 
  Machine Vision Specialist     20-10-2020 15:34