Method for adaptively adjusting data stream load between DSPs (Digital Signal Processor)

A self-adaptive adjustment and data flow technology, applied in the field of signal processing, can solve problems such as data packet time interval becoming smaller, program crashes, data stacking, etc., and achieve the effect of reducing the probability of transmission failure

Inactive Publication Date: 2018-10-23
LEIHUA ELECTRONICS TECH RES INST AVIATION IND OF CHINA
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) When the ambient temperature changes, the transmission performance of the circuit will change accordingly, especially in some extreme cases, such as at a low temperature of -55 degrees Celsius, the transmission rate will slow down, resulting in a smaller time interval between data packets, which may cause Data stacking, causing transmission errors, causing program crashes;
[0005] 2) When the functions implemented by the DSP change, the packet interval will change accordingly, which may also cause data stacking and cause transmission errors

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 for adaptively adjusting data stream load between DSPs (Digital Signal Processor)
  • Method for adaptively adjusting data stream load between DSPs (Digital Signal Processor)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Take data transmission between two TMS320C6678 as an example. One piece of TMS320C6678 (hereinafter referred to as DSP A) to another piece of TMS320C6678 (hereinafter referred to as DSP B) uses HyperLink to send data close to full load, the steps are as follows:

[0031] 1) Start a timer with adjustable timing period in DSP A, which is used as a metronome for data transmission;

[0032] 2) In the external memory DDR3 of DSP B, create a FIFO (First In First Out) queue with a queue depth of 8, and DSP B puts all received data packets into the receive queue;

[0033] 3) In the memory or external storage of DSP A, create a FIFO (first in first out) queue with a queue depth of 8. DSP A puts all the data packets to be sent into the sending queue; the data packets are only when the queue is not full It can be put in the queue, otherwise it will wait. When the waiting time exceeds the limit value, the data packet will be discarded;

[0034] 4) When the timer interrupt in DSP A is trig...

Embodiment 2

[0039] Take data transmission between two ADSP-TS201 as an example. One piece of ADSP-TS201 (hereinafter referred to as DSP A) to another piece of ADSP-TS201 (hereinafter referred to as DSP B) uses Link to send data close to full load. The steps are as follows:

[0040] 8) Start a timer with adjustable timing period in DSP A, which is used as a metronome for data transmission;

[0041] 9) In the external storage SDRAM of DSP B, establish a FIFO (First In First Out) queue with a queue depth of 10, and DSP B puts all received data packets into the receive queue;

[0042] 10) In the memory or external storage of DSP A, create a FIFO (first in first out) queue with a queue depth of 10, and DPA puts all data packets to be sent into the sending queue; data packets can only be sent when the queue is not full Put it in the queue, otherwise wait, when the waiting time exceeds the limit, discard the data packet;

[0043] 11) When the timer interrupt in DSP A is triggered, that is, when the bea...

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 provides a method for adaptively adjusting data stream load between DSPs (Digital Signal Processor), and belongs to the technical field of signal processing. The method comprises the following step: sequentially sending data in a sending queue of a sending end DSP to a receiving queue of a receiving end DSP according to the period of a timer, wherein the period of the timer is adjusted according to the number of data packets in the sending queue; when the sending queue is full, the period of the timer is set at a lower limit value; when the sending queue is empty, the period of the timer is set at an upper limit value; and when the sending queue is not empty and not full, the period of the timer is linearly adjusted between the upper limit value and the lower limit value, andthe more data packets in the queue are, the shorter the timer period is. According to the method for adaptively adjusting the data stream load between the DSPs provided by the invention, a data packet interval can be adaptively adjusted along with the sending frequency of the data packets, which reduces the probability of sending failures caused by too large short-time load of a data pipeline.

Description

Technical field [0001] The invention belongs to the technical field of signal processing, and in particular relates to a method for adaptively adjusting the data stream load between DSPs. Background technique [0002] DSP (digital signal processing) processors are commonly used to form a multi-processor array, and data is transferred between DSPs through a high-speed data bus. For example, ADSP-TS201 transmits data through a point-to-point Link port, and the transmission rate has four levels according to the speed, which can be adjusted by the DSP of the data sender. For example, TMS320C6678 transmits data through point-to-point HyperLink, and the transmission data has six levels according to the speed. The DSPs at the sending and receiving ends need to be connected through training. [0003] In actual engineering applications, the amount of data transmission between DSPs is relatively large, and the time interval between two data packets before and after is often related to proce...

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): H04L12/801H04L12/863
CPCH04L47/29H04L47/6245H04L47/6255
Inventor 张象羽朱明慧
Owner LEIHUA ELECTRONICS TECH RES INST AVIATION IND OF CHINA
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