Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, read the data or the order of storing in the memory, carry out obtaining digital modulation signals after GJB289A protocol conversion, the modulation, realize carrier transmission, a kind of data sending device is provided by protocol element.
Fig. 1 shows the structure of the data sending device that the embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
This data sending device can be used for high-speed bus terminal interface component, and this high-speed bus terminal interface component can be used for the bus termination of high-speed communication system, wherein:
Protocol element 101 reads the data or the order of storing in the memory, carries out obtaining digital modulation signals after GJB289A protocol conversion, the modulation;
D/A conversion unit 102, the digital modulation signals that protocol element 101 is obtained is converted to analog signal;
Line drive transtation mission circuit 103 carries out the analog signal that D/A conversion unit 102 obtains to send by the GJB289A bus after line drives processing and coupling transformation.
When specific implementation, bus termination can write program micro-control unit, and (Micro ControllerUnit MCU), finishes configuration to the register configuration and the storage space of protocol element 101 by MCU, and to the control of protocol element 101, comprise reset, startup etc.; Protocol element 101 reads the order and/or the data that will send from memory.
As shown in Figure 1, protocol element 101 specifically comprises:
Protocol conversion module 1011 reads the data or the order of storing in the memory, carries out the GJB289A protocol conversion, obtains digital baseband signal;
Modulation module 1012 is modulated the digital baseband signal that protocol conversion module 1011 obtains, and realizes carrier transmission, obtains digital modulation signals.
Wherein, modulation system can for quadrature amplitude modulation (Quadrature amplitude modulation, QAM) etc.
Particularly, as shown in Figure 2, modulation module 1012 comprises Read-Solomon (Reed-Solomon, RS) coding submodule 10121, planisphere mapping submodule 10122, forming filter 10123, interpolation filter 10124 and QAM modulation submodule 10125.Wherein, RS coding submodule 10121 receives the digital baseband signal that protocol conversion module 1011 obtains, and is used for eliminating the unexpected error in the communication process, increases the reliability of system, can greatly reduce the error rate of system; The effect of planisphere mapping can improvement communication; Forming filter 10123, interpolation filter 10124 can allow baseband signal be more suitable in Channel Transmission, reduce intersymbol interference, reduce digital-to-analogue conversion (Digital to Analog Converter, error DAC) by interpolation; QAM modulates submodule 10125, and the digital baseband signal that obtains after with carrier signal protocol conversion module 1011 being handled is modulated.Here, adopt two forming filters 10123 and two interpolation filters 10124, to handle homophase and quadrature two paths of signals.The pin Mod[X:0 of QAM modulation submodule 10125] dateout handles to DAC, and pin DAC CLK output is as DAC control clock, and pin DAC EN exports as the DAC enable signal.
Further, for the signal phase that reduces high-speed bus terminal interface component blurs, as a preferred embodiment of the present invention, modulation module 1012 also comprises differential coding submodule 10126 between RS coding submodule 10121 and planisphere mapping submodule 10122, can increase the theorem in Euclid space of planisphere, and the antijamming capability of high-speed bus terminal interface component.
In order to realize the mass data real-time Transmission, as another preferred embodiment of the present invention, encode and carry out RS coding and QAM modulation after every bit representative data volume improves again in the graceful Chester that modulation module 1012 obtains protocol conversion module 1011.
In order to reduce power consumption, error rates of data, reduce the processing time, improve Real time Efficiency, as another preferred embodiment of the present invention, modulation module 1012 directly carries out RS coding and QAM modulation according to default transport format information with the data that protocol conversion module 1011 obtains.Wherein, transport format information definition transformat.Like this, mainly be by redefining transformat to realize the mass data real-time Transmission, compare above-mentioned modulator approach, the graceful Chester that protocol conversion module 1011 the is obtained mode that every bit representative data volume improves of encoding, help power consumption control, can reduce error rates of data again, reduce the processing time, Real time Efficiency is higher.
The embodiment of the invention also provides a kind of high-speed bus terminal interface component, comprises above-mentioned data sending device.This high-speed bus terminal interface component comprises two groups of passages, is linked into the main bus and the redundant bus of GJB289A bus network respectively.
Corresponding above-mentioned data sending device, as shown in Figure 3, the embodiment of the invention also provides a kind of structure of data sink, for convenience of explanation, only shows the part relevant with the embodiment of the invention.
This data sink can be used for high-speed bus terminal interface component, and this high-speed bus terminal interface component can be used for the bus termination of high-speed communication system, wherein:
Line drive receiving circuit 301, will be coupled by the analog signal that the GJB289A bus interface is received transformation and line drive handles back output;
AD conversion unit 302, the analog signal conversion that line drive receiving circuit 301 is exported is a digital modulation signals;
Protocol element 303, the number modulation word signal that AD conversion unit 302 is obtained carries out exporting after demodulation, the GJB289A protocol conversion process.
Similarly, when specific implementation, bus termination can write program micro-control unit (MicroController Unit, MCU), finish configuration by MCU, and to the control of protocol element 303 to the register configuration and the storage space of protocol element 303, comprise reset, startup etc.; After receiving digital modulation signals, protocol element is carried out demodulation, GJB289A protocol conversion process with the digital modulation signals that receives, and the data that obtain after will handling deposit the predetermined space of memory in, notifies terminal its operating state simultaneously.
As shown in Figure 3, protocol element 303 specifically comprises:
Demodulation module 3031, the digital modulation signals that is used for AD conversion unit 302 is obtained carries out demodulation, obtains digital baseband signal;
Protocol conversion module 3032, the digital baseband signal that is used for that demodulation module 3031 is obtained carries out exporting after the GJB289A protocol conversion.
Wherein, demodulation module 3031 adopts the QAM demodulation mode that digital modulation signals is carried out demodulation.Modulation module 1012 in the corresponding above-mentioned data sending device, as shown in Figure 4, demodulation module 1012 comprises that QAM demodulation submodule 30311, planisphere reflection penetrate submodule 30312 and RS decoding submodule 30313.The inverse process that submodule 30312 and RS decoding submodule 30313 are carried out modulation module 1012 shown in Figure 2 is penetrated in the reflection of QAM demodulation submodule 30311, planisphere; Wherein, QAM demodulation submodule 30311 has comprised decimation filter, matched filter, carrier synchronization, sign synchronization, equalizer; The pin Demod[X:0 of QAM demodulation submodule 30311] connect the adc data output; The pin parallel data of RS decoding submodule 30313 outputs to protocol conversion module.
Further, demodulation module 1012 is penetrated between module and the RS decoding submodule 30313 in the planisphere reflection and is also comprised differential decoding submodule 30314.
The embodiment of the invention also provides a kind of high-speed bus terminal interface component, comprises above-mentioned data sink.This high-speed bus terminal interface component comprises two groups of passages, is linked into the main bus and the redundant bus of GJB289A bus network respectively.
When specific implementation, bus termination can write program micro-control unit, and (Micro ControllerUnit MCU), finishes the configuration of high-speed bus terminal interface component pattern and storage space by MCU; Line driver element 502 connects the GJB289A bus, and conversion unit of protocol 501 meets memory and MCU.After starting high-speed bus terminal interface component, conversion unit of protocol 501 reads the data that will send from memory, carry out exporting to modulating unit 503 after the GJB289A protocol conversion, perhaps the digital baseband signal after demodulating unit 505 demodulation is carried out the data that the GJB289A protocol conversion obtains and deposit the predetermined space of memory in, notify bus termination its operating state simultaneously.
Fig. 6 shows the port annexation of 506 of modulating unit 503, demodulating unit 505 and conversion unit of protocol 501, D/A conversion unit 504 and AD conversion unit.When sending, data carry out the GJB289A protocol conversion by conversion unit of protocol 501 reading of data, obtain digital modulation signals by modulating unit 503, be converted to analog signal by D/A conversion unit 504 then, carry out line through line driver element 502 and drive and handle, obtain high speed GJB289A signal after the coupling transformation and enter Network Transmission; Receive high speed GJB289A signal from network during Data Receiving, drive and handle by be coupled transformation, line of line driver element 502, be converted to digital modulation signals by AD conversion unit 506 again, finish the signal demodulation by demodulating unit 505 then and obtain sending into conversion unit of protocol 501 behind the digital baseband signal and carry out the GJB289A protocol conversion.Therefore, modulating unit 503, demodulating unit 505 are connected with the port of conversion unit of protocol 501, D/A conversion unit 504 and AD conversion unit 506 and mainly are serial data I/O end and modulation signal output/restituted signal input.
The framework that the high-speed bus terminal interface component that the embodiment of the invention provides is applied to high-speed communication system as shown in Figure 7.The high-speed communication system network has used 1 road redundant bus, comprises a series of high-speed bus terminal interface components; Each high-speed bus terminal interface component satisfies the GJB289A bus protocol, has two groups of passages, is linked into main bus and redundant bus respectively.Communication process, i.e. data transmission, receiving course can be according to the bus of customer requirements by the selection initialization system Serial Data Transfer Mode of serial-port.When bus reporting terminal error condition, can select the bus selection whether retransmit and retransmit according to GJB289A bus protocol regulation.Certainly, in the concrete use, can determine the quantity of redundant bus according to demand.
Fig. 8 shows the realization flow of the bus communication system data transmission method for uplink that the embodiment of the invention provides, and details are as follows:
In step S801, the data or the order of storing in the memory are carried out obtaining digital modulation signals after GJB289A protocol conversion, the modulation;
In step S802, the digital modulation signals that obtains is converted to analog signal;
In step S803, the analog signal that obtains is carried out sending by the GJB289A bus after line drives processing and coupling transformation.
Particularly, step S802 is included as:
In step S8021, the GJB289A protocol conversion is carried out in the data or the order of storing in the memory, obtain digital baseband signal;
In step S8022, the baseband signal that obtains is modulated, realize carrier transmission, modulation system can for quadrature amplitude modulation (Quadrature amplitude modulation, QAM) etc.
Further, step S8022 comprises:
The digital baseband signal that obtains is carried out RS coding, planisphere mapping, shaping filter, interpolation filtering and QAM modulation treatment.
Wherein, the specific implementation of each step repeats no more as mentioned above.
In order to realize the mass data real-time Transmission,, before the digital baseband signal that will obtain carries out the RS coding, earlier the digital baseband signal that obtains is increased the data volume of 1 bit representative as another preferred embodiment of the present invention.
In order to reduce power consumption, error rates of data, reduce the processing time, improve Real time Efficiency, as another preferred embodiment of the present invention, redefine transformat, above-mentioned steps S8022 is specially:
According to default transport format information, the digital baseband signal that obtains is carried out RS coding and QAM modulation.
Fig. 9 shows the realization flow of the bus communication system data receive method that the embodiment of the invention provides, and details are as follows:
In step S901, will be coupled by the analog signal that the GJB289A bus interface is received transformation and line drive to be handled;
In step S902, with after handling analog signal conversion be digital modulation signals;
In step S903, the digital modulation signals that obtains is carried out exporting after demodulation, the GJB289A protocol conversion.
Wherein, demodulation mode can be QAM demodulation etc.
Its specific implementation repeats no more as mentioned above.
One of ordinary skill in the art will appreciate that, realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
In embodiments of the present invention, by protocol element the data or the order of storing in the memory are carried out obtaining digital modulation signals after GJB289A protocol conversion, the modulation, realize carrier transmission, a kind of data sending device is provided, transmission rate height, broadband utilance height, realize the real-time Transmission of GJB289A bus network mass data, satisfied following data/address bus transmission demand.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.