Page 3
Aceinna is a registered trademark of Aceinna Inc. Other product and trade names are trademarks or registered trademarks of their respective holders.
5 Diagnostic Capabilities ..........................13 6 Ethernet Port and Messages ........................14 6.1 Ethernet Data Frame Definition ......................14 6.2 Aceinna Binary Packet Format ......................14 6.3 Output Binary Packets ........................15 6.3.1 GNSS Solution Packet ........................ 15 6.3.2 INS navigation solution ......................16 6.3.3 Diagnostic Message ........................
Page 5
INS401 User’s Manual 6.5.2 Vehicle speed data ........................24 6.6 User Commands ..........................25 6.6.1 Table 19 Get the Product Information ..................25 6.6.2 Table 20 Get User Configuration....................26 6.6.3 Table 21 Set User Configuration ....................27 6.6.4 Table 22 Save User Configuration....................27 6.6.5 Table 23 User Configuration Parameters ..................
Page 6
INS401 User’s Manual About this Manual The following annotations have been used to provide additional information. NOTE Note provides additional information about the topic. EXAMPLE Examples are given throughout the manual to help the reader understand the terminology.
1 Introduction 1.1 INS401 Overview The Aceinna INS401 is an Inertial Navigation System (INS) with RTK-enabled GNSS positioning engine and triple-redundant IMU sensors. It is designed to work with odometer and RTK corrections for optimal performance. It is a lightweight and compact enclosure that consists of only two interfaces –...
The INS401 is powered directly from 12 V or 24 V battery systems (9 V ~ 32 V input range) and is designed and qualified to withstand the worst-case conditions in terms of overvoltage, reverse voltage and other fault conditions experienced in these vehicles.
If building your own RF cable please use Fakra Part No. 734036262. 2.2.2 Main Connector and Pin Description The main connector carries all the other power and I/O signals to and from the INS401 module. This connector is also of automotive grade and is manufactured by JAE Electronics. The male end which is installed in the INS401 housing has part number MX23A18NF1;...
Page 10
INS401 User’s Manual Figure 3 Pin Diagram of the Male End Table 2 shows the functional description of the 18 pins in the main connector. Table 2. Pin Description of the Main Connector Pin Number Type Pin Name Pin Function...
The “Set User Configuration” command (see Table 21) should be used to re-align the coordinate system so that X is facing forward, Y is right, and Z is down if the INS401 is mounted in a different orientation.
IMU to the GNSS antenna lever arm is [x, y, z] = [1.0, -1.0, -1.0] m. The “Set User Configuration” command in Table 21 should be used to configure the INS401 with the correct lever arm. Figure 5 INS401 IMU to GNSS Antenna Lever Arm Definition and Measurement Demonstration 3.2 Antenna Selection and Connection...
Operation Voltage 3.3 Power Requirement Operating voltage: 12V DC Nominal (9V-32V DC is acceptable range) Current requirement: The INS401 consumes 4 W (typical value). It’s recommended to make sure the supply is capable of at least 600mA from 12V. Doc# 7430-4006-02...
4.2 System Operation and Data Logging On the testing computer, only the “AceNav” Command Line Interface (CLI) software is needed for the INS401 system to work and to log all the data output from the INS401 system. This CLI Doc# 7430-4006-02...
Page 15
3. Use an ethernet converter to connect with a testing PC via the RJ-45 jack 4. Power on the system 5. Go to the “AceNav” CLI folder, modify the “ins401.json” JSON file inside the “settings/INS401” subfolder, input the correct NTRIP account information as shown below: 6.
Page 16
INS401 User’s Manual ______________________________________________________________________________ 7. After running the data logging command below, the information about INS401, the PC connection, and the NTRIP connection status will be displayed on the console. The NTRIP status shows “ok” of both [connect] and [request], then the system has connected to a valid NTRIP server for the GNSS RTK operation 8.
Page 17
INS solution trajectory in kml format for Google Earth presentation user_<time_tag>_nmea.txt: GNSS solution in NMEA 0183 ASCII strings user_<time_tag>_odo.txt: vehicle odometer speed data received by INS401 Refer to AceNav CLI Software Usage for a detailed description and the usage of the “AceNav” CLI.
The purpose of this is to enable configuration after installation by a single user command. This is useful in case the INS401 is used by multiple vehicles (enables procurement of a single part number, and final configuration in the vehicle manufacturing line).
6.1 Ethernet Data Frame Definition The INS401 ethernet TX/RX data frame conforms to IEEE802.3, the format is shown below. The input/output binary packets and ASCII messages should be filled in the Ethernet data frame payload. Note it is also designed to contain two packets/messages in the same one data frame. If one packet/message is more than 1500 bytes, it is split into two continuous data frames.
INS401 User’s Manual ______________________________________________________________________________ Length: the number of bytes in the payload, LSB-first Payload: user data contents, LSB-first Checksum: CRC16 check. Bytes from the beginning of the “Message ID” to the end of the “payload” are included in the checksum calculation, and a sample of the checksum algorithm C code is shown in Appendix A:16-bit CRC Implementation Sample Code.
INS401 User’s Manual ______________________________________________________________________________ float Diffage Age of differential GNSS correction float north_vel North velocity float east_vel East velocity float up_vel Up velocity float north_vel_std North velocity accuracy float east_vel_std East velocity accuracy float up_vel_std Up velocity accuracy 6.3.2 INS navigation solution After following items are satisfied, then INS algorithm will be initialized: ...
INS401 User’s Manual ______________________________________________________________________________ double height Height above ellipsoid float north_velocity North velocity in navigation ENU frame float east_velocity East velocity in navigation ENU frame float up_velocity Up velocity in navigation ENU frame float longitudinal_velocity Forward velocity in vehicle frame...
Page 24
INS401 User’s Manual ______________________________________________________________________________ Length Payload Description: Byte Offset Type Name Unit Description uint16 gps_week GPS time: GPS week and seconds in week uint32 gps_millisecs uint32 Device status bit field The Definition is listed in Table 6. Each status bit has two values:0 is valid and 1 is invalid.
Page 25
INS401 User’s Manual ______________________________________________________________________________ 1: Tx Overflow occurred 10 consecutive cycles GNSS PPS status 0: normal 1: 1PPS pulse exception GNSS data status 0: normal 1: GNSS-chipset has NO data output GNSS signal status 0: normal 1: GNSS-chipset has data output, but no valid...
Page 26
INS401 User’s Manual ______________________________________________________________________________ Byte Offset Type Name Unit Description uint8 gnss_err_out_pin 0: EOUT is normal; 1: EOUT error. uint8 gnss_rf_err_pin 0: RF_ERR is normal; 1: RF_ERR error. uint8 gnss_ant_err_pin 0: ANT_ERR is normal; 1: ANT_ERR error. uint8 gnss_handshake_flag 0: Handshake between MCU and GNSS-CHIP fail;...
(vehicle). And the user device must send the RTCM messages over ethernet to the ethernet port of the INS401. The input binary packets for this function are defined in Table 15, followed by a detailed example.
6.5.2 Vehicle speed data In addition, another user input of the INS401 is defined as below, to enhance the dead reckoning (DR) performance of the IMU based INS solution. The accurate vehicle speed from the vehicle reference point provides accurate speed constraint to the along-track direction. This speed is...
Several user commands are defined on the ethernet interface for the user system (e.g., a vehicle) to poll information from INS401 and to set user parameters in INS401. The user request commands and the INS401 response message are defined in pairs, where the request command is a two-byte hex value that is also the ID of the response message.
Page 32
*By response message, you will get destination address (DST_MAC) and product information. It means the connection between DST_MAC and source address (SRC_MAC) is built. EXAMPLE Example in FW28.03.11: INS401 5020-4007-01 2109000083 Hardware v1.0 IMU_SN 2179100041 RTK_INS App v28.03.11 Bootloader v01.01 IMU330NL FW v27.01.01 GNSS- CHIP FW v5.8.12 UUID 12312421432 6.6.2 Table 20 Get User Configuration...
Page 33
INS401 User’s Manual ______________________________________________________________________________ each defined in Table 23 Parameter value 6.6.3 Table 21 Set User Configuration Description Set user configuration on the parameters (defined in Table 23) Request Command: Command 0xcc03 Length Payload offset variable name unit desc uint32...
Page 34
INS401 User’s Manual ______________________________________________________________________________ Message ID 0xcc04 Length Payload offset variable name unit desc int32 result 0: success -1: fail 6.6.5 Table 23 User Configuration Parameters Sequence Type Name Unit Description float gnssLeverArmBx float gnssLeverArmBy IMU to GNSS antenna phase center lever arm...
Page 35
INS401 User’s Manual ______________________________________________________________________________ 6.6.6 Table 24 User sends system reset command Table 24 Description User sends system reset command Request Command: Command 0xcc06 Length Payload Response Message: Message ID 0xcc06 Length Payload 6.6.7 Table 25 User gets ins save buffer of fixed position of ins power on...
Page 36
1-Prestored vehicle projects matrix data uint8_t vc_table_valid 0- ID14 vehicle code not set 1- ID14 vehicle code set uint16_t version Aceinna internal version, detailed data of prestored vehicle projects codes are different in different version char*4 vcode ASCII format of Vehicle codes float...
Page 37
INS401 User’s Manual ______________________________________________________________________________ 6.6.9 Table 27 Get Customer Part Number Table 27 Description Get the product device information, defined by customer Request Command: Command 0xdf01 Length Payload Response Message: Message ID 0xdf01 Length Payload ASCII message (separated by space), e.g.
IMU_JI: Jump from Bootloader to IMU APP. NOTE 1. INS401 only supports Ethernet port upgrade; 2. INS401 only supports the upgrade of APP, ST9100 and IMU, and does not support the online upgrade of Bootloader; 7.2 FW Upgrade with AceNav Refer to AceNav CLI Software Usage for AceNav operation to upgrade INS401 firmware.
INS401 User’s Manual ______________________________________________________________________________ Figure 7 INS401 Upgrade Flowchart 7.3.1 Structure of Firmware Bin The FW bin file can consist of four parts: the RTK part, the INS part, the GNSS-chip part and the IMU part. The starting address of each part in the FW bin file is indicated by a start string as shown in table 17.
INS401 User’s Manual ______________________________________________________________________________ 2. Get the length of RTK part (4 bytes following the start string, LSB): A0 A1 04 00 (303520 bytes) 3. Get the payload of RTK part: 303520 bytes after the above length bytes. We can prepare length and payload for all parts which need to be upgraded.
Page 41
INS401 User’s Manual ______________________________________________________________________________ Send: Header Msg_Type Length Start_Addr 4bytes Numbytes 4bytes Bytes Data 2bytes 0x5555 0xaa03 Numbytes + 8 Receive: Header Msg_Type Length CRC 2 bytes 0x5555 0xaa03 *Notes: After the first frame is written, one needs to wait for the MCU to erase the data in flash (both in RTK and INS parts), the waiting time depends on the firmware size.
INS401 User’s Manual ______________________________________________________________________________ 0x5555 0xaa02 Receive: Header Msg_Type Length Data 6bytes CRC 2 bytes 0x5555 0xaa02 0x43 0x30 0x53-succ 0x43 0x31 0x53-succ 0x46-Fail 0x46-Fail CRC values (calculate by Appendix A:) of RTK part payload and INS part payload (prepared in 7.3.1) are needed in ‘JA’...
Page 43
INS401 User’s Manual ______________________________________________________________________________ 7.3.3.3 Send 1st 5120 bytes The 5120 bytes (0-5119) at the beginning of the GNSS-chip part needs to be first transferred by 5 consecutive ‘WP’ command packets. Send: Header Msg_Type Length Data 1024bytes CRC 2bytes 0x5555...
Page 44
INS401 User’s Manual ______________________________________________________________________________ Step4: Send Entry message Header Msg_Type Length Entry 4bytes CRC 2bytes 0x5555 0xaa07 0x00, 0x00, 0x00, 0x00 Step5: Send Boot program The boot program needs to be divided into three parts, the range of each part is 0-5120/5120- 10240/10240-10912 bytes.
Page 45
INS401 User’s Manual ______________________________________________________________________________ After these two steps, one needs to wait for the device to initialize. The response ‘0xCC’ is received when device initialization is done. Receive: Header Msg_Type Length Response 1byte CRC 2bytes 0x5555 0xaa07 0xCC And then the data in flash will be erased, after erase done response ‘0xCC’ will be received.
INS401 User’s Manual ______________________________________________________________________________ The starting address of the first frame of data writing is 0, and 192 bytes are written. Then the starting address of the second frame of data should be 192. When receiving the first frame of the write command, IMU will erase the flash first. Please wait until the erase is complete.
INS401 User’s Manual ______________________________________________________________________________ Appendix A: 16-bit CRC Implementation Sample Code The following is the 16-bit CRC sample code used in most of the code development. uint16_t CalculateCRC (uint8_t *buf, uint16_t length) uint16_t crc = 0x1D0F; for (int i=0; i < length; i++) { crc ^= buf[i] <<...
Lib: npcap, https://scapy.readthedocs.io/en/latest/installation.html#windows B.2 GNSS/INS operation user settings Run the CLI software and connect with the INS401 system for the first time, there is a “setting” folder generated with subfolders named by Aceinna GNSS/INS navigation devices. Each type of device has a JSON format of configuration file, all the user settings including GNSS RTK correction NTRIP account information, IMU to GNSS antenna lever arm and so on.
Page 51
INS401 User’s Manual ______________________________________________________________________________ ./acenav -i 100base-t1 --cli >>upgrade <INS401 FW file path> After successful FW upgrade, the INS401 system will restart and log data automatically. Doc# 7430-4006-02 Page 45...
Add the conditions required for the INS initialization Add limitation for timeout and retry times Add chapter 7.4 to show percentiles of each step Update Figure 7 INS401 Upgrade Flowchart and downgrade 7.3.4 to 7.3.3.3(update table of contents) Jun 05 2024 28.05/28.06 JT/CEK ...
Need help?
Do you have a question about the INS401 and is the answer not in the manual?
Questions and answers