Documentation menu

Webinars

Transcript of the webinar Asense data from sensor to insight, scene by scene.

View as Markdown

Asense data from sensor to insight

Length 15:19. The narration below is the script the video is made from: the voice is generated from it with Kokoro-82M and checked against it with Whisper, and the captions are the same sentences. Where the video needs a moving structure it uses simulated demo data and says so.

0:00 Introduction

Asense sensors measure how structures tilt and vibrate, and how the air around them changes. Every record they send ends up as data you can work with. This webinar follows that data from the sensor to an answer.

We will do it in four steps. First, getting the data out, through the API or as Parquet files you can query on your laptop. Second, finding a structure's natural frequencies and mode shapes from the vibration it already has. Third, putting devices on a map and building a map app around them. And fourth, asking time-series foundation models what the records mean, and checking them against simple methods.

Everything you will see runs on one real sensor, ASENSE00000005, whose full history will be published as an open dataset. It is a reference unit that sits on a bench, not on a structure. Its tilt and temperature are real, but its vibration is mostly the sensor's own noise. Where we need a moving structure, we use simulated demo data, and we will say so each time.

1:09 What a device records

An Asense device holds an accelerometer, a gyroscope and analog inputs, and it sends what they measure in a few kinds of record.

The most frequent is the hourly summary. Once an hour the device reports its tilt angles, its temperature, the mean, minimum and maximum acceleration on each axis, and the two strongest peaks of its vibration spectrum. A year of hourly summaries is only a few thousand rows, which makes them the place to start.

The raw vibration comes in short windows of samples, x, y and z interleaved, at the rate the record states, often fifty samples a second. Some devices also send continuous records of ten minutes or more. Those longer records matter, because they carry enough vibration to find a structure's modes.

Every record lands in one of seven tables. Acc holds acceleration and gyr holds rotation. Ain holds the analog inputs, and fft holds spectra the device computed itself. Data holds the hourly summaries and tilt. Env holds environmental readings such as noise and dust, from the Environmental Sensor. And connected logs each time the device came online.

The values are stored as the device sends them: raw counts, with a scale code next to them. Converting them to real units takes one short formula per field, and the documentation gives every one. In the next scene we will apply them directly in SQL.

2:44 Getting the data

There are two ways to get the data out. The first is the API. You send one request with your key, name a device, a table and a time range, and the rows come back as JSON or CSV. The API reference in the documentation lists every parameter, and its Try it panel shows real responses from ASENSE00000005.

The second way is the one this webinar uses most: a Parquet export. Parquet is a compressed column format that analysis tools read directly. An export is one folder per table, and every folder shares the same columns. So a query written for one device works on any other.

You don't need a database server to query it. DuckDB runs on a laptop and reads the folder straight from disk. One short query counts the records in a table and gives the first and last dates. Another unpacks the raw vibration packets, converts counts to g with the formula from the documentation, and returns the vibration level for every hour and axis. On this bench unit it comes out at about a tenth of a milligram, the sensor's own noise floor.

The same export answers slower questions too. Average the hourly tilt by day, and you can ask whether the sensor is still tilting. The answer here is a lesson in itself. A straight line through the whole record says it tilts by almost two degrees a year. But the record has steps where the unit was moved and re-mounted. Split it at those steps, remove the part that follows temperature, and inside the longest stable stretch there is no steady tilt at all.

These queries are collected in a repository of six short examples, each asking one question. They run with DuckDB and Polars, and each one also comes as a notebook.

4:45 Operational modal analysis

Every structure has frequencies at which it likes to vibrate, its natural modes. Wind, traffic and people excite them all day long, so a sensor on the structure records them for free. Operational modal analysis uses that everyday vibration to find each mode, with no shaker and no hammer.

For each mode it gives three things. The natural frequency, in hertz, is the one engineers track most closely: if a structure loses stiffness, its first frequency slowly drops. The damping ratio says how quickly a vibration dies away. And the mode shape shows how the structure moves in that mode, which needs several devices recording at the same time.

