CN106301343B - A kind of customized multi-protocols digital audio and video signals generating system of level and method - Google Patents

A kind of customized multi-protocols digital audio and video signals generating system of level and method Download PDF

Info

Publication number
CN106301343B
CN106301343B CN201610696718.8A CN201610696718A CN106301343B CN 106301343 B CN106301343 B CN 106301343B CN 201610696718 A CN201610696718 A CN 201610696718A CN 106301343 B CN106301343 B CN 106301343B
Authority
CN
China
Prior art keywords
digital audio
module
video signals
fpga
digital
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.)
Expired - Fee Related
Application number
CN201610696718.8A
Other languages
Chinese (zh)
Other versions
CN106301343A (en
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.)
CETC 41 Institute
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201610696718.8A priority Critical patent/CN106301343B/en
Publication of CN106301343A publication Critical patent/CN106301343A/en
Application granted granted Critical
Publication of CN106301343B publication Critical patent/CN106301343B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/017509Interface arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Analogue/Digital Conversion (AREA)
  • Television Receiver Circuits (AREA)

Abstract

The invention discloses a kind of customized multi-protocols digital audio and video signals generating systems of level, including host computer, FPGA, digital analog converter, the host computer to connect with FPGA, and the FPGA is connect with digital analog converter;FPGA includes state code memory, waveform generating module, amplitude adjusting module, data coding module, clock frequency division module and agreement output module.The beneficial effects of the invention are as follows having built the hardware circuit that a variety of digital audio protocol standards may be implemented, and output logic level can be carried out customized, the quantitative test analysis to the compatible performance of logic level is devices under may be implemented.

Description

A kind of customized multi-protocols digital audio and video signals generating system of level and method
Technical field
The present invention relates to audio analysis field, especially a kind of customized multi-protocols digital audio and video signals generating system of level And method.
Background technique
Currently, digital audio field possesses a variety of different types of digital audio interfaces, the interface standard of mainstream includes disappearing Take the interconnection of class digital audio interface S/PDIF digital audio and profession class digital audio interface AES/EBU digital audio interface two Standard.The digital audio of current audio analyzer occurs and analytic function is mainly for S/PDIF interface and AES/EBU interface The signal of two standards occurs and analysis.Audio analyzer, which generates, during the test meets corresponding digital audio protocol standard Digital signal is input in digital audio receiving device, to detect digital audio receiving device decoding performance.Audio analyzer is defeated The digital signal of Different Logic level tests digital audio receiving device to the compatibility of level out.
General audio analyzer generates digital audio and video signals, general sound using dedicated digital audio protocol coding chip The functional block diagram of frequency division analyzer is as shown in Figure 1, working principle is as follows:CPU is by digital audio protocol parameter and digital audio-frequency data It is written in the corresponding register of pro digital audio encoding chip, enabling signal output function.The digital sound of coding chip output The fixed level that logic level generation circuit generates is applied in digital signal by frequency signal through level selection circuit, is realized not Coding with logic level different digital audio protocols exports.
Resolution circuitry complexity occurs for universal audio analyzer digital audio and video signals, needs to design special logic level and generates Circuit;Digital audio standards are single, and every kind of digital audio standards are both needed to special coding chip and realize that digital audio and video signals generate; Flexibility is poor, can only export several typical logic level such as+5V ,+3.3V ,+2.5V ,+1.8V and+1.2V, receives in test It is only capable of providing the qualitative index of typical logic level when apparatus logic level compatibility, it is simultaneous that specific logic level can not be provided The quantizating index of capacitive.
Summary of the invention
The purpose of the present invention is to overcome above-mentioned the deficiencies in the prior art, provide a kind of customized multi-protocols number sound of level Frequency signal generating system and method.
To achieve the above object, the present invention adopts the following technical solutions:
A kind of customized multi-protocols digital audio and video signals generating system of level, including host computer, FPGA, digital analog converter, The host computer is connect with FPGA, and the FPGA is connect with digital analog converter;
The FPGA includes state code memory, waveform generating module, amplitude adjusting module, data coding module, clock Frequency division module and agreement output module;
The state code memory is inputted with host computer and is connected, for storing the status code in digital audio encoding;
The waveform generating module, for generating Wave data;
The data coding module, status code and waveform generating module for storing state code memory generate waveform Data carry out protocol code;
The clock frequency division module, for bit clock needed for generating agreement output module;
The amplitude adjusting module, the data for generating to data coding module carry out amplitude adjustment, are stored in interim It is stored in RAM memory;
The agreement output module successively adjusts amplitude under the driving for the bit clock that clock frequency division module provides Data afterwards are transmitted to digital analog converter.
Preferably, the signal conditioning circuit includes gain adjustment circuit and single-ended difference switching circuit;
The gain adjustment circuit, the signal level for the output of logarithm mode converter carry out gain adjustment, make output electricity The flat range for meeting 0~5V;
The single-ended difference switching circuit meets different audio protocols for switching the transmission mode of output audio signal The requirement of standard.
Preferably, the digital analog converter uses high precision digital-to-analog converter.
Based on the method for the customized multi-protocols digital audio and video signals generating system of level, include the following steps:
Step 1 selects the consensus standard of digital audio and video signals in upper computer software set interface, and host computer is according to choosing Corresponding digital audio protocol encoded program code is passed through FPGA dynamically load interface circuit by fixed consensus standard;
Step 2, upper computer software set interface to each channel status code of each frame in digital audio consensus standard into Row configuration, and configuration information is sent in the state code memory of FPGA and is stored, wherein frame is with channel status code sum number The data flow of word audio waveform data, digital audio protocol standard define the number and structure of frame in a data flow, each The length and format of channel status code position in each frame and digital audio-frequency data.
Step 3, the inside FPGA carry out digital audio protocol encoding setting, are successively read from state code memory each The channel status code of frame, and the Wave data generated with waveform generating module is combined coding, obtains digital audio encoding number According to stream;
Step 4, the logic level that FPGA is set according to host computer carry out amplitude adjustment to digital audio encoded data stream And be stored in interim RAM memory, under the bit clock driving of clock division circuits output, output to digital analog converter In;
Step 5, digital analog converter receives amplitude digital audio data stream adjusted, and carries out digital-to-analogue conversion, defeated Single-ended out or differential digital audio signal waveform, and export to signal conditioning circuit;
Step 6, signal conditioning circuit receive single-ended perhaps differential digital audio signal waveform and to single-ended or difference Digital audio and video signals waveform carries out shaping filter, and output meets the digital audio and video signals of digital audio and video signals consensus standard.
Preferably, in the step 2, the configuration information includes each status code in each channel of each frame.
Preferably, in the step 2, the consensus standard of the digital audio and video signals includes AES/EBU or S/PDIF general The digital audio protocol of digital audio protocol and other standards.
Preferably, in the step 4, FPGA carries out amplitude adjustment to digital audio data stream using amplitude calibration algorithm.
The beneficial effects of the invention are as follows:
1. the present invention uses high precision digital-to-analog converter chip, output voltage linearly spends, and precision is high, it may be implemented 0~+ Any logic level between 5V voltage;
2. the continuous output of 0~+5V voltage may be implemented in the present invention, therefore can provide and be devices under to logic level Compatibility, the maximum value and minimum of the maximum value for obtaining logic high and minimum value and logic low can be tested The quantizating index of the parameters such as value, may be implemented quantitative analysis.
Detailed description of the invention
Fig. 1 is universal audio analyzer digital audio and video signals occurring principle block diagram;
Fig. 2 is the customized multi-protocols digital audio and video signals generating system functional block diagram of level;
Fig. 3 is FPGA internal circuit block diagram.
Specific embodiment
Present invention will be further explained below with reference to the attached drawings and examples.
As shown in Fig. 2, a kind of customized multi-protocols digital audio and video signals generating system of level, including host computer, FPGA, number Mode converter, the host computer are connect with FPGA, and the FPGA is connect with digital analog converter;
As shown in figure 3, the FPGA includes state code memory, waveform generating module, amplitude adjusting module, data encoding Module, clock frequency division module and agreement output module;
The state code memory is inputted with host computer and is connected, for storing the status code in digital audio encoding;
The waveform generating module, for generating Wave data;
The data coding module, status code and waveform generating module for storing state code memory generate waveform Data carry out protocol code;
The clock frequency division module, for bit clock needed for generating agreement output module;
The amplitude adjusting module, the data for generating to data coding module carry out amplitude adjustment, are stored in interim It is stored in RAM memory;
The agreement output module successively adjusts amplitude under the driving for the bit clock that clock frequency division module provides Data afterwards are transmitted to digital analog converter.
Preferably, the signal conditioning circuit includes gain adjustment circuit and single-ended difference switching circuit;
The gain adjustment circuit, the signal level for the output of logarithm mode converter carry out gain adjustment, make output electricity The flat range for meeting 0~5V;
The single-ended difference switching circuit meets different audio protocols for switching the transmission mode of output audio signal The requirement of standard.
Preferably, the digital analog converter uses high precision digital-to-analog converter.
Based on the method for the customized multi-protocols digital audio and video signals generating system of level, include the following steps:
Step 1 selects the consensus standard of digital audio and video signals in upper computer software set interface, and host computer is according to choosing Corresponding digital audio protocol encoded program code is passed through FPGA dynamically load interface circuit by fixed consensus standard;
Configuration information is arranged to digital audio consensus standard in step 2, upper computer software set interface, and by configuration information It is sent in the state code memory of FPGA and stores;
Step 3, the inside FPGA carry out digital audio protocol encoding setting, are successively read from state code memory each The channel status code of frame, and the Wave data generated with waveform generating module is combined coding, obtains digital audio encoding number According to stream;
Step 4, the logic level that FPGA is set according to host computer carry out amplitude adjustment to digital audio encoded data stream And be stored in interim RAM memory, under the bit clock driving of clock division circuits output, output to digital analog converter In;
Step 5, digital analog converter receives amplitude digital audio data stream adjusted, and carries out digital-to-analogue conversion, defeated Single-ended out or differential digital audio signal waveform, and export to signal conditioning circuit;
Step 6, signal conditioning circuit receive single-ended perhaps differential digital audio signal waveform and to single-ended or difference Digital audio and video signals waveform carries out shaping filter, and output meets the digital audio and video signals of digital audio and video signals consensus standard.
Preferably, in the step 2, the configuration information includes each status code in each channel of each frame.
Preferably, in the step 2, the consensus standard of the digital audio and video signals includes AES/EBU or S/PDIF general The digital audio protocol of digital audio protocol and other standards.
Preferably, in the step 4, FPGA carries out amplitude adjustment to digital audio data stream using amplitude calibration algorithm.
The amplitude calibration algorithm is specially:First according to the output logic level and gain adjustment circuit of setting to output Signal carries out segmentation calibration, then compares the difference between setting voltage and the actual output voltage of multimeter measurement, calculates Amplitude regulation coefficient and bias store it in onboard EEPROM;It need to be patrolled according to the output of setting when carry out amplitude adjustment It collects level and calls the regulation coefficient stored in EEPROM and amount of bias, i.e., exportable accurate logic level.
The present invention uses high precision digital-to-analog converter chip, and output voltage is linearly spent, and precision is high, and 0~+5V may be implemented Any logic level between voltage.
Scheme occurs for universal audio analyzer digital audio only with several typical logic level such as+5V ,+3.3V ,+2.5V Output signal.During the test, user only can judge to be devices under whether be compatible under these types of logic level, can It identifies the logic level, is then judged as compatible, be otherwise judged as incompatible, it only can be with qualitative analysis.
The continuous output of 0~+5V voltage may be implemented in the present invention, therefore can provide and be devices under to logic level Compatibility can test the maximum value and minimum value of the maximum value for obtaining logic high and minimum value and logic low Etc. parameters quantizating index, quantitative analysis may be implemented.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (6)

1. a kind of customized multi-protocols digital audio and video signals generating system of level, characterized in that including host computer, FPGA, number Analog converter, the host computer are connect with FPGA, and the FPGA is connect with digital analog converter;
The FPGA includes state code memory, waveform generating module, amplitude adjusting module, data coding module, clock division Module and agreement output module;
The state code memory is inputted with host computer and is connected, for storing the status code in digital audio encoding;
The waveform generating module, for generating Wave data;
The data coding module, status code and waveform generating module for storing state code memory generate Wave data Carry out protocol code;
The clock frequency division module, for bit clock needed for generating agreement output module;
The amplitude adjusting module, the data for generating to data coding module carry out amplitude adjustment, are stored in interim RAM and deposit It is stored in reservoir;
The agreement output module, it is successively that amplitude is adjusted under the driving for the bit clock that clock frequency division module provides Data are transmitted to digital analog converter;
A kind of customized multi-protocols digital audio and video signals generating system of level further includes signal conditioning circuit;The signal condition electricity Road includes gain adjustment circuit and single-ended difference switching circuit;
The gain adjustment circuit, the signal level for exporting to the digital analog converter carry out gain adjustment;
The single-ended difference switching circuit, for switching the transmission mode of output audio signal.
2. the customized multi-protocols digital audio and video signals generating system of level as described in claim 1, characterized in that the number Analog converter uses high-precision digital-to-analog converter.
3. the customized multi-protocols digital audio and video signals method for generation of level based on any system of claim 1 to 2, special Sign is to include the following steps:
Step 1, in upper computer software set interface select digital audio and video signals consensus standard, host computer according to select Corresponding digital audio protocol encoded program code is passed through FPGA dynamically load interface circuit by consensus standard;
Step 2, configuration information is arranged to digital audio consensus standard in upper computer software set interface, and configuration information is sent It is stored into the state code memory of FPGA;
Step 3, the inside FPGA carry out digital audio protocol encoding setting, each frame are successively read from state code memory Channel status code, and the Wave data generated with waveform generating module is combined coding, obtains encoded digital audio data stream;
Step 4, the logic level that FPGA is set according to host computer carry out amplitude adjustment to digital audio encoded data stream and deposit Storage under the bit clock driving of clock division circuits output, is exported into digital analog converter in interim RAM memory;
Step 5, digital analog converter receives amplitude digital audio data stream adjusted, and carries out digital-to-analogue conversion, and output is single End or differential digital audio signal waveform, and export to signal conditioning circuit;
Step 6, signal conditioning circuit receive single-ended perhaps differential digital audio signal waveform and to single-ended or differential digitals Audio signal waveform carries out shaping filter, and output meets the digital audio and video signals of digital audio and video signals consensus standard.
4. the customized multi-protocols digital audio and video signals method for generation of level as claimed in claim 3, characterized in that the step In two, the configuration information includes each status code in each channel of each frame.
5. the customized multi-protocols digital audio and video signals method for generation of level as claimed in claim 3, characterized in that the step In two, the consensus standard of the digital audio and video signals includes AES/EBU or S/PDIF general digital audio protocols.
6. the customized multi-protocols digital audio and video signals method for generation of level as claimed in claim 3, characterized in that the step In four, FPGA carries out amplitude adjustment to digital audio data stream using amplitude calibration algorithm.
CN201610696718.8A 2016-08-17 2016-08-17 A kind of customized multi-protocols digital audio and video signals generating system of level and method Expired - Fee Related CN106301343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610696718.8A CN106301343B (en) 2016-08-17 2016-08-17 A kind of customized multi-protocols digital audio and video signals generating system of level and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610696718.8A CN106301343B (en) 2016-08-17 2016-08-17 A kind of customized multi-protocols digital audio and video signals generating system of level and method

Publications (2)

Publication Number Publication Date
CN106301343A CN106301343A (en) 2017-01-04
CN106301343B true CN106301343B (en) 2018-11-20

Family

ID=57662353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610696718.8A Expired - Fee Related CN106301343B (en) 2016-08-17 2016-08-17 A kind of customized multi-protocols digital audio and video signals generating system of level and method

Country Status (1)

Country Link
CN (1) CN106301343B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104163B (en) * 2018-09-30 2020-10-27 深圳市始足知识产权服务有限公司 Bridge project management system based on Internet of things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101592707A (en) * 2009-07-08 2009-12-02 天津渤海易安泰电子半导体测试有限公司 Analog and digital mixed signal chip test card
CN105116183A (en) * 2015-08-24 2015-12-02 中国科学院微电子研究所 Multichannel waveform signal generator
CN105259442A (en) * 2015-10-30 2016-01-20 江苏省电力公司电力科学研究院 UPFC control protection system testing device and method with isochronous transmission function on the basis of multiple protocols

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005127765A (en) * 2003-10-22 2005-05-19 Toshiba Corp Semiconductor test module and test method of semiconductor device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101592707A (en) * 2009-07-08 2009-12-02 天津渤海易安泰电子半导体测试有限公司 Analog and digital mixed signal chip test card
CN105116183A (en) * 2015-08-24 2015-12-02 中国科学院微电子研究所 Multichannel waveform signal generator
CN105259442A (en) * 2015-10-30 2016-01-20 江苏省电力公司电力科学研究院 UPFC control protection system testing device and method with isochronous transmission function on the basis of multiple protocols

Also Published As

Publication number Publication date
CN106301343A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN107390109A (en) The automatically testing platform and its Software Architecture Design method of high-speed ADC chip
CN110018682B (en) Automatic calibration system and method for analog input module of nuclear safety level DCS
CN103324132A (en) Multichannel dynamic signal acquisition card based on PXI bus
CN104316737A (en) FPGA-based offset adjustable waveform generation circuit and FPGA-based offset adjustable waveform generation method
CN109307806A (en) A kind of standard signal source of high accuracy
CN116208155B (en) High-speed high-precision ADC chip mass production test system and test method
CN107181300A (en) Charge protector, the method and apparatus for calibrating charging equipment
CN110208687A (en) A kind of debugging system and method for analog circuit parameters calibration
CN106301343B (en) A kind of customized multi-protocols digital audio and video signals generating system of level and method
CN106839963A (en) A kind of bus deformeters of AXIe 0 and strain testing method
CN103901243A (en) High-trigger-accuracy oscilloscope
CN203054048U (en) Touch and portable-type digital storage oscilloscope based on NIOS II platform
CN100584278C (en) Device for testing the compatibility of front end amplification channel of ultrasonic diagnostic device
CN203881815U (en) Simple high-precision DC electronic load
CN107656572B (en) Multi-path adjustable voltage source realized by digital-to-analog converter and control method thereof
CN203422642U (en) Multichannel dynamic signal acquisition card based on PXI bus
CN205787055U (en) A kind of electric voltage exception fluctuation monitoring and recording instrument
CN212969589U (en) Wide band function signal generator with continuously adjustable amplitude
CN204131478U (en) Based on the DDS signal generator of FPGA
CN106162485B (en) Earphone impedance detection system, method and portable electronic device
CN221302776U (en) Whole vehicle signal recording system of electric vehicle
CN209992882U (en) Output voltage adjustable power control circuit
CN207601127U (en) A kind of oscilloprobe and oscillograph
CN207541221U (en) Use USB and the JTAG control devices of tool voltage adjustable function
CN201417179Y (en) Low-noise numerical control bias voltage generating circuit for infrared imaging detector

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181120