TF02-Pro User Manual
TF02-Pro User Manual
If you have any problems in the process of usage, you are welcome to contact
Benewake at any time for help.
Contact Details
Official website: en.benewake.com
TEL:+86-10-57456983
Technical questions,please contact:[email protected]
Consult sale information or request brochure,please contact:[email protected]
Headquarter Address
Benewake (Beijing) Co., Ltd.
3rd Floor, Haiguo Jiaye Sci-Tech Park, Haidian District, Beijing, China
Copyright Statement
This User Manual is copyright © of Benewake. Please do not modify, delete or translate
the description of this manual contents without the official written permission from
Benewake.
Disclaimer
As our products are constantly improving and updating, the specifications of TF02-Pro
are subject to change. Please refer to the official website for latest version.
CONTENTS
1 OVERVIEW ........................................................................................................................ 1
1.1 Technical Specification .............................................................................................. 1
1.2 Maintenance and Cleaning ........................................................................................ 2
1.3 Appearance and Structure ......................................................................................... 2
1.4 Storage ..................................................................................................................... 3
1.5 Application ................................................................................................................4
2 INTERFACE ........................................................................................................................ 5
2.1 Description About Wiring Sequence ........................................................................... 5
2.2 Electrical Characteristics ............................................................................................ 5
3 COMMUNICATION PROTOCOL ............................................................................................ 6
3.1 Serial Communication Protocol .................................................................................. 6
3.2 Serial Communication Data Format ............................................................................ 6
3.2.1 Standard data output format ..................................................................... 6
3.2.2 Character string data format ......................................................................7
3.3 I²C Communication Protocol .......................................................................................7
3.4 Timing Sequence Description of I²C ............................................................................ 7
3.5 I/O Communication Mode .......................................................................................... 8
4 PARAMETER CONFIGURATION ............................................................................................9
4.1 Command Convention ............................................................................................... 9
4.2 Configuration Commands .......................................................................................... 9
5 QUICK TEST GUIDE ........................................................................................................... 12
5.1 Tools Required for Test .............................................................................................12
5.2 Test Procedures ....................................................................................................... 12
6 Firmware Update ............................................................................................................ 14
7 Q&A ................................................................................................................................ 16
Attachment-1 BW_TFDS software .......................................................................................... 19
OVERVIEW
1 OVERVIEW
①
1σ: <2cm
Repeatability
(0.1m~35m@90% reflectivity )
Ambient light immunity 100Klux
Enclosure rating IP65
Photobiological safety Class1 (IEC60825)
Optical Central wavelength 850nm
parameters Light source VCSEL
③
FoV 3°
Supply voltage DC 5V~12V
Average current ≤200mA
Electrical Power consumption ≤1W
parameters Peak current 300mA
Communication level LVTTL (3.3V)
2
Communication interface UART, I C, I/O
Others Dimension 69mm×41.5mm×26mm (L×H×W)
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
OVERVIEW
Housing PC/ABS
Operating temperature -20℃~60℃
Storage temperature -30℃~80℃
Weight 50g (with cables)
Cable length 80cm
Note
1 The detection range is determined with the standard white board (90%
reflectivity).
2 The frame rate can be adjusted. The default value is 100Hz and the maximum
value is 1000Hz, the customized frame rate should be calculated by the
formula: 2000/n (n is an integer with ≥ 2).
3 The angle is a theoretical value, the actual angle value has some deviation.
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
OVERVIEW
Note
The side length of target object generally should be larger than size of the
TF02-Pro light spot; if the side length of the detected object is smaller than
size of light spot, the output (Distance) from TF02-Pro will be a value
between the actual distance values of the two objects.
1.4 Storage
Device should be stored at -30°C to 80°C with a relative humidity ≤ 60% and
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
OVERVIEW
1.5 Application
When using the product, please read the specifications, user manual and the
precautions mentioned in the user manual in detail to ensure that the product is used
within the rated specifications. The product is designed for use in the following
scenarios:
Intelligent transportation
Smart parking lot
Material level detection
Drone
Other consumer products
If you use the product beyond the above application scope, please carefully evaluate
whether the reliability requirements of the product to be applied match this product, or
contact Benewake at any time to provide suggestions and useful hints to avoid any
unpleasant situations.
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
INTERFACE
2 INTERFACE
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
COMMUNICATION PROTOCOL
3 COMMUNICATION PROTOCOL
The serial data format of TF02-Pro is shown in Table 3- 2 , the data is hexadecimal,
each data frame contains 9 bytes, including the distance value, signal strength,
temperature of chip and data check byte (Checksum).
Table 3- 2 Data Format and Code Explanation
Byte0-1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8
0x59 59 Dist_L Dist_H Strength_L Strength_H Temp_L Temp_H Checksum
Data code explanation
Byte0 0x59, frame header, same for each frame
Byte1 0x59, frame header, same for each frame
Byte2 Dist_L distance value low 8 bits
Byte3 Dist_H distance value high 8 bits
Byte4 Strength_L low 8 bits
Byte5 Strength_H high 8 bits
Byte6 Temp low 8 bits
Byte7 Temp high 8 bits
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
COMMUNICATION PROTOCOL
The data output is in the format of character string and its unit is m(meter). For
example, if the measurement distance is 1.21m, the string 1.21 will be output, followed
by the escape character \r\n.
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
COMMUNICATION PROTOCOL
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
PARAMETER CONFIGURATION
4 PARAMETER CONFIGURATION
In order to allow TF02-Pro to solve your problems more flexibly, the function of
user-defined configuration of product parameters is opened. Users can modify the
original parameters of the product by sending relevant instructions, such as output
data format, frame rate, etc.
Please modify product configuration depending upon your actual demands. Do not
frequently try irrelevant commands to prevent incorrect sending of command which
many cause unnecessary loss. Please make sure to use the commands listed herein. Do
not send unstated commands.
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
PARAMETER CONFIGURATION
②
5A 05 02 00 61 Succeeded
System reset 5A 04 02 60
5A 05 02 01 62 Failed
③
5A 06 03 LL HH
Frame rate 5A 06 03 LL HH SU 1-1000Hz,default 100Hz
SU
After setting the frame rate
Trigger detection 5A 04 04 62 Date frame to 0 , detection can be
triggered with this command
5A 05 05 01 65 5A 05 05 01 65 Standard 9 bytes(cm)
Output format 5A 05 05 02 66 5A 05 05 02 66 Character string(m)
5A 05 05 06 6A 5A 05 05 06 6A Standard 9 bytes (mm)
Default 115200; E.g.
④
5A 08 06 H1 H2 5A 08 06 H1 H2 H3 H4
Baud rate 256000(DEC)=3E800(HEX) ,
H3 H4 SU SU
H1=00,H2=E8,H3=03,H4=00
Enable/Disable 5A 05 07 00 66 5A 05 07 00 66 Disable data output
output 5A 05 07 01 67 5A 05 07 01 67 Enable data output
Communication 5A 05 0A MODE 00(UART),default;
/ 2
interface setup SU 01(I C)
2
Modify 5A 05 0B ADDR Modify I C_slave_addr,
2
5A 05 0B ADDR SU
I C_slave_addr SU default 0x10
Data Frame
5A 05 00 01 60
Obtain data (9bytes-cm) 2
Only works in I C mode
frame Data Frame
5A 05 00 06 65
(9bytes-mm)
Enable/disable I/O output
mode;
MODE (default 0):
5A 09 3B MODE
0--standard data mode;
I/O mode enable DL DH ZoneL /
1--I/O, near high and far
ZoneH 00
low; 2--I/O, near low and far
high;
Zone: hysteresis zone
Strength Threshold=60,
Distance under
Strength
threshold=4500.
threshold and 5A 07 22 XX LL
5A 07 22 XX LL HH SU E.g. When strength is below
distance under HH SU
60, make distance output
threshold
4500cm.
XX=60/10=6(DEC)=06(HEX)
10
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
PARAMETER CONFIGURATION
4500(DEC)=1194(HEX)
LL=94,HH=11
Range of X(HEX)is 0~A:
Low power X > 0, enable low power
5A 06 35 0X 00
consumption 5A 06 35 0X 00 SU consumption mode;
SU
mode X=0, disable low power
consumption mode, default
Restore to 5A 05 10 00 6F Succeeded
5A 04 10 6E
factory settings 5A 05 10 01 70 Failed
⑤
5A 05 11 00 70 Succeeded
Save settings 5A 04 11 6F
5A 05 11 01 71 Failed
Warning
1 SU is checksum, checksum is disabled by default.
2 Please keep power on and wait 1s after sending system reset
command, otherwise the settings will not take effect.
3 The customized frame rate should be calculated by the formula:
2000/n (n is an integer with ≥ 2).
4 The following baud rates are supported: 9600,14400,19200,38400,
56000,57600,115200,128000,230400,256000,460800,512000,
750000 , 921600. When setting a high frame rate, high baud rate is
recommended to ensure data security. After sending baud rate
command, keep power on and switch to the target baud rate before
sending save setting command, it will be effective in this way.
5 After parameters configuration, send saving settings command to
save the configuration, otherwise the settings will not take effect.
11
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
QUICK TEST GUIDE
12
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
QUICK TEST GUIDE
Note
1 Please turn off any anti-virus software before uncompressing the PC
software. Otherwise, the software maybe detected as virus and
deleted by anti-virus. The software is only runnable under Windows.
2 If no data is available in area “④TIME LINE CHART”, please check the
wire connection and sequence. When TF02-Pro is successfully
powered on, there will be a red indicator light inside transmitting lens
viewing from the front.
3 The value of distance output Dist may vary with the output unit, which
is cm by default. If the unit of distance is changed to the unit-mm with
specific command, and the PC software will be unable to identify it,
and so the unit of “④TIME LINE CHART” will still be cm. For example,
the actual TF02-Pro measurement is 1m, the distance value of
TF02-Pro is 1000 in mm, the value read by the PC software also is 1000,
but the unit will not change and still display cm.
13
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Firmware Update
6 Firmware Update
TF02-Pro supports the firmware upgrade. When the user’s product cannot satisfy the
current application requirements and Benewake official website has relevant firmware
upgrades, the user may upgrade the product firmware via Updater_BENEWAKE
software. Please contact us to get the updater if you cannot find it on our official
website.
The tools for the firmware upgrade of TF02-Pro are mostly the same as QUICK TEST
GUIDE, which requires one TTL-USB board to connect the TF02-Pro with PC. The
upgrade process is as follows:
1) Run Updater_BENEWAKE.exe, Select right port, here is “①COM9”. Input the right
baud rate in “② 115200” and click “③ CONNECT” to connect the TF02-Pro with
the software. As shown in Figure 6- 1.
14
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Firmware Update
15
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Q&A
7 Q&A
1) Distance value occasionally will abruptly change into 4500 beyond the range
during normal operation.
Cause:
Different test environments (reflectivity of detected object, disturbance of ambient light,
etc.) will affect the signal strength of TF02-Pro. For a reliable and stable measurement
data, the algorithm elimination is internally used for TF02-Pro. In case of the
insufficient signal strength, TF02-Pro will output 4500. This value is not measurement
data of TF02-Pro, which is only used to remind the user that such data is unreliable.
Troubleshooting:
Please use such value as the trigger signal of some unreliable data, and it will ensure
that your system can use other reliable data for further assessment and
decision-making if there are some unreliable data.
2) Significant error between the output distance value of LiDAR and actual distance.
Cause①:
Incorrect interpretation of the data communication protocol of TF02-Pro.
Troubleshooting:
Check data communication interpretation means. In case of such error, please check
the data format to adjust interpretation means.
Cause ②:
Due to the detection principle of TF02-Pro, the above phenomenon is likely to occur if
the detection object is the material with high reflectivity (such as mirror, smooth floor
tile, etc.) or transparent substance (such as glass and water, etc.)
Troubleshooting:
Please avoid use of this product under such circumstance in practice.
Cause ③:
The IR-pass filters are blocked.
Troubleshooting:
Please use dry dust-free cloth to gently remove the external matter
3) The TF02-Pro outputs an abnormal distance value of 65535.
Cause:
When encountering a measured object with high reflectivity (such as mirror, water,
etc.), the received signal will be saturated, at this time, Strength = 65535, and the
distance value will become 65534; when the signal strength is insufficient and lower
than 60, the distance value will become the maximum value of 4500.
16
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Q&A
Troubleshooting:
Please avoid use of this product under such circumstance in practice.
4) No data output.
Cause:
The product will be strictly inspected before leaving our factory, ensuring that all the
shipped products can work normally. However, some abnormal working matters
maybe still occur because of incidents during the transportation or use.
Troubleshooting:
Check whether the power supply is normal; check whether the voltage is within rated
voltage range. If power supply is normal, there will be a red light inside the
transmitting lens of TF02-Pro.
Make sure TF02-Pro connection is correct and reliable.
Check whether the data interpretation is correct. Please carry out the interpretation as
per the data format specified herein.
If the fault persists, please contact technical support.
5) There is no data output when Benewake LiDAR is connected to the PC software
(BW_TFGS software).
Cause①:
The software only supports Microsoft windows operating systems for the time being
Troubleshooting:
Use the PC supporting Microsoft operation system.
Cause②:
TTL-USB board is poorly connected.
Troubleshooting:
Check the TTL -USB board with the correct and reliable connection with TF02-Pro and
PC.
Cause③:
Driver of serial port is not correctly installed.
Troubleshooting:
Plug and unplug USB cable again. Try to reinstall the driver or directly download and
install a driver from the internet.
If the PC software still work abnormally, please contact our technical support.
6) The accuracy of TF02-Pro gets worse at 40m against white board and the data
fluctuation becomes larger.
Cause:
There are metal objects around the front lens barrel.
Troubleshooting:
Remove or replace metal objects near the lens barrel with non-metallic materials. If the
17
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Q&A
metal material around the lens barrel in your installation position cannot be changed,
and there are high requirements for data stability and error at the extreme distance,
please contact our technical support.
18
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Attachment-1 BW_TFDS software
BW_TFDS software only supports Windows operating system. It is suitable for any
products of TF series, but the output of those products is limited to the serial port
communication protocol. Detailed operations are as below.
19
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024
Attachment-1 BW_TFDS software
Drawing/Pt: upon receipt of every N frames, the software will draw one point on the
chart [4] the average of the N data. N can be modified depending upon the actual
requirement (the value is preferable to be ≥ 10 to prevent the PC software from
lagging). After entering the value, press “Enter” key on the keyboard to enable the
setting.
Draw AMP: the software will draw the curve of signal strength on the chart [4], take
effect immediately after button is selected.
FREEZE/CLEAR: After clicking [FREEZE], time-line chart in zone [4] will stop updating.
On clicking [CLEAR], the plotted curve in [4] will be cleared.
3) Data Recording Zone [DATA RECORDING]
Input the name of data file in the textbox. Press [RECORD] button to start recording data
and click the [FINISHED] button to stop recording. Click [FOLDER] button to open the
folder where the data file is saved.
4) Time Line Chart Zone [TIME LINE CHART]
The PC software will draw the continuous distance measurement curves based on the
received data, where y-coordinates represent the current distance data while
x-coordinates represent number of points.
5) CUSTOM COMMAND ZONE [CUSTOM COMMAND]
Command: Input the commands in hexadecimal format in the text box and click the
[SEND] button above to send the command.
6) Real-time Data Display Zone [REAL-TIME DATA]
Dist: Distance, unit: cm by default.
Strength: the signal strength, values are between 0 and 65535.
Effective Points (per sec): indicates effective points refreshed by TF per second (equals
to frame rate).
20
©2024 Benewake (Beijing) Co., Ltd. · All rights reserved · REV: 01/04/2024