Camera Head (A2056) Manual

© 2004, Mike Bradshaw, Brandeis University
© 2006-2008 Kevan Hashemi, Brandeis University

Contents

Description
Anti-Blooming
Specification
Operation
Image Geometry
Image Contrast
Electronics
SchematicPCBsAssembly

Description

The Camera Head (A2056) is a Long-Wire Data Acquistion (LWDAQ) device that reads out a TC255P or similar image sensor. The A2056 supports anti-blooming and fast-move, which we describe below. Our LWDAQ Software provides an interface to the A2056 called the Camera Instrument.

The A2056A comes with a TC255P image sensor and an adjustable lense. The lens in the example shown above is an 8-mm focal length glass lense with an M12 threaded mounting cylinder, part number CMT821 from Sunex Optics. The lens holder, which we glue to the circuit board, is part number DSL853 from the same company. We adjust the focus of the camera by turning the lense in its holder. The 0.5-mm pitch thread gives fine adjustment. We can focus at short range, to obtain close-up images of electronic components, and long-range, to obtain images of activity in a corridor.


Figure: The Camera Head (A2056A) with Image Sensor and Lens.

Our Aluminum Camera is an A2056A in a sturdy aluminum case. We can mount the case on an M3 threaded post, or we can use its mass alone to hold it stationary on a table-top. We use the Aluminum Camera in the lab to test multiplexers and drivers. It provides sharp images that make it easy to notice noise or failure in the data acquisition circuits.


Figure: The Aluminum Camera. Inside the camera is an A2056A. There is an M3 mounting hole on the bottom of the aluminum case.

The A2056B provides an eight-way flex cable through which you can connect a TC255P through any one of our TC255 Minimal Heads (A2016), in particular the A2016J, which provides space for an M12 lens holder.


Figure: The Camera Head (A2056B) with Image Sensor on Flex Cable.

The A2056C is like the A2056B, but modified for use with the TC237B Minimal Head (A2070), which provides us with a TC237B image sensor. The circuit is modified slightly compared to the A2056B. Resistors R26 and R29 are 3.3 kΩ instead of 1.0 kΩ.

One application of the A2056 is as a motion sensor, when combined with the LWDAQ software's Motion Sensor tool. Starting with LWDAQ 7.5.9, the Camera Instrument is configured by default to work with the TC237B through an A2056C.

Anti-Blooming

The TC255P and TC237B are CCDs, or charge-coupled devices. Each pixel in the image sensor can hold a certain number of electrons before it starts to overflow. When a CCD pixel overflows, its electrons spread up and down the pixel's column. A bright star in an astronomical image will look like a vertical stripe. As the pixels above and below the over-flowing pixel also fill with electrons, the electrons can end up moving over into adjacent columns also. The bright star spreads out sideways as well.

The spreading of excess electrons, and the white mark it creates in the image, is called blooming. The TC255P has an anti-blooming gate, or ABG. By toggling the voltage on the anti-blooming gate, we drain excess charge from the sensor's pixels, and so avoid the spread of excess electrons. The Camera Instrument allows us to turn on and off anti-blooming with the daq_anti_blooming parameter.


Figure: A2056 Images with Various Read-Out Settings. Top-Left: without anti-blooming, without fast-move. Top-Right: with anti-blooming, without fast-move. Bottom-Left: without anti-blooming, with fast-move. Bottom-Right: with anti-blooming, with fast-move.

The A2056 allows the LWDAQ to toggle the TC255P's anti-blooming gate during image exposure. The top-left image above shows an image without anti-blooming. The top-right image shows the same image obtained with the anti-blooming turned on. We obtained both images with the Camera Instrument. As you can see, the anti-blooming operation stops the spread of charge from the brightest pixels.

Careful inspection of the top-right image reveals signs of the over-head lights in the pixels above and below the over-head lights. We can see the rectangular pattern of the over-head lights extended in the columns above and below the over-head light image. The vertical spread of the over-head lights in the top-right image is the result of the manner in which we read images out of a CCD and the fact that our camera has no physical shutter to stop light reaching the image sensor while the image is being read out.

When we read an image from the TC255P, we move it out of the image area area into the storage area by clocking IAG (Image Area Gate), SAG (Storage Area Gate), and SRG (Serial Register Gate) in the right order, as described in the TC255P data sheet. The image area is exposed to light, but the storage area is shielded from light. Once in the storage area, the image will receive no more light, but while image pixel traverse the image area, they continue to receive light. A pixel above the image of our over-head lights will pass through the over-head light image on its way down to the storage area. As it passes through bright spots in the image, the pixel gets brighter.

The movement of the image into the storage area explains the smearing of over-head lights upwards in the image. But the smearing is also downwards. The downward-smearing occurs at the beginning of our exposure, when we clear the image area of pre-existing charge. We clear the image area by moving all its charge downwards and into the storage area. As we move the pixels in the clearing process, they move through the bright spots, they get brighter. At the end of the clearing operation, there are pixels still in the image area that have received light from the bright spots, but have since been moved downwards from those same bright spots.

