EPC TOFcam-635-S Installation And Operation Manual Download Page 1

TOFcam-635-S

Installation and Operation Manual

General description 

The  TOFcam-635-S is a miniaturized and cost-optimized 3D  TOF
camera. It is based on the ESPROS proprietary time-of-flight (TOF)
technology using the epc635 chip. The camera controls the illumi-
nation  and  the  imager  chip  to  obtain  distance  and  grayscale
images. The cameras are calibrated to provide accurate 3D depth
information.  The  depth  images  are  compensated  against  DRNU
errors,  modulation  errors,  temperature,  ambient-light  and  reflec-
tivity of the scene. Its extremely wide field of view of 120° allows a
variety  of  new  applications  e.g.  for  mobile  robotics  or  entrance
controls. 
This  document  allows  a  TOFcam-635-S  user  easily  to  get  the
camera  connected  and  started  using  a  computer.  It  contains  a
description  of  all features, commands,  protocols  and  interfaces  of
the  device.  This  allows  to  connect  the  module  to  integrated
systems. The optional software development kit (SDK) contains the
camera  operating  system  (TOFCOS)  with  all  C++  source  codes.
Together with the ESPROS epc635 evaluation kit this is the perfect
environment to develop embedded software or even an application
specific camera. 

Features

160 x 60 pixels resolution 

Field of view of 120° x 25° for TOF images 
Field of view of 120° x 45° for gray scale images 

Distance measurement ranges on white target: 5cm … 3m 

Measurement rate up to 20 TOF measurements per second 

Fully calibrated and compensated

USB interface 

High speed serial interface UART 10 Mbit/s 

Two I/O versions available 

Low power consumption

Various user interfaces: GUI, ROS, Python 

Evaluation of TOFcam-635-S features 

Programming of I/O properties 

Store and recall camera configurations 

Many explanations about “time of flight done right” 

Typical applications

Research in various scientific fields 

IoT applications 

Sensing in general 

Mobile robots, automatic vehicle guidance, collision avoidance 

© 2020 ESPROS Photonics Corporation

Characteristics subject to change without notice

1 / 51

Installation_and_Operation_Manual_TOFcam635-S_V0.10

www.espros.com

TOF distance FoV: 120° x 25°
Operating range: 5cm … 3m

Gray scale FoV: 120 x 45°

Operating range: 5cm … 3m

Figure 2: TOF and gray scale field definition

Figure 1: TOFcam-635-S

Figure 3: Distance scope for pixel row selection

Summary of Contents for TOFcam-635-S

Page 1: ...he ESPROS epc635 evaluation kit this is the perfect environment to develop embedded software or even an application specific camera Features 160 x 60 pixels resolution Field of view of 120 x 25 for TO...

Page 2: ...S driver 21 6 2 ROS API 22 6 2 1 Start of the node 22 6 2 2 Published topics 22 6 2 3 Dynamically reconfigurable parameters 23 7 Operating the camera with the Python Framework 24 7 1 Script example 24...

Page 3: ...7 44 8 6 Miscellaneous commands 45 8 6 1 SET_OUTPUT 0x51 45 8 6 2 GET_INPUT 0x52 45 8 6 3 GET_TEMPERATURE 0x4A 45 8 6 4 GET_TOFCOS_VERSION 0x49 45 8 6 5 GET_CHIP_INFORMATION 0x48 45 8 6 6 GET_PROD_DAT...

Page 4: ...y alteration to the devices by the buyer installer or user may result in device damage or unsafe operating conditions ESPROS Photonics AG is not responsible for any liability or warranty claim which r...

Page 5: ...age ISO International organization for standardization JEDEC Joint electron device engineering council LED Light emitting diode used to illuminate the scenery or as indicator LSB Least significant bit...

Page 6: ...distance in your scenery For object detection set the Amplitude limit 0 to 50 LSB for accurate measuring to 200 LSB this are good starting points fine tuning possible Start streaming with the Start b...

Page 7: ...ting system TOFCOS for camera control distance calculation and filtering Two sensor versions are available with one relay or three digital outputs Communication by USB or UART Application programming...

Page 8: ...on the Espros download page Table 2 Scope of delivery 4 3 Ordering information Picture Part No Name Description P100 651 TOFcam 635 S UWF 850 E Camera with 1x digital input and 3x digital output 0 24...

Page 9: ...0 473 Cable USB A to Micro USB Table 3 Order information for cameras and accessories 2020 ESPROS Photonics Corporation Characteristics subject to change without notice 9 51 Installation_and_Operation_...

