System designExplainer

Event camera polarity and timestamps: when events beat frames

How event cameras stream per-pixel changes with polarity and microsecond timestamps, what the data costs, and when to choose events over frame cameras.

LumaSpec Vision11 min read Share on LinkedIn

On this page 9 sections
  1. 01What an event camera sends instead of frames
  2. 02Timestamps: continuous sampling versus frame slices
  3. 03Polarity: the sign of every change
  4. 04The bandwidth arithmetic, both ways
  5. 05Where event sensing wins
  6. 06When a frame camera is still the right tool
  7. 07Integration: getting events into a machine
  8. 08The decision, per case
  9. 09Questions

A frame camera samples the world in fixed slices: at 30 fps you get one 33 ms window, then a 33 ms gap, over and over. Anything that starts and ends inside a gap never reaches your algorithm, and anything that moves during the window comes out blurred. An event camera works the other way round: each pixel watches its own signal and reports the moment it changes, as a tiny record carrying coordinates, a timestamp and a polarity. This guide explains that record, works the bandwidth arithmetic on both sides of the comparison, and ends with a decision rule for fast production lines, mobile platforms and condition-monitoring points. The frame cameras and accessories we sell cover the frame side; the event side is set out here so you can tell when adding it earns its keep.

What an event camera sends instead of frames

A 12 MP frame camera transmits 12,000,000 pixels whether anything changed or not. An event camera keeps each pixel silent until its brightness changes by more than a set threshold, then emits one short record. The stream is the address-event representation, usually abbreviated AER: coordinates, time and a sign.

event = (x, y, t, p) x, y = pixel address on the sensor t = timestamp of the change, microsecond scale p = polarity: +1 brightness increased, -1 brightness decreased

Time is the biggest difference. The timestamp comes from the sensor's own clock at roughly 1-10 µs granularity, so records stay ordered exactly as the scene produced them. How a driver hands you these records — files, buffers, iteration order — is covered in Event camera data format: coordinates and timestamps, not pixels.

Output volume scales with scene dynamics, not with pixel count. A still scene emits almost nothing; a busy one can emit a few million events per second. That one property drives both the bandwidth win and the integration work further down.

Timestamps: continuous sampling versus frame slices

Take a transient that lasts 100 µs: a spark, a seal popping, a reflection sweeping past. A camera sampling at 1,000 fps opens a window every 1 ms, and the window overlaps the event only if the event's phase happens to fall inside it:

P(caught) = event duration / sampling period = 100 µs / 1,000 µs = 0.1

With the event's phase uncorrelated to the frame clock, you catch it 10% of the time and miss it 90%. Raising the frame rate helps linearly: catching that same 100 µs transient 90% of the time needs a sampling period near 111 µs, about 9,000 fps, with bandwidth and strobe cost rising step for step.

An event camera stamps each change as it happens. The same 100 µs transient is one burst of positive events followed by a burst of negative ones, with no phase lottery. Latency from change to record sits in the microsecond range; a frame camera's latency is exposure plus readout plus transfer, typically milliseconds. Measurements also show event-camera latency varies with scene activity while a frame camera's profile stays flat, so bench-test your own part before trusting a latency figure.

Frame cameras stamp time coarser. Most frame metadata marks the frame boundary rather than the instant light hit, and chunk data timestamp: camera time at exposure end and how to latch it shows how to latch exact exposure time when a tracking loop needs it. On any busy link, records can arrive out of order or share a timestamp, so give your consumer code a deterministic tie-break; the same failure pattern is documented for EtherCAT in diagnosing EtherCAT out-of-order frames with identical timestamps.

Polarity: the sign of every change

Polarity tells you the direction of the brightness step at one pixel. On a dark cap moving across a light belt, the leading edge darkens the pixels it covers: negative events. The trailing edge uncovers them: positive events. Pair a negative edge with its positive partner a fixed distance behind, and you have part edges, speed and direction of travel from timing alone — no strobe, no reconstructed image unless you want one.

What polarity cannot give you is the value itself. A uniform, stationary surface emits nothing at all, so reflectance, colour, texture, print and surface finish stay frame-camera work. Treat an event stream as a change map, never as a picture.

Lighting interacts in specific ways. A steadily lit scene stays quiet, while a PWM-dimmed panel imprints its switching frequency on the stream as periodic event bursts. Moving shadows, flickering lamps and passing reflections all generate genuine events your filter must absorb. The upside is dynamic range: data sheets commonly quote scene-brightness tolerance near 120 dB for event sensors against roughly 60 dB for a conventional global-shutter part, which is why event perception holds up through door openings, weld glare and dusk-to-worklight swings on mobile platforms.

The bandwidth arithmetic, both ways