Asense computes these from the raw acceleration. Packets that follow on without a gap are joined into recordings. The long ones, of five minutes or more, go through stochastic subspace identification. It fits models of growing size and keeps only the modes that stay put as the model grows. A second method, frequency domain decomposition, checks each of them against the spectrum. A mode is reported for a day only if it shows up in at least half of that day's recordings, and never at or above half the sampling rate.

The Modal analysis app shows the result. Here is a demo arch bridge, with three devices and simulated ten-minute records. On the left, each mode's frequency, day by day. In the middle, the stabilisation diagram, every candidate mode at every model size, with the stable ones lined up in columns. And on the map, the mode shapes, animated on the bridge where it stands.

The same analysis has been run on the public sensor. Because that unit sits on a bench, the peaks it finds are not a structure's modes, and its results file says so plainly.

6:44 Putting it on a map

Numbers on their own are hard to read across a whole site. The map builder puts them where they belong. You build a map app by hand, on the map itself. You drag each device to where it is installed, on the ground or on a facade at its height, and draw the zones, limit lines and routes that matter. Then you add data layers.

A layer colours every device by one reading, tilt, noise, dust, vibration or signal, on four colour steps you choose. Give it a limit, and every device at or past it gets a ring. A time slider plays the records back hour by hour. The whole app is saved as a small text file, so it can be shared, kept with your project and opened again later.

Some layers draw between the sensors. Here is a noise map of central Porto. Between the eight sensors the map estimates the level, and as the morning traffic builds, the estimate rises along the busy roads. The estimate fades out away from the sensors, and its legend always says it is an estimate, because nobody measured those streets.

Here is a building site, with a piling rig and five buildings around it, each with a vibration sensor. Each building is judged against its own limit, strict for a listed house, relaxed for a warehouse. On the Friday of the demo, while the rig works, the listed house fifty metres away is ringed all day. The warehouse, four times as far, hardly notices.

And here are two storage tanks in 3D, built from the settlement cells round their base. One tank stays level. The other was filled during the demo, and its rim dips towards a soft patch in the ground. The real difference is twenty millimetres, so the drawing exaggerates it two hundred times, and the switch says so.

Some templates are full-screen apps of their own. One loud bang at night, a steel plate dropped during a delivery, reaches eight microphones across the city at slightly different moments. From those differences the app estimates where the sound came from, and draws an area round the estimate, not a single point. That's because the devices' clocks only agree to within a couple of milliseconds, and every millisecond is about a third of a metre. The app says that on screen, and says too that it locates noise events, not drones or gunshots.

These are four of thirty templates built so far, each a ready-made map app for one kind of job. That's bridges, rail, heritage, cities, water, ports and fleets. None of them claims a limit or a standard is met; the limits are examples, to be set for each site. For now, the templates run on demo data.

10:00 Notebooks

Some questions need more than a map. For those there are notebooks. Each notebook asks one question, and the question is its title. Is this sensor still tilting? At which frequencies does it vibrate most? How loud is it by day, evening and night?

Every notebook reads the same Parquet export, answers its question in a few cells, and says plainly what the data can and cannot show. You can read it like a short report, or change a cell and run it again on your own devices.

Watch this one. It loads a year of hourly tilt, finds the days where the reading jumps because the unit was re-mounted, and splits the record there. Then it removes the part of the tilt that follows temperature, and fits a trend inside each stable stretch. The answer comes with an interval, and for the longest stretch the interval includes zero. In other words, no steady tilt.

To run one on your own devices, export their records as Parquet, point the notebook at that folder, and run it from the top. Nothing in it is tied to ASENSE00000005: every export has the same folders and the same columns. If your device has a table this one lacks, such as the environmental readings, the notebooks that need it start working.

There are ten notebooks so far. Six of them read and analyse the data with DuckDB. The other four run foundation models, which is where we go next. Each notebook is generated from a short script, so the two always agree.

11:48 Foundation models

A time-series foundation model has been trained on a great many time series of every kind, so it can forecast or score a new one without being trained on it first. We tried four of them on Asense data, TimesFM, Chronos-2, MOMENT and TOTO, and held each one against a simple method on the same data. Every guide reports what came out, even when the simple method wins.