Page 10: ...n 100 kLux Indirect on target Ee PEAK Peak illumination irradiance 372 W m2 With 200mm distance to the front surface of the camera Ee AVG Average illumination irradiance 108 W m2 With 200mm distance t...

Page 11: ...n_Manual_TOFcam635 S_V0 10 www espros com Figure 7 Mechanical features USB Connector Status LED UART Connector Heat sink Back cover Front cover Illumination window Mounting plane Camera Lens zero dist...

Page 12: ...t any time in order to avoid excessive heat of the camera The camera temperature can be monitored by reading the temperature with the command GET_TEMPERATURE refer to Chapter 8 6 3 2020 ESPROS Photoni...

Page 13: ...terface Connecting the required pins for UART interface and optionally the GPIO relay contacts allows the integration of the sensor to a controller You will find a description of the interface in Chap...

Page 14: ...h allows terminating the streaming Record function allows to save picture data one picture per push on the Image button or as live stream from Start to Stop command each On computers with low performa...

Page 15: ...ows using up to 4 different integration time values integration time values with zero values are ignored In this mode one complete image is acquired with each set integration time 3D 0 3 After the acq...

Page 16: ...e Stop button or by changing the selected log in the list File name defines the file name of the log file An underline character separates this name from the current calendar day followed by a minus s...

Page 17: ...e by left mouse click Current information about this pixel are shown in the decided information window Figure 18 Pixelscope shows the distance and amplitude values of a row of pixels Figure 19 Timesco...

Page 18: ...single frame are added to the file If it is disabled just the data from last frame are stored 2020 ESPROS Photonics Corporation Characteristics subject to change without notice 18 51 Installation_and...

Page 19: ...h the Reset function the current data can be deleted 2020 ESPROS Photonics Corporation Characteristics subject to change without notice 19 51 Installation_and_Operation_Manual_TOFcam635 S_V0 10 www es...

Page 20: ...irmware upgrade menu Save configuration and settings to the PC Load configuration and settings from the PC Update firmware allows to download a mew or different firmware to the camera 2020 ESPROS Phot...

Page 21: ...the TOFCAM635_ROS_driver file Unpack this ZIP file 6 1 3 Running the ROS driver Change to the home directory and open the bash file cd gedit bashrc Insert the following line at the end of the bash fil...

Page 22: ...23 Timestamp 3 AmplitudeLimit1 WFOV 24 TOFCOS version 4 AmplitudeLimit2 WFOV 25 Hardware version 5 AmplitudeLimit3 WFOV 26 Chip ID 6 n a 27 Image width x axis 7 n a 29 Image height y axis 8 DistanceT...

Page 23: ...average_filter Enables the spatial average filter for distance filtering bool False n a spatial_median_filter Enables the spatial median filter for distance filtering bool False n a interference_detec...

Page 24: ...uired to state the correct name of the used COM port With Windows operating systems this name is visible in the systems manager 7 3 Resulting data frame Executing the scipt example in the Python termi...

Page 25: ...2 UART_RX 3 IN Digital input refer to Chapter 8 6 2 and Figure 25 4 OUT 2 Open drain output refer to Chapter 8 6 1and Figure 24 5 OUT 0 6 OUT 1 7 GND Negative supply terminal 8 VDD Power supply pin 2...

Page 26: ...1 Bit high active Parity No Voltage level LVTTL 3 3 V Table 10 UART configuration Figure 27 UART frame format 8 2 2 Software interface The UART operates in a master slave mode with the application as...

Page 27: ...entifier CMD 8 bytes of parameters corresponding to the command and 4 closing bytes with a 32bit CRC Figure 30 Command format Note Configuration settings applied by commands are stored as long as powe...

Page 28: ...m else crc crc 1 return crc 8 2 6 Acknowledge ACK response DATA_ACK An acknowledge ACK by the camera confirms the successful processing of commands which do not respond with a set of data e g such as...

Page 29: ...2 Amplitude limits settings for the confidence information STOP_STREAM 0x28 8 4 1 3 Stops the stream from the camera SET_COMPENSATION 0x55 8 4 1 4 Sets the compensation flags SET_DLL_STEP 0x06 8 4 1 5...

Page 30: ...Chip ID and Wafer ID GET_PROD_DATE 0x50 8 6 6 Returns the production date of the camera IDENTIFY 0x47 8 6 7 Returns the device ID and the operating mode GET_ERROR 0x53 8 7 Table 13 Miscellaneous comma...

Page 31: ...COS into the flash memory of the sensor Boot loader command only WRITE_CALIBRATION_DATA 0x4B 8 8 5 Writes the calibration data into the flash memory Deletes previous stored calibration SET_MOD_FREQUEN...