Frame side first. A 12 MP mono camera at 8 bits sends 4000 × 3000 = 12,000,000 bytes per frame. At 30 fps that is 360 MB/s, or 2.88 Gb/s. A single GigE link carries about 118 MB/s of payload, so 12 MP at 30 fps already needs USB3 (about 400 MB/s usable) or 10GigE, and colour doubles the bill. Planning recorded capture multiplies it again; high frame rate camera data rate: plan 2000 fps recording runs that arithmetic for a recording rig.

Event side, with the assumptions stated. Pack one event — coordinates, polarity, a microsecond timestamp — into about 8 bytes. A busy scene at 5,000,000 events/s then produces 40 MB/s, or 320 Mb/s, comfortably inside one GigE link. A quiet line at 50,000 events/s produces 0.4 MB/s. The point is not that events are always smaller; it is that event data tracks change, so idle cost sits near zero and burst cost scales with how much actually moves.

Frame camera Event camera
Unit of data full frame, every frame one record per pixel change
When it sends on the frame clock the moment a pixel crosses threshold
Timestamp frame stamp, ms scale per event, µs scale
Output on a still scene constant, full frame rate near zero
Absolute brightness and colour yes no
Transients between samples missed by design captured

When the frame side runs several cameras at high rate, the interface follows the link budget, and that is what the frame grabbers category and the accessories finder are for. The MV-GT2104 quad-port 10GbE NIC carries four 10GigE camera links on one card.

Frame grabbersHikrobot MV-GT2104 Quad-port copper 10GbE NICMV-GT2104
Interface
10GigE
Ports
4 ports
$1,429.00View partBuild a system with it

Where event sensing wins

  • Continuous fast motion: webs, pills, caps and print at metres per second, where freezing every frame needs a strobe and a fat link. Events give position versus time for every edge at microsecond resolution.
  • Transients shorter than a frame period: arcs, sparks, impacts, latch releases. The 90% arithmetic above is the budget you are fighting.
  • Vibration and oscillation: a fixed camera watching a vibrating fixture turns per-pixel event timing into frequency content without a contact sensor.
  • Mobile platforms: power and bandwidth are budgets, event output collapses when nothing moves, and the wide dynamic range survives lighting swings and dust.
  • High-rate counting: repetitive blob or droplet passages become timestamped on/off pairs you can tally into the thousands per second.

When a frame camera is still the right tool

Grading is frame work: colour verification, print and OCR, surface finish, dimensional metrology, and depth, where profile- and stereo-based 3D sensors build organised point clouds from full captures. Static stations a PLC triggers in sequence are frame work too; nothing changes between parts, so an event camera just idles. Every audit and traceability record is a frame by definition.

Worked example, frame side. Part: a 120 mm wide cap seal on a belt running 600 mm/s. Defect to catch: 0.2 mm. Working distance: 300 mm above the belt. The pixel rule wants 4 px across the smallest defect, so the image scale target is 0.2 / 4 = 0.05 mm/px. A 1.1-inch 12 MP sensor carries 4096 × 3000 pixels at 3.45 µm, so 4096 × 0.05 mm = 205 mm of usable field width: the pixel rule clears with room. Camera resolution for defect detection: size it by the pixel rule covers this sizing step in detail, and the calculator below runs it.

Camera resolution for the smallest feature
Units
Pixels needed
–
Sensor size
– MP
Smallest sensor that fits
–
Pixel on the part
– mm
Pixels across the feature, that sensor
–

Pixels needed = field / feature × pixels per feature on each axis (field incl. margin). The lens must resolve the pixels too: Nyquist = 1000 / (2 × pixel µm) lp/mm.

Find cameras with enough pixels Open the full calculator

Now the lens. Target field of view: 140 mm, the 120 mm part plus margin. Magnification m = sensor width / FOV = 14.13 / 140 = 0.101.

f = WD × m / (1 + m) = 300 × 0.101 / 1.101 = 27.5 mm

The nearest standard focal length is 25 mm. Check the real geometry: m = f / (WD - f) = 25 / 275 = 0.0909, so FOV = 14.13 / 0.0909 = 155 mm and mm/px = 155 / 4096 = 0.038. The 0.2 mm defect now spans 5.3 px. Pass, with margin.

Exposure last. A blur budget of 1 px at 0.038 mm/px and 600 mm/s belt speed gives:

t_exp = blur / speed = 0.038 mm / 600 mm/s = 63 µs

Sixty-three microseconds against a 10 ms exposure is 160 times less light, about 7 stops — that is the strobe you must budget, and exposure caps the achievable frame rate as RGB camera frame rate limits: pixel format and exposure shows. The MV-CH120-11UC is the 12 MP, 1.1-inch, global-shutter USB3 camera behind this example sensor, and as the high-speed version it holds its frame rate at short exposures.