The first guide asks whether a model can forecast a sensor's tilt from temperature. The simple method is a straight line: tilt against temperature, applied to the coming days. It won. Its error over five days was a quarter of a thousandth of a degree, a little better than TimesFM given the same temperature, and much better than TimesFM on the tilt alone.

The second guide looks for unusual days. Two models, TimesFM and Chronos-2, forecast each day from the month before it, and a day scores high when the forecast misses. The two models agree almost perfectly, and they pick out days whose shape changed. A simple rolling z-score picks out something else: days whose level moved slowly. Both views are useful, and they are different.

The third guide fine-tunes Chronos-2 on the sensor's own record, in under seven minutes on a laptop. Here the honest answer is that fine-tuning made it worse. Fourteen hundred hours of a quiet sensor are too few to teach the model anything, and the best forecast of all was simply the same hour yesterday.

The fourth guide hunts for odd vibration records. An RMS threshold catches the knocks. A spectral-peak rule finds nothing on a noise floor. MOMENT, which judges each record's shape, ranks first a record on the very day the unit was re-mounted.

So on a quiet sensor, simple methods are hard to beat, and the models earn their place by flagging shapes that look wrong. The guides are written to be run again on structures that really move.

14:04 Where to find it all

Everything in this webinar is written down. The documentation at asense dot semitronica dot P T slash docs has a page for each part. There's the public dataset, Parquet and DuckDB, the map builder and its templates, operational modal analysis, foundation models, and notebooks. Each page says what works today, what runs only on demo data, and what is still coming.

The code is in open repositories: the dataset of ASENSE00000005, the DuckDB examples, and the foundation-model guides. This webinar is one of them too. It is rendered from text files, and its voice comes from a small model running on a laptop, checked against the script word by word. So when the product changes, the video can be made again.

What comes next is more of the same, on real structures. That means longer records from devices that move, more of the map templates, and the remaining foundation-model guides. Start with the data, ask one question at a time, and keep the simple answer in view.

Thank you for watching.

Template clips

One short clip per Tier A and Tier C template of the GIS app maker. Each one runs on simulated demo data and says so on screen and in the narration.

OMA on the map

Length 0:39.

This template puts operational modal analysis on the map. The bridge is drawn where it really is, and each mode shape moves along the deck, so you can see which part of the structure takes part in which mode.

Below the map, each mode has its frequency over time. A healthy deck shows a small seasonal wave, stiffer in the cold. A drop that stays is worth a visit.

This clip uses simulated demo data. Point the template at your own devices to see your structure.

Bridge network health

Length 0:39.

This template shows every bridge in a region at once. Each dot is one structure, coloured by how far its first natural frequency has moved from its own baseline, not from a fixed number.

Most bridges stay green, because a small seasonal change is normal. One has dropped by more than two percent and stayed there, so it turns amber. Click it, and its modes and their trend open beside the map.

This clip uses simulated demo data. Point the template at your own devices to see your network.

Tall structure sway

Length 0:43.

This template draws a mast or a tower leaning with the tilt its sensor measures. The lean is exaggerated so you can see it, and the label says by how much.

Beside it is the wind from an Ultra on the same structure, with its speed and direction. Below, two days of tilt and wind speed. When the tilt follows the wind and comes back, the structure is behaving. When it leans and stays leaning, look at the foundation.

This clip uses simulated demo data. Point the template at your own devices to see your structure.

Crack growth on facades

Length 0:44.

This template pins crack meters on the facade they are fixed to, so each reading sits where the crack is.

Every crack has its width over time, growing as the year goes by. Most cracks open in winter and close in summer, and come back to where they started. That is the building breathing with the temperature.

One crack keeps widening, a little more each month, and does not come back. That is the one the template marks, and the one to look at first.

This clip uses simulated demo data. Point the template at your own devices to see your building.

Tilt chain in 3D

Length 0:40.

