Skip to main content

Core Concepts

Understanding how B4Racing models your racing data helps you get the most from your analysis. This page walks through the key concepts — from the big picture down to individual telemetry samples.

The Motorsport Hierarchy

B4Racing uses a unified model that works across all racing disciplines. Your data is organized in layers:

Series          → "Formula 1", "World Rally Championship"
└── Season → "2025"
└── Event → "Monaco Grand Prix", "Rally Monte Carlo"
└── Session → Practice, Qualifying, Race, Stage
└── Lap / Run → Individual timed segments
└── Telemetry → High-frequency driving data

You don't need to worry about structuring your data this way — B4Racing builds this hierarchy automatically from your data sources. But understanding it helps you ask better questions.

Events

An event is a racing weekend, rally, or competition. Events contain one or more sessions, optionally grouped together.

Session Groups

Some events organize sessions into groups:

Group TypeUsed InExample
LegRallyDay 1, Day 2, Day 3 of a multi-day rally
HeatRallycrossQ1, Q2, Semi-Final, Final
DayMulti-day eventsSaturday, Sunday
RoundChampionshipsRound 1, Round 2

Sessions

A session is a single period of track time:

Session TypeDisciplineDescription
PracticeCircuitFree practice laps
QualifyingCircuitTimed qualifying
RaceCircuitCompetition race
ShakedownRallyPre-stage test runs
StageRallyTimed rally stage
Time TrialHillclimbIndividual timed run

Lap Groups

Within a session, laps can be grouped:

Group TypeUsed InExample
StintEnduranceA driver's uninterrupted run between pit stops (Le Mans, IMSA)
Race StageNASCARStage 1, Stage 2, Stage 3 with stage points
SegmentGeneralAny logical grouping of laps

In multi-driver sessions (like Le Mans), each stint tracks which driver was behind the wheel.

Laps and Runs

B4Racing uses a single unified model for all timed segments. The type field distinguishes them:

TypeDisciplineDescription
LapCircuitOne complete circuit of the track (closed loop)
RunHillclimbSingle timed run (point-to-point)
Stage RunRallyOne pass through a rally stage with pacenotes

Every lap/run includes:

  • Time: Total time to complete
  • Sector/split times: Time for each track division
  • Status: Valid, invalid, out-lap, in-lap, or DNF
  • Telemetry: High-frequency data (when available)

Rally stage runs also carry surface type (gravel, tarmac, snow), stage conditions (dry, wet), and optionally pacenotes.

Clean vs Invalid

  • Clean lap: Completed without track limit violations
  • Invalid lap: Contains off-tracks, corner cuts, or other penalties

B4Racing filters invalid laps by default but includes them in session statistics.

How It Maps to Real Motorsport

These examples show how B4Racing's model maps to different racing formats:

Formula 1

Event: "Monaco Grand Prix"
├── Session: FP1 (practice)
├── Session: FP2 (practice)
├── Session: FP3 (practice)
├── Session: Qualifying (qualifying)
└── Session: Race (race)
└── Laps: [lap, lap, lap, ...]
└── sector_times: [S1, S2, S3]

WRC Rally

Event: "Rally Monte Carlo"
├── SessionGroup: "Leg 1" (leg)
│ ├── Session: "SS1 - Gap" (stage)
│ │ └── Stage Run: [pacenotes, surface=tarmac]
│ ├── Session: "SS2 - Sisteron" (stage)
│ └── Session: "SS3 - Avignon" (stage)
└── SessionGroup: "Leg 2" (leg)
└── ...

Le Mans 24h

Event: "24 Hours of Le Mans"
└── Session: Race (race)
├── LapGroup: "Stint 1 - Driver A" (stint)
│ └── Laps: [lap, lap, lap, ...]
├── LapGroup: "Stint 2 - Driver B" (stint)
│ └── Laps: [lap, lap, ...]
└── ...

Hillclimb

Event: "Pikes Peak"
├── Session: Practice (practice)
│ └── Runs: [run, run]
└── Session: Timed Run (time_trial)
└── Run: [sector_times: [split1, split2, ...]]

Tracks and Landmarks

Track Types