Area scan camerasHikrobot MV-CH120-11UC 12 MP Area Scan Camera, USB3, IMX304, High-speed version, ColorMV-CH120-11UC
Sensor format
1.1"
Lens mount
C-mount
Interface
USB3
Resolution
12 MP
$2,339.00 · quotedView and quoteBuild a system with it

Integration: getting events into a machine

A PLC cannot consume this stream. Scan cycles run in milliseconds while events arrive microseconds apart, so put a pre-processing node between sensor and controller. Bin events into time slices — 1 ms reconstructed frames are the common input to CNN and rule-based code — or reduce the stream to rate, position and count metrics that drive discrete I/O. That node is a PC-class box next to the camera, and industrial mini PCs are built for that mounting position.

Timestamps need discipline. An event camera's clock is its own; when you fuse with frame cameras, share a hardware trigger or latch times, then match records across streams — pair frames from two synced cameras by timestamp covers the matching for two frame cameras, and the same logic carries over. Before committing, log the event rate on your real scene at line speed for a minute and multiply by 8 bytes per event; that one measurement settles the bandwidth question.

The decision, per case

  1. A feature shorter than your frame period that you cannot miss: event sensing, or a much faster frame camera with a continuous strobe, paying the bandwidth either way.
  2. Grading surface, colour, print or dimensions: frame camera, strobed to freeze motion, sized by the pixel rule — the worked example above is the template.
  3. Both on the same line: hybrid. The event camera times and locates every change; the strobed frame camera grades the part; fuse the two by timestamp.
  4. Tight bandwidth or power budget with sparse change: events, because idle output sits near zero.
  5. Static, PLC-sequenced stations: frames alone; an event camera adds data there, not information.

For case 2 at a stop station, the MV-CU020-90GC is a 2.5 MP colour GigE camera with a global shutter — enough for presence and gauge checks.

Area scan camerasHikrobot MV-CU020-90GC 2.5 MP Area Scan Camera, GigE, GMAX4002, ColorMV-CU020-90GC
Sensor format
1/1.7"
Lens mount
C-mount
Interface
GigE
Resolution
Up to 3 MP
$309.00View partBuild a system with it

If frames win your case, size one in the area scan cameras range with the camera finder, then run the link numbers before you pick the interface. If events win, budget the pre-processing node and the timestamp discipline from the integration section, and treat the sensor as one input beside frames, PLC states and drive data. More stream-level arithmetic lives on the systems topic page, and if the decision is close, contact us with your belt speed and part size — we will run both sides of the arithmetic with you.

Build the whole station

The configurator matches a camera, lens, light, light controller and cables to each other, step by step, and lists only parts that fit what you already picked.

Start with the camera

Questions

Does an event camera need a machine-vision lens and lighting like a frame camera?

Yes for the lens: event sensors take the same C-mount glass, and field of view and pixel sizing follow the same magnification math as any camera. Lighting matters in a different way: the sensor fires on contrast change, so a scene needs edges and texture to produce events at all, and steady light keeps the background quiet. PWM-dimmed fixtures imprint their switching frequency onto the stream as periodic event bursts, so drive lights with DC or a clean strobe.

How much data does an event camera produce on a quiet line?

With nothing moving, essentially none: a still scene emits no events, so output can sit at kilobytes per second or lower. A useful planning number: at 50,000 events/s and 8 bytes per event the stream is 0.4 MB/s, roughly 3 Mb/s, against about 480 Mb/s for a 2 MP mono camera running 30 fps. Measure the real rate on your own scene at line speed before you commit; the mix of motion sets the number.

Can I wire event camera output directly into a PLC input?

Not as a stream. PLC scan cycles run in milliseconds while event timestamps advance in microseconds, so raw records arrive faster than the controller can act on them. The standard pattern is a pre-processing node — an edge PC or industrial mini PC — that bins events into reconstructed frames or reduces them to rate, position and count values, then hands the PLC a small set of signals or discrete I/O. Keep that chain out of safety functions unless it is safety-rated end to end.

Do event cameras suffer rolling-shutter distortion on fast parts?

Not rolling shutter in the usual sense — every pixel is read continuously, not line by line — but each pixel is effectively sampled at its own moment, so a fast-moving part is never captured as one instant. A straight edge at high speed reconstructs slightly skewed unless your code uses the per-event timestamps to correct for travel during the sweep. For geometry and metrology on fast parts, a strobed frame camera remains the simpler correct answer.

What does polarity look like in recorded data files?

Most drivers write one record of x, y, t and p per event, with p stored as a single bit or a signed value, and viewer tools render positive and negative events in two colours — often white and blue in a slice between t-dt and t. For a quick sanity check on site, watch the two colours separate: one colour consistently ahead of the other along the motion direction is a healthy polarity stream.