Summary of the invention
In view of the foregoing, the purpose of this utility model provides and a kind ofly uses and test all very easily and have compatible external hanging type, have the call voice device of USB interface.
For achieving the above object, the utility model by the following technical solutions: a kind of call voice device that has USB interface, it mainly is made of housing and the control circuit board that is built in the housing;
Control circuit board mainly comprises codec chip, voice signal exchange chip, digital signal processing chip and the microprocessor that links to each other with switch;
The voice signal input of codec chip links to each other with the audio signal output end of switch or phone, and its digital signal output end links to each other with the voice channel ST0 of digital signal exchange chip; The voice channel ST1 of digital signal exchange chip links to each other with the multichannel buffered serial port MCBSP0 of microprocessor, and in addition, voice channel ST2, the ST3 of digital signal exchange chip also links to each other with the multichannel buffered serial port MCBSP0 of digital signal processing chip 5409; Digital signal processing chip 5409 links to each other with address bus, data/address bus and the control bus of microprocessor by host interface HPI; The address of microprocessor also links to each other with data/address bus with the address of digital signal exchange chip with data/address bus; Microprocessor chip carries out exchanges data by USB interface and computer USB mouth.
Described control circuit also is provided with programmable logic chip, the address bus of described microprocessor chip, data/address bus, control line link to each other with address bus, data/address bus, the control line of programmable logic chip, and microprocessor chip is stored in the running of program control numeral exchange chip in the CPLD and digital signal processing chip and the transfer of data between them and communicates by letter by execution.
Described housing is made up of forward and backward two parts, and forward and backward housing by screw together; Control circuit board is fixed on the procapsid, and the E1 interface is arranged on the procapsid, and power interface, mains switch, USB interface and real time bus interface of being used for cascade between device etc. are arranged on back casing.
Because the utility model control circuit board adopts above structural design, so equipment of the utility model can be finished eight lines in the market, the repertoire of 16 line sound cards.And the utility model control circuit board carries usb interface module, can directly link to each other with USB interface of computer to carry out exchanges data, and it is convenient to install, use, debug, and does not have the interface compatibility problem.In addition, consider that a computer can carry the situation of a plurality of call voice devices, also design can be for the real time bus interface of cascade between the multiple arrangement on the utility model control circuit board, and its heap(ed) capacity can reach 128 passages.
Embodiment
As shown in Figure 1 and Figure 2, the utility model call voice device of having a USB interface mainly is made of housing 1 and the control circuit board 2 that is built in the housing 1.
As shown in Figure 1, control circuit board 2 mainly comprises codec chip PCMCODEC (model TP3067), voice signal exchange chip MT8980, digital signal processing chip DSP 5409A, DSP5409B, microprocessor TMS320C5509 and the programmable logic chip FPGA (model A54SX08A-144) that links to each other with switch.
Codec chip PCM CODEC major function is that to convert the voice analog signal on the telephone wire to digital signal be serial bit stream signal, and be transferred to digital signal exchange chip MT8980, perhaps, the digital signal that digital signal exchange chip MT8980 is transmitted converts the voice analog signal on the telephone wire to; Numeral exchange chip MT8980 mainly finishes digital signal is distributed to digital signal processing chip DSP 5409; Digital signal processing chip DSP 5409 is mainly finished functions such as the analysis, FSK demodulation, videoconference, fax transmitting-receiving of receiving and transmitting voice signal; Microprocessor chip TMS320C5509 carries USB interface, and microprocessor chip carries out exchanges data by built-in USB interface and computer; Storing control program among the programmable logic chip FPGA, microprocessor is as the core of system, by carrying out the program among the FPGA, control, coordinate the running of digital exchange chip MT8980 and digital signal processing chip DSP 5409, and the transfer of data between them with communicate by letter.
In order to realize the cascade between each voice device, every control circuit board 2 has also designed external interface.Digital signal among the digital signal exchange chip MT8980 in each voice device is serially connected.
As shown in Figure 1, the annexation of control circuit board 2 each part is as follows:
The voice signal input of codec chip PCM CODEC links to each other with the audio signal output end of switch or phone, and its digital signal output end links to each other with the voice channel ST0 of digital signal exchange chip MT8980; The voice channel ST1 of digital signal exchange chip MT8980 links to each other with the multichannel buffered serial port MCBSP0 of microprocessor 5509, in addition, voice channel ST2, the ST3 of digital signal exchange chip MT8980 also link to each other with the multichannel buffered serial port MCBSP0 of digital signal processing chip 5409; Digital signal processing chip 5409 links to each other with address bus, data/address bus and the control bus of microprocessor 5509 by host interface HPI; The address of microprocessor 5509 links to each other with data/address bus with the address of data/address bus with programmable logic chip FPGA, digital signal exchange chip MT8980; Microprocessor 5509 carries out exchanges data by USB interface and the outer computer that carries.
Fig. 3 is the concrete annexation figure of each pin of socket that links to each other with codec chip PCM CODEC.The utility model has been selected 16 block coding/decoding chip PCM CODEC for use, can external No. 16 telephone exchanges.As shown in the figure, the TR_x of every PCM CODEC chip, TT_x (x be 16 road telephony interfaces number 0~15) pin is connected with the voice signal output of switch or telephone set; The DX of PCM CODEC, the STI0 of DR pin and MT8980, the STO0 pin links to each other.
Fig. 4 is the concrete annexation figure of digital exchange chip 8980 each pin.As shown in the figure, the STI0 of digital exchange chip MT8980, the DX of STO0 and PCM CODEC, the DR pin links to each other, and receives the local serial code stream after PCMCODEC changes; The MT8980 chip passes through STI2, STO2, STI3, the STO3 pin links to each other with BDX0, BDR0, the BDX0 of DSP5409B, the BDR0 pin of digital signal processing chip DSP 5409A, the code stream that receives is distributed to digital signal processing chip DSP 5409A and DSP5409B handles.The MT8980 chip passes through D0~D7, A0~A5, and R/W, CS, MD0~MD7 of DTA pin and programmable logic chip FPGA (model A54SX08A-208), MA0~MA5MW/R, MCS, MDAT pin link to each other and carry out exchanges data.
Fig. 5 is the concrete annexation figure of digital signal processing chip 5409 each pin.As shown in the figure, in order to accelerate the processing speed of digital signal, the utility model has been selected two digital signal processing chip DSP 5409A, DSP5409B for use.The STI2 of the BDX0 of the BDX0 of digital signal processing chip DSP 5409A, BDR0, DSP5409B, BDR0 pin and MT8980, STO2, STI3, the STO3 pin links to each other, and receives signal bit stream; The host interface HDS1 of DSP5409, HDS2, HCS, HBIL, HCNTL1, HCNTL0, HD0~HD7 pin links to each other with DSP5509.
The concrete annexation of each pin of microprocessor chip DSP5509 as shown in Figure 4, the multichannel buffered serial port MCBSP0 of DSP5509 links to each other with 8990 voice channel ST1 by programmable logic chip FPGA.Control line AWE, the ARE of DSP5509, CE1, CE2, A0~A2, D0~D7 pin links to each other with DSP5409; A7~A0 of DSP5509, D7~D0, C0, C2 pin link to each other with FPGA; The USB interface PU of microprocessor DSP5509, DP, DN pin link to each other with the computer USB interface, carry out exchanges data.
Fig. 6 is the concrete annexation figure of each pin of programmable logic chip FPGA (model A54SX08A-144).A7~A0 of FPGA, D7~D0, AWE, A7~A0 of ARE pin and microprocessor DSP5509, D7~D0, C2, the C0 pin links to each other; MD0~MD7 of FPGA, MA0~MA5, MW/R, MCS, D0~D7 of MDAT pin and MT8980, A0~A5, R/W, CS, the DTA pin links to each other.
Fig. 7 is for realizing the ST-BUS bus interface line chart of equipment room cascade.As shown in the figure, control circuit board 2 is provided with subtending port J3, J4.The EXT_FRM of subtending port J3, J4, EXT_MCLK, 8980_Sto4,8980_Sto5,8980_STo6, the 8980_Sto7 line links together these seven lines of each device one to one with identical seven lines of another device.
Because the utility model control circuit board adopts above structural design, so equipment of the utility model can be finished eight lines in the market, the repertoire of 16 line sound cards.And the utility model control circuit board carries usb interface module, can directly link to each other with USB interface of computer to carry out exchanges data, and it is convenient to install, use, debug, and does not have the interface compatibility problem.In addition, consider that a computer can carry the situation of a plurality of call voice devices, also design can be for the real time bus interface of cascade between the multiple arrangement on the utility model control circuit board, and its heap(ed) capacity can reach 128 passages.
As shown in Figure 2, the utility model is considered the convenience of use, dismounting and cascade from structure, housing 1 is designed to forward and backward two parts, and circuit board 2 is fixed on the procapsid 11, and back casing 12 can be pushed to easily with procapsid 11 and pass through screw together.Telephone line interface design is on procapsid 11, and power interface, mains switch, USB interface and the designs such as real time bus interface that are used for cascade between device are at back casing 12.The power interface of design on back casing 12 also reserved a subtending port, and a plurality of like this voice devices can a shared power supply.
The above only is preferred embodiment of the present utility model, and protection range of the present utility model is not limited thereto.Anyly all belong within the utility model protection range based on the equivalent transformation on the technical solutions of the utility model.