Create and edit zones

This page documents an earlier firmware release. Read this page for the latest release

A zone is a box in the scene that evaluates what happens inside it.

You create and edit zones in Configuration > Zone Management, on top of the live point cloud.

Zones are placed relative to the ground. The Create Zone buttons stay greyed out with Sensor setup not completed until the sensor has been aligned in Sensor Setup.

The Zone Management view

The left panel holds Create Zone and the List of Zones. The point cloud shows every zone as a box. When you select a zone, its settings open on the right.

Zone Management with its Help button and the Create Zone section with three buttons: the scissors for an exclusion zone, the heap for a volume zone and the eye for an occupancy zone
Figure 1. Create Zone buttons, with the heap for a volume zone

Create Zone buttons

Hover over a button to read its description. The sensor runs one application at a time, so create the zones of your application only.

Heap Volume

Measures the quantity of a pile of material. See Set a volume zone.

Scissors Exclusion

Excludes points inside the zone from further processing. See Exclusion.

Eye Occupancy

Detects whether a region is occupied or not. See Occupancy.

List of Zones

Every zone is listed by name; a disabled zone is greyed out. The button Copy duplicates a zone. On volume zones, Cube shows or hides the volume map and Scale tares the volume.

Create a zone

  1. In the sidebar, click Configuration > Zone Management.

  2. Under Create Zone, click the button of the zone type.

    The new zone is added to the list with a name such as Exclusion Zone 1 and its settings open on the right. It exists only in the browser until you apply it.

  3. Set name, position and size, see Place the zone.

  4. Set the conditions of the zone type.

  5. Click Apply.

A new volume zone is named Volume Zone 1 and starts as a box of 1 × 1 × 1 m standing on the ground at the origin, with Zone Shape Box and a Resolution of 0.2 m.

Edit a zone

  1. In the List of Zones, click the zone. Its box is highlighted in the point cloud and its settings open on the right.

  2. Change what you need.

  3. Click Apply to store the changes and close the panel.

The buttons at the bottom of the panel:

Button What it does

Apply

Stores the zone on the sensor and closes the panel. Greyed out while the name is empty or a value is invalid.

Close

Closes the panel. For a zone that was never applied, Close is greyed out; apply it or delete it.

Undo

Replaces Close once you have changed something. Restores the last applied state.

Red bin

Click and hold to delete the zone. A zone that was never applied is simply discarded.

Clicking another zone applies the changes of the current one first. If they cannot be applied, the WebGUI asks whether to discard them.

Place the zone

  1. Click the field at the top of the panel and enter a name. A zone needs a name.

  2. Leave the enable switch next to the name on. A disabled zone stays in the list but is not evaluated.

  3. Under Transformation, click Translate, Rotate or Scale, then set x, y and z with the sliders or type the values:

    Mode What x, y and z set Range

    Translate

    The position of the zone centre, in m.

    -25 to 25 m on the sliders

    Rotate

    The rotation around each axis, in degrees.

    -180 to 180°

    Scale

    The size of the box along each axis, in m.

    0.1 to 50 m

    You can also drag the arrows drawn on the selected zone in the point cloud.

A zone with a polygon shape cannot be transformed in the WebGUI.

A volume zone can only be rotated around z.

The axes follow the coordinate system.

Set a volume zone

A volume zone measures the material inside it: a pile, a bunker or a stock area. Every point inside the zone counts as material, so the zone must hold the material and nothing else.

  1. In the List of Zones, click the volume zone, or create one under Create Zone with Heap Volume. Its description reads Measure the quantity of a pile of material.

  2. Place the zone around the material, for example under the name Bunker 1.

  3. Choose the Zone Shape.

  4. Set the Volume Map and Output settings.

  5. Click Apply.

    Its value appears with the next measurement.

Volume zone settings of Bunker 1 with the name and the switch to disable the zone, Transformation Translate x y z, Zone Shape Box and Cone with Cone selected, Cylinder Height 1 m, Volume Map with Resolution, Angle of repose and Tare volume, below it the volume measured right now and the button Tare to the current measurement, Output with Minimum coverage and the coverage measured right now, Link occupancy zones and the Delete, Close and Apply buttons
Figure 2. Settings of a cone-shaped volume zone

Place the zone around the material

Draw one volume zone for each bunker, pile or area you want a separate value for.

  1. Under Transformation, click Scale and set the size: x and y to the floor area of the bunker or pile, z to its highest possible fill level.

  2. Click Translate and move the zone over the material. The zone should stand on the ground.

  3. Click Rotate to turn the zone around z if the bunker is not aligned with the axes.

  4. Check from the side, in the 3D view, that the floor of the zone lies on the ground and its top above the highest material.