This template follows a chain of tilt sensors down a borehole, one every metre. Each sensor measures its own small angle. Added up from the bottom, they give the shape of the borehole and how far each depth has moved.

As the months pass, the chain bends. Above a certain depth the ground moves together, and below it the ground stays still. That depth is where the slope is sliding, and the template highlights it.

This clip uses simulated demo data. Point the template at your own devices to see your slope.

Construction vibration rings

Length 0:45.

This template is for building sites. The rig is in the middle, and each ring shows how far the day's peak vibration reached.

Every nearby building has its own sensor and its own limit. A listed house might allow three millimetres a second, a warehouse ten. So each building is coloured against its own limit, not one number for the whole site.

When the piling moves closer, the listed house turns amber, then red. The site team sees it on the same day and can change the method.

This clip uses simulated demo data. Point the template at your own devices to see your site.

Rail works, building by building

Length 0:42.

This template follows a rail line through a town, building by building. Every building near the works has its own sensor and its own log for the week.

Train passes are short and regular, so they show as small marks. Works peaks, from a breaker or a vibrating roller, are taller and come in working hours. Seeing both on one log tells you which one to blame.

Click a building, and its peaks are drawn against its own limit, ready for the report to the owner.

This clip uses simulated demo data. Point the template at your own devices to see your line.

Rail slopes and rain

Length 0:42.

This template follows the cuttings along a railway. Each one has tilt sensors in the slope, and its dot on the line takes its alarm colour.

Below, every cutting's movement shares a timeline with the rain. Most slopes creep a little and stop. After a wet week, one of them speeds up and keeps going, so it turns amber, then red.

Rain alone is not the alarm. What matters is the slope moving faster after the rain, and that is what the template watches.

This clip uses simulated demo data. Point the template at your own devices to see your line.

Monument vibration and climate

Length 0:46.

This template is for monuments and historic buildings. The vibration points sit on the structure itself, each coloured by its peak this week, so you can see where traffic or works reach the stone.

Inside, every room has its humidity, temperature and UV light, each against the range its conservator set. A room can be quiet for vibration and still be at risk, because its air is too dry.

Here the chapel's humidity has drifted below its range, so it is marked, and the team can act before the wood cracks.

This clip uses simulated demo data. Point the template at your own devices to see your building.

Noise heatmap

Length 0:39.

This template draws noise between the sensors in a district. Each dot is a real measurement, and the colour between them is an estimate from the nearest sensors.

The estimate fades out away from the sensors, and its legend always says it is an estimate, because nobody measured those streets.

Run the clock through a day, and the map follows the city. It is quiet at night, it rises with the morning traffic, and again in the evening.

This clip uses simulated demo data. Point the template at your own devices to see your district.

Lden and Lnight by facade

Length 0:42.

This template colours each building's facade by its noise level over a whole year of days. Lden is the day, evening and night level, with the evening counted five decibels louder and the night ten louder, because noise then disturbs more.

Switch to Lnight, the night alone, and the picture changes. A shop front on the main road can be fine at night, while flats above a bar are not.

Facades over a common guide value are outlined, so you can see which homes to look at first.

This clip uses simulated demo data. Point the template at your own devices to see your street.

Noise event triangulation

Length 0:40.

This template finds where one loud event came from. The sound reaches each microphone at a slightly different time, because some are farther away.

For each pair of microphones, the time difference puts the source somewhere on one curve. Draw the curves for every pair, and they cross near the source.

The template marks that point with an ellipse around it. The ellipse shows how sure the estimate is, and it grows when the microphones are badly placed or the clocks drift.

This clip uses simulated demo data. Point the template at your own devices to find your sources.

Dust and wind

Length 0:44.

This template puts dust and wind on one map. Each sensor around the site shows its dust level, and the Ultra gives the wind speed and direction.

When the wind turns, the high reading moves to the sensor downwind. The arrows show where the dust is going.

Over a month, the template draws a pollution rose: the dust level for each wind direction. If the dust is high only when the wind blows from the site, the site is the source. If it is high from every direction, look elsewhere.

This clip uses simulated demo data. Point the template at your own devices to see your site.

