Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 acquisition devices need to have independent hardware Modules of trigger function and timestamp marking function, this method can only meet the synchronization requirements of a small amount of data and is expensive

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

Embodiment 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 one Raspberry Pi 3B+ as the NTP server, and two Raspberry Pi 3B as the NTP server. Distributed acquisition equipment, one STM32F103RCT6 development board as the target to be tested. The target under test executes the standard mailbox queue engineering code generated by STM32CubeMx and adds a GPIO flip code with a period of 1ms to it, sets two distributed acquisition devices to run the GPIO acquisition program at the same time to collect the GPIO flip of the target under test, and uses sys The gettimeofday function in / time.h marks the Unix timestamp, and the final collection result is as follows figure 2 shown. The timestamp format is a combination of the year, month, day, hour, minute, and second of Beijing time and its corresponding Unix timestamp. figure 2 O...

Embodiment 2

[0040]Correlating internal and external timestamps, the experiment selected a Raspberry Pi 3B as a distributed acquisition device, a STM32F103RCT6 development board as the target to be tested, and a CY7C68013A for tracking data acquisition, and CY7C68013A is connected to the distributed acquisition device through a USB interface. The target under test executes the standard mailbox queue engineering code generated by STM32CubeMx, and adds a GPIO flip code with a period of 1ms to it. see image 3 , first stop the operation of the target under test and download the code of the project under test, then start the GPIO acquisition program (collect GPIO in an interrupt mode and mark the Unix time stamp) and SWO acquisition program (manipulate CY7C68013A), because the operation of the target under test is not restored, so There is no GPIO flipping and tracking data arrival, both programs enter the ready state, and then the target under test is restored, and the target under test execu...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More