Summary of the invention
In order to overcome the deficiency of above-mentioned prior art structure, solve the existing broadcast system problem that the analog audio-video signal is subject to disturb in train primary transmission process.The invention provides a kind of digital broadcasting system on train and implementation method.
The technical scheme that technical solution problem of the present invention is adopted is: a kind of implementation method of digital broadcasting system on train, the major technique means that adopt are digitlization encoding and decoding of analog audio-video signal, and by the digitized signal after the transfer encoding of train Ethernet, again with the terminal in the digital signal decoding rear drive compartment, to realize the broadcast capability of train audio-video signal.
A kind of implementation method of digital broadcasting system on train contains following steps;
Audio/video coder in step 1, the system host is sampled to the analog audio-video signal of input by the DM355 chip, and encode according to the parameter that sets in advance, the MPEG4 data after will compressing by data-interface are then delivered to ARM central processing unit (CPU);
Step 2, CPU are sent on the Ethernet after data are encapsulated on request after receiving data;
The CPU of the video and audio coding in step 3, the Vehicle Interface Unit accepts MPEG4 packet on the network by network interface, and convert thereof into the discernible data format of DM355 chip and send DM355 to by data-interface, convert the audio-video signal of simulation after decoding by it to, and by peripheral circuit output and driving terminal equipment, as display, loud speaker etc.
A kind of digital broadcasting system on train comprises control panel, broadcast system main frame, Vehicle Interface Unit, and all devices are connected to Ethernet and constitute digital broadcasting system on train; It is characterized in that:
Control panel comprises master control borad, LCDs and control button, is used to send control command, and the operating state of supervisory control system;
The broadcast system main frame includes power module, audio frequency and video digital coding module and network exchange module; Wherein, the audio/video coding module is sent on the Ethernet through network exchange module after the audio-video signal of simulating is carried out digital coding;
The broadcast system main frame is made up of four units:
(1) power module provides power supply for MSS media play main computer unit, audio frequency and video digital coding module, network exchange module;
(2) the high-quality audio-video signal of MSS media play main computer unit output;
(3) audio frequency and video digital coding module is encoded to the high-quality audio frequency and video output signal of MSS media play main computer unit transmission;
(4) the audio frequency and video digital signal behind the network exchange module received code is input to Ethernet with the audio frequency and video digital signal behind the coding;
Power module connection MSS media play main computer unit, audio frequency and video digital coding module, network exchange module provide power supply; MSS media play main computer unit is directly inputted to audio frequency and video digital coding module with audio-video signal encodes, and the audio frequency and video digital signal behind the coding is input to network exchange module again, is input on the Ethernet by network exchange module;
Vehicle Interface Unit includes power module, digitlization audio/video decoding module, digitlization audio/video decoding module receives the digitlization audio-video signal from Ethernet, decoding also converts on the audio-video terminal that is played to behind the analog audio-video signal in the compartment, for full train provides the audio-video-frequency broadcast function, the audio frequency and video quality is greatly improved.
Vehicle Interface Unit contains with lower unit:
(1) power module provides power supply for digitlization audio/video decoding module, network exchange module and AMP power amplifier;
(2) network exchange module receives the audio frequency and video digital data transmission and gives digitlization audio/video decoding module;
(3) digitlization audio/video decoding module is decoded the audio-video signal that receives;
(4) the AMP power amplifier amplifies decoded signal and directly outputs to terminal;
Power module connects digitlization audio/video decoding module, network exchange module provides power supply; Audio-video signal on the Ethernet is input on the digitlization audio/video decoding module through network exchange module, and decoded audio-video signal directly outputs to terminal.
Beneficial effect of the present invention is specific as follows: the audio frequency and video digital signal after the digital coding, transmit on Ethernet through network exchange module, can effectively avoid the interference of transmission line and environment, the assurance signal is decoded reliably at receiving terminal and is reduced into analog signal, drive the audio-video terminal equipment in the compartment, as LCD display and loud speaker etc.
The signal quality of audio frequency and video of the present invention obtains strengthening and promotes, and vision signal can reach the image resolution ratio (image quality that is equivalent to DVD) of 720*576, far above the present signal quality of the analog audio-video of existing broadcast system ON TRAINS.
Embodiment
Embodiment 1: as shown in Figure 1,
The ARM central processing unit cooperates the NANDFLASH, random access memory ram of FLASH memory, the serial bus port of the parallel bus port memory cell as central processing unit.
For the needs of controlling, central processing unit is drawn the input and output port of digital quantity simultaneously, and input port is connected through the switching value input signal of light lotus root and outside, and output port then drives relay and finishes control to the outside.When this equipment was used for the image encoding apparatus of video monitoring system, the alarm signal that these ports some wherein can be used as video monitoring system inserted and exports and use.
Because digital signal need be by the Ethernet transmission, so central processing unit also provides the Ethernet port, and CPU provides the application of Ethernet MAC end, only need provide the application of PHY to get final product in the periphery.Equipment can be supported the application model of 10/100M.
Serial port is that the standard port of CPU is used for and the external equipment communication.
Use the DM355 codec chip as DAC and ADC equipment master chip, use the MIPS bus mode to connect between these two chips.
In the periphery of codec chip, the signalization modulate circuit comprises the modulate circuit of video and audio frequency, makes signal satisfy the input requirement.
The DM355 chip needs to connect random asccess memory simultaneously, is used for Signal Processing.
Central processing unit and codec chip all need to be provided with a standard time clock, for equipment provides clock standard.A kind of implementation method of digital broadcasting system on train contains following steps;
Audio/video coder in step 1, the system host, video acquisition module is changed by the BT656 form the analog video signal of input, and the signal clock frequency after the conversion is 24.576MHz; The audio collection module is sampled by 16KHz to the simulated audio signal of input.After signal sends to chip DM355, respectively by H.264 or MPEG4 form and MPEG1 form carry out compressed encoding, and then the data after will compressing by data-interface are delivered to central processing unit (CPU);
Behind step 2, the CPU audio, video data after receiving compression,,, data are carried out being sent on the Ethernet after the encapsulation process as speed, bandwidth, frame per second etc. by the requirement of Network Transmission;
The CPU of the video and audio coding in step 3, the Vehicle Interface Unit receives the audio, video data bag that compresses on the network by network interface, and by the encapsulation form unpack, with wherein by H.264 or the audio, video data of MPEG4 form and MPEG1 form coding send DM355 to by data-interface and decode, and convert the audio-video signal of simulation to, and by peripheral circuit output and driving terminal equipment, as display, loud speaker etc.
Embodiment 2: a kind of implementation method of digital broadcasting system on train, contain following steps;
Step 1, playing audio/video are exported audio-video signal to the audio/video coding unit by cable;
The video acquisition module of step 2, audio/video decoding unit is changed by the BT656 form the analog video signal of input, and clock frequency is 24.576MHz; The audio collection module is sampled by 16KHz to the simulated audio signal of input.After signal after the conversion sends to chip DM355, respectively by H.264 or MPEG4 form and MPEG1 form carry out compressed encoding, and then the data after will compressing by data-interface are delivered to central processing unit (CPU);
Behind step 3, the CPU audio, video data after receiving compression,,, data are carried out being sent on the Ethernet by Ethernet interface after the encapsulation process as speed, bandwidth, frame per second etc. by the requirement of Network Transmission;
The CPU of step 4, video and audio coding receives the audio, video data bag that compresses on the network by network interface, and by the encapsulation form unpack, with wherein by H.264 or the audio, video data of MPEG4 form and MPEG1 form coding send DM355 to by data-interface and decode;
After step 5, DM355 decoded to data, the control peripheral chip was separately converted to corresponding audio frequency and video analog signal with the data that obtain, and outputs to peripheral terminal (display and loud speaker).
Embodiment 3:
The theory diagram of digital broadcasting system on train as shown in Figure 2; Control panel 4 in drivers' cab 1 system and device connects host apparatus PCU 5; Host apparatus PCU 5 is connected with Vehicle Interface Unit 6 in the compartment 2 by Ethernet 3; Vehicle Interface Unit 6 connects loud speaker 7, LCD display 8.Vehicle Interface Unit 6 is connected with another Vehicle Interface Unit 6 in another compartment 2, connects next compartment 2 in this way, at another end drivers' cab 1 of train identical system and device is arranged.
The overall framework of video and audio coding is made up of audio/video encoding/decoding chip DM355, arm processor and peripheral function chip.
DM355 is responsible for controlling peripheral chip the audio frequency and video of input is sampled, and according to H.264 or MPEG4 form and MPEG1 form encode, the MPEG4 data after will compressing by data-interface are then delivered to ARM central processing unit (CPU).
The ARM central processing unit is sent on the Ethernet after being responsible for data are encapsulated on request after receiving data.
Simultaneously, the CPU of video and audio coding also accepts the MPEG4 packet on the automatic network, and convert thereof into the discernible data format of DM355 and send DM355 to by data-interface, after decoding by it, the control peripheral chip is separately converted to corresponding audio frequency and video analog signal with the data that obtain, and outputs to the peripheral port driving display.
In the scheme, the ARM central processing unit is except finishing above-mentioned functions, and initialization, the dynamic-configuration that also will finish DM355 reach the control to real-time clock, RS232/485 communication interface, exterior I/O, functions such as IP address setting.
Embodiment 4:
Shown in Fig. 2,3,4,5 and 6, a kind of digital broadcasting system on train comprises control panel, broadcast system main frame, Vehicle Interface Unit, and all devices are connected to Ethernet and constitute digital broadcasting system on train.
Control panel comprises master control borad, LCDs and control button, is used for system is sent control command, and the operating state of supervisory control system.
The broadcast system main frame includes power module, audio frequency and video digital coding module and network exchange module.Wherein, the audio/video coding module is sent on the Ethernet through network exchange module after the audio-video signal of simulating is carried out digital coding.
The broadcast system main frame is made up of four units:
(1) the PWR power supply unit provides power supply for MSS, ENC, NIU;
(2) the high-quality audio-video signal of MSS media play main computer unit output;
(3) encode to the high-quality audio frequency and video output signal of MSS media play main computer unit transmission in ENC audio/video coding unit;
(4) the audio frequency and video digital signal behind the NIU network exchange module received code is input to Ethernet with the audio frequency and video digital signal behind the coding.
PWR power supply unit connection MSS media play main computer unit, ENC audio/video coding unit, network exchange module NIU provide power supply; MSS media play main computer unit is directly inputted to ENC audio/video coding unit with audio-video signal encodes, and the audio frequency and video digital signal behind the coding is input to the NIU network exchange module again, is input on the Ethernet by the NIU network exchange module.
Vehicle Interface Unit includes power module, digitlization audio/video decoding module, and digitlization audio/video decoding module receives the digitlization audio-video signal from Ethernet, decodes and converts on the audio-video terminal that is played to behind the analog audio-video signal in the compartment
Vehicle Interface Unit contains with lower unit:
(5) the PWR power supply unit provides power supply for DCD audio/video decoding unit, network exchange module NIU;
(6) the NIU network exchange module receives the audio frequency and video digital data transmission and gives DCD audio/video decoding unit;
(7) audio-video signal that receives is decoded in DCD audio/video decoding unit;
(8) the AMP power amplifier amplifies decoded signal and directly outputs to terminal.
The PWR power supply unit connects DCD audio/video decoding unit, the NIU network exchange module provides power supply.Audio-video signal on the Ethernet is input on the DCD audio/video decoding unit through the NIU network exchange module, and decoded audio-video signal directly outputs to terminal.