Skip to main content
Skip table of contents

Laser Scanning - Z F IMAGER5010 50Hz - 20

Description

Driver to decode data from a LEICA HDS7000 ultra-high speed laser scanner, or from a Zoller+Fröhlich IMAGER5010 laser scanner.
This document applies to both scanners, so where ever you see HDS7000 you may read IMAGER5010


Laser stands for  Light  Amplification by  Stimulated  Emission of  Radiation. The laser class used by the HDS7000 is 1 (IEC 60825-1), which is eye-safe. The scanner has a maximum scan range of 187 meters. 

The HDS7000 is capable of scanning in two different modes: Standard Scanning Mode and Profiler Mode.
The laser prism/mirror always rotates at very high speed around a horizontal axis. The entire laser unit may turn, at slow speed, around a vertical axis.

This driver only supports Profiler Mode, i.e. the laser does not scan around the vertical axis (i.e. scanning 'around').

Typical application for scanning in Profiler Mode would be to mount the scanner on top of the roof of a car, together with a GPS receiver and Motion Sensor, in order to scan roads. 



It is highly recommended to interface the HDS7000 with a Time Synchronization (PPS) pulse from an external GNSS receiver, in order to time-tag all data with UTC.




Driver Information

Driver

LEICA HDS7000 50Hz (XML)
Z+F IMAGER5010 50Hz (XML) 

Interface Type

Freebase/TCP/IP/UDP

Driver Class Type

Freebase

UTC Driver (question)

Yes

Input / Output

Input and Output

Executable

DrvLaser.exe IMAGER_5010 

Related Systems

Related Pages




Decoding Notes

Data is always broadcast via UDP network. It is advisable to use a fast (Gigabit) network card, due to the enormous amount of data to be expected. Do not use the onboard wireless network for real-time scanning.

The actual raw binary datastream is in so-called ZFS format, a data format defined by company Zoller+Fröhlich. This document does not describe the ZFS format.

For this driver the laser must be used in so-called Profiler Mode.

The driver is configured as a multibeam system and creates XYZ 'multibeam' observations.

('multibeam' versus 'laser scanning'-terminology: ping = scan (i.e. 360° around), footprint = pixel, swath = line)

The number of beams (pixels) depends on the on-line used settings, like (user-definable) range mask, vertical angle mask, intensity mask, etc. (see Controller Setup below). The maximum theoretical number of beams per scan is 200000. Under normal conditions you would expect values of 2000 to 5000 pixels.

The number of scans (lines) per second is also a user-definable setting and the maximum will be 50 Hz.

Interfacing Notes

Network setup

Communication with the laser unit is possible via the fast (1Gbit) LAN network, or via wireless WiFi network.

Never use the WiFi, or a slow LAN (e.g. less than 1Gbit) network for real-time data broadcast: the enormous amount of data transferred is simply too much for the network. In order to configure the laser unit it does not matter which network you use. Both networks may also be used simultaneously: the LAN network for real-time broadcast, the WiFi for viewing/modifying the configuration.

  • LAN Network Configuration 
    The LAN IP address of the laser unit can be seen on the Home Page of the front display, e.g 172.20.4.100. 

    The LAN IP address of your computer's network should be in the same range, except for the last digit (e.g. plus one)! Use for the subnet mask the values 255.255.255.0 

Timing

By default, the driver will time-stamp the data when received at the UDP port. However, due to UDP network characteristics in general, this will result in inaccurate timing. Therefore timing via Time Synchronization pulse from GPS is highly recommended.

This means that the HDS7000 must be interfaced to a GPS receiver as follows:

  1. The NMEA $GGA or preferably $ZDA message from the GPS receiver must go the one of the two available USB ports (P1 or P2).
    It is important that your RS232 to USB cable has a Profilic or FTDI chip set.

  2. The Time Synchronization (PPS, pulse per second) signal from the GPS receiver must go to the 9-pins Lemo port P3 (Pin 2: Pulse, Pin 3 AND 8: Ground).

If connected properly, the laser unit will decode the time-field from the NMEA message in order to get the exact UTC time, and will then increment its internal Counter1 with every pulse. Please continue with the following Configuration paragraph.

System Configuration

The laser must be configured in order to accept the timestamp from the GPS. It needs to know which USB port is connected to the GPS receiver, what NMEA message and at which baud rate it is sent.

