Allied for any damages resulting from such improper use or sale. Trademarks Unless stated otherwise, all trademarks appearing in this document of Allied Vision Technologies are brands protected by law. Warranty The information provided by Allied Vision Technologies is supplied without any guarantees or warranty whatsoever, be it specific or implicit.
Introduction Introduction This Bonito Technical Manual describes in depth the technical specifications, dimensions, all pixel formats, bandwidth and frame rate related subjects. Note Please read through this manual carefully. Document history Version Date Remarks V2.0.0 03.11.11 New Bonito Technical Manual V2.1.0 23.01.12 •...
Page 7
Introduction Version Date Remarks continued from previous page V2.2.0 03.05.12 • chapter Power supply (pin 1-4) on page 25 (continued) (continued) • Pin 6 changed from Reserve to Sync: see chapter Camera I/O connector pin assignment (15-pin D-sub connector) on page 25 •...
Manual overview This manual overview outlines the contents of each chapter of this manual. • chapter Contacting Allied Vision Technologies on page 5 lists AVT contact data (phone number and URL) for both: – Technical information / ordering – Commercial information •...
Introduction • chapter Conformity on page 12 gives you information about conformity of AVT cameras (CE, FCC, RoHS). • chapter Specifications on page 13 lists camera details and measured spec- tral sensitivity diagrams for each camera type. • chapter Camera dimensions on page 16 provides CAD drawings of standard housing models (2D drawings and 3D isometric drawings), tripod adapter and cross sections of CS-Mount and C-Mount.
Introduction Caution This symbol highlights important instructions. You have to follow these instructions to avoid malfunctions. This symbol highlights URLs for further information. The URL itself is shown in blue. Example: http://www.alliedvisiontec.com Before operation Target group This Technical Manual is the guide to detailed technical information of the camera and is written for experts.
Page 11
Introduction Caution Surge To avoid damage caused by surge, connect the camera to an AC/DC power supply. Use a certified industrial power supply that complies with common industrial standards. Make sure the polarization of the power supply is correct. For the DC (direct current) signal, use cable lengths less than 30 m.
Conformity Conformity Allied Vision Technologies declares under its sole responsibility that all stan- dard cameras of the Bonito to which this declaration relates, are in conformity with the following standard(s) or other normative document(s): • CE, following the provisions of 2004/108/EG directive •...
Specifications Specifications Note The correct polarity of the 12 V supply voltage must be assured. The warranty becomes void in case of unauthorized tampering or any modifications not approved by Allied Vision Technolo- gies. Bonito CL-400B/C, Bonito CL-400B/C 200fps Feature Specification Sensor...
Page 14
Specifications Feature Specification Smart features ROI (Region of Interest), fixed pattern noise (FPN) correction, digital gain (selects 8 of 10 bits for output), offset (brightness), continuous mode (image acquisition with maximum frame rate), image on demand mode (triggered image acquisition) Dimensions 44.2 mm x 80 mm x 70 mm (C-Mount) 71 mm x 80 mm x 70 mm (EF-Mount)
Specifications Spectral sensitivity Figure 1: Spectral sensitivity of Bonito CL-400B Note The spectral sensitivity curve for the color sensor is not avail- able. Bonito Technical Manual V2.3.0...
Camera dimensions Back view of Bonito CL-400B/C C-/EF-/F-Mount Figure 5: Bonito CL-400B/C back view (C-/EF-/F-Mount) Connectors Description Control 12 V DC power supply, RS-232, optocoupler inputs and outputs Camera Link channel A (left) medium/full Camera Link channel A (left) base Camera Link channel B (right) medium/full Camera Link channel B (right) base Figure 6: Connectors...
Camera dimensions Back view of Bonito CL-400B/C C-/EF-/F-Mount 200fps Figure 7: Bonito CL-400B/C back view (C-/EF-/F-Mount 200fps) Connectors Description Control 12 V DC power supply, RS-232, optocoupler inputs and outputs Camera Link Base Camera Link Medium/Full Figure 8: Connectors Bonito Technical Manual V2.3.0...
Camera interfaces Camera interfaces This chapter gives you information on the control interface, inputs and outputs and trigger features. For accessories like cables or power supply see: http://www.alliedvisiontec.com/emea/products/accesso- ries/camera-link.html Requirements and serial I/O Frame grabber requirements Take special care in selecting the Camera Link frame grabbers. They should be able to process the 10 taps of each Bonito channel at 80 MHz clock frequency.
Camera interfaces Camera link cable length The tested maximum Camera Link cable length for the Bonito is 7 m, depending on the cable quality and the frame grabber. Accessories The Bonito needs a DC power supply with 12 V at an average current of 0.35 A (max.
Page 23
Camera interfaces The baud rate is factory-set to 115200 but can also be configured to other val- ues: see chapter Serial control interface configuration (s) on page 66. All command examples are formatted in the following styles: Bold Courier font: characters sent to the camera •...
Page 24
Camera interfaces 3. A terminal program without local echo displays E=3E8 > After the execution of the command has finished the command prompt charac- ter > is displayed again. If any error occurred, a question mark character ? is sent previous to the prompt character. To query a parameter value, send the corresponding command letter followed by the equality sign and a question mark character: >s=?[CR]...
Camera interfaces Camera I/O connector pin assignment (15-pin D-sub connector) This connector is intended for supplying power as well as external input/output signals. Pin Signal Direction Level Description RS232 9-pin D-sub External Power +12 V DC Power supply (+5%, to 10%), 0.35 A (4.2 W), max.
Camera interfaces Synchronization output (pin 6) Note Only cameras with firmware CMC.040.01.07 or newer support this feature. If you use a camera with an older firmware version: don‘t con- nect pin 6. Use this signal for the following: • Synchronize external devices to the effective exposure of Bonito.
Camera interfaces Trigger input (pin 10-11) Figure 11: Trigger input diagram The current through the optocoupler’s LED should be in the range from 5 mA to 15 mA. This is the case if 5.0 V ≤ V ≤ 12 V. Note If you use higher voltages, you have to connect externally an additional current limiting resistor.
Camera interfaces This is an open collector optocoupler output. The transistor is conductive during the active exposure time of the image sensor. The optocoupler adds an intrinsic delay to the signal. The power dissipation through the optocoupler’s transistor must not exceed 150 mW.
Camera Link interface (01-04 or CL1, CL2) Camera Link interface (01-04 or CL1, CL2) Camera Link is an interface for the transmission of digital video data. The stan- dard defines data transfer on a physical base and determines connectors, cables and components for transmission and reception.
Page 30
Camera Link interface (01-04 or CL1, CL2) Each channel delivers ten Camera Link ports labelled A to J. Every port has eight bits and is assigned to a corresponding sensor tap that outputs specific pixel columns of the image. Consequently, up to 2 x 10 = 20 simultaneous pixels are transferred to the frame grabber(s) in parallel per Camera Link clock cycle.
Camera Link interface (01-04 or CL1, CL2) Figure 14: Camera link connector: 10-tap pin assignment (O1/O3 or CL2 connector) Serial interface (SerTC, SerTFG) The Camera Link connectors O2 and O4 (Bonito CL-400B/C 200fps: connector CL1 only) each provide the asynchronous serial control lines SerTC and SerTFG. This is the preferred communication channel to control the various camera Bonito Technical Manual V2.3.0...
Camera Link interface (01-04 or CL1, CL2) functions. Both Camera Link serial interfaces (and also the third RS-232 inter- face at the 15-pin D-sub connector) are virtually equal. They all use one global baud rate setting. They also share the same receive buffer. Output characters (including echo) are always sent to all activated serial ports.
Camera Link interface (01-04 or CL1, CL2) Reserve control input (CC2) The camera control signals CC2 at the Camera Link connectors O2 and O4 (or connector CL1) are reserved for future use. Pixel order Each frame in single channel mode (S=0, max. 193 full frames per second) is transmitted from top left to bottom right, line per line.
Page 34
Camera Link interface (01-04 or CL1, CL2) From the host’s point of view the Bonito behaves like two cameras with half of the possible image width. The host computer receives two images at the same time that are reconstructed in the order shown below. It is the duty of the sys- tem designer to allow for assembly of the two halves if the application demands Figure 16: Pixel order: half frame Bonito Technical Manual V2.3.0...
Camera Link interface (01-04 or CL1, CL2) Timing (FVAL, LVAL, PCLK) The Camera Link pixel clock frequency of the Bonito is 80 MHz. The 10-tap configuration transfers 10 pixels per clock cycle at once, or 20 pixels per clock cycle in the dual-channel mode). The synchronization signals LVAL (line valid) and FVAL (frame valid) are used to designate valid data output.
Camera Link interface (01-04 or CL1, CL2) Dual channel, full line length The charts below illustrate the Camera Link timing for dual channel mode (full line length, S=1), in continuous mode (M=0). The frame gap may vary in other trigger modes. Additionally, the number of active lines per frame can be config- ured by the user (parameter N).
Camera Link interface (01-04 or CL1, CL2) Dual channel, reduced line length The charts below illustrate the Camera Link timing for dual channel mode (com- patibility mode with reduced line length, S=3), in continuous mode (M=0). The frame gap may vary in other trigger modes. Additionally, the number of active lines per frame can be configured by the user (parameter N).
Parameters and commands Parameters and commands This section explains the basic Bonito configuration parameters and general commands available to the user. Parameters and commands are communicated using the camera’s serial interface. For more information see chapter Serial I/O on page 22. In this section, all values and examples noted in mono- Note spaced font are denoted in the hexadecimal numbering...
Parameters and commands Secondary starting address (B) The value of parameter B is used to create the secondary region of interest (ROI2). If the double ROI mode is active, B defines the line of the image sensor that is the first line of the second half of the output image. From 0 (topmost line) to 6BD (lowermost line) Range Default...
Parameters and commands • Send the following serial command to record and apply new correction data. The camera answers with a new prompt sign if the command has suc- cessfully completed. The execution lasts for the duration of some images. >C=1[CR] >...
Parameters and commands Figure 23: Parameters relevant in double ROI mode The diagram illustrates the use of ROI parameters A, B, I, and N, from the sen- sor’s point of view. The sensor’s first (topmost) line has the address 0, the last (lowermost) line has the address 6BD.
Parameters and commands Parameters D, F, K, M, N and S. Related Frame duration must always be greater than exposure time. K=53 Example 1 (0x53 = 84), sets prescaler tick length to 84 clock cycles, which corresponds to 1.5 μs E=6BE (0x6BE = 1726), sets exposure time to 1726 prescaler ticks F=FA0...
Parameters and commands activate PIV and free-running exposure mode using E and F N=6BD (0x6BD = 1725), readout 1726 lines K=53 (0x53 = 83), sets prescaler tick length to 84 clock cycles, which corresponds to 1.5 μs set small exposure time, although PIV has no exposure control, the exposure time is needed to create valid internal timing sequence F=D7F...
Parameters and commands Parameters A, B, D, and N Related Example output every 4 line N=1AF (0x1AF = 431), sets number of lines to 431, which equals a quarter of the full image Synchronization output (J) Parameter J sends an output synchronization signal to pin 6 of the camera con- trol connector.
Parameters and commands Timer prescaler value (K) The prescaler value is used to divide the basic timer clock frequency of 56 MHz by a value of (K + 1) down to a smaller clock frequency. The resulting frequency is utilized as the time base for exposure time E and frame duration F. This parameter is 16 bit wide.
Page 46
Parameters and commands Parameter Value Line Duration (S=0) = 3 μs Line Duration (S=1) = 1.5 μs Line Duration (S=3) = 1.5 μs Frame Output Time (D=0) = (N + 1) * t Frame Output Time (D=1) = 2 * (N + 1) * t Minimum Frame Duration FDmin Timer Resolution...
Page 47
Parameters and commands Since all of the sub-fields are set using the parameter M, it is only possible to set all of them at the same time. The value of M is calculated as the aggregate sum of the hexadecimal values that are set to each of the three sub-fields. The table below shows the hexadecimal weights that can be set for each sub- field.
Parameters and commands Activates Image on demand mode (IOD) with exposure timer (weight = 2) • Deactivates PIV mode (weight = 0) • Activates Permanent exposure mode (weight = 20) • M=2A (0x2A = 0b101010. This value is not recommended since bit #3 is set to 1 here, even though it is not used by the parameter.) Sets the bit field to „- - 1 0 - 0 1 0“...
Page 49
Parameters and commands The next falling edge stops the exposure and starts the output of the image syn- chronized to the next line. Due to the line jitter the next rising edge of the trigger should not appear earlier than t after the previous rising edge.
Page 50
Parameters and commands E * t whichever is the bigger, after the previous rising edge. Figure 25: Exposure timing mode, M=2, flow diagram Parameter Value Trigger Period > max (t , E * t ) + t FDmin Trigger High Duration <...
Parameters and commands Figure 26: Exposure timing mode, M=3, flow diagram Parameter Value Trigger High Duration < t < F * t – t (Sync Pulse) Exposure Jitter 0 < t < t Exposure Time = E * t – t ±...
Page 52
Parameters and commands Basic working principle of the CMOS sensor A basic understanding of the CMOS sensor‘s working principle is required to understand how the PIV mode of the Bonito operates. For that reason, a simpli- fied short explanation is included below. Figure 27: Simplified diagram of the CMOS pixel architecture Each pixel of the sensor is a shutter pixel that includes a photo detector, a pixel memory, and a number of gates.
Page 53
Parameters and commands Sets Exposure feature mode to Standard (weight = 0) • For technical reasons, exposure control is not available in PIV mode, the expo- sure is permanently active (the reset gate in every pixel is always closed). This has two practical implications: •...
Page 54
Parameters and commands Internal charge transfer and readout The internal charge transfer of the first image is started with some fixed delay and it takes the time of one line duration (t ). The end of the charge transfer effectively terminates the exposure of the first PIV frame and internally starts exposure of the second PIV frame.
Page 55
Parameters and commands The rising edge at synchronization output signalizes externally that the expo- sure of the first PIV frame has ended. This requires setting J=1, and may be used to trigger the second flash pulse. The recommended guard interval t will be kept automatically.
Page 56
Parameters and commands Sets the Exposure feature mode to Standard. (weight = 0) • Even though the Exposure feature mode is set to Standard, not to Perma- nent Exposure mode, the exposure is always active, due to activation of the PIV mode. (0x7 = 0b111), sets the bit field to „- - 0 0 - 1 1 1“.
Parameters and commands Parameter Value Trigger rate requirement > (2 * ((N + 1)+1)+1) * t (or equivalent frame duration setting F) Trigger high duration require- < (N + 1) * t ment (or equivalent exposure > 500 ns time setting E) Table 16: PIV mode timing parameters - settings E and F depend on exposure timing mode setting of parameter M Parameter...
Parameters and commands Standard mode Bit group: f Weight: 0 Enhanced full well (3T) mode Bit group: f Weight: 10 The full image shutter is not available in this mode. Instead, the sensor oper- ates in rolling shutter mode, the effective shutter time equals the image dura- tion.
Page 59
Parameters and commands Parameter Value IOD=0 if Continuous mode (e.g. M=0), IOD=1 if not in Continuous mode = 3 μs in single CL channel mode (e.g. S=0), = 1.5 μsin dual CL channel mode (e.g. S=1) Table 19: Parameters for fps calculation From 0 to 6BD Range Default...
Parameters and commands Note • Consider the number of lines in minimum frame duration calculations for the image on demand (IOD) mode. • For more information about calculation of the minimum frame duration and dependent IOD mode timing con- straints, see chapter Exposure control mode (M) on page...
Parameters and commands Setting Function • Mode: Dual channel mode (not for Bonito CL-400B/C 200fps) • Frame rate: 386 fps • Line length: 2 x 1160 = 2320 pixels The image is split vertically into a left and a right half. Each half has a horizontal size of 1160 pixels and is output separately via its own Camera Link 80-bit channel.
Parameters and commands Setting Function No input selected. Optocoupler OK1 at pins 10 and 11 of the control connector. CC1 at the Camera Link connector O2 or CL1 (default). CC1 at the Camera Link connector O4. (Others) Reserved for future use. Table 23: Trigger source selection (T) Note For more information:...
Parameters and commands Setting Function Enable metadata overlay The overlay occupies the first (top left) 8 pixels of each frame. Metadata format for the left Camera Link channel (connectors O2/O1 or CL1/CL2): • Pixel offset 0–3 (4 bytes): constant ASCII characters CM4L •...
Parameters and commands >V Bonito CMOS High-Speed Camera Version: CMC.040.xx.yy > Save parameters (X) Use the command X=1 to store all parameter values into the embedded flash memory. After a re-start they are automatically restored. Note Acquired FPN correction data is not stored and is, therefore, lost after switch-off.
Parameters and commands T=03 U=00 W=18 s=2A > The serial interfaces are not reinitialized by Z=1. The baud Note rate does not change until re-start of the camera or explicitly writing a new value to the serial interface configuration parameter s.
Parameters and commands Article number Camera variant 4022 4064022 Bonito CL-400B EF-Mount 200fps 4030 4064030 Bonito CL-400C 200fps 4031 4064031 Bonito CL-400C F-Mount 200fps 4032 4064032 Bonito CL-400C EF-Mount 200fps 4100 4064100 Bonito CL-400BS FFFF Unknown / test / prototype Table 25: Product variant code (b) Serial control interface configuration (s) Use parameter s to set up the serial control interface of the camera, such as...
Page 67
Parameters and commands - rw rw rw rw rw rw rw Table 27: Order of bit groups within parameter s To set a sub-field to a certain value, modify the associated bit group by allocat- ing s to the appropriate hexadecimal number. Since all of the sub-fields are set using the parameter s, it is only possible to set all of them at the same time.
Parameters and commands Bit values Settings Weight (hexadecimal) Echo mode 0xx-xxxx Each character received from the host is echoed back to it. 1xx-xxxx No echo Table 28: Baud rate: hexadecimal weights for each setting s=29 Example 1 (0x29 = bx101001), sets the bit field to „0 0 1 - 1 0 0 1“ Sets the baud rate to 57,600 Baud (weight = 9) •...
Bayer filter mosaic pattern Bayer filter mosaic pattern The color variants of the Bonito are equipped with a Bayer filter mosaic on the image sensor that is aligned to the top left corner of the sensor as shown in the following pattern: ...
Bonito CL-400 and CMC-4000 Series Command Reference =============================================================================== Referenced Firmware...: CMC.040.01.07 Document Version..: 06 / 02.02.2012 (C) Allied Vision Technologies GmbH General Information ------------------- Each command consists of a command letter, optionally followed by an equality sign and a parameter value in hexadecimal number representation. The command letter is case sensitive.
Page 71
Appendix Conventions ----------- <p8> : 8 bits long parameter value (1 to 2 Hex characters) <p16> : 16 bits long parameter value (1 to 4 Hex characters) <p32> : 32 bits long parameter value (1 to 8 Hex characters) <aa**_bcbb> : 8 bits long parameter (resulting in two hex chars) consisting of bit fields.
Page 72
Appendix : Reload parameters from file. (*) O=<p8> : File number of the file containing the FPGA configuration data. (*) : Upload a new FPGA configuration file via the serial interface and store it in the flash memory. After issuing <CR>...
Page 73
Appendix 7 -> 19200 Baud. (x) 8 -> 38400 Baud. (x) 9 -> 57600 Baud. (x) A -> 115200 Baud. (x) | +---------a: Second channel UART port selection. 00 -> Second channel UART off. 01 -> Activate second channel via Camera Link connector O2 (or CL1).
Page 74
Appendix +--s: Suppression of new data acquisition. This bit is write-only and reads always 0. Write C=3 to reactivate the fixed pattern noise correction from the state C=0 without the correction data being reacquired as C=1 would do. D=<p8> : Double ROI mode. Can be used to read out two independent areas of the same size into one output image.
Page 75
Appendix of the sensor. This allows to synchronize external devices even if the sensor is in permanent exposure mode. See M=<p8> for details about permanent exposure. +----n: Invert the logic levels of the sync output. K=<p16> : Timer prescale value. The basic clock frequency of 56 MHz is divided by the prescale value (K+1) to generate the time base for exposure time E=<p32>...
Page 76
Appendix timer and frame duration timer. The exposure time is controlled by the parameter E=<p32>. The frame duration is controlled by the parameter F=<p32>. Start of the exposure can be synchronized to the rising edge of an externally applied signal. Use parameter T=<p8> to select the signal source.
Page 77
Appendix Permanent exposure mode. Used to maximize the exposure time. If activated, the exposure time equals the frame duration. Consequently any exposure time setting, controlled by E=<p32> or by external signal, is ignored. Reserved. N=<p16> : This parameter sets the number of lines per frame. The actual line count is N+1, the default of N=6BD results into 1726 lines.
Page 78
Appendix All other values are reserved. T=<p8> : Trigger source selection. None. OK1 at control connector. CC1 at O2 connector (or CL1). CC1 at O4 connector (if available). All other values are reserved. U=<p8> : Metadata overlay and test image. <***t_***m>...
Index Index Baud rate of the serial ports......66 Help text ..........68 Bayer filter..........69 Image on demand mode (IOD)..... 48 camera dimensions ........16 I/O connector .......... 25 camera interfaces ........21 camera I/O connector........ 25 Camera Link interface ........ 29 Legal notice ..........
Page 80
Index Serial number .......... 65 SerTC ............. 31 SerTFG............ 31 Show Help text......... 68 specifications .......... 13 Spectral sensitivity ........15 styles ............9 Support ............ 5 symbols ............ 9 Synchronization output ......44 Technical information........5 test image generator ......... 62 Timer prescaler value ........
Need help?
Do you have a question about the AVT Bonito and is the answer not in the manual?
Questions and answers