[go: up one dir, main page]

CN110138768A - A kind of Digital Audio Transmission method based on FPGA - Google Patents

A kind of Digital Audio Transmission method based on FPGA Download PDF

Info

Publication number
CN110138768A
CN110138768A CN201910389578.3A CN201910389578A CN110138768A CN 110138768 A CN110138768 A CN 110138768A CN 201910389578 A CN201910389578 A CN 201910389578A CN 110138768 A CN110138768 A CN 110138768A
Authority
CN
China
Prior art keywords
data
audio
transmission
byte
significant digit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910389578.3A
Other languages
Chinese (zh)
Inventor
王昱
张倩
李绍奎
孔辉
王天娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU SATELLITE COMMUNICATION EQUIPMENT Co Ltd
Original Assignee
CHENGDU SATELLITE COMMUNICATION EQUIPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU SATELLITE COMMUNICATION EQUIPMENT Co Ltd filed Critical CHENGDU SATELLITE COMMUNICATION EQUIPMENT Co Ltd
Priority to CN201910389578.3A priority Critical patent/CN110138768A/en
Publication of CN110138768A publication Critical patent/CN110138768A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/0017Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/167Audio streaming, i.e. formatting and decoding of an encoded audio signal representation into a data stream for transmission or storage purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The Digital Audio Transmission method based on FPGA that the invention discloses a kind of, no compressed encoding transmission is carried out after the number of significant digit of audio data is split using one byte of streaming transparent transmission mode, one byte, and it is consistent to guarantee that transmitting-receiving rate, number of significant digit and the data of receiving and dispatching two sides split combination.Compared with prior art, the positive effect of the present invention is: in data transmission procedure, loss of data is lost as unit of a byte, there is no the case where continuous mass data loss to exist, meanwhile data transmit real-time perfoming, reduce the delay waiting time that data are packaged in transmission process.Therefore carried out data transmission using data penetration transmission form, agreement is simple, without compression.Audio data real-time is high, and continuity is good, as long as guaranteeing that the transmitting-receiving rate of two sides of transmitting-receiving, number of significant digit, data fractionation combination are consistent, can be carried out the transmission of audio data, transmission is simple, reliable.

Description

A kind of Digital Audio Transmission method based on FPGA
Technical field
The Digital Audio Transmission method based on FPGA that the present invention relates to a kind of.
Background technique
With the development of modern communications and Digital Electronic Technique, transmission range is close, poor anti jamming capability analogue audio frequency letter Number transmission mode has been no longer desirable for the processing requirement of contemporary audio signal.The transmission of digital audio and video signals and processing are comprehensive Instead of original analog audio signal processing mode.Wherein, the transmission mode of digital signal mainly includes network audio transmission (CobraNet, Dante, Ethernet AVB etc.), SLIP agreement transmission etc..
Wherein, network audio transport protocol presses digital audio and video signals mainly based on TCP/IP network protocol It is transmitted as a data frame after reducing the staff code.The transmission of SLIP agreement is also in the form of data packet to wrap voice data stream one One packet is packaged to be sent again, and data packet is reduced to voice data stream again with the protocol format parsing arranged by recipient.
The transmission that voice data stream is carried out by TCP/IP network protocol, will carry out the segmentation of packets of audio data, audio number According to compressed encoding and decompression.Data packet, in case of packet loss phenomenon, will be as unit of a segment of audio in transmission process It loses, if packet loss will seriously influence whether system speech quality, while the compressed encoding of audio data and decompression will account for With a large amount of resource, relatively high requirement is proposed to hardware processor resource.It is assisted using the transmission of such as SILP agreement one kind View, audio data are also a transmission audio data wrapped as a data frame, also will be in case of packet loss phenomenon with One section is lost for unit, and the packing and reduction of data need to formulate corresponding protocol etc..
Summary of the invention
The shortcomings that in order to overcome the prior art, the Digital Audio Transmission method based on FPGA that the present invention provides a kind of are got rid of Abandoned it is traditional carried out as unit of audio data frame be packaged transmission in the way of, use in a manner of voice data stream without compression Transmission.
The technical scheme adopted by the invention is that: a kind of Digital Audio Transmission method based on FPGA, by audio data Number of significant digit carries out no compressed encoding transmission using one byte of streaming transparent transmission mode, one byte after splitting, and guarantees to receive and dispatch two sides Transmitting-receiving rate, that number of significant digit and data split combination is consistent.
Compared with prior art, the positive effect of the present invention is: in data transmission procedure, loss of data is with a byte For unit loss, there is no the case where continuous mass data loss to exist, meanwhile, data transmit real-time perfoming, reduce number According to the delay waiting time being packaged in transmission process.Therefore carried out data transmission using data penetration transmission form, agreement is simple, without pressure Contracting.Audio data real-time is high, and continuity is good, as long as guaranteeing that the transmitting-receiving rate of two sides of transmitting-receiving, number of significant digit, data split combination Mode is consistent, just can be carried out the transmission of audio data, and transmission is simple, reliable.
Detailed description of the invention
Examples of the present invention will be described by way of reference to the accompanying drawings, in which:
Fig. 1 is that 16 audio datas of the invention are converted to the format after two byte datas;
Fig. 2 is that the high byte of 16 audio datas of the invention indicates;
Fig. 3 is that the low byte of 16 audio datas of the invention indicates.
Specific embodiment
A kind of Digital Audio Transmission method based on FPGA, since audio data is to be carried out in the form of data flow without compression Transmission, therefore can be realized the processor of parallel processing suitable for FPGA etc, for serial processor, during realizing It needs the execution of continuous interrupt process and goes to carry out data receiver, therefore and be not suitable for.
In usual digital audio data stream, the low level of each audio data is invalid data position, can directly be given up. The audio data of one sixteen bit, its low four are invalid data positions, can directly be given up.One 24 Audio data, its low six are usually invalid data positions.Since serial data is usually to carry out data as unit of eight Transmission.And it is basic unit that digital audio-frequency data, which is usually sixteen bit, 24 or 32,.Therefore it needs them Two, three or four eight bit datas are split as, in order to serial ports transmission.It is split simultaneously in order to distinguish in data stream transmission process The high and low byte order of eight bit data afterwards, finds upper byte, convenient for reconfiguring the audio data being split.By audio The inactive low data bit of data is removed, and sixteen bit audio data removes low two, 24 audio datas remove low three, 32 audio datas remove low four.Then they are split as multiple bytes.The highest order of first character section is mended simultaneously 1, the highest order of remaining byte mends 0, is then successively transmitted by serial ports.In data receiver, it is firstly received highest order For 1 first character section, this by be an audio data first section word.If 16 audio datas, then next data Highest order be 0.If 24 audio datas, then the highest order of two bytes is 0 below, if 32 audio numbers According to then the highest order of three bytes is 0 below.If being unsatisfactory for this sequence, illustrate occur in DRP data reception process Word phenomenon needs to give up the audio data and transfers to receive next audio data, receives and differentiates that next byte highest order is No is 1.When having received multiple bytes of an audio data, they are reconfigured, removes each byte most Then rear seven hyte of each byte is combined together by a high position, if sixteen bit audio data, then low level mends two 0, if two 14 audio datas, then low level mends three 0, if 32 audio datas, then low level mends four 0.
It now is illustrated data transfer mode by taking the voice data stream as unit of significance bit is sixteen bit as an example, with 24 Position or 32 audio data transmission modes for unit do similar Data expansion.Minimum two of audio data are removed, Number of significant digit is reduced to 14.Audio sample digit rate uses 32Kbps, transmits 14 audio data significance bits.By 14 data It is divided into two 7 data transmission, two 7 data are divided into high low byte and send.The expression of high byte uses high position MSB for 1, The expression of low byte uses high position MSB to identify for 0.High byte transmits the 16th to the 10th of 14 audio datas, low word The 9th to the 3rd of section 14 audio datas of transmission.
It is as shown in Figure 1 that 16 audio datas are converted to the format after two byte datas;The high byte of 16 audio datas Indicate as shown in Figure 2;The low byte of 16 audio datas indicates as shown in Figure 3, in which: H indicates that high byte is indicated with 1, and L is indicated Low byte is indicated with 0.
Serial interface agrees as follows:
A) highest order MSB is first sent out;
B) baud rate: 921600bps;
C) start bit 1, data bit 8, stop position 1.
Audio data transmission is carried out by the way of data penetration transmission, it is ensured that the real-time of audio signal, data transmission Loss in the process is few.
The transmission mode that the present invention uses is the streaming transparent transmission mode of audio data, and the transmission mode is by audio data one One byte of byte is transmitted, and is different from traditional data and is packaged, transmission side data one by one in the form of data frames Formula.Streaming is used, audio data number of significant digit is carried out without compression transparent transmission mode and carries out fractionation biography in a manner of the fractionation voluntarily arranged Defeated, audio data real-time is high, and continuity is good, as long as guaranteeing that the transmitting-receiving rate of two sides of transmitting-receiving, number of significant digit, data split combination Mode is consistent, just can be carried out the transmission of audio data.

Claims (8)

1. a kind of Digital Audio Transmission method based on FPGA, it is characterised in that: adopted after splitting the number of significant digit of audio data The transmission of no compressed encoding is carried out with one byte of streaming transparent transmission mode, one byte, and guarantees to receive and dispatch the transmitting-receiving rate, effectively of two sides Digit is consistent with data fractionation combination.
2. a kind of Digital Audio Transmission method based on FPGA according to claim 1, it is characterised in that: the audio number According to number of significant digit be digit after removing inactive low data bit, in which: the number of significant digit of sixteen bit audio data is to remove 14 after low two, the number of significant digit of 24 audio datas is 21 removed after low three, 32 The number of significant digit of audio data is 28 removed after low four.
3. a kind of Digital Audio Transmission method based on FPGA according to claim 2, it is characterised in that: to audio data The mode that is split of number of significant digit are as follows: the number of significant digit of sixteen bit audio data is split as two bytes, by 24 The number of significant digit of position audio data is split as three bytes, and the number of significant digit of 32 audio datas is split as three words Section.
4. a kind of Digital Audio Transmission method based on FPGA according to claim 3, it is characterised in that: after fractionation The mode that data are transmitted are as follows: the highest order of first character section is mended 1, the highest order of remaining byte mends 0, then passes through serial ports Successively transmitted.
5. a kind of Digital Audio Transmission method based on FPGA according to claim 4, it is characterised in that: serial interface is about It is fixed as follows:
A) highest order MSB is first sent out;
B) baud rate: 921600bps;
C) start bit 1, data bit 8, stop position 1.
6. a kind of Digital Audio Transmission method based on FPGA according to claim 1, it is characterised in that: debit is carrying out When data receiver, it is first determined whether meeting following sequence: the highest order of the first section word received is 1 and remaining byte Highest order is zero;Transfer to receive and differentiate next audio data if not satisfied, then giving up the audio data.
7. a kind of Digital Audio Transmission method based on FPGA according to claim 6, it is characterised in that: when having received one When multiple bytes of a audio data, remove the highest order of each byte, then by rear seven bit combination of each byte to one It rises, and the inactive low data bit removed is mended 0.
8. a kind of Digital Audio Transmission method based on FPGA according to claim 7, it is characterised in that: the low level without Imitate the mode that data bit mends 0 are as follows: if sixteen bit audio data, then low level mends two 0, if 24 audio datas, then Low level mends three 0, if 32 audio datas, then low level mends four 0.
CN201910389578.3A 2019-05-10 2019-05-10 A kind of Digital Audio Transmission method based on FPGA Pending CN110138768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910389578.3A CN110138768A (en) 2019-05-10 2019-05-10 A kind of Digital Audio Transmission method based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910389578.3A CN110138768A (en) 2019-05-10 2019-05-10 A kind of Digital Audio Transmission method based on FPGA

Publications (1)

Publication Number Publication Date
CN110138768A true CN110138768A (en) 2019-08-16

Family

ID=67573361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910389578.3A Pending CN110138768A (en) 2019-05-10 2019-05-10 A kind of Digital Audio Transmission method based on FPGA

Country Status (1)

Country Link
CN (1) CN110138768A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187662A1 (en) * 2001-10-04 2003-10-02 Alex Wilson System, method, and article of manufacture for a reconfigurable hardware-based audio decoder
CN102497247A (en) * 2011-11-22 2012-06-13 中兴通讯股份有限公司 Multimedia stream transmission method and device thereof
CN107809252A (en) * 2017-10-28 2018-03-16 徐慧民 A kind of new 24 adpcm audio compressing/decompressing methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187662A1 (en) * 2001-10-04 2003-10-02 Alex Wilson System, method, and article of manufacture for a reconfigurable hardware-based audio decoder
CN102497247A (en) * 2011-11-22 2012-06-13 中兴通讯股份有限公司 Multimedia stream transmission method and device thereof
CN107809252A (en) * 2017-10-28 2018-03-16 徐慧民 A kind of new 24 adpcm audio compressing/decompressing methods

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KEENYYIP: ""JavaIO流原理之常用字节流和字符流详解以及Buffered高效的原理"", 《HTTPS://WWW.CNBLOGS.COM/YGJ0930/P/5827509.HTML》 *
郭旭敏: ""红外成像导引头杂散光测试设备及信号调理卡的开发"", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 *

Similar Documents

Publication Publication Date Title
CN104429007B (en) For handling digital data frames and transmission frame to reduce the method and device of transmission bandwidth
WO2008141525A1 (en) A method and device for transferring and receiving high speed ethernet mii block
EP0946034A3 (en) Method and apparatus for DTMF signaling on compressed voice networks
CN109660549A (en) A kind of video requency frame data packet sending, receiving method and device
CN104506287A (en) Real-time sound communication method under TD-LTE (time division-long term evolution) emergency communication
WO2008001254A1 (en) Method and device for data packing
CN110138768A (en) A kind of Digital Audio Transmission method based on FPGA
CN104992711B (en) A kind of LAN cluster duplex voice communication method based on mobile terminal
WO2005109222A2 (en) Compression of repeated patterns in full bandwidth channels over a packet network
CN1400790A (en) Rolay interface device based on synchronous digital transmission system
CN112637703B (en) Real-time intercom system and method for WEB terminal
CN101453286B (en) Method for digital audio multiplex transmission in multimedia broadcasting system
CN115604481B (en) Method, device and system for improving parallelism of encoding and decoding and transmission
US5946347A (en) Low latency transport of signals in an error correcting data modem
CN201742398U (en) Voice and data simultaneous transmission ultra-short wave transmission system
DE60027596T2 (en) METHOD AND DEVICE PREPARATION DEVICE IN A SOFTWARE-BASED ADSL MODEM
CN101442575A (en) Method for implementing network voice system
CN108197051A (en) Intelligence manufacture equipment and the data conversion system and method for external audio collecting device
CN102427524A (en) Multi-channel IP video coding card based on network exchange
CN106788906A (en) A kind of Ethernet audio transmission system based on FPGA
CN108173623B (en) User-defined baseband frame packaging method based on sliding CRC
CN105119845A (en) Energy-efficiency data stream transmission mechanism of non-first in first-out packet
CN105376179A (en) Method for transmitting measurement and control signal via Ethernet
CN100461823C (en) Unicast addressing system and method in digital television network
CN209659345U (en) A kind of TS stream IP encapsulation package reception resolution system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190816