Enable Gsensor function (new algorithm)

1. What this function does

The GSensor (gravity accelerometer) inside the device is used to detect rapid acceleration, rapid deceleration, sharp cornering and rollover. However, the direction it senses is the front / rear / left / right of the device itself. Only when the device knows "which way the device faces on the vehicle" can it correctly convert this into the front / rear / left / right of the vehicle.

The new algorithm greatly simplifies the calibration process: you only need to enter one installation angle, park the vehicle on level ground and keep it still for about 30 seconds and the calibration is completed automatically, with no road test required.

Item Old algorithm (original process) New algorithm (this document)
Installation angle Cannot be specified, obtained by road test Manually measure fFD_InstallYaw and enter it (0 ~ 360)
Calibration action GPS positioning required → drive straight on a flat road at more than 20 km/h for over 10 s → brake slightly once Tap [ReAdjust] or [Re-calibration] → keep the vehicle still for about 30 s and it completes automatically
Calibration conditions Strict (GPS, road test and one clear braking required) Simple (just park the vehicle)
Installation attitude Limited Any tilt, even upside-down installation, is automatically recognized

This document covers the new algorithm only. If fFD_InstallYaw is set to -1000 (meaning this parameter is disabled), the device follows the old "dynamic calibration by emergency braking while driving" process. For the operation steps, see Enable Gsensor function.

2. Prerequisites

  • The device has been updated to the latest firmware that supports this function
  • The device is powered on, and the screen and remote control work normally (when configuring with the remote control)
  • The device WEB configuration method requires an accessible AP hotspot or a direct network cable connection to the system WEB service
  • The device has been securely mounted (measure the angle after mounting, see Section 3)

3. How to measure the installation angle (fFD_InstallYaw)

Three rules:

  1. Look down from the roof of the vehicle (top view, vehicle front facing up);

  2. Take directly ahead of the vehicle as the 0° reference;

  3. Measure clockwise to the direction pointed by the "device forward mark" (device front panel / housing arrow / the direction opposite to the cable outlet). The reading is fFD_InstallYaw, ranging from 0 ~ 359.9. 3. How to measure the installation angle fFDInstallYaw

You can also remember it this way: stand at the front of the vehicle; how many degrees the device arrow deviates to the right is the value to enter.

Typical mounting orientation quick reference (enter the value directly from the figure)

Mounting orientation Value Description
Device arrow facing the front of the vehicle 0 Most common; panel faces forward
Device arrow facing the right side of the vehicle 90 Passenger side
Device arrow facing the rear of the vehicle 180 Panel faces backward
Device arrow facing the left side of the vehicle 270 Driver side

Diagonal mounting works the same way: for example, if the device arrow points to the front-right of the vehicle at 45° from the vehicle front, enter 45; if it points to the rear-left and measures 225°, enter 225. A measurement error within ±10° still works normally — there is no need for absolute precision.

3. How to measure the installation angle fFDInstallYaw

4. Parameter configuration methods

No. Configuration method What is required Applicable scenario
1 Device display screen + remote control Remote control + display screen On-site debugging of a single device
2 Device system WEB interface A computer connected to the device network Network port available; a clear interface is preferred
3 Client plug-in parameter configuration TTX client plug-in Pending plug-in update

Whichever method you use, after configuration a calibration must be performed as described in Section 5, and then verified as described in Section 7.

Method 1. Device display screen + remote control

  1. Press the [ENTER] key on the remote control to enter the login interface, enter the password "999999", and it will automatically log in to the main menu.

  2. Select [Settings] in the main menu interface and press the [ENTER] key to enter the settings interface.

  3. Select [Alarm] in the [Settings] interface and press the [ENTER] key to enter the alarm settings interface.

  4. In the [Alarm Settings] interface, press the right arrow key to come to the [GSensor] interface, press the [ENTER] key to enter the editing state, and configure the following in order: Method 1. Device display screen + remote control

  • Check GSensor to enable it;
  • Enter the installation angle measured in Section 3 in ANGLE(θ);
  • Set RAPID ACCEL / RAPID DECEL / RAPID SWERVE according to the vehicle type recommendation table in Section 6;
  • Confirm and save.
  1. For calibration, refer to Section 5 below.

Method 2. Device system WEB interface

  1. Connect the computer to the device with a network cable, then open the device WEB management page in a browser and log in.

  2. Go to [Settings] → [Alert Setup] and expand [G-sensor].

  3. Configure the following in order: Method 2. Device system WEB interface

  • Check [On] to turn on the acceleration alarm;
  • Enter the installation angle measured in Section 3 in [Angle] (0 ~ 360); entering -1000 means this parameter is disabled and the old algorithm is used;
  • Set [Collision] [Rollover] [Rapid Accel] [Rapid Brake] [Sharp Turn] according to the vehicle type recommendation table in Section 6;
  • Click [Save].
  1. For calibration, refer to Section 5 below.

Method 3. Client plug-in parameter configuration

  1. Open the TTX client plug-in and go to the [Alarm Setup] → [GSensor] tab. (The angle parameter is not supported for configuration yet; it will be added in a later plug-in update.)

  2. In this tab you can check [Enabled], click [Recalibrate], and set the Crash / Overturn / Harsh Acceleration / Harsh Braking / Harsh Cornering cornering thresholds. Method 3. Client plug-in parameter configuration

5. Calibration

After the parameters are configured, a calibration must be performed once, so that the device establishes the correct horizontal reference and orientation reference. Static calibration (recommended)

  1. Park the vehicle on a flat road and keep it still during the whole calibration process.

  2. Make sure the device is rigidly mounted. Any installation angle is acceptable — any tilt, even upside-down installation, is fine; during calibration the device automatically recognizes the mounting orientation and tilt angle. However, loose adhesive or mounting on a shaking bracket will cause calibration errors or false / missed events.

  3. Configure the parameters by any method in Section 4, and confirm that the GSensor main switch is enabled.

  4. Tap [ReAdjust] ([Re-calibration] on WEB) and keep the vehicle still for about 30 seconds — do not open or close the doors, and do not get in or out of the vehicle.

  5. "Mtn ACC Calibrated" displayed in the lower right corner of the device screen UI means the calibration is successful; or search the device log — Silence Calibrate Complete and Motion Calibrate Complete appearing means the calibration is successful. No device restart is required.

  6. After completion, perform a simple road test verification as described in Section 7.

6. Device GSensor menu and parameter description

Menu item Corresponding parameter Default value Meaning / how to set
GSensor (√) ucFD_AlarmEnable Enabled Main detection switch. 1 enabled, 0 disabled; if unchecked, no event is detected at all.
ReAdjust (button) — — Re-calibrate immediately. After tapping, keep the vehicle still for about 30 seconds and it completes automatically; no restart required. Tap it again after reinstalling the device or changing ANGLE.
ANGLE (θ) fFD_InstallYaw -1000 Installation angle. Measure as described in Section 3 and enter it (e.g. 0 / 90 / 180 / 270). Entering -1000 (factory default) means this parameter is disabled and the old algorithm dynamic calibration is used.
CRASH (g) fFD_Crash 1.000 Crash detection threshold. Keep the default unless there are special requirements.
TURN OVER (θ) fFD_TurnOver 30.00 Rollover tilt angle threshold (degrees). Keep the default.
RAPID ACCEL (g) fFD_Raccel 0.300 Rapid acceleration threshold. Set according to the vehicle type table below.
RAPID DECEL (g) fFD_Decel 0.300 Rapid deceleration (rapid braking) threshold. Set according to the vehicle type table below.
RAPID SWERVE (g) fFD_Swerve 0.300 Rapid cornering threshold. Set according to the vehicle type table below.
Alarm prompt mode ucFD_ShowUIEnable 0 0 display none; 1 TTS and UI; 2 decoding output (handle, speaker); 3 output both.

Recommended thresholds for different vehicle types

Vehicle type RAPID ACCEL RAPID DECEL RAPID SWERVE
Truck / bus / van (factory default) 0.30 0.30 0.30 ~ 0.35
Small car / taxi 0.40 0.40 0.45

Why cars need higher values: small cars accelerate, brake and corner faster than trucks. With the default 0.30, normal starts at traffic lights, passing speed bumps and normal lane changes are easily misjudged as rapid acceleration / rapid braking / rapid cornering. After raising the values as in the table above, real aggressive driving is still reported while these false alarms are avoided.

7. How to verify after installation

Test action Event that should be reported Description
Brake firmly to a stop from above 15 km/h Rapid deceleration (rapid braking) If reported as "rapid acceleration", the angle is probably off by 180°; if reported as "cornering", the angle is off by 90° / 270°
Above 15 km/h, turn the steering wheel sharply to the right Right sharp cornering If left and right are reversed, the angle is off by 180°; if reported as braking / acceleration, the angle is off by 90° / 270°
Above 15 km/h, turn the steering wheel sharply to the left Left sharp cornering Same as above
Start gently and then press the accelerator hard Rapid acceleration For cars, accelerating a bit faster is recommended for verification

Self-check rule of thumb: braking reported as rapid acceleration → add 180°; braking reported as right cornering → add 90°; braking reported as left cornering → subtract 90°. Convert back to the 0 ~ 360 range, enter it in ANGLE again, tap [ReAdjust] and test again after standing still.

8. FAQ

Question Answer
How do I choose between the new and old algorithms? Use the new algorithm (described in this document) if the installation angle can be measured; calibration is achieved by keeping the vehicle stationary for 30 seconds after parking. If the angle cannot be measured or if you prefer to stick to the existing workflow, set the fFD_InstallYaw parameter to "-1000" to use the old algorithm (which requires a road test for calibration); see Enable Gsensor function](http://pug2.4000329988.com/fqa/web/#/13/234).
What happens if I don't set this parameter? If the fFD_InstallYaw parameter is left at the default value of "-1000," this feature remains disabled, and the device uses the old "dynamic calibration via hard braking" method. This method has strict requirements: it necessitates a functional GPS signal and a distinct braking event during a road test to complete calibration successfully. It is recommended to configure this parameter.
Can the device be mounted diagonally or upside down? Yes. Any installation angle is acceptable — the calibration automatically recognizes the mounting orientation and tilt angle; you only need to set ANGLE correctly and tap ReAdjust, provided the device is securely mounted.
I cannot find the device forward mark. Take the orientation of the device front panel (the face with indicators / buttons / display) as the reference; if the panel faces the front of the vehicle, enter 0. If unsure, use the verification method in Section 7 to deduce and correct it.
Will a wrong value damage the device? No. It only causes wrong event direction judgement. Re-measure, modify ANGLE, tap ReAdjust and keep still for 30 seconds.
Do I need to re-enter it every time I change vehicles or reinstall the device? As long as the device orientation relative to the vehicle front changes, you need to re-measure, modify ANGLE and re-calibrate; if the device is not moved on the same vehicle, the value remains valid.
Does the angle affect rollover detection? Basically no. Rollover is judged by the vehicle body tilt, with the horizontal reference determined by calibration; a wrong installation angle does not affect rollover alarms.
I cannot find the installation angle in the client plug-in. The [Acceleration] tab of the current plug-in version does not yet have this field (reported to R&D). Please set the angle using the device menu or the device WEB interface first; after the plug-in is updated you can enter it directly.
Calibration keeps failing. Make sure the vehicle stays still for a full 30 seconds after tapping ReAdjust and that nobody gets in or out and the doors are not opened or closed; make sure the device is mounted (a handheld device cannot be calibrated); then tap ReAdjust once more and retry.

Note: Any installation angle is acceptable — the calibration automatically recognizes the mounting orientation and tilt angle — but the device must be rigidly mounted. Loose adhesive or mounting on a shaking bracket will cause calibration errors or false / missed events.