Groundwater network

Length 0:46.

This template shows a network of wells. Each one has a vibrating-wire piezometer, and its dot is coloured by the depth to the water.

Click a well, and you see its year. The water comes up in winter and goes down in summer, and comes back to the same level the next year.

One well near a building site keeps going down and does not come back. That is the dewatering reaching further than planned, and the template marks it before the ground around it starts to settle.

This clip uses simulated demo data. Point the template at your own devices to see your wells.

Retaining walls

Length 0:45.

This template follows the retaining walls along a road. Each wall has a tilt sensor, and two of them have a rain gauge beside the road.

The walls move a little every day as the stones warm and cool. That small swing is normal, and it comes back.

After a long rain, water builds up behind a wall. If its drains are blocked, the wall starts to lean out. Here one wall keeps leaning for hours after the rain has stopped, while the others stay where they were.

This clip uses simulated demo data. Point the template at your own devices to see your walls.

Blasting and quarries

Length 0:44.

This template is for quarries. The pit is in the middle, and the rings show distance from the blast.

Each building nearby has a vibration sensor and its own limit. A house or a chapel is stricter than a factory. When a blast goes off, each building is coloured by its peak against that limit.

The quarry blasts twice a day. The afternoon blast uses a larger charge. The house three hundred metres away goes over its limit on that blast, while the factory nine hundred metres away barely notices.

This clip uses simulated demo data. Point the template at your own devices to see your quarry.

Light and UV exposure

Length 0:51.

Light fades paintings and textiles slowly. What matters is the total dose an object receives, not how bright the room is at one moment.

This template adds up each room's hourly light into a dose, in kilolux hours, and shows it as a bar that grows through the season. Each room has its own limit, set by the conservator.

The painting gallery by the garden gets sun through its windows, so its bar grows fastest and crosses the limit first. The store room stays dark. UV is shown beside the dose, because it does the most harm.

This clip uses simulated demo data. Point the template at your own devices to see your rooms.

River level and scour

Length 0:52.

This template watches a bridge over a river. A gauge under the deck measures the water level, and each pier has a vibration sensor that tracks its first natural frequency.

In a flood the river rises from two metres to more than five. Fast water can dig away the riverbed round a pier. That is called scour, and it cannot be seen from the bank.

Here the mid-channel pier loses about four percent of its frequency during the flood, and it does not come back when the water falls. The piers on the banks keep theirs. That pier needs a diver.

This clip uses simulated demo data. Point the template at your own devices to see your bridge.

Quay and mooring

Length 0:46.

This template watches a quay wall in a port. Each bollard has a sensor for tilt and vibration.

The wall moves a little with the tide, twice a day, because the ground behind it pushes harder at low water. That swing comes back every time.

When a ship berths, the bollards near its bow feel a vibration peak. Most ships come in gently. A large bulk carrier in a swell lands hard, goes over the watch limit, and leaves the wall leaning slightly out. That is the berthing to inspect.

This clip uses simulated demo data. Point the template at your own devices to see your quay.

Pipelines

Length 0:46.

This template follows a buried water main. Each station along it has a corrosion probe on the pipe wall and a vibration sensor on the pipe.

Station three sits where the main crosses a river, in wet ground. It corrodes fastest, and after the rain its rate climbs over the alert limit.

Station one hums with the pumps by day and goes quiet at night. That pattern is normal. Station four is different: its vibration rises slowly and does not stop, the sound of a small leak.

This clip uses simulated demo data. Point the template at your own devices to see your pipeline.

Installation planner

Length 0:53.

This template is for planning, before anyone climbs a bridge. You drag sensors along the span, and it tells you which of the first four modes that layout would see, and which it could tell apart.

One sensor at midspan sees the first and third modes, but on its own it cannot tell any mode from another. The three sensors on this bridge separate two of the four, because the second and fourth modes look the same to them. Four sensors spaced evenly separate all four.

Until the structure has modal analysis results, the planner uses a textbook beam shape, and it says so.

This clip uses simulated demo data. Point the template at your own structure to plan your sensors.