Summary of the invention
The present invention provides a kind of communication equipment and method that is used for rail traffic vehicles, works as the different defectives that just need ceaselessly change required hardware device of the bus that is adopted in the prior art in order to solve.
The embodiment of the invention provides a kind of communication equipment that is used for rail traffic vehicles, comprising:
The WTB integrated circuit board is used to receive the WTB communication data of outside WTB equipment transmission and sends said WTB communication data to the CPU board card, and receives the WTB deal with data of said CPU board card transmission and send said WTB deal with data to said outside WTB equipment;
The DEVICENET integrated circuit board; Be used to receive the DEVICENET communication data of outside DEVICENET equipment transmission and send the DEVICENET communication data, and receive the DEVICENET deal with data of said CPU board card transmission and send said DEVICENET deal with data to said outside DEVICENET equipment to said CPU board card;
Said CPU board card; Be used to discern the type of data of reception; When said data are the WTB communication data; Convert said WTB communication data into said DEVICENET deal with data according to preset rules, and said DEVICENET deal with data is offered said DEVICENET integrated circuit board, when said data are the DEVICENET communication data; Convert said DEVICENET communication data into said WTB deal with data according to said preset rules, and said WTB deal with data is offered said WTB integrated circuit board.
The aforesaid communication equipment that is used for rail traffic vehicles, preferably, said WTB integrated circuit board comprises:
WTB bus network interface; Be used to receive the said WTB communication data of said outside WTB equipment transmission and said communication data is forwarded to the WTB protocol controller, and receive the said WTB deal with data of said WTB protocol controller forwarding and said WTB deal with data is sent to said outside WTB equipment;
Said WTB protocol controller; Be used to receive the said WTB communication data of said WTB bus network interface transmission and said WTB communication data is offered said CPU board card through the PC104 bus, and receive the said WTB deal with data of said CPU board card transmission and said WTB deal with data is offered said WTB bus network interface through the PC104 bus.
The aforesaid communication equipment that is used for rail traffic vehicles, preferably, said DEVICENET integrated circuit board comprises:
DEVICENET bus network interface; Be used to receive the said DEVICENET communication data that said outside DEVICENET equipment sends; And said communication data is forwarded to the DEVICENET protocol controller; And receive the said DEVICENET deal with data that said DEVICENET protocol controller is transmitted, and said DEVICENET deal with data is sent to said outside DEVICENET equipment;
Said DEVICENET protocol controller; Be used to receive said DEVICENET communication data; And said DEVICENET communication data offered said CPU board card through the PC104 bus; And receive the said DEVICENET deal with data that said CPU board card sends, and said DEVICENET deal with data is offered said DEVICENET bus network interface through the PC104 bus.
The aforesaid communication equipment that is used for rail traffic vehicles; Preferably; Said CPU board card comprises 32-bit microprocessor; Said 32-bit microprocessor is used for converting said WTB communication data into said DEVICENET deal with data, and converts the DEVICENET communication data into said WTB deal with data.
The aforesaid communication equipment that is used for rail traffic vehicles, preferably, said WTB integrated circuit board comprises fpga chip, said fpga chip is used for sending the WTB communication data and receiving the WTB deal with data that said CPU board card sends to the CPU board card.
The present invention also provides a kind of communication means that is used for rail traffic vehicles, comprising:
Said CPU board card receiver data;
The type of said CPU board card judgment data; When said data are the WTB communication data; Convert said WTB communication data into said DEVICENET deal with data, and said DEVICENET deal with data is offered said DEVICENET integrated circuit board, when said data are the DEVICENET communication data; Convert said DEVICENET communication data into said WTB deal with data, and said WTB deal with data is offered said WTB integrated circuit board.
The aforesaid communication means that is used for rail traffic vehicles preferably, before said CPU board card receiver data, also comprises:
Said WTB integrated circuit board receives the WTB communication data of outside WTB equipment transmission and sends said WTB communication data to the CPU board card.
The aforesaid communication means that is used for rail traffic vehicles, preferably, said said DEVICENET deal with data is offered said DEVICENET integrated circuit board after, also comprise:
Said DEVICENET integrated circuit board receives the said DEVICENET deal with data of said CPU board card transmission and sends said DEVICENET deal with data to said outside DEVICENET equipment.
The aforesaid communication means that is used for rail traffic vehicles preferably, before said CPU board card receiver data, also comprises:
Said DEVICENET integrated circuit board receives the DEVICENET communication data of outside DEVICENET equipment transmission and sends the DEVICENET communication data to said CPU board card.
The aforesaid communication means that is used for rail traffic vehicles, preferably, said said WTB deal with data is offered said WTB integrated circuit board after, also comprise:
Said WTB integrated circuit board receives the said WTB deal with data of said CPU board card transmission and sends said WTB deal with data to said outside WTB equipment.
Communication equipment and the method that is used for rail traffic vehicles provided by the invention; Convert the WTB communication data into DEVICENET equipment discernible DEVICENET deal with data through the CPU board card; And convert the DEVICENET communication data into WTB equipment discernible WTB deal with data, realized communicating by letter between WTB equipment and the DEVICENET equipment.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.Need to prove that accompanying drawing all adopts very the form of simplifying and all uses non-ratio accurately, only in order to convenient, the purpose of the aid illustration embodiment of the invention clearly.
It is to be noted; The initial data of hereinafter WTB equipment being sent is called the WTB communication data; Convert the WTB communication data to DEVICENET equipment and can recognition data be called the DEVICENET deal with data; Equally, the initial data that DEVICENET equipment is sent is called the DEVICENET communication data, and converting the DEVICENET communication data to WTB equipment can recognition data be called the WTB deal with data.
Present embodiment one provides a kind of communication equipment that is used for rail traffic vehicles.As shown in Figure 1, this communication equipment 100 that is used for rail traffic vehicles comprises: WTB integrated circuit board 101, DEVICENET integrated circuit board 102 and central processing unit (Central Processing Unit is called for short CPU) integrated circuit board 103.
Wherein, WTB integrated circuit board 101 is connected with CPU board card 103; Be used to receive the WTB communication data of outside WTB equipment 110 transmissions and send the WTB communication datas, and receive the WTB deal with data of CPU board card 103 transmissions and send the WTB deal with data to outside WTB equipment 110 to CPU board card 103.
DEVICENET integrated circuit board 102 is connected with CPU board card 103; Be used to receive the DEVICENET communication data of outside DEVICENET equipment 120 transmissions and send the DEVICENET communication datas, and receive the DEVICENET deal with data of CPU board card 103 transmissions and send the DEVICENET deal with data to outside DEVICENET equipment 120 to CPU board card 103;
CPU board card 103 is connected with DEVICENET integrated circuit board 102 with WTB integrated circuit board 101 respectively; Be used to discern the type of data of reception, when data are the WTB communication data, convert the WTB communication data into the DEVICENET deal with data according to preset rules; And the DEVICENET deal with data offered DEVICENET integrated circuit board 102; When data are the DEVICENET communication data, convert the DEVICENET communication data into the WTB deal with data according to preset rules, and the WTB deal with data is offered WTB integrated circuit board 101.
Concrete implementation procedure is exemplified below: the WTB communication data comprises status signals such as electric current, voltage, the speed of a motor vehicle successively, and the DEVICENET communication data comprises command signals such as driver's key, direction, traction, braking, handle level successively.(Random Access Memory RAM) is divided into two storage areas to the random asccess memory of CPU board card 103, and wherein these 256 bytes of 10200H-102FFH are used for storing the WTB deal with data; These 256 bytes of 10300H-103FFH are used for storing the DEVICENET deal with data.After CPU board card 103 is received communication data, the content judgment data source of first byte through receiving buffering area, promptly data still are DEVICENET integrated circuit board 102 from WTB integrated circuit board 101.Suppose; If receiving first byte of data is 55H; Then these data are from WTB integrated circuit board 101, and the data that CPU board card 103 will be received subsequently copy the DEVICENET deal with data memory block that 10300H begins to, and its data order is identical with putting in order of WTB communication data; If receiving first byte of data is aaH; Then these data are from DEVICENET integrated circuit board 102; The data that CPU board card 103 will be received subsequently copy the WTB deal with data memory block that 10200H begins to, and its data order is identical with putting in order of DEVICENET communication data.It is pointed out that 103 pairs on CPU board card converts the WTB communication data after the DEVICENET deal with data into, the content of data is constant.Specifically; Suppose that the electric current that the representative of WTB communication data is is 100A; Then CPU board card 103 converts this WTB communication data after the DEVICENET deal with data into; DEVICENET integrated circuit board 102 can know that according to this DEVICENET deal with data this electric current is 100A, and the display screen that the data value of this 100A sends on this rail traffic vehicles is shown.
Particularly, preset rules can be to set according to actual needs.For example putting in order of WTB communication data and DEVICENET communication data can be adjusted according to actual needs flexibly.
Preferably, CPU board card 103 adopts 32-bit microprocessor, for example existing X86 CPU.This 32-bit microprocessor is used for converting the WTB communication data into the DEVICENET deal with data, and converts the DEVICENET communication data into the WTB deal with data.The CPU board card can be handled mass data stream, and the processing of compatible multi-group data simultaneously realizes real time communication.Alternatively, this CPU board card can also adopt 64-bit microprocessor.
According to the communication equipment that is used for rail traffic vehicles 100 of present embodiment one, can realize communicating by letter between outside WTB equipment 110 and the outside DEVICENET equipment 120.Promptly; When WTB sends the WTB communication data; Can convert the WTB communication data into the DEVICENET deal with data through this communication equipment 100 that is used for rail traffic vehicles, decode and wait some row processing and transmitting to relevant outside DEVICENET equipment 120 to send to DEVICENET integrated circuit board 102.For outside DEVICENET equipment 120 also is the same.Like this, bring great convenience, realized that not only the signal between the inner distinct device of rail traffic vehicles is mutual, but also can realize the communication between a plurality of rail traffic vehicles to rail traffic vehicles, very convenient.It is pointed out that for rail traffic vehicles, send communication data and received communication data and all accomplish by corresponding apparatus.For example, send the WTB communication data and can accomplish by outside WTB equipment 110, correspondingly, send the DEVICENET communication data and receive the DEVICENET deal with data and can accomplish by outside DEVICENET equipment 120 with reception WTB deal with data.
Present embodiment two is done explanation further for the communication equipment that is used for rail traffic vehicles of embodiment one.As shown in Figure 2, the communication equipment that is used for rail traffic vehicles 100 of present embodiment two, WTB integrated circuit board 101 specifically comprises alternatively: WTB bus network interface 201 and WTB protocol controller 202.Alternatively, DEVICENET integrated circuit board 102 specifically comprises: DEVICENET bus network interface 203 and DEVICENET protocol controller 204.
Wherein, WTB bus network interface 201 is used to receive outside WTB equipment 110 and sends the WTB communication datas and communication data is forwarded to WTB protocol controller 202, and receives WTB deal with data that WTB protocol controller 202 provides and the WTB deal with data is sent to outside WTB equipment 110; WTB protocol controller 202 is used to receive the WTB communication data of WTB bus network interface 201 transmissions and the WTB communication data is offered CPU board card 103 through PC (Personal Computer) 104 buses, and receives the WTB deal with data of CPU board card 103 transmissions and the WTB deal with data is offered WTB bus network interface 201 through the PC104 bus.Alternatively, WTB protocol controller 202 comprises fpga chip, and this fpga chip is used for sending the WTB communication data and receiving the WTB deal with data that the CPU board card sends to the CPU board card.
DEVICENET bus network interface 203 is used to receive outside DEVICENET equipment 120 and sends the DEVICENET communication datas and communication data is forwarded to DEVICENET protocol controller 204, and receives DEVICENET deal with data that DEVICENET protocol controller 204 provides and the DEVICENET deal with data is sent to outside DEVICENET equipment 120; DEVICENET protocol controller 204 is used to receive the DEVICENET communication data and the DEVICENET communication data is offered CPU board card 103 through the PC104 bus, and receives the DEVICENET deal with data of CPU board card transmission and the DEVICENET deal with data is offered DEVICENET bus network interface 203 through the PC104 bus.
According to the communication equipment that is used for rail traffic vehicles 100 of present embodiment, can realize the communication between outside WTB equipment 110 and the outside DEVICENET equipment 120, be convenient between each rail traffic vehicles and the inner information interaction of each rail traffic vehicles.
Present embodiment three provides a kind of communication means that is used for rail traffic vehicles that adopts the communication equipment that is used for rail traffic vehicles among above-mentioned arbitrary embodiment, and as shown in Figure 3, this method comprises:
Step 301, CPU board card receiver data;
Step 302; The type of CPU board card judgment data when data are the WTB communication data, converts the WTB communication data into the DEVICENET deal with data; And the DEVICENET deal with data offered the DEVICENET integrated circuit board; When data are the DEVICENET communication data, convert the DEVICENET communication data into the WTB deal with data, and the WTB deal with data is offered the WTB integrated circuit board.
According to the communication means that is used for rail traffic vehicles of present embodiment three, can realize the information interaction between WTB equipment and the DEVICENET equipment.
The communication means that is used for rail traffic vehicles of four couples of embodiment three of present embodiment is done more concrete description.
Particularly, as shown in Figure 4:
Step 401, WTB integrated circuit board receive the WTB communication data of outside WTB equipment transmission and send the WTB communication data to the CPU board card;
Step 402, CPU board card receiver data;
Step 403, the type of CPU board card judgment data when the data that receive when identifying are the WTB communication data, converts this WTB communication data into the DEVICENET deal with data, and this DEVICENET deal with data is offered the DEVICENET integrated circuit board;
Step 404, DEVICENET integrated circuit board receive the DEVICENET deal with data of CPU board card transmission and send the DEVICENET deal with data to outside DEVICENET equipment.
According to the communication means that is used for rail traffic vehicles of present embodiment four, can convert the WTB communication data into DEVICENET equipment discernible DEVICENET deal with data, to realize the communication between WTB equipment and the DEVICENET.
The communication means that is used for rail traffic vehicles of five couples of embodiment three of present embodiment is done more concrete description.
Particularly, as shown in Figure 5:
Step 501, DEVICENET integrated circuit board receive the DEVICENET deal with data of CPU board card transmission and send the DEVICENET deal with data to outside DEVICENET equipment;
Step 502, CPU board card receiver data;
Step 503, the type of CPU board card judgment data when the data that receive when identifying are the DEVICENET communication data, converts this DEVICENET communication data into the WTB deal with data, and this WTB deal with data is offered the WTB integrated circuit board;
Step 504, WTB integrated circuit board receive the WTB deal with data of CPU board card transmission and send the WTB deal with data to outside WTB equipment.
According to the communication means that is used for rail traffic vehicles of present embodiment five, can convert the DEVICENET communication data into WTB equipment discernible WTB deal with data, to realize the communication between DEVICENET equipment and the WTB.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.