Users Manual Model ES 310 MOTION ANALYSIS SYSTEMS DIVISION EASTMAN KODAK COMPANY
EASTMAN KODAK COMPANY Motion Analysis Sytems Division 11633 Sorrento Valley Rd. San Diego California 92121-1097 800-854-7006 KODAK and MEGAPLUS are trademarks. © Copyright Eastman Kodak Company, 1998 91000086-001 Rev. A Printed in U.S.A.
Table of Contents CHAPTER 1. INTRODUCTION Introduction ....................................................................................................... 1.1 How to Use This Manual .................................................................................. 1.2 Warranty ........................................................................................................... 1.3 Precautions ........................................................................................................
Chapter 1.
Introduction INTRODUCTION The KODAK MEGAPLUS Camera, Model ES 310 is intended for machine vision, medical imaging, and many other applications. The camera package is compact and is operated through a connection to a host computer. The AIA interface connector, located on the cameras rear panel, sends digital output video to the computer and receives control commands from the computer.
How to Use This Manual CHAPTER 1. INTRODUCTION Chapter one describes this Users Manual, a warranty statement and some general precautions to observe when operating this product. CHAPTER 2. CONTROLS AND CONNECTORS Chapter two explains the function of the controls and connectors of the MEGAPLUS Camera. CHAPTER 3. SETUP AND OPERATION Chapter three contains the commands used to operate the camera. The camera is remotely operated by entering commands into a computer connected to the camera. CHAPTER 4.
Warranty New Equipment Warranty KODAK MEGAPLUS Camera EASTMAN KODAK COMPANY, MOTION ANALYSIS SYSTEMS DIVISION, WARRANTS THIS KODAK MEGAPLUS CAMERA AND ACCESSORIES MANUFACTURED BY EASTMAN KODAK COMPANY, TO FUNCTION PROPERLY FOR ONE YEAR FROM THE DATE OF SHIPMENT. Kodak agrees to perform the following equipment warranty services in the United States. 1. Repair service: If shipped to us, repairs will be made at no charge. 2.
Precautions FEDERAL COMMUNICATIONS COMMISSION STATEMENTS WARNING: This equipment generates, uses and can radiate radio frequency energy, and if not installed and used in accordance with the instruction manual, may cause interference to radio communications.
Chapter 2.
Camera MOUNTING THE CAMERA The KODAK MEGAPLUS Camera has a 1/4-20 threaded screw hole for mounting on the bottom of the camera body. There is a second hole, 0.228 inches in diameter, to accommodate a locating pin. ATTACHING THE LENS The KODAK MEGAPLUS Camera uses a C-mount lens. To mount the lens, screw the lens clockwise into the adapter until you are no longer able to turn the lens with light pressure.
Camera Rear Panel The mating connector for the DC power input is manufactured by LEMO as part number FGG.0B.302.CLAD42 Power AIA Video STROBE TRIGGER TRIGGER A coaxial SMA type connector that accepts CMOS TTL signal inputs with a threshold of approximately 2.5 volts. The trigger pulse should have a duration of at least 100 nanoseconds and be transmitted to the camera using a coaxial cable terminated at the camera. The camera synchronizes to an external event using this input.
Camera Rear Panel DC POWER INPUT This two pin connector is the power input for the camera. The power supply voltage should be between 12 and 28 volts DC measured at the connector on the camera rear panel. The current draw is a maximum of 0.8 amps at the lowest input supply voltage and 0.3 amps at the highest input supply voltage. WARNING Reversing the polarity of the DC voltage input or voltage levels in excess of 30 volts may permanently damage the camera.
Cables There are three different cables available to connect the MEGAPLUS Camera to your computer. 68 Pin Male Connector 68 Pin Connector Mates with camera 68 Pin Connector Mates with camera RS232 Cable RS485 Cable Female 9 Pin D-subminiature mates with RS485 Control Line Cable 68 Pin Male Connector 56 0XOWL 'URS &DEOH 2.
Hardware Setup CONNECT THE CABLES Install the cables as illustrated in component hookup diagram. COMPONENT HOOKUP DIAGRAM 2.
Routine Maintenance There are no user serviceable parts in the camera. The camera must be returned to the factory for repair if a malfunction occurs. The lens and the sensor cover glass should be cleaned using dust free compressed air. Clean the exterior of the camera with a soft dry cloth. You may dampen a soft cloth with a mild soap solution for stubborn dirt. 2.
Chapter 3.
Introduction The KODAK MEGAPLUS Camera, Model ES 310, does not have any manual controls. Camera operation is accomplished by commands sent to the camera through a serial data link from a personal computer. In this chapter we will present the various operating modes of the camera with an explanation of the function followed by the command sequence that must be transmitted by the computer. The camera serial data link is configurable as RS232 or RS422/ RS485. The command syntax is the same in either case.
Serial Interface Protocol SERIAL COMMUNICATIONS PROTOCOL The camera uses a full duplex UART type asynchronous system, using standard nonreturn-to-zero (NRZ) format (one start bit, eight data bits, one stop bit, no parity). The baud rate is fixed at 9600. The character code is based on the ASCII standard. The character flow control protocol is XON/XOFF. XON is assigned DC1 (control-Q) and XOFF is assigned DC3 (control-S).
Serial Interface Protocol SETTING SERIAL COMMUNICATIONS MODE The camera can use either an RS232 or an RS422/RS485 connection for serial communication, but your host computer must have both RS232 and RS422/ RS485 communications capability to use this command. NOTE Type In: Response Explanation SCP 232 CR-LF Sets the camera serial port to respond to RS232 signals. SCP 422 SCP? CR-LF Sets the camera serial port to respond to RS422 signals. Queries the COM port setting.
Using RS485 Multi-Drop RS485 MULTI-DROP, ADDRESS SET This command is invalid when multi-drop mode is on (see below). Assign an address to a camera with this command and then execute a SAV command (page 3.15). The cameras address will default to zero when its power is turned off if you do not issue a save command after changing a cameras address. The address is used to send a camera commands when in RS485 multi-drop mode.
Using RS485 Multi-Drop Procedure 1. Switch each camera to RS422 operation using the procedure detailed on page 3.3 of this manual. 2. Give each camera a unique address using the ADR and SAV commands. Assign the camera that will be furthest away from the host computer an address of 99. When you are using multi-drop communications the camera furthest away from the host computer must have resistive terminators connected to the RS485 signal lines.
Selecting Video Output Options ANALOG VIDEO OUTPUT This command controls the analog video output on the rear panel of the camera. Type In: Response Explanation VID ON CR-LF Turns the analog video output on. VID OF CR-LF Turns the analog video output off. VID? Queries the analog video output status. VID x Indicates the current video output status.
Selecting Video Output Options BLOCK READOUT MODE You can choose a portion of the image to readout that is defined by the block start and block stop commands. The minimum block size is 17 rows. The block size changes the effective fame rate, smaller blocks take less time to read out. Block readout mode can be used along with alternate row readout for higher frame rates. Type In: Response Explanation BLK ON CR-LF Turns the block readout mode on. BLK OF CR-LF Turns the block readout mode off.
Selecting an Operating Mode MODE CONTROL The KODAK MEGAPLUS Camera operates in one of four modes, continuous, control, trigger, or retriggered. The mode of operation is selected by the mode command. Continuous The camera can take pictures at 15, 25, 30, 50, 60, and 85 frames per second (fps). The frame rate is set by the FRS command, The default frame rate is 30 fps. The exposure time range is from 94 microseconds to one divided by the frame rate.
Selecting an Operating Mode Retriggered Each exposure is started by a signal connected to the EXPOSE input pins of the AIA interface connector or the trigger input on the rear panel of the camera. The exposure command sets the exposure time. An exposure starts 20 microseconds (± 100 nanoseconds) after the active edge of the trigger pulse and ends after the exposure time set by the EXE command, unless another trigger is received. The active edge of the trigger pulse is selected using the TRM command.
Setting Exposure Time EXPOSURE This command sets the camera exposure time. Enter an exposure time value between 94 microseconds, and about (1/frame rate), in milliseconds, when you are in continuous mode. The maximum exposure time is 96 milliseconds in trigger and retrigger modes. The camera picks a valid exposure time closest to the value you entered. The exposure time setting is not valid in control mode. The exposure time range is affected by the alternate row and block mode settings.
Setting Exposure Time AUTO EXPOSE VIDEO LEVEL Sets the target video level for the auto expose function. Video level ranges from 0 at black to 127 for white. Type In: Response Explanation SET xxx CR-LF Sets the target video level to xxx with a range between 0 and 127. SET? Queries the camera for the current target video level. SET xxx Means that the target video level is set as indicated. AUTO EXPOSE VERTICAL ADDRESS Sets the vertical location of the top edge of the 256 rows high exposure window.
Setting Exposure Time AUTO EXPOSE HORIZONTAL ADDRESS Sets the horizontal location of the left hand edge of the 128 pixel wide exposure window. The default value of 255 puts the exposure window near the center of the image, left to right. Type In: Response Explanation AXX xxx CR-LF Sets the horizontal pixel address for the upper left corner of the exposure window. The default value is 255 and the range of values is from 1 to 517. AXX? Queries the camera for the current sample box horizontal location.
Selecting a Trigger Mode TRIGGER This command selects the trigger source and polarity. There are two trigger inputs, the SMA connector labeled Trigger, and the EXPOSE input carried by the AIA interface connector, on the rear panel of the camera. Type In: Response Explanation TRS AIA CR-LF Selects the AIA interface connector EXPOSE signal as the trigger source. TRS EXT CR-LF Selects the trigger connector on the rear panel as the trigger source. TRS? Queries the trigger source.
Controlling Camera Black Level BLACK LEVEL The black level control functions much like the brightness control on a television set. The fixed video black level is set at the factory so that the output video is just above the black clipping level with the lens capped. The black level can be varied over a range of plus or minus 50 percent of peak white video. Type In: Response Explanation BKF CR-LF Sets the black level to an internal fixed value of approximately 10 counts above zero.
Setting Camera Gain DIGITAL GAIN Sets the camera gain to a factor of 1, 2 or 4. Type In: Response Explanation DGN 1 CR-LF Sets the camera gain to unity. DGN 2 DGN 4 CR-LF CR-LF Sets the camera gain to times two. Sets the camera gain to times four. DGN? Queries the current gain setting. DGN x Indicates that the gain is set to the factor value given. GAIN BALANCE The gain of the two output video channels are matched at the factory to minimize row to row shading.
Saving Camera Configurations RESTORE FACTORY SETTINGS Use this command to return the camera black level balance and gain balance settings to their original values as set by the factory. SAVE Type In: Response Explanation RFS CR-LF Restores the factory settings for black level balance and gain balance. Type In: Response Explanation SAV RESET Type In: RST 3.
Displaying a Test Pattern DISPLAY WEDGE Displays a linearly increasing gray scale that reaches peak white and then resets to black near the center of the picture, as shown below. This function is useful for aligning the camera image to a frame grabber. The display wedge defaults to off when the power to the camera is turned off. Type In: Response Explanation WDG ON CR-LF Means the wedge is being displayed. WDG OF CR-LF Means the camera is imaging. WDG? Queries the state of display wedge. 3.
Query Commands STATUS QUERY The status query command enables the user to get all the camera operating parameter information with a single command. Type In: Response STS? Response Explanation Gives complete camera status with one query. The following parameters are transmitted with a carriage return after each parameter: Definition Example GAB xxxx .. Shows the gain balance setting. ...................................GAB 36 BKB xxxx .. Shows the black level balance setting. ........................
Chapter 4.
AIA Interface Connector INTRODUCTION Chapter four gives you the information needed to interface the KODAK MEGAPLUS Camera, Model ES 310 to a frame grabber device. The KODAK MEGAPLUS Camera, Model ES 310 is a black and white camera with dual eight bit digital video outputs. Each frame has 648 columns and 484 rows of pixels (picture elements) containing valid video data.
AIA Interface Connector TABLE 1 AIA INTERF ACE CONNECT OR PINOUT ON REAR OF CAMERA INTERFA CONNECTOR SIGNAL NAME GROUND AMSB (+) AMSB-1 (+) AMSB-2 (+) AMSB-3 (+) AMSB-4 (+) AMSB-5 (+) AMSB-6 (+) AMSB-7 (+) BMSB (+) BMSB-1 (+) GROUND BMSB-2 (+) BMSB-3 (+) BMSB-4 (+) BMSB-5 (+) RESERVED RESERVED BMSB-6 (+) BMSB-7 (+) Not used SER CNTRL OUT(+) SER CNTRL IN(+) Not used FRME ENA(+) LINE ENA(+) Not used Not used PIX DATA STRB(+) EXPOSE(+) Not used Not used Not used GROUND PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Cable Descriptions TABLE 2 INTERF ACE CABLE PIN OUT INTERFA OUT,, SIGNAL NAME GROUND AMSB (+) AMSB-1 (+) AMSB-2 (+) AMSB-3 (+) AMSB-4 (+) AMSB-5 (+) AMSB-6 (+) AMSB-7 (+) BMSB (+) BMSB-1 (+) GROUND BMSB-2 (+) BMSB-3 (+) BMSB-4 (+) BMSB-5 (+) RESERVED RESERVED BMSB-6 (+) BMSB-7 (+) Not used RESERVED RESERVED Not used FRME ENA(+) LINE ENA(+) Not used Not used PIX DATA STRB(+) EXPOSE(+) Not used Not used Not used GROUND PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Cable Descriptions TABLE 3.
Timing Waveforms CONTINUOUS MODE - VARIABLE EXPOSURE TIMING TRIGGER FDV 100 nS MIN 376 µsec @ 85 fps IDLE LATENCY FOR SYNC 242 LINE PAIRS LDV PROGRAMMED EXPOSURE INSERTED WAIT LINE SYNC JOG STROBE OUT TRIGGERED MODE TIMING TRIGGER FDV LDV 100 nS MIN 25 µS 20 µS 242 LINE PAIRS PROGRAMMED EXPOSURE STROBE OUT CONTROLLED MODE TIMING TRIGGER FDV EXPOSURE 20 µS 25 µS 242 LINE PAIRS LDV STROBE OUT RETRIGGERED MODE TIMING TRIGGER FDV LDV STROBE OUT 100 nS MIN 20 µS RETRIGGER 25 µS PROGRAMMED EX
Timing Waveforms PIXEL TIMING PIX STRB LDV FDV THCE TSCE DATA THCD STROBE OUT TSCD TDCS 500nS typ THCE < 25nS TSCE < 25nS THCD < 10nS TSCD < 10nS TDCS < 25nS LINE TIMING PIX STRB LDV FDV DATA 1 940 2 647 648 649 Valid Pixel Data LDV 913 916 Valid Video Data 4.
Specifications SENSOR BLOCK DIAGRAM 680 Columns Active Image Area 648 x 484 8 Dark Columns 496 Rows 24 Dark Columns 4 Dark Rows First Active Pixel 8 Dark Rows Horizontal Shift Register A 9LGHR 2XW Horizontal Shift Register B VIDEO PERFORMANCE Black Level: Clamped to black reference at the start of each frame. Gamma: Unity. Scanning: Non-Interlaced, progressive. Synchronization: Pixel clock internal. Dynamic Range: 48 dB 8 bit. Antibloom: 100 times at 30 millisec.
Specifications CAMERA MECHANICAL Housing: Two piece sheet metal steel case. Dimensions: 2.0"H x 2.7"W x 6.0"L (50.8 x 68.6 x 152.4mm) Lens: C-Mount Weight: 1.5 lbs approx. (0.68Kgs) Mount: One 1/4 - 20 threaded hole with additional locating pin hole. Vibration: 3 g, sinusoidal from 5 to 150 Hz Shock: 20g (non-operating) TEMPERATURE Operating: Storage: HUMIDITY Operational: Storage: 4.
Specifications 4.
Notes 4.