TypeDescriptionExamples
CircuitClosed loop, multiple lapsSpa, Monza, Nürburgring
StagePoint-to-point rally stageOuninpohja, Sweet Lamb
HillclimbPoint-to-point climbPikes Peak

Tracks carry metadata like country, length, surface type, and (for rally stages) weather support.

Turns

Turns represent physical corners on a track or stage. Each turn has:

  • Name: Official corner name (e.g., "Eau Rouge") or pacenote callout (e.g., "Left 3 Tightens")
  • Position: Distance in meters from start
  • Direction: Left or right
  • Severity: 1 (hairpin) to 6 (flat out) — primarily for rally pacenotes
  • Modifiers: Tightens, opens, over crest, don't cut, caution (rally)

Turn data comes from different sources depending on the discipline:

  • Circuit: CrewChief corner data with named turns and sector boundaries
  • Rally: RBR pacenotes with severity ratings, directions, and modifier flags

B4Racing uses actual corner names in analysis, so you see "You're losing 0.2s in Les Combes" instead of "Turn 8."

Sectors

Sectors divide the track into timing zones. Circuits typically have 3 sectors; rally stages use distance-based splits.

Landmarks

Landmarks are named track features that aren't corners — pit approach zones, rolling start lines, and other reference points.

Telemetry

Telemetry is high-frequency data captured during driving. A single lap can have telemetry from multiple sources (e.g., different recording systems), and a single telemetry recording can span multiple laps.

Data Levels

Not all data sources provide the same depth. B4Racing works with whatever is available:

LevelWhat's AvailableExample
Metadata onlyLap times, session info, no telemetryQuick session overview
Basic telemetryCore channels (speed, throttle, brake)Corner analysis, heatmaps
Full telemetry80+ channels including vehicle dynamicsFriction circle, tire analysis, suspension

Core Channels

Every data source provides these basic channels:

ChannelDescriptionInternal Unit
SpeedCurrent velocitym/s
ThrottleThrottle position0.0–1.0
BrakeBrake pressure0.0–1.0
SteeringSteering angleradians
RPMEngine revolutionsrpm
GearCurrent gearinteger
Latitude/LongitudeGPS positiondegrees
Display Units

B4Racing stores values in standard SI units internally (m/s, radians, ratios) and converts to display units (km/h, degrees, percentages) when showing results. You don't need to worry about unit conversion.

Extended Channels (MoTeC/NGP)

MoTeC files from RBR's NGP plugin provide 80+ additional channels organized into groups:

Channel GroupChannelsDescription
Tire temperaturesFL, FR, RL, RRSurface temp per wheel
Tire pressuresFL, FR, RL, RRPressure per wheel
Tire wearFL, FR, RL, RRWear level per wheel
Brake temperaturesFL, FR, RL, RRDisc temp per wheel
Suspension forcesSpring, damping, strut, rollbar (×4)Force per wheel
Engine tempsCoolant, radiator, engineThermal management
MotionLateral, longitudinal, vertical G-forceVehicle dynamics
OrientationYaw, pitch, rollVehicle attitude

These extended channels enable advanced analyzers like friction circle analysis, brake thermal monitoring, and suspension force visualization.

Analyzers

Analyzers are the tools that process your session data to extract insights. B4Racing selects them automatically based on your questions — you don't need to specify which analyzer to use.

Data Analyzers

CategoryAnalyzersDescription
Coresessions_overview, lapstats, cornering, braking, theoretical_best, edaLap times, corner analysis, session summaries
Vehicle Dynamicsfriction_circle, tire_analysis, brake_thermal, suspension_analysisGrip, tires, brakes, suspension
Driver Inputsthrottle_control, steering_smoothness, pedal_overlap, input_harmony, corner_phaseInput quality and coordination
Rallystage_profile, rally_braking, handbrake_analysis, coasting_detector, difficult_sectionsRally-specific technique analysis

Graphics Analyzers

AnalyzerWhat It Creates
track_heatmapSpeed or metric overlaid on track layout
telemetry_overlaySpeed, throttle, brake over distance
line_chart, scatter_plot, bar_chartGeneral-purpose charts
track_map, track_map_staticTrack layout visualization
wheel_temps, suspension_forcesPer-wheel overlays

See the full analyzer reference for detailed documentation on every analyzer.