Emerald
Emerald K6/M3D logs
EM Soft logs: .lg2 channel list plus .lg1 records.
Overview
Full support for Emerald ECU log files from K6, M3D, and compatible ECU models. Emerald ECUs are popular in the British motorsport and classic car communities.
Supported File Format
- Type: Binary format (dual-file system)
- Extensions:
.lg1(data) +.lg2(channel definitions) - Source: Logged directly by Emerald ECU via EM Soft
- Note: Both files must be in the same directory
No Export Required
Emerald ECUs log directly to LG1/LG2 format. Simply load either the .lg1 or .lg2 file into UltraLog - both files are automatically loaded together.
How to Log with Emerald EM Soft
- Connect to your Emerald ECU with EM Soft
- Go to Logging section
- Select channels to log
- Click Start Logging
- Drive/run the engine
- Click Stop Logging
- Save the log files (both
.lg1and.lg2will be created)
Binary Format Details
Emerald uses a dual-file binary format:
.lg1file - Contains the actual time-series data values.lg2file - Contains the channel ID for each of the 8 logger slots and the logger unit settings- Data stored as binary values with timestamps
- Both files must be present in the same directory for UltraLog to load the log
Supported Channels
The .lg2 file stores a channel ID for each of the 8 logger slots. UltraLog maps these IDs to channels:
| EM Soft label | UltraLog channel | Unit | Status |
|---|---|---|---|
| Engine Speed | RPM | RPM | Confirmed |
| Throttle Pos | TPS | % | Confirmed |
| AFR/Lambda | Lambda Sensor Voltage | V | Confirmed (see note) |
| MAP | MAP | kPa | Confirmed |
| Ign Adv | Ignition Advance | ° | Confirmed (see note) |
| Inj Duration | Inj Duration | % | Confirmed |
| BoostPWM | Boost PWM | % | Confirmed |
| Load site | Load Site | 0-15 | Confirmed |
| AirTemp | Air Temp | °C | Not yet confirmed |
| CoolantTemp | Coolant Temp | °C | Not yet confirmed |
Other channel IDs show as Channel N (ID x) with the raw value, or use a name that is not yet confirmed. If a channel shows the wrong name or value, open an issue and attach the .lg1/.lg2 pair and a screenshot of the same point in EM Soft.
Notes:
- Lambda Sensor Voltage is the K6's own lambda input in volts (0-1 V). If a wideband controller feeds that input, convert the voltage to AFR with a computed channel (see Computed Channels) that uses your controller's output curve.
- Ignition Advance uses an offset worked out from log data (5.5° at idle, 14-17° at full boost on a turbo engine). Compare it with EM Soft for your log before you use it for tuning.
- MAP is stored in the pressure unit the EM Soft logger was set to. UltraLog reads that setting from the
.lg2file and shows kPa. Only the kPa and bar settings are supported; with any other setting MAP values are wrong. - If a log has two channels with the same name, the confirmed one keeps the plain name and the other gets its channel ID added, for example
Ignition Advance (ID 21).
Important Notes
- Both files required: You must keep the
.lg1and.lg2files together in the same directory - Load either file: UltraLog can be pointed at either file - it will automatically find and load the companion file
- File naming: The files must have matching base names (e.g.,
mylog.lg1andmylog.lg2)
Channel names
With field normalization on, these Emerald K6/M3D names show as one standard name. From the OpenECU Alliance Emerald K6/M3D ECU Log adapter v1.1.0.
| Shown as | Unit | Names in the log |
|---|---|---|
| Engine RPM | rpm | RPM |
| Throttle Position | % | TPS |
| Manifold Pressure | kPa | MAP |
| Engine Load | % | Load |
| Barometric Pressure | kPa | Barometric Pressure |
| Lambda | λ | Lambda |
| Air-Fuel Ratio | AFR | AFR |
| Target AFR | AFR | AFR Target |
| Injector Pulse Width | ms | Inj Pulse Width |
| Injector Duty Cycle | % | Inj Duty Cycle · Inj Duty |
| Fuel Pressure | bar | Fuel Pressure |
| Fuel Cut | Fuel Cut | |
| Ignition Advance | ° | Ignition Advance · Ignition Timing |
| Spark Cut | Spark Cut | |
| Coolant Temperature | °C | Coolant Temp |
| Intake Air Temperature | °C | Air Temp |
| Oil Temperature | °C | Oil Temp |
| Fuel Temperature | °C | Fuel Temp |
| Exhaust Temperature | °C | Exhaust Temp |
| Oil Pressure | bar | Oil Pressure |
| Boost Target | kPa | Boost Target |
| Boost Duty | % | Boost Duty |
| Battery Voltage | V | Battery |
| Vehicle Speed | kph | Speed |
| Gear Position | gear | Gear |
| Coolant Temp Correction | % | Coolant Temp Corr |
| Air Temp Correction | % | Air Temp Corr |
| Acceleration Enrichment | % | Acceleration Enrich |
| Warmup Enrichment | % | Warmup Enrich |
| Idle Valve Position | % | Idle Valve |
| Auxiliary Input 1 | Aux Input 34 | |
| Auxiliary Input 2 | Aux Input 35 |