Page 32: ...rement value Interference avoidance To prevent interference the TOFcam 635 S camera has an option to slightly change the modulation frequency in order to shift away from a disturbers frequency Therefo...

Page 33: ...t s 0x00 Integration time used for the full pixel field or the ROI 1 integration time 125 0x01 2 integration time 0 0x02 3 integration time 0 0x03 4 integration time 0 0x04 0x05 0xFF N Table 16 Integr...

Page 34: ...ow reduction and additionally 2nd step Time wise by 2 consecutive frames 2 temporal HDR Time wise by 2 3 or 4 consecutive frames only non zero values for IntTimeIndex are acquired others 0 Response ty...

Page 35: ...0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x1E 0x19 0x54 0x95 Average filter enabled 8 4 8 SET_MEDIAN_FILTER 0x0B This spatial filter uses a 3x3 pixel sliding window It selects the median value of the 9...

Page 36: ...lt byte 2 3 interference detection limit default 500 others 0 Response type 0x00 ACK Response time tPROC 25 s Example Command e g 0xF5 0x11 0x01 0x01 0x90 0x01 0x00 0x00 0x00 0x00 0x93 0xD8 0x1B 0x77...

Page 37: ...rs 0 Response type 0x00 ACK Response time tPROC 25 s Example Command e g 0xF5 0x09 0x00 0x64 0x00 0x00 0x00 0x00 0x00 0x00 0xE7 0x34 0xAE 0x47 Set limit 0 100 LSB 8 4 13 STOP_STREAM 0x28 Stops the str...

Page 38: ...Number of DLL steps Default 0 others 0x00 Response type 0x00 ACK Response time tPROC 25 s Example Command e g 0xF5 0x06 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x93 0x2D 0x14 0x7C Number of steps 1 20...

Page 39: ...e Good distance information 11 7 500d TOF amplitude AmpLimit3 Default 500 LSB Excellent amplitude Most accurate distance measurement Don t care 7 500d TOF amplitude AmpLimit0 Distance not available or...

Page 40: ...tIntegrationTimeGrayscale 16 bit unsigned integer 2 24 Used integration time IntegrationTimeGrayscale 16 bit unsigned integer 2 26 Refer to Chapter 8 4 3 IntegrationTime0 16 bit unsigned integer 2 28...

Page 41: ...ager chip etc Thus an effective temperature compensation is implemented into the TOFcam 635 However if there are fast and large temper ature changes of the camera the measured distance may deviate sig...

Page 42: ...o Chapter 8 5 3 max 160x60 pixel x 3 bytes pixel with 16 bit distance data refer to Table 19 and 8 bit grayscale data refer to Table 20 Response time up to 150ms depending on settings Example Command...

Page 43: ...e 0 refer to Fehler Referenz nicht gefunden Response time up to 200ms depending on settings Example Command e g 0xF5 0x25 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x6A 0xFC 0x68 0xC3 Acquisition mode 0...

Page 44: ...onse time tPROC 25 s Example Command e g 0xF5 0x4A 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x1F 0xF8 0x6E 0x87 Response e g 0xFA 0xFC 0x02 0x00 0x47 0x13 0x54 0x1E 0x4C 0x14 Temperature 49 35 C 8 6 4...

Page 45: ...Response type 0x02 Data Response data 4 bytes byte 0 Hardware version byte 1 Device type is TOFcam 635 0x00 byte 2 Chip type is epc635 0x04 byte 3 0x00 normal operation 0x80 boot loader Response time...

Page 46: ...e a TOFCOS update or new calibration Parameter no all bytes 0x00 Response type 0xFA Calibration data 128kBytes data directly read from the flash transmitted in 3 packets 2 packets with 50 000 bytes an...

Page 47: ...e 1st write control byte start with password and file size 2nd write control byte write with index and data 3rd write control byte complete Parameter 8 bytes Contents differs and depends on operation...

Page 48: ...FCOS with the control byte 0x01 the index and 4 bytes of the update file Repeat this step as often as needed Update file size 4 e g with given update file above 0xF5 0x45 0x01 0x00 0x00 0x00 0x10 0x4A...

Page 49: ...asses Never use any solvents for cleaning THE DEVICE CAN BE DESTROYED 9 2 Disposal Disposal should be done using the most up to date recycling technologies for electronic components according to the l...

Page 50: ...ght C 2018 The Qt Company ROS www ros org Open Source Robotics Foundation Table 25 Licensed open sources used All rights reserved by the owners THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND C...

Page 51: ...r beyond the parameters stated by ESPROS for that product or service voids all express and any implied warranties for the associated ESPROS product or service ESPROS is not responsible or liable for a...

Reviews: