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

Method and system for accurately outputting pulse number in clock domain crossing manner

A technology that crosses clock domains and number of pulses. It is applied in the field of clock control and can solve problems such as synchronization, accumulation of errors at the control end and execution end.

Inactive Publication Date: 2016-05-04
WUHAN HUAZHONG NUMERICAL CONTROL
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In industrial applications, due to functional design requirements, many control-end devices and execution-end devices do not use the same source clock. Although the controller sends characteristic signals and control commands to the execution end in a certain period, different source clocks still cause the control end. The errors of the clock and the execution end accumulate, causing serious synchronization problems at both ends

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
  • Method and system for accurately outputting pulse number in clock domain crossing manner

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0017] Such as figure 1 As shown, the method for accurately outputting the number of pulses across clock domains in the embodiment of the present invention is mainly realized by the synchronization extraction module, the parameter calculation module and the waveform generation module, the purpose of which is to keep the execution end and the control end synchronized when the clock sources are di...

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 method and a system for accurately outputting a pulse number in a clock domain crossing manner. The method comprises the steps of receiving a feature signal sent by a control end and a data bus signal sent in the same time as the feature signal, generating an enable signal en when receiving the feature signal each time, extracting a pulse number N from the data bus signal at the same time, calculating a time interval Cn of a current enable signal and a previous enable signal by a clock of an execution end, generating a trigger signal flag after a predetermined time delay T, and outputting the trigger signal flag; receiving the current enable signal, the pulse number N and the time interval Cn, dividing Cn by N under the triggering effect of the current enable signal to obtain a remainder R and a quotient Q, and outputting the remainder R and the quotient Q; and receiving the trigger signal flag, the remainder R and the quotient Q, obtaining the pulse widths of pulses by the remainder R and the quotient Q under the triggering effect of the trigger signal flag, and outputting N pulses with corresponding pulse widths. According to the method and the system, the execution end and the control end can be kept synchronous under the condition that the clock has different sources.

Description

technical field [0001] The invention belongs to the technical field of clock control, and more specifically relates to a method and system for accurately outputting pulse numbers across clock domains. Background technique [0002] In industrial applications, due to functional design requirements, many control-end devices and execution-end devices do not use the same source clock. Although the controller sends characteristic signals and control commands to the execution end in a certain period, different source clocks still cause the control end. Errors on the clock and execution sides add up, causing serious synchronization problems on both sides. Contents of the invention [0003] In view of the above defects or improvement needs of the prior art, the present invention provides a method and system for accurately outputting pulse numbers across clock domains. Solve the technical problem of the wrong number of pulses output by the execution end caused by the accumulation o...

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): G06F1/12
CPCG06F1/12
Inventor 赵艳艳徐敬蒋哲
Owner WUHAN HUAZHONG NUMERICAL CONTROL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products