And so we are left with smearing above and below the bright spots. If we had a shutter to block light during clearing and read-out, there would be no smearing. If we could turn our lights on only during the exposure, we would have no smearing. Another way to reduce smearing is to move the image lines more quickly, so they have less time to gather light during clearing and read-out. The A2056's fast-move accelerates the movement of the image by a factor of ten. We turn on the fast-move with the Camera Instrument's daq_fast_moved parameter.

We see the effect of fast-move in the bottom two images. The bottom-right image is taken with anti-blooming and fast-move. We see no sign of vertical smearing, but the blooming is back. The fast-move operation compromises the operation of the anti-blooming. This compromise is a weakness in the A2056 implementation of the fast move, not a weakness in the anti-blooming. This weakness is one reason why our default setting for daq_fast_move in the Camera Instrument is zero. Another reason is that the Camera Instrument is incompatible with other circuits when fast-move is turned on, but these same circuits either support anti-blooming or at the very least tolerate it.

Image Sensor HeadAnti-BloomingFast-Move
Camera Head (A2056)YesYes
Inplane Sensor Head (A2036)NoNo
Proximity Camera Head (A2047)NoNo
Azimuthal BCAM Head (A2048)YesNo
Polar BCAM Head (A2051)YesNo
Bar Head (A2044)NoNo
Table: Support for Anti-Blooming and Fast Move.

The table above gives the support for anti-blooming and fast-move for various image sensor heads. The Camera Head is the only one that supports fast-move, but several others support anti-blooming, including the BCAM Heads.

The TC237B does not require clocking of an anti-blooming gate to perform anti-blooming. We set its anti-blooming input to a certain fixed voltage to set the amount of anti-blooming we want. We describe the TC237B anti-blooming elsewhere. When used with any TC237B Minimal Head (A2070), the A2056's anti-blooming has no effect.

Specification

The following table gives the function of each of the sixteen LWDAQ command bits.

DC16DC15DC14DC13DC12DC11DC10DC9DC8DC7DC6DC5DC4DC3DC2DC1
XXXXXXXXWAKELBABGENABGSIAGSSAGS!SRGSDCEN
Table: Command Bit Allocation. Anti-Blooming Gate Enable (ABGEN), Anti-Blooming Gate Signal (ABGS), Image Area Gate Signal (IAGS), Storate Area Gate Signal (SAGS), Serial Register Gate Signal (SRGS).

To determine the command word that will implement a particular operation on the A2056, write out sixteen bits in a row, starting with bit sixteen (DC16) on the left, and ending with bit one (DC1) on the right. Set each bit to zero or one as you require. The left-most four bits form the most significant nibble of the sixteen-bit command word. The right-most four bits are the least significant nibble. Translate each nibble into a hex digit, and you have the hex version of the command word. The X's are bits that are unused on the A2056.

The A2056 provides exposure to the TC255P by clocking the image area gates (IAG), storage area gate (SAG), serial register gate (SRG), and anti-blooming gate (ABG). For the TC237B it provides IAG, SAG, and SRG, but not ABG. The fast-move operation clears the image area and tranfers the image to the storage area by clocking IAG and SAG at 2 MHz. This faster transfer of the image into the storage area reduces the image smearing caused by bright spots in the image. The anti-blooming function clocks the anti-blooming gate at 2MHz during image exposure.

When an image sensor pixel fills up with light-induced charge, the charge tends to flow into neighboring pixels and cause them to saturate as well. A bright spot in an image can turn into a large, bright smear, in a phenomenon called blooming. The TC255P image sensor provides an anti-blooming clock input that you can pulse during an exposure, and which gets rid of excess charge before it can spread into neighboring pixels. The TC237B performs its anti-blooming automatically, as we describe elsewhere.

Operation

We operate the A2056 with the Camera Instrument in our LWDAQ Software. The Camera Instrument can capture images from any of our TC255P image sensor circuits, but its default settings daq_anti_blooming = 1 and daq_fast_move = 1 are compatible only with circuits that support anti-blooming and fast image transfer into the storage area. The A2056 supports both.

You will find the data acquisition steps required to control and read out voltages from all versions of the A2053 in Camera.tcl, which is the TclTk script that defines the Camera Instrument. In Driver.tcl you will find the routines that compose TCPIP messages to communicate with a LWDAQ Driver, and in Utils.tcl you will find the routines that open and close TCPIP sockets.

Image Geometry

For a discussion of image geometry, and how to translate between points in the image sensor and points in the image on our computer screen, see the Image Geometry section of the TC255P Minimal Head (A2016) Manual or TC237B Minimal Head (A2070) Manual. There you will find instructions for finding Pin One on the sensors as well.

Image Contrast

We discuss the image quality provided by our various TC255P readout circuits in the Image Contrast of the A2036 Manual. We discuss the image contrast provided by the TC237B here.

Electronics

Note: All our schematics and Gerber files are distributed under the GNU General Public License.

Schematic

S2056_1: LVDS Transceiver
S2056_2: Command Receiver
S2056_3: Level Shifters
S2056_4: Sensor Driver
S2056_5: Sensor Gate Logic

PCBs

A205601D: For A2056A.

Assembly

Look in A205601D.zip for A205601D.BOM for a bill of materials.