Keep walls, pillars, conveyor belts and machines out of the zone. They are measured as material. Where something cannot be kept out, cover it with an exclusion zone.

Choose the zone shape

Zone Shape decides which part of the zone is measured: Box or Cone.

Shape What it does Use it for

Box

Everything inside the box is measured.

Rectangular bunkers and open stock areas.

Cone

Only a cone fitted into the box is measured. Its base fills the floor of the box and its tip touches the top.

Cylinder Height

The height in m of a cylinder below the cone. The cone narrows only above this height. At 0 m, the zone is a plain cone. The value has to be lower than the height of the zone; otherwise the field shows Value has to be lower than <height>m.

Conical piles; with a Cylinder Height, a round silo or a round pile on a vertical base.

In the Viewer, the cylinder of a cone zone is drawn as a transparent shell inside the box.

Set the volume map

The floor of the zone is divided into square tiles, the volume map.

Setting What it does New zones

Resolution

The edge length of a tile, in m, from 0.1 to 0.5 m. Smaller tiles follow the surface more closely and capture small heaps and edges, but each needs points of its own, so more tiles stay without points and are filled in. 0.2 m suits most piles.

0.2 m

Angle of repose

The steepest slope the material holds, in degrees from 0 to 90. The sensor uses it to fill in the sides it cannot see. Dry wheat, for example, holds about 27°. Take it from the data sheet of the material, or measure it on a freshly dumped pile. Set it for every pile with a side the sensor cannot see; when the zone is seen from all sides and the coverage is high, it has little effect.

0°

Tare volume

The volume, in m³, that is subtracted from every measurement.

0 m³

Tare an empty zone

Some zones measure a volume even when they are empty, for example because the bunker floor is raised. The tare subtracts it from every measurement.

  1. Empty the zone, or wait until it is empty.

  2. In the List of Zones, close the zone if it is open. The buttons next to a zone are only shown when it is not selected.

  3. Click the scale next to the zone, Tare volume.

    The sensor takes the volume of the next measurement as Tare volume and stores it immediately. With a long measurement interval this takes up to one interval. The scale then turns yellow.

    List of Zones with Bunker 1, Bunker 2 and Driveway, the yellow scale next to Bunker 1 under the mouse pointer and its tooltip Click to reset tare volume
    Figure 3. A zone with a tare: the scale is yellow

To remove the tare, click the yellow scale again, Click to reset tare volume. Tare volume returns to 0.

You can also tare in the settings of the open zone: click Tare to the current measurement below Tare volume, then Apply. It adds the volume measured right now to the tare.

Tare only while the zone holds no material. Material inside it at that moment is subtracted from every following measurement.

When you move, resize or reshape a zone that has a tare, or change its Resolution, the WebGUI sets Tare volume back to 0 when you click Apply, unless you also changed Tare volume yourself. Tare the empty zone again afterwards.

Suppress disturbed measurements

Wheel loaders, trucks and people in or in front of a zone hide part of the material or are measured as material. Two settings keep such measurements from being reported:

Setting What it does New zones

Minimum coverage

Under Output, in %. The coverage is the share of tiles that the sensor actually measured, as opposed to filled in. When the coverage of a measurement is below this value, the zone reports no value. 0 % reports every measurement.

0 %

Link occupancy zones

The zone reports no value while one of the linked occupancy zones is occupied.

None

To link an occupancy zone:

  1. Create an occupancy zone where the vehicles drive or stand, with Eye Occupancy under Create Zone, and click Apply.

  2. Open the volume zone.

  3. Under Link occupancy zones, choose the occupancy zone under Add.

  4. Click Apply.

To remove a link, click the name of the linked zone; its tooltip reads Remove link.

Output section of the zone settings with Minimum coverage 50 %, and Link occupancy zones with the linked zone Driveway and the Add list Select occupancy zone
Figure 4. Output of a volume zone with a minimum coverage and a linked occupancy zone

Exclude walls and machines

An exclusion zone removes the points inside it before any volume is measured. Use it for parts of the scene that lie inside a volume zone or in front of it but are not material: a wall, a pillar, a hopper, a parked machine.

  1. Under Create Zone, click Scissors Exclusion.

  2. Place and scale the exclusion zone tightly around the object; material inside it is removed too.

  3. Click Apply.

Check the zone

  1. In the sidebar, click Eye Viewer.

  2. Wait for the next measurement.

  3. Check that the label of the zone shows a volume and that the volume map covers the material.

How the volume is computed

