Based on broadband wireless multiple spot image and voice transmission method and the system thereof of 2.4G
Technical field
The present invention relates to the transmission technology in radio communication, more particularly, relate to a kind of low-power consumption based on 2.4G remote broadband wireless high definition multiple spot image and voice transmission method and system thereof.
Background technology
In order to realize the control of industrialization, home automation and building automatic, people are freed from wired communication, wired for target to replace, the short-distance wireless communication technology standard being applicable to the radio area network of individual obtains development fast fast.When people enjoy conveniently, the Electro Magnetic Compatibility of these technology is day by day obvious.In several wireless mode, what wherein occur the earliest is infrared radio, but the effective receiving range of infrared radio is short, and cannot support multi-faceted transmission, and power consumption is large, poor anti jamming capability.Next just occurred 27MHz radio frequency, shortcoming is that receiving range is short, and transmission rate is lower, and antijamming capability is general, can only carry out one way signal transmission, easily occur the phenomenon that signal interruption and radio band interfere with each other.On 27MHz wireless radiofrequency basis, developed again frequency modulation radio, the same price is relatively cheap, and transmission range is longer, can comprehensive Received signal strength, and antijamming capability is higher, only supports one way signal transmission.And Bluetooth technology has absolute predominance in transmission range, speed etc., but the high request in microprocessor and the agreement usage license, a whole set of products price is remained high always, and concerning what be still difficult to most domestic consumer bear, power consumption is also more severe.In sum, there is the problems such as power consumption is large, transmission range is short, definition is not high, unicast in existing wireless system.
Summary of the invention
For the defect existed in prior art, the object of this invention is to provide a kind of broadband wireless multiple spot image and voice transmission method based on 2.4G and system thereof.
For achieving the above object, the present invention adopts following technical scheme:
According to an aspect of the present invention, provide a kind of broadband wireless multiple spot image and voice transmission method based on 2.4G, the concrete steps of this broadband wireless multiple spot image and voice transmission method are:
A. after the audio-visual Analog Baseband data collected are carried out A/D conversion by transmitting terminal, convert the road audio-visual digital baseband data of flank speed below 4M bps the audio-visual digital baseband data of two-way flank speed below 2M bps to, and sent to receiving terminal by the audio-visual digital band pass data of corresponding antenna by less than 2M bps;
B. receiving terminal carries out D/A after audio-visual for the two-way of each transmitting terminal digital band pass data are merged into an audio-visual digital baseband data in road and is converted to audio-visual Analog Baseband data, then is sent to computer receiving system by USB interface;
Wherein, the receiving terminal in described step B and 1-6 transmitting terminal in steps A realize both-way communication.
The concrete steps of described steps A are:
The audio-visual Analog Baseband data collected are transferred to MCU by USART interface and send in control module by the audio-visual analog data acquisition module A1. in each transmitting terminal;
A2.MCU sends after control module receives audio-visual Analog Baseband data and carries out A/D conversion, convert to after audio-visual digital baseband data by serial/parallel conversion module, the audio-visual digital baseband data of one tunnel flank speed below 4M bps is converted to the audio-visual digital baseband data of less than two-way 2M bps, two NRF2401 radio-frequency (RF) receiving and transmission module are transferred to respectively again through SPI interface, MCU sends the transmitted power of control module by SPI Interface Controller two NRF2401 radio-frequency (RF) receiving and transmission module simultaneously, frequency, ShockBurst pattern and enhancement mode ShockBurst pattern,
A3. two NRF2401 radio-frequency (RF) receiving and transmission module generate header to corresponding audio-visual digital baseband data and are modulated to after adding CRC check code respectively and send on carrier wave, audio-visual digital band pass data are sent to receiving terminal by antenna.
Described steps A is further comprising the steps of:
After A4.MCU transmission control module detects that audio-visual digital band pass data send, the modules controlled in whole transmitting terminal enters sleep state, and wait for when needing to send audio-visual digital band pass data next time, the modules controlled again in whole transmitting terminal enters operating state, to reduce power consumption.
The concrete steps of described step B are:
B1. two NRF2401 radio-frequency (RF) receiving and transmission module of receiving terminal receive the audio-visual digital band pass data that each transmitting terminal sends, audio-visual digital band pass data are through demodulation and remove CRC check code and identify after header, obtain audio-visual digital baseband data, then, transmitted to parallel/serial modular converter by SPI interface;
B2. parallel/serial modular converter is merged into an audio-visual digital baseband data in road to the audio-visual digital baseband data of each transmitting terminal respectively, and then the audio-visual digital baseband data after merging is transferred to MCU reception control module;
B3.MCU receives control module after parallel/serial modular converter reading data, audio-visual digital baseband data after merging is first carried out D/A and converts audio-visual Analog Baseband data to, then be sent to computer receiving system by USB interface, simultaneously MCU receives control module by the transmitted power of SPI Interface Controller two NRF2401 radio-frequency (RF) receiving and transmission module, frequency, ShockBurst pattern and enhancement mode ShockBurst pattern.
Described step B is further comprising the steps of:
B4. after computer receives the audio-visual Analog Baseband data of system acceptance, detect the quality of audio-visual Analog Baseband data, under enhancement mode ShockBurst pattern, by control command, transmitted in both directions control is carried out to whole broadband wireless multiple spot audio/video transmission system, control work and the sleep of whole broadband wireless multiple spot audio/video transmission system.
According to a further aspect in the invention, additionally provide a kind of broadband wireless multiple spot audio/video transmission system based on 2.4G, comprise 1-6 transmitting terminal and receiving terminal, between described transmitting terminal and receiving terminal, carry out both-way communication by the frequency range of 2.4G;
Described transmitting terminal comprises:
Audio-visual analog data acquisition module, for gathering audio-visual Analog Baseband data;
MCU sends control module, and its input is connected with the output of described audio-visual analog data acquisition module by USART interface, converts audio-visual digital baseband data to for carrying out A/D to audio-visual Analog Baseband data;
Serial/parallel conversion module, the output that its input sends control module with described MCU is connected, and the audio-visual digital baseband data of a road flank speed below 4M bps is converted to the audio-visual digital baseband data of less than two-way 2M bps;
Two NRF2401 radio-frequency (RF) receiving and transmission module, the input of each NRF2401 radio-frequency (RF) receiving and transmission module is connected respectively by the output of SPI interface with described serial/parallel conversion module, for receiving the audio-visual digital baseband data of less than 2M bps after conversion;
Described receiving terminal comprises:
Two NRF2401 radio-frequency (RF) receiving and transmission module, receive the audio-visual digital baseband data of less than two-way 2M bps that each transmitting terminal sends respectively;
Parallel/serial modular converter, its input is connected respectively by the output of SPI interface with described two NRF2401 radio-frequency (RF) receiving and transmission module, for the audio-visual digital baseband data of less than two-way 2M bps is merged into the audio-visual digital baseband data of a road flank speed below 4M bps;
MCU receives control module, and its input is connected with the output of described parallel/serial modular converter, the audio-visual digital baseband data after described merging is carried out D/A and converts audio-visual Analog Baseband data to;
Computer receiving system, its input is connected with the output that described MCU receives control module by USB interface, receives the audio-visual Analog Baseband data after conversion.
Compared with prior art, adopt the broadband wireless multiple spot image and voice transmission method based on 2.4G of the present invention and system thereof, there is following technique effect:
By computer receiving system, Based Intelligent Control is carried out to transmitting terminal and receiving terminal, by to video-audio data Quality estimation, the transmitted power of each transmitting terminal of self-adaptative adjustment and receiving terminal, frequency, sleep and work, reduce the power consumption of whole system, too increase system transfers distance.Have employed two 2.4G sending module NRF2401 in each transmitting terminal simultaneously, add system transmission bandwidth, improve video-audio data transmission bandwidth.Have employed two 2.4G receiver module NRF2401 equally at receiving terminal, the video-audio data of 6 transmitting terminals can be received simultaneously, be applicable to industry, the control of home automation and building automatic and audio-visual transmission network construction.Therefore adopt the present invention to realize the multicast communication of low-power consumption remote-wireless high definition bandwidth and there is the features such as low-power consumption, remote, broadband wireless high definition and multicast communication.
Accompanying drawing explanation
Fig. 1 is the principle schematic of a kind of broadband wireless multiple spot audio/video transmission system based on 2.4G of the present invention.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with drawings and Examples.
Based on a broadband wireless multiple spot image and voice transmission method of 2.4G, the concrete steps of this broadband wireless multiple spot image and voice transmission method are:
After the audio-visual Analog Baseband data collected are carried out A/D conversion by 11. transmitting terminals, convert the road audio-visual digital baseband data of flank speed below 4M bps the audio-visual digital baseband data of two-way flank speed below 2M bps to, and sent to receiving terminal by the audio-visual digital band pass data of corresponding antenna by less than 2M bps;
12. receiving terminals carry out D/A after audio-visual for the two-way of each transmitting terminal digital band pass data are merged into an audio-visual digital baseband data in road and are converted to audio-visual Analog Baseband data, then are sent to computer receiving system by USB interface;
Wherein, the receiving terminal in described step B and 1-6 transmitting terminal in steps A realize both-way communication.
The concrete steps of described step 11 are:
The audio-visual Analog Baseband data collected are transferred to MCU by USART interface and send in control module by the audio-visual analog data acquisition module in 111. each transmitting terminals;
112.MCU sends after control module receives audio-visual Analog Baseband data and carries out A/D conversion, convert to after audio-visual digital baseband data by serial/parallel conversion module, the audio-visual digital baseband data of one tunnel flank speed below 4M bps is converted to the audio-visual digital baseband data of less than two-way 2M bps, two NRF2401 radio-frequency (RF) receiving and transmission module are transferred to respectively again through SPI interface, MCU sends the transmitted power of control module by SPI Interface Controller two NRF2401 radio-frequency (RF) receiving and transmission module simultaneously, frequency, ShockBurst pattern and enhancement mode ShockBurst pattern,
113. two NRF2401 radio-frequency (RF) receiving and transmission module generate header to corresponding audio-visual digital baseband data and are modulated to after adding CRC check code respectively and send on carrier wave, audio-visual digital band pass data are sent to receiving terminal by antenna.
After 114.MCU transmission control module detects that audio-visual digital band pass data send, the modules controlled in whole transmitting terminal enters sleep state, and wait for when needing to send audio-visual digital band pass data next time, the modules controlled again in whole transmitting terminal enters operating state, to reduce power consumption.
The concrete steps of described step 12 are:
Two NRF2401 radio-frequency (RF) receiving and transmission module of 121. receiving terminals receive the audio-visual digital band pass data that each transmitting terminal sends, audio-visual digital band pass data are through demodulation and remove CRC check code and identify after header, obtain audio-visual digital baseband data, then, transmitted to parallel/serial modular converter by SPI interface;
122. parallel/serial modular converters are merged into an audio-visual digital baseband data in road to the audio-visual digital baseband data of each transmitting terminal respectively, and then the audio-visual digital baseband data after merging is transferred to MCU reception control module;
123.MCU receives control module after parallel/serial modular converter reading data, audio-visual digital baseband data after merging is first carried out D/A and converts audio-visual Analog Baseband data to, then be sent to computer receiving system by USB interface, simultaneously MCU receives control module by the transmitted power of SPI Interface Controller two NRF2401 radio-frequency (RF) receiving and transmission module, frequency, ShockBurst pattern and enhancement mode ShockBurst pattern.
After 124. computers receive the audio-visual Analog Baseband data of system acceptance, detect the quality of audio-visual Analog Baseband data, by control command, transmitted in both directions control is carried out to whole broadband wireless multiple spot audio/video transmission system, control work and the sleep of whole broadband wireless multiple spot audio/video transmission system.Under enhancement mode ShockBurst pattern, MCU receives the audio-visual digital baseband data loss situation of control module direct-detection, once loss of data detected, then the index signal of loss of data is sent to corresponding transmitting terminal, after the index signal that transmitting terminal receives, then resend the data of loss.
Refer to a kind of broadband wireless multiple spot audio/video transmission system based on 2.4G shown in Fig. 1 again,
Comprise 6 transmitting terminals and receiving terminal, between described transmitting terminal and receiving terminal, carry out both-way communication by the frequency range of 2.4G;
Described transmitting terminal comprises:
Audio-visual analog data acquisition module, for gathering audio-visual Analog Baseband data;
MCU sends control module, and its input is connected with the output of described audio-visual analog data acquisition module by USART interface, converts audio-visual digital baseband data to for carrying out A/D to audio-visual Analog Baseband data;
Serial/parallel conversion module, the output that its input sends control module with described MCU is connected, and the audio-visual digital baseband data of a road flank speed below 4M bps is converted to the audio-visual digital baseband data of less than two-way 2M bps;
Two NRF2401 radio-frequency (RF) receiving and transmission module, the input of each NRF2401 radio-frequency (RF) receiving and transmission module is connected respectively by the output of SP PCI interface with described serial/parallel conversion module, for receiving the audio-visual digital baseband data of less than 2M bps after conversion;
Described receiving terminal comprises:
Two NRF2401 radio-frequency (RF) receiving and transmission module, receive the audio-visual digital baseband data of less than two-way 2M bps that each transmitting terminal sends respectively;
Parallel/serial modular converter, its input is connected respectively by the output of SPI interface with described two NRF2401 radio-frequency (RF) receiving and transmission module, for the audio-visual digital baseband data of less than two-way 2M bps is merged into the audio-visual digital baseband data of a road flank speed below 4M bps;
MCU receives control module, and its input is connected with the output of described parallel/serial modular converter, the audio-visual digital baseband data after described merging is carried out D/A and converts audio-visual Analog Baseband data to;
Computer receiving system, its input is connected with the output that described MCU receives control module by USB interface, receives the audio-visual Analog Baseband data after conversion.
It is pointed out that broadband wireless multiple spot image and voice transmission method of the present invention and broadband wireless multiple spot audio/video transmission system of the present invention are same or similar in principle and implementation procedure, therefore its repeating part does not repeat them here.
Those of ordinary skill in the art will be appreciated that, above embodiment is only used to object of the present invention is described, and be not used as limitation of the invention, as long as in essential scope of the present invention, the change of the above embodiment, modification all will be dropped in the scope of claim of the present invention.