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

Pps second pulse signal output method and system for gptp time tick on soc platform

A signal output, second pulse technology, applied in the field of gptp, can solve the problem of not supporting pps signal output

Active Publication Date: 2020-11-03
爱瑟福信息科技(上海)有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the second pulse signal output of the ptp clock on the soc platform is usually realized by the logic circuit inside the soc chip, relying on related hardware implementation, the advantage is that the precision of the pps signal is high, and the disadvantage is that it is often not supported on the customer's hardware platform Output of pps signal (some soc chips do not have a corresponding pps signal output circuit inside)

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
  • Pps second pulse signal output method and system for gptp time tick on soc platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Such as figure 1 Shown, a kind of pps second pulse signal output method for carrying out gptp time synchronization on the soc platform, comprising:

[0037] S101. Obtain the nanosecond value cur_ns of the current ptp time.

[0038] S102. Call the sleep function based on the ptp clock to sleep. After the sleep is over, execute step S103.

[0039] Among them, the ptp clock is implemented by hardware, and it is the time after time synchronization, expressed in the form of (seconds, nanoseconds).

[0040] Because the rising edge of the pps second pulse signal corresponds to the whole second moment of the ptp clock, and the falling edge corresponds to the whole half second moment of the ptp clock, so in order to output the pps second pulse signal by the software program of the present invention, it is necessary to give the soc chip at the whole second moment The GPIO port of the SOC chip is at a high level, and the GPIO port of the soc chip is at a low level for half a sec...

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 a pps second pulse signal output method for performing gptp time tick on a soc platform. The method comprises the following steps: 1, acquiring a nanosecond value of the current time; 2, calling a sleep function based on a ptp clock for sleep, and after sleep is finished, executing the step 3; 3, acquiring a nanosecond value of the current time; and 4, if the expected nanosecond value is equal to the level establishment time + / -x, outputting a level to a GPIO port of the soc chip, returning to the step 1, when the expected nanosecond value is 5000000ns, the level is a low level, and when the expected nanosecond value is 10000000ns, the level is a high level, otherwise, the level establishment time is a calibration parameter of the soc chip, and otherwise, returningto the step 3. The pps second pulse signal output method provided by the invention is realized in a software program manner, and the precision can meet the requirement, so that the signal output doesnot depend on hardware, and the application range is wide.

Description

technical field [0001] The invention relates to the technical field of gptp, in particular to a pps second pulse signal output method and system for gptp time synchronization on a soc platform. Background technique [0002] With the extensive use of the AVB protocol stack in the car, the gptp protocol (time synchronization protocol based on Ethernet) is becoming more and more important. The gptp protocol is a very important basic protocol, which provides the possibility and guarantee for all ECUs (electronic control units) in the vehicle network to use a unified time reference. In the vehicle network, there is generally one ECU as the master of the clock, and the rest of the ECUs are used as slaves to synchronize with the master. Since the synchronization accuracy of the slave determines the media synchronization quality of the avb, how to measure the synchronization accuracy and jitter of the slave is very important. The general practice in the industry is to output the s...

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): H04J3/06H04L12/26
CPCH04J3/0667H04L43/50
Inventor 文小军穆国强
Owner 爱瑟福信息科技(上海)有限公司
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