At every measurement, the zone takes the points inside its shape, after the exclusion zones have removed theirs. When it holds no points, it reports no value.

  1. The floor of the zone is divided into the square tiles of the volume map, with the edge length of the Resolution. The height of each tile is the average height of the points above it, after a filter has removed outliers.

  2. Tiles without points are filled in. Tiles inside the area of measured tiles get a height interpolated from the measured tiles around them. Tiles outside that area are extrapolated from the nearest measured tiles with the Angle of repose. This gives a good estimate for a pile dumped from above, but material removed from a side no sensor sees is not detected.

  3. Tile heights that reach beyond the zone shape, such as the wall of a cone, are cut to the shape.

  4. The volume is the sum of the volumes of all tiles, in m³, minus the Tare volume. The coverage is the share of tiles inside the zone shape that are based on measured points.

The volume, the coverage and the height of every tile are shown in the Viewer and available through the API: the settings in ZoneAlgorithm.Volume, the result in State.Volume.

Zone types

Each zone evaluates its own input, for example the points inside it or the tracked objects, with the algorithm of its type, and reports a state.

Exclusion

An exclusion zone has only a name, the enable switch and its transformation, and no state. It removes the points inside it from the processing: every other zone sees only the rest of the point cloud.

How to use it in a volume zone is described in Exclude walls and machines.

Where to use an exclusion zone
Application What the zone does

Ceilings, roofs, walls and pillars inside a volume zone

Removes them from the measurement, so that they do not add a constant offset to the volume.

Machines, conveyors and chutes above or inside the material

Removes them from the measurement, whether they stand still or move.

Vegetation at the edge of an open yard

Keeps moving leaves out of the volume map.

Occupancy

An occupancy zone reports whether it is occupied or free, from the number of points inside its box, moving or not. It also reports things that stand still, does not need the change to be detected as an object, and can switch other zones off while it is occupied.

It has a name, the enable switch, its transformation and these settings:

Setting What it does New zones

Minimum points

Under Occupancy conditions. The points needed for the zone to count as occupied.

15

Invert state

Under Output. Reports the zone as occupied while it holds fewer points than Minimum points, and as free otherwise. Use it, for example, to detect that a crane is in its home position.

Off

Generate events

Under Output. Emits an event when the zone becomes occupied and another one when it becomes free again, and lists them in the event history. They do not raise the device alarm.

Off

The zone counts the points inside it, moving or not, reduced to one point per 5 cm cube, so that the count does not depend on the distance to the sensor.

Its events are listed in the Event history next to the Viewer, but cannot be replayed in a volume setup: the entry shows Crossed-out eye with the tooltip No motion replay for this event.

Where to use an occupancy zone
Application What the zone does Settings that fit

Skip volume measurements while a wheel loader or a truck covers the material

While the occupancy zone is occupied, a linked volume zone reports no value. See Suppress disturbed measurements.

Place it over the driveway in front of the pile, and link it under Link occupancy zones of the volume zone.

Report whether a truck stands in a loading bay

Reports the bay as occupied while the truck stands in it.

Generate events on to list each stay in the event history.

Report the state of a gate, a door or a roller shutter

Reports the change without detecting it as an object.

Invert state when the closed door is what fills the zone.

How the occupancy zone counts

The zone takes the points inside it as input, after the exclusion zones have removed theirs.

  1. The points are downsampled on a uniform voxel grid of 5 cm, a voxel size the API can change. Every occupied voxel keeps one point, the average of the points in it.

  2. The points left are counted.

  3. The zone is occupied when the count reaches the Minimum points. With an adaptive baseline, which only the API switches on, the current baseline is subtracted from the count first.

  4. The result sets the state. With Invert state on, the occupied flag is inverted.

  5. With the adaptive baseline on, the baseline is then updated with an exponential filter of the count, using the time constant set through the API. After a restart, the baseline starts at the current count.

Duplicate a zone

  1. In the List of Zones, click Copy of the zone. Its tooltip reads Duplicate zone.

    A copy with all settings and the same position is added to the list, with the next free number in its name, and its settings open.

  2. Move the copy where you need it.

  3. Click Apply. Until then the copy exists only in the browser.

Troubleshooting

A button under Create Zone is missing

The license of the sensor does not include that zone type. See Product comparison.

Apply is greyed out for a volume zone

The zone has no name, Resolution is 0, or Cylinder Height is not lower than the height of the zone.

The scale for the tare is missing next to the zone

The zone is selected or disabled. Close the zone with Close, or enable it.

Leaving Zone Management asks about unsaved changes

The open zone has changes that are not applied. Click Okay to discard them, or Cancel to stay and apply them.