Embedded hardware-assisted track tracking synchronization method in distributed environment

A distributed environment, hardware-assisted technology, applied in electrical components, time-division multiplexing systems, instruments, etc., can solve problems such as high cost, and achieve the effect of eliminating time delay and facilitating time accuracy.

Active Publication Date: 2019-09-20
CHANGAN UNIV
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, when evaluating distributed embedded systems, 4-bit GPIO (General-purpose input/output) outputs tracking data to the outside, and when collecting tracking data, all distributed acq

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded hardware-assisted track tracking synchronization method in distributed environment
  • Embedded hardware-assisted track tracking synchronization method in distributed environment
  • Embedded hardware-assisted track tracking synchronization method in distributed environment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] Example 1

[0038] In order to test the synchronization error between multiple distributed acquisition devices, the experiment selected chrony software and UM220-III Beidou / GPS navigation module to build an NTP system, selected 1 Raspberry Pi 3B+ as the NTP server, and 2 Raspberry Pi 3B as the NTP server Distributed acquisition equipment, 1 STM32F103RCT6 development board as the tested target. The tested target executes the standard mailbox queue engineering code generated by STM32CubeMx and adds the GPIO flip code with a period of 1ms to it. Set two distributed collection devices to run the GPIO collection program at the same time to collect the GPIO flip of the tested target, and use sys The gettimeofday function in / time.h marks the Unix timestamp, and the final collection result is as figure 2 Shown. The time stamp format is a combination of year, month, day, hour, minute and second in Beijing time and its corresponding Unix timestamp. figure 2 On the left is the Un...

Example Embodiment

[0039] Example 2

[0040] Associating internal and external timestamps, the experiment selected 1 Raspberry Pi 3B as the distributed acquisition device, 1 STM32F103RCT6 development board as the tested target, 1 CY7C68013A for tracking data acquisition, and CY7C68013A was connected to the distributed acquisition device through the USB interface. The tested target executes the standard mailbox queue engineering code generated by STM32CubeMx, and adds the GPIO flip code with a cycle of 1ms. See image 3 , First stop the running of the tested target and download the tested engineering code, and then start the GPIO collection program (collecting GPIO in interrupt mode and marking the Unix timestamp) and SWO collection program (operating CY7C68013A), because the running of the tested target is not restored There is no GPIO flip and tracking data coming, these two programs enter the ready state, and then the tested target is restored, and the tested target executes the program. At this ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an embedded hardware-assisted track tracking synchronization method in a distributed environment. The method comprises the following steps of adding the tracking configuration and the periodic GPIO upset to a tested engineering code, downloading a cross-compiled result to the tested targets, and connecting the SWO interface output of each tested target and the GPIO used for the upset of each tested target to each distributed acquisition device; when an NTP server is established, and the GPS time service is completed, taking the distributed acquisition devices as the NTP clients and NTP servers, and completing the time synchronization of all the distributed acquisition devices; controlling all the distributed collection devices to start the tested targets at the same time, starting the timestamp collection and SWO interface output data recording, and recording all Unix timestamps of all the GPIO upset and the tracking data outputted by the SWO interface; and completing the alignment of the GPIO timestamp and the SWO output data. According to the invention, the high-credibility and high-stability hardware-assisted tracking data can be provided.

Description

technical field [0001] The invention belongs to the field of embedded system evaluation, and in particular relates to an embedded hardware-assisted tracking trajectory synchronization method in a distributed environment, which can deal with the problem of out-of-synchronization of tracking trajectory data between nodes of a distributed embedded system. Background technique [0002] For non-intrusive system status evaluation of distributed embedded systems, hardware-assisted tracking is a very limited technical means. However, the tracking data output by the SWO (Serial Wire Output) interface obtained from hardware-assisted tracking tests is isolated. It is not associated with external time; moreover, the tracking trajectory data among each node of the distributed embedded system is also isolated from each other, the data is not synchronized, the tracking trajectory data is continuous, the data volume is large and asynchronous. Although the hardware-assisted tracking unit can...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F21/55H04J3/06
CPCG06F21/552H04J3/0667
Inventor 马峻岩李易李尚荣张颖
Owner CHANGAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products