This configuring can be done using a web interface: via the LAN network, or via a WiFi connection.

Viewing the current configuration is always possible; however, changing settings requires a password. For general settings you may use password 'lara', for advanced settings you may need an extra password (which expires in time) from LEICA or Zoller+Fröhlich support.

Start your default web browser, and connect to the laser unit using its IP address. This IP address can be found on the home page of the laser unit front display, e.g. 172.20.4.100.

Use page /config to view the configuration (e.g. type in http://172.20.4.100/config). In this page you may also enter the password, in case you want to modify settings.

Go to the 'GPS' or 'All' sub page and locate the '2132', 'gps_port', 'gps_baud' and/or 'gps_utc_cmd' setting.

Make sure to set the '2132' setting to '1', otherwise the scanner does not use GPS/PPS at all. Also, make sure that 'pps_hz' is set to '1' (if setting is present).

Set the 'gps_utc_cmd' setting to 'gga' if the time string to the USB port is NMEA GGA, or 'zda' if the time string is NMEA ZDA.



(warning)
Prior to going online with Qinsy, make sure that the scanner is accepting Time and Pulse from the external GPS:

Use page /gps in the web browser (e.g. http://172.20.4.100/gps) and make sure GPS configuration is enabled.
When pressing the Update button, you must see a valid UTC time and Counter1 (the pulse) should increment every second:

Instead of using a web browser, you may also access the connector menu from the scanner onboard display:

Go to Hardware and select Connector: Here you can check whether the counter 1 value is nicely incrementing at 1Hz.


Database Setup

First, internally the driver is treated as a multibeam system, creating multibeam 'XYZ' observations, therefore you will find the laser system drivers under category type Multibeam Echosounders.

1. Edit System Wizard

Add a Multibeam Echosounder system to your template setup, and select driver "Laser Scanning - LEICA HDS7000 50Hz (XML)" or "Laser Scanning - Z+F IMAGER5010 50Hz (XML)".

  • Enter the same (UDP) port number as the cmd_port number of the scanner, normally set to 6100. The driver will always communicate (sending and receiving commands) via this command port number of the scanner. The real-time datastream is received via this port number plus one, so normally 6101. Status information from the scanner is received via this command port number plus two, so normally 6102. Please read the instructions in chapter Network Configuration above for viewing and/or modifying the current port settings.

  • Important is to enter for the IP Address the address of the scanner, as seen on the Home Page of the laser unit front display (See also Network Configuration above).

  • The maximum update rate is not used, so leave it at zero. 

2. Multibeam Echosounder Parameters

Important are the Transducer Location (Node) and Mounting Angles (offsets) on the second wizard page.

  • The Transducer Location and Mounting Angles are important. Notice that when the laser unit is mounted up-side-down, you have to enter for the Roll offset a value of 180°.

  • Set the Max. beams per Ping value to 40000. The actual number of beams will be variable, and depends for example on the on-line used settings, and on the targets being scanned. 
    The actual number of beams will be variable, and depends for example on the used on-line settings and on the targets being scanned.

3. Echosounder Accuracy Parameters
  • You may leave all values on the third wizard page at defaults.

4. Multibeam Echosounder Corrections
  • You may leave all values on the last wizard page at defaults.


Windows Firewall

The very first time Windows may pop up a security message:

Just enable all check-boxes!

If you forgot to do this, or if you are not sure if this has been done, you may want to follow the steps as described in the Additional Info or Trouble Shooting section about Windows firewall.

Online


When on-line, the laser unit can be controlled using the Controller: 

Select Echosounder Settings, click on the Laser System icon, and select the 'Control' tab page. 


Control


Device Settings


Connected

Connect (using TCP/IP) to the so-called LRC Server of the Laser Scanner. Make sure that the IP address entered in Database Setup is correct. Under normal circumstances a successful connection will be established within a second. If it takes considerable more time, you should check your network cable/configurations. If no network connection can be made at all (e.g. the laser unit is switched off) then it may take 5 to 10 seconds before you will be informed.

  • No
    This means that there is no TCP network connection between the driver and the laser unit.

  • Yes
    Select this every time you go online with the Controller, in order to communicate with the scanner. If no connection could be made, a notification message will be displayed in the Events list. Under normal circumstances a connection will be established within a second.

    Notice that the Controller's option Reset System I/O will also re-establish a connection. You need to be connected in order to select any Action (see below).

    Further, the driver will automatically disconnect when going offline with the Controller, so there is no need to do this manually.

Action

Selected action will be send to the laser unit, immediately after hitting the Apply or OK button. You must be connected first in order to select an action.

Notice that any selection will always revert back to [None], after each selected action.

It is recommended to wait a few moments after each action, until the status in the Event list is updated with a message, because it takes some time for the unit to handle each command (action).

  • [None]
    This will be the selection after each action. Nothing will happen when hitting the Apply or OK button.

  • Start
    Select this action in order to start scanning in profiler mode. Notice that it may take a few seconds before the first data is received, so be patience for at least 10 seconds.

  • Stop
    Select this action in order to stop scanning. Scanning will be stopped immediately, after hitting the Apply or OK button. The laser will also stop scanning automatically when going offline with the Controller.

  • [Abort]
    If something is wrong (e.g. the laser unit received a wrong command, or GPS is not recognized by the scanner), then its front display may display an error message for the user with an option to Abort, Retry or Ignore.
    Instead of using the laser unit's keyboard, you may select this action.

Scan Speed

Define the speed for the vertical high-speed motor. I.e. the number of scans per second.
This setting, together with the Scan Resolution, has a huge impact on the amount of data.
A higher speed is recommended when the laser unit is mounted on a fast moving vehicle. E.g. using 50 Hz on a car speeding 80 km/hr will result in a consecutive profile distance of 44cm.

Notice that some combinations with the Scan Resolution are not allowed. Check the table below for all possible combinations.

Scan Resolution

This setting affects the vertical angle resolution, which is the angle step between two consecutive pixels (beams). It is important to select the right combination with the Scan Speed.

Vertical Area Selection

Scanner head rotates 360° every line at high speed. 0° means looking down, 180° means looking up, 90° looking left, 270° looking right. Notice there is a physical mask from 0°-20° and 340°-360°.

Select the required scheme from the list.

Excluded data d/t this setting will not be recorded.

Schemes are defined in the Laser Device Settings XML File:

They are allowed to be added, deleted or modified by the user in order to meet your local survey specifications and conditions.
Notice that the Mask Sector Start/End Angle must be defined using the scanner's local co-ordinate system.
Do not edit other tags/elements. Contact QPS BV in case modifications are required.

Sector Reduction

Select the required scheme from the list.

Excluded data due to this setting will not be recorded.

Schemes are defined in the Laser Device Settings XML File:

They are allowed to be added, deleted or modified by the user in order to meet local survey specifications and conditions.
Notice that the Sector Start/End Angle should be defined using the scanner's local co-ordinate system.
To skip all pixels, set Interval to 0, to use all pixels, set Interval to 1 and to use every n-th pixel only, set Interval greater than 1
Notice that omitting a Sector Interval value means 0 (skip all)
Performance-wise, it is not recommended to use a Sector Reduction scheme to skip all pixels (i.e. Interval 0) for a desired sector. Instead you should use a Mask Scheme of the Vertical Area Selection, see above.

Minimum Range

Set the minimum required range in meters. Valid Values: 0 to 187 meters.

Using this setting is recommended, but be careful: Blocked data d/t this setting (i.e. all pixels less than this range) will not be recorded!

Maximum Range

Set the maximum allowed range in meters. Valid Values: 0 to 187 meters.

Using this setting is recommended, but be careful: Blocked data d/t this setting (i.e. all pixels more than this range) will not be recorded!

Minimum Intensity

Set the minimum required intensity (or reflection) value.
Values are scanner dependent. For the HDS7000 or IMAGER5010 these values are 0 - 5,000,000.

Notice that blocked data d/t this setting will not be recorded

Maximum Intensity

Set the maximum allowed intensity (or reflection) value.
Values are scanner dependent. For the HDS7000 or IMAGER5010 these values are 0 - 5,000,000.

Notice that blocked data d/t this setting will not be recorded

Mode

Scanning with Low or High power.
Notice that High Power will scan the same distance as set at Low Power, however, Low Power may introduce more noise.

Use PPS

When enabled, the scanner needs a valid NMEA time message and PPS pulse from an external GPS receiver.
Highly recommended, in order to use exact time-stamping of the laser data. See also the paragraph about DM-0359#Timing above.

If the NMEA time message is not valid when action Start scanning is triggered, an error message will be displayed in the Events list, and the user has to select action Abort.

Generic Display

The Generic Display can be used to show the numerical values for the number of beams (pixels) being scanned per ping (scan), the number of beams being scanned per second, the ping rate (scan rate in Hz), range values, etc. 


You may use the attached example Generic Layout file as example: Copy this layout (Use 'Save Link As...') to your current Project's Settings\Display folder and open it using a new Generic Display. 
You only have to select the correct laser system as defined in your template setup.

Important value to monitor is the Ping Age, especially when setting 'Use PPS' is enabled. This value should be small, around zero.
Also, the Status Flag should be 2 (in the example layout above it has been translated to 'PPS OKAY').


Real-time Performance Monitoring

When the scan data rate is too high, the other core Qinsy processes may not be able to handle the amount of data published by the driver (too many pixels/sec.) and in the past it would eventually crash the system.

An extra safety check has been implemented in order to prevent crashing of Qinsy: abnormal memory usage will be detected and when it exceeds a certain threshold limit a Stop command will be sent automatically to the scanner.

When that happens, the following message is displayed in the Events list in order to inform the user:

"SCANNING ABORTED"
"PROCESS MULTIBEAMER.EXE EXCEEDED CRITICAL MEMORY 1.7GB"

Whether such an event may occur is very much hardware dependent and/or on which settings are used.


You can check yourself if your setup is vulnerable: open the Windows Task Manager and monitor process Multibeamer.exe and/or DrvResultOut.exe while scanning. Under normal conditions the memory used by these processes should be constant.
If you notice that column Working Set (Memory) is constantly increasing, then the process will eventually crash when it exceeds 2GB and you will have to restart Qinsy. Note that 2GB is the maximum memory allowed for a 32bit process.


There may be situations that the default 1.7GB threshold is a little too low, or that the Stop scanning command must be sent earlier, e.g after exceeding a memory usage of 1GB.
So as an advanced user you may modify the following registry key in order to increase this threshold:
HKEY_CURRENT_USER\Software\QPS\QINSy\8.0\Drivers\DrvLaser\Settings\ProcessMemoryLimit

Note:

  • If you enter a value (in bytes) higher than 2GB it won't be accepted and the default will be used. You may try the following key value: 2000000000
  • If the value is set to zero, no monitoring of the Multibeamer.exe or DrvResultOut.exe process memory usage will be done. This is at your own risk because it may cause a crash when the memory usage exceeds 2GB.

But most important

Try to prevent having such events happening in your setup:

  • Check all your hardware and upgrade where possible. (Especially CPU power, Memory installed, Network card, Hard disk storage, etc.)
  • Read carefully the Improve Performance paragraph and try to follow up all the tips.

Improve Performance

Due to the enormous amount of data to be expected while scanning and recording, it is recommended to keep the system overhead as low as possible.

Here you'll find some tips and tricks in order to fine-tune your setup.

However, these are not strict rules, because each project is different and depends on the current situation and hardware being used. Your goal should be to keep your system CPU usage as low as possible.

HARDWARE

Storage

Make use of Solid State Drive (SSD), or fast SATA hard drive (7200 - 10000 rpm).

Network

Your network card speed should never be lower than the scanner's network speed. Use a network card that can be configured for 100Mbit or 1Gbit speed. Do not use USB Networking Adapters, because this may result in loss of data when huge amounts of data are being broadcast.

Virus Scanner

Disable Virus Scanner or at least the setting 'Scan Files when Writing/Reading to/from disk'.

Task Manager CPU

General Task Manager CPU Usage should be less than 50%. CPU load of each display must be less than 10-15%.

Make sure that the 'Working Set (Memory)' column for process Multibeamer.exe and/or DrvResultOut.exe is not constantly increasing, especially during recording. For detailed information about this see the section Real-time Performance Monitoring below.

PROJECT PREPARATION

Controller Laser Device Settings

During project preparation, establish the optimum settings in order to achieve the required results.

The most benefit you will gain from setting the Min/Max Range limits, Scan Speed, Scan Rate, Scan Resolution, Angle Resolution, Vertical Area Selection, Scan Area Selection and Sector Reduction as well as possible.

Especially the Vertical or Scan Area Selection is very important. Make use of Mask schemes to define areas which you don't want to scan.

ONLINE

Raw Multibeam Display

Open only one Raw Multibeam Display and more important: do not use the options 'Show Big Dots' or 'Draw Lines'.

Navigation Display

Open only one Navigation Display.

Preferably disable DXF and TIFF layers or other big background files. Note that these layers should only be used during project preparation.

When 'object tracking' is enabled, do not zoom in too close. Keep in mind that the display should not be 'refreshed' more than 1x per second.

3D Point Cloud Display

It is not recommended to use a 3D Point Cloud Display, unless your hardware contains a high-spec video card.

Under Sensor settings set the Time window setting to a short period, e.g. 10 sec

Sounding Grid / Dynamic Surface

Storage to a grid is not recommended and should be purely for display purposes: e.g. for checking the scan coverage or for showing the 95% Confidence Level statistics.

If you do want to see the scan coverage then it is advisable to store to a sounding grid and not to the dynamic surface

Do not use a small cell-size; preferably not less than 1.0 meter.

If you notice in the Navigation Display that the real-time sounding grid is updated with a delay then please increase the cell-size or disable the storage completely.

Note that in Replay (offline) there are no limitations and you may use small cell-sizes, e.g. 0.10 meter.

OFFLINE

Replay

In Replay there are no limitations as mentioned above: use as many displays as you like, store to sounding grids with small cell-sizes, update the dynamic surface, etc.

All this may only affect the replay speed, but the data integrity of your final DTM processing files should be fine.

COMPUTATION SETUP

While working online, disabling the laser system in your Computation Setup will have the most effect on the performance

The final footprints will not be geo-referenced, nor corrected for motion, heading or timing in real-time, which will save a tremendous amount of CPU power and memory usage.

This tip allows you to get the most out of your scanner: maximum scanning speed and maximum scanning rate, without the risk of losing scans due to performance issues.

Drawback is that no DTM file (e.g. QPD) is created, nor a sounding grid is filled, while working online.

In order to create a final DTM and/or Sounding Grid file you just need to Replay the recorded databases afterwards.

If you experience problems using your laser scanner in combination with this driver or if you need additional information or support then please attach the daily laser log-file when submitting your JIRA support ticket.

At the bottom of this section you'll find the information on where to find this daily laser log file

Network Problems

Windows Firewall

A commonly reported problem is that network data is blocked by the Windows Firewall.
When this happens you may see that data does come in using other utilities (like the I/O Tester or the manufacturer's own software), but that the Qinsy driver does not accept any data.

The following (Windows 10) steps may solve this:

  1. Go offline, open the PC Settings (Start menu, Settings)

  2. Select Windows Firewall (Update & Security, Windows Security, Firewall & network protection)

  3. Select Advanced settings

  4. Select Inbound Rules, highlight all 'Driver for Laser Scanning' entries and delete them using the right mouse popup menu (or Del key)

  5. If you now go online, the Windows Security Alert message will pop up: It is important to tick all three check boxes!

Multiple Network Cards

Another possible problem could be that your computer has more than one network card installed (e.g. LAN and WIFI), but within the same sub-net mask range (255.255.255.0).

It is recommended to make the first three digits unique for each network card IP address.

You may check the daily laser log-file; it will show the IP addresses for all available network adapters and indicates which one the driver will use:

Please check that the driver is using the correct one!

Missing Data

If you occasionally experience gaps in your data, this may be caused by a general Windows setting that affects the data throughput of your network card.

Change the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\NetworkThrottlingIndex


Set the new value to ffffffff (which will tell Windows to disable network throttling) and restart the computer.

Note that disabling network throttling may affect playing multimedia on your computer, but for laser scanning operations it is advisable to have a maximum data throughput of your network.

Daily Laser Log File

All user actions, system information and reported errors are logged in a daily laser log file which can be found in the current project's LogFiles subfolder.

The filename convention for this ASCII log-file is <System Name> DD-MM-YYYY.log, so every day there will be a new one.

Note that all time stamps in this log file are by default in UTC. An advanced user may change this to local time zone (LTZ) by changing the registry key:
HKEY_CURRENT_USER\Software\QPS\QINSy\8.0\Drivers\DrvLaser\Settings\TimeLogFileUtc value from 1 to 0.




 

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.