INS-CAN Rev1.1 · IMU-A Rev1.2INS-CAN Rev1.1 · IMU-A Rev1.2

Rugged INS / IMU navigation module for DroneCAN vehicles.Module định hướng INS / IMU công nghiệp cho phương tiện DroneCAN.

A sealed navigation module with dual-layer sensing, GNSS-aided inertial data and two independent CAN buses. This wiki covers installation, firmware bring-up, CAN selection and the DroneCAN messages used for integration. Module định hướng dạng kín với cảm biến hai tầng, dữ liệu quán tính hỗ trợ GNSS và hai bus CAN độc lập. Wiki này hướng dẫn lắp đặt, nạp firmware, chọn bus CAN và các message DroneCAN dùng khi tích hợp.

CAN1DroneCAN FD · 1 / 2 Mbps
CAN2DroneCAN classic · 1 Mbps
Node IDDefault 1 · range 1–125Mặc định 1 · dải 1–125
INS / IMU Navigation Module enclosure

IMU, Gyro and GNSS SpecificationsThông số IMU, Gyro và GNSS

Configured startup ranges from the V6X000 / HBQ_IMU_A firmware profile and INS-CAN carrier design.Dải cấu hình khởi động theo profile firmware V6X000 / HBQ_IMU_A và thiết kế baseboard INS-CAN.

AccelerometerGia tốc kế

DeviceFull-scaleODR / notes
ICM-42688-P±16 gODR 8 kHz; FIFO
BMI088±24 g1600 Hz; FIFO
ICM-45686±32 gODR 6.4 kHz; FIFO
IIS3DWBTR±16 gODR 26.7 kHz; 0.488 mg/LSB; all axes

GyroscopeCon quay hồi chuyển

DeviceFull-scaleODR / notes
ICM-42688-P±2000 °/sODR 8 kHz; FIFO
BMI088±2000 °/s2000 Hz; bandwidth 532 Hz; FIFO
ICM-45686±4000 °/sODR 6.4 kHz; FIFO

GNSS / GPSGNSS / GPS

ItemHạng mụcSpecificationThông số
Receiver moduleModule thuu-blox MAX-M10N (onboard carrier)
FunctionChức năngConcurrent multi-GNSS positioning aidHỗ trợ định vị multi-GNSS đồng thời
DroneCAN outputsFix / Fix2 / Auxiliary
Default publish rateTần số phát mặc định5 Hz via DRCANFD_RATE_GNSS (0–20 Hz)
Estimator couplingGhép với estimatorGNSS-aided EKF2 attitude / position when fix is validEKF2 hỗ trợ GNSS khi fix hợp lệ

Sensor fusionSensor fusion

Primary estimator EKF2. States include attitude, local/global position and odometry. Magnetometer path publishes MagneticFieldStrength at default 50 Hz.Estimator chính EKF2. Trạng thái gồm attitude, vị trí local/global và odometry. Đường magnetometer phát MagneticFieldStrength mặc định 50 Hz.

Modular stackKiến trúc mô-đun

IMU daughterboard mounts above the carrier on standoffs for serviceability and mechanical isolation. Range/ODR values are firmware startup configuration, not navigation-accuracy claims.Bo IMU lắp phía trên baseboard qua trụ để bảo trì và cách ly cơ khí. Giá trị range/ODR là cấu hình khởi động firmware, không phải claim độ chính xác định hướng.

Hardware ViewsHình ảnh sản phẩm

Product photos for mechanical recognition and mounting orientation.Ảnh sản phẩm để nhận biết cơ khí và hướng lắp.

Connector InterfaceGiao diện connector

External interface is an SP13 female circular connector. Pin 1 is marked on the connector face.Giao diện ngoài là connector tròn SP13 female. Chân 1 được đánh dấu trên mặt connector.

SP13 female connector 9-pin pinout on INS IMU module
SP13 female connector with released 9-pin assignment.Connector SP13 female với sơ đồ 9 chân đã phát hành.
PinSignalDescriptionMô tả
1VINPower inputNguồn vào
2CAN1_PCAN1 High / Positive
3CAN1_NCAN1 Low / Negative
4GNDGround
5CAN2_PCAN2 High / Positive
6CAN2_NCAN2 Low / Negative
7UART_TX / I2C_SDAUART TX or I2C SDA
8UART_RX / I2C_SCLUART RX or I2C SCL
9GNDGround
SP13 female · Wire only the signals required by the host. Keep unused UART/I2C pins isolated unless the application uses them.Chỉ đấu các tín hiệu host cần dùng. Để trống / cách ly chân UART/I2C nếu ứng dụng không dùng.

Installation & Bring-upLắp đặt & đưa vào hệ thống

Follow this sequence so later CAN checks remain meaningful and traceable.Thực hiện tuần tự để việc kiểm tra bus sau đó có ý nghĩa và có thể truy vết.

MountCố định cơ khí

Use the four mounting ears. Keep orientation consistent with the firmware / calibration setup.Dùng bốn tai gá. Giữ hướng lắp nhất quán với cấu hình firmware / calibration.

Wire SP13Đấu SP13

Connect VIN, GND and the selected CAN pair using the released pinout. Do not rewire while powered.Đấu VIN, GND và cặp CAN đã chọn theo pinout đã phát hành. Không đổi dây khi đang cấp nguồn.

FirmwareNạp firmware

Flash the px4_fmu-v6x-hbq build, then reboot fully.Nạp build px4_fmu-v6x-hbq, sau đó reboot hoàn chỉnh.

Bus & IDChọn bus & ID

Select CAN1 or CAN2 for the host adapter; change Node ID if there is a conflict.Chọn CAN1 hoặc CAN2 theo adapter host; đổi Node ID nếu có xung đột.

ValidateXác nhận

Confirm firmware status and expected message rates before application use.Kiểm tra status firmware và tần số message trước khi đưa vào ứng dụng.

Power & groundNguồn & mass

Pin 1 = VIN, pins 4 and 9 = GND. Keep return paths short and common with the host.Chân 1 = VIN, chân 4 và 9 = GND. Giữ đường mass ngắn và chung với host.

Adapter typeLoại adapter

CAN1 needs a CAN FD adapter. CAN2 uses classic CAN only.CAN1 cần adapter CAN FD. CAN2 chỉ dùng classic CAN.

Unique Node IDNode ID duy nhất

Each node on the same physical bus needs a distinct ID. The two buses are independent.Mỗi node trên cùng bus vật lý cần ID riêng. Hai bus độc lập với nhau.

Firmware & BootFirmware & Boot

Board target and verification commands for the released HBQ profile.Target board và lệnh xác nhận cho profile HBQ đã phát hành.

Build targetTarget build

Use target px4_fmu-v6x-hbq_default. Output image:Dùng target px4_fmu-v6x-hbq_default. File kết quả:

build/px4_fmu-v6x-hbq_default/px4_fmu-v6x-hbq_default.px4

make px4_fmu-v6x-hbq_default -j$(nproc)

Verify after rebootXác nhận sau reboot

After flashing via QGroundControl and rebooting, check enable flags then the service for the bus in use.Sau khi nạp qua QGroundControl và reboot, kiểm tra enable flag rồi service tương ứng bus đang dùng.

param show DRCANFD_ENABLE
param show UAVCAN_ENABLE
dronecan_fd status
uavcan status
Profile defaults:Mặc định profile: DRCANFD_ENABLE=1, UAVCAN_ENABLE=1.

Two Independent CAN BusesHai bus CAN độc lập

Select one bus for the host. Do not copy CAN1 FD settings onto CAN2.Chọn một bus cho host. Không chuyển setting CAN FD của CAN1 sang CAN2.

CAN1FDCAN1 · dronecan_fd

DroneCAN FD1 Mbps nominal2 Mbps data

Node ID: DRCANFD_NODE_ID (default 1, range 1–125). Change requires reboot.Node ID: DRCANFD_NODE_ID (mặc định 1, dải 1–125). Đổi xong cần reboot.

CAN2FDCAN2 · uavcan

DroneCAN classicCAN 2.0B1 Mbps · no FD

Node ID: UAVCAN_NODE_ID (default 1, range 1–125). Change requires reboot.Node ID: UAVCAN_NODE_ID (mặc định 1, dải 1–125). Đổi xong cần reboot.

QGroundControl:QGroundControl: open Parameter Editor, edit the selected bus parameter, save, and reboot. Both buses may use Node ID 1 because they are physically separate.mở Parameter Editor, sửa tham số của bus đã chọn, lưu và reboot. Hai bus tách biệt nên có thể cùng dùng Node ID 1.

DroneCAN Data Protocol (CAN1)Protocol dữ liệu DroneCAN (CAN1)

Integration contract for the dronecan_fd publisher. Decode with matching DroneCAN DSDL types.Hợp đồng tích hợp cho publisher dronecan_fd. Giải mã bằng đúng kiểu DSDL DroneCAN tương ứng.

GroupNhómDroneCAN typeContentNội dungDefault
Raw IMUuavcan.equipment.ahrs.RawIMUGyro / accel, integration interval, covarianceGyro / accel, khoảng tích phân, covariance100 Hz
Attitudeuavcan.equipment.ahrs.SolutionQuaternion, angular velocity, linear accelerationQuaternion, vận tốc góc, gia tốc tuyến tính50 Hz
Navigationuavcan.navigation.GlobalNavigationSolutionLat/lon, height, orientation, body velocityLat/lon, độ cao, orientation, vận tốc thân10 Hz
Magnetic fielduavcan.equipment.ahrs.MagneticFieldStrengthMagnetometer field vectorsVector từ trường50 Hz
GNSSuavcan.equipment.gnss.Fix / Fix2Fix state and positioning fields when validTrạng thái fix và trường định vị khi hợp lệ5 Hz
SystemNodeStatus / GetNodeInfoNode health and identity for bus toolsSức khỏe và nhận diện node cho công cụ busservice
Note:Lưu ý: Message availability depends on valid source topics at runtime. Protocol support does not by itself guarantee RTK accuracy or continuous GNSS lock in every environment.Message chỉ có dữ liệu khi topic nguồn hợp lệ lúc chạy. Hỗ trợ protocol không đồng nghĩa cam kết RTK hoặc GNSS liên tục ở mọi môi trường.

CAN1 Publication RatesTần số phát CAN1

Parameters of the dronecan_fd driver. Start from defaults; change one group at a time and confirm with dronecan_fd status.Tham số của driver dronecan_fd. Bắt đầu từ default; chỉ đổi một nhóm rồi xác nhận bằng dronecan_fd status.

GroupNhómParameterDefaultRange (Hz)Dải (Hz)
Raw IMUDRCANFD_RATE_IMU1000–400
AttitudeDRCANFD_RATE_ATT500–200
NavigationDRCANFD_RATE_NAV100–50
Magnetic fieldDRCANFD_RATE_MAG500–200
GNSSDRCANFD_RATE_GNSS50–20
TemperatureDRCANFD_RATE_TEMP50–50
Arming stateDRCANFD_RATE_ARM50–50
Publication ≠ sampling.Tần số phát ≠ tần số lấy mẫu. Default RawIMU at 100 Hz is the CAN publish rate. Internal IMU drivers may sample much faster.RawIMU mặc định 100 Hz là tần số phát CAN. Driver IMU nội bộ có thể lấy mẫu nhanh hơn nhiều.

DiagnosticsChẩn đoán

Work from physical layer to firmware to fusion data. Avoid changing bitrate, Node ID and rates at the same time.Đi từ tầng vật lý đến firmware rồi dữ liệu fusion. Không đổi đồng thời bitrate, Node ID và tần số phát.

No node visible on CAN1Không thấy node trên CAN1

Confirm CAN FD host at 1 Mbps nominal / 2 Mbps data, DRCANFD_ENABLE=1, unique Node ID, then dronecan_fd status.Xác nhận host CAN FD 1 Mbps nominal / 2 Mbps data, DRCANFD_ENABLE=1, Node ID không trùng, rồi chạy dronecan_fd status.

No node visible on CAN2Không thấy node trên CAN2

Use classic CAN at 1 Mbps with FD disabled. Check UAVCAN_ENABLE=1, UAVCAN_NODE_ID and uavcan status.Dùng classic CAN 1 Mbps, tắt FD. Kiểm tra UAVCAN_ENABLE=1, UAVCAN_NODE_ID và uavcan status.

Node present but attitude / nav looks wrongCó node nhưng attitude / nav bất thường

Restore DRCANFD_RATE_* defaults, confirm rates in status, then check estimator health before blaming CAN.Đưa DRCANFD_RATE_* về default, xác nhận rate trong status, rồi kiểm tra estimator trước khi quy lỗi cho CAN.

Node ID change did not applyĐổi Node ID chưa có hiệu lực

Save parameters in QGroundControl and perform a full reboot. Both Node ID parameters require reboot.Lưu parameter trong QGroundControl và reboot hoàn toàn. Cả hai tham số Node ID đều yêu cầu reboot.