Detailed description of the invention
The embodiment of the present invention provides a kind of train axle temperature method of inspection and board units equipment, can solve the above-mentioned technical matters that existing infrared axle temperature detection method exists.Be described in detail respectively below in conjunction with accompanying drawing.The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Technical solution of the present invention is applied to a kind of train axle temperature checking system.As shown in Figure 1, this system comprises: install board units equipment 110 ON TRAINS, and be arranged on ground road side base station 120; Wherein, described board units equipment 110, for periodically obtaining the status informations such as the axle temperature of train; Described road side base station 120, for reading the status information that described board units equipment 110 obtains, and by described state information report to railway administration center.
In a kind of embodiment, the above a board units equipment 110, can specifically be arranged on the bogie truck of train, corresponding with each position of the bearing of detected temperatures that needs; The above road side base station 120, can be deployed on the ground on railway side according to design pitch along railway, such as, dispose a road side base station 120 along railway line every 30 kilometers.
In a kind of embodiment, described train axle temperature checking system can also comprise: handheld device 130; This handheld device 130, may be used for writing other train status information beyond axle temperature information, such as installation site information, bogie truck information and bearing information etc. to described board units equipment 110.User can carry out information management by this handheld device 130 pairs of board units equipment 110, facilitates the maintenance upgrade of system.
Road side base station 120 can adopt the various common process such as optical fiber to be connected with railway administration center, intercoms mutually.Road side base station 120 and board units equipment 110, adopt conventional REID to realize radio communication, similar existing electronic charging system without parking (ETC).
Please refer to Fig. 2, the embodiment of the present invention provides a kind of train axle temperature method of inspection, comprising:
210, board units device periodically obtains the status information of train, and described status information at least comprises the axle temperature of train.
Described board units equipment, comprises RF receiving and transmission module and infrared measurement of temperature module.Described infrared measurement of temperature module is for gathering the axle temperature information of train.Described RF receiving and transmission module is used for passing through radio frequency signal communication with road side base station.
In order to reduce power consumption, life-saving, board units equipment can be in dormant state in the most of the time.By the timing wake-up mechanism preset, can periodic wakeup board units equipment.After being waken up, board units equipment obtains the current status information of train at every turn, comprises and detects the current axle temperature information of train, and after acquisition of information completes, again enter dormant state.
220, receive the data acquisition command of road side base station broadcast, described data acquisition command comprises the mark of the transceiver channel that described road side base station is specified and the address of described road side base station.
Train is through the antenna coverage areas of road side base station, and road side base station can wake by broadcast data acquisition the board units equipment that described train is installed up, to indicate board units equipment, the status information of the train of acquisition is sent to road side base station.In practical application, road side base station can according to a very short time gap, and ceaselessly broadcast data acquisition, to ensure that the board units equipment that the train of any process is installed can be waken up by this broadcast data acquisition, and is unlikely to miss.
Board units equipment and road side base station can pre-set multiple operable channel, such as 5.79GHz channel and 5.8GHz channel etc., so that roadbed station can adopt different channels to communicate with different board units equipment respectively, thus avoid channel disturbance.In this step, road side base station can allocated channel, and the mark of the channel of specifying is carried in data acquisition command and sends to board units equipment.
The address comprising source address and described road side base station is needed, so that board units equipment is follow-up to this address return data in data acquisition command.Also comprise destination address in this data acquisition command, optionally, can using preset broadcast address as this destination address, for board units recognition of devices.This broadcast address of board units identification is after default local address, just allows to carry out next step.If board units equipment can not identify this broadcast address, then no longer carry out subsequent step.In a kind of embodiment, can using 4 complete 1 binary code as the broadcast address preset.
230, by the application layer data of the address of status information and described road side base station that comprises described train and the address of described board units equipment, be encapsulated in link layer data frame, generate data acquisition and receive the response.
After board units equipment is waken up, will need the Information encapsulation returned in data acquisition is receiveed the response.Specifically comprise: by the address etc. of the status information of application layer data such as train and the address of road side base station and board units equipment, be encapsulated in link layer data frame, receive the response to generate data acquisition.
240, by described transceiver channel of specifying described data acquisition receiveed the response and send to described road side base station.
Described transceiver channel is physical layer channel.In this step, the data acquisition of carrying train status information generated is receiveed the response and is sent to road side base station by the transceiver channel of specifying, so that road side base station reports railway administration center by board units equipment.
In the embodiment of the present invention, board units equipment and road side base station adopt the communication protocol of tailor-make to realize mutual information interaction.The communication protocol adopted has following feature:
1), adopt the mechanism of layering, every layer only completes specific function.
Concrete, as shown in Figure 3, can be divided into: application layer, link layer and Physical layer.
2), carry destination address, determine data receiver, the information not belonging to take over party will be dropped.
When road side base station sends broadcast data acquisition to board units equipment, need the address of carrying destination address i.e. board units equipment; When not knowing the address of board units equipment, by a default broadcast address as destination address.When the collection of board units equipment return data is receiveed the response to road side base station, need address for the purpose of the address of road side base station.
3), carry source address, make the source of take over party's explicit data.
When road side base station sends broadcast data acquisition to board units equipment, need the address of carrying road side base station.When the collection of board units equipment return data is receiveed the response to road side base station, then need the address of carrying cart carrier unit equipment.
4), take over party's receive channel, adopt the transmit leg channel of specifying to reply.
Road side base station as transmit leg carries the transceiver channel for take over party specifies in the broadcast data acquisition sent, and the transceiver channel return data collection indicating the board units equipment as take over party to be specified by this is receiveed the response.
It is the frame format that broadcast data acquisition and data acquisition are receiveed the response shown in Fig. 4.Specifically can be divided into link layer and application layer; The frame format of application layer comprises the field such as destination address, source address and channel and length (len), command word (cmd), additional data (date) and check bit (bcc); The frame format of link layer comprises the fields such as lead code, frame head, load (Payload), frame check (CRC16) and postamble (i.e. frame end mark).The status information of train will be written in the date field of application layer, and the data of whole application layer will be packaged in the Payload field of link layer.
Being described in detail as follows shown in table 1 of link-layer frame form.Payload is wherein used for encapsulating valid data, that is, the data of whole application layer.
Table 1
Being described in detail as follows shown in table 2 of application layer frame format.It comprises destination address and source address and the field such as transceiver channel and additional data.Wherein, transceiver channel can represent by the mark preset, such as, represent 5.79GHz channel and 5.8GHz channel respectively with 0 and 1.The status information of date field write train wherein.
Table 2
In embody rule, the explanation of each field of the frame format of the data acquisition command of road side base station broadcast etc. can be as shown in table 3.Wherein, destination address is the address of accepter i.e. board units equipment, due to the unknown, can replace by complete 1 broadcast address preset; Source address is the address of the machine i.e. road side base station.
Table 3
Data length |
Field |
|
Explanation is described |
1 |
Frame opens the mark that begins |
7E |
|
4 |
Destination address |
---- |
The ID of accepter |
4 |
Source address |
---- |
The machine ID |
1 |
Receive channel |
---- |
The receive channel of the machine |
1 |
Data length |
|
Command word and attached data |
1 |
Command word |
0000 0001 |
Most significant bit represents data direction |
16 |
Reserve bytes |
|
The byte expanded |
1 |
Check sum |
---- |
XOR and |
2 |
Frame check |
---- |
CRC16 |
1 |
Frame end marks |
7E |
|
In embody rule, the explanation of each field of the frame format that the data acquisition that board units equipment returns is receiveed the response etc. can be as shown in table 4.Wherein, destination address is the address of accepter i.e. road side base station; Source address is the address of the machine i.e. board units equipment; Receive channel or make transceiver channel be the channel that road side base station is specified; In the unified payload field carried of status information of train, specifically can comprise following son field: the infrared temperature, ambient temperature, car type, vehicle, license number, bogie truck information, bearing information, car information, facility information, equipment state etc. of train.
Table 4
Data length |
Field |
|
Explanation is described |
1 |
Frame opens the mark that begins |
7E |
|
4 |
Destination address |
---- |
The ID of accepter |
4 |
Source address |
---- |
The machine ID |
1 |
Receive channel |
---- |
The receive channel of the machine |
1 |
Data length |
|
Command word and attached data |
1 |
Command word |
1000 0001 |
Most significant bit represents data direction |
2 |
Infrared temperature |
---- |
|
2 |
Ambient temperature |
---- |
|
1 |
Car type |
---- |
|
1 |
Vehicle |
---- |
|
4 |
License number |
---- |
|
1 |
Bogie truck information |
---- |
|
7 |
Bearing information |
---- |
|
1 |
Railway carriage information |
---- |
|
4 |
Facility information |
---- |
|
4 |
Equipment state |
---- |
|
16 |
Reserve bytes |
---- |
The byte expanded |
1 |
Check sum |
---- |
XOR and |
2 |
Frame check |
---- |
CRC16 |
1 |
Frame end marks |
7E |
|
In practical application, because train speed is very fast, probably have such situation to occur: after the board units equipment being positioned at train front end is waken up, when the collection of preparation return data is receiveed the response, probably have left the antenna footprint of road side base station, so this board units equipment cannot return messages.
In order to solve the problem, embodiment of the present invention method can also comprise: the step of the mutual networking of each board units equipment on train.The step of this networking specifically can comprise:
Described board units equipment sends networking frame message to other board units equipment on train, and receives the networking frame acknowledgement message that other board units equipment returns; Or described equipment receives the networking frame message that other board units equipment on train sends, and return networking frame acknowledgement message to other board units equipment.By this step, each board units equipment on train can form a provisional communication network.
The step of the mutual networking of each board units equipment on above-mentioned train, can perform when each board units device power.In networking process, each board units equipment can be considered as a node in network, and all nodes on a train can form a communication network.In this communication network, each node has identical level, the identical level of different node has identical function, interface communication is passed through between Same Vertices adjacent layer, the service that every one deck can use lower floor to provide, and to serve upper layers, between the peer layer of different node, realize the communication between peer layer by agreement.
So, when occur above-mentioned board units equipment because of leave road side base station antenna footprint and cannot the situation of return messages time, step 240 specifically can comprise: described data acquisition to be receiveed the response by described provisional communication network and sent to other board units equipment, to send to described road side base station via other board units equipment by described transceiver channel of specifying by described board units equipment.
That is, have left a board units equipment of the antenna footprint of road side base station, by the provisional communication network set up data acquisition receiveed the response and send to another board units equipment of the antenna footprint being positioned at road side base station, and then send to road side base station.
In the communication protocol that the embodiment of the present invention adopts, above-mentioned networking frame message and networking frame acknowledgement message are defined respectively, wherein, in networking frame message, the explanation of each field is as shown in table 5, and in networking frame acknowledgement message, the explanation of each field is as shown in table 6.
Table 5
Data length |
Field |
|
Explanation is described |
1 |
Frame opens the mark that begins |
7E |
|
4 |
Destination address |
---- |
FFFFFFFF |
4 |
Source address |
---- |
The machine ID |
1 |
Receive channel |
---- |
The receive channel of the machine |
1 |
Data length |
|
Command word and attached data |
1 |
Command word |
0000 1000 |
Most significant bit represents data direction |
1 |
This compartment sequence number |
|
Headstock sequence number is 0, pusher successively |
6 |
Time |
|
Second, point, time, day, the moon, year |
9 |
Reserve bytes |
|
The byte expanded |
1 |
Check sum |
---- |
XOR and |
2 |
Frame check |
---- |
CRC16 |
1 |
Frame end marks |
7E |
|
Table 6
Data length |
Field |
|
Explanation is described |
1 |
Frame opens the mark that begins |
7E |
|
4 |
Destination address |
---- |
Send the ID of networking frame |
4 |
Source address |
---- |
The machine ID |
1 |
Receive channel |
---- |
The receive channel of the machine |
1 |
Data length |
|
Command word and attached data |
1 |
Command word |
1000 1000 |
Most significant bit represents data direction |
1 |
This compartment sequence number |
|
Headstock sequence number is 0, pusher successively |
15 |
Reserve bytes |
|
The byte expanded |
1 |
Check sum |
---- |
XOR and |
2 |
Frame check |
---- |
CRC16 |
1 |
Frame end marks |
7E |
|
To sum up, embodiments provide a kind of train axle temperature method of inspection, the method achieves following technique effect:
1, owing to not passing through roadside unit, but obtained the axle temperature information of train by board units equipment, thus can avoid the impact of the factors such as vehicle jolts, vehicle disunity, running velocity are high, ambient weather, the axle temperature of accurate acquisition train;
2, because board units equipment adopts layering with communicating of road side base station, application layer and link layer complete specific function respectively, thus, simplify embody rule, and are convenient to and other agreement or standard compatibility; Further, adopt the frame format of the embodiment of the present invention, can communication speed be improved.
3, owing to carrying destination address and source address in the mutual message of communicating pair, thus, be convenient to take over party and only receive one's own message, and the source of data can be known;
4, because road side base station can be board units equipment appointed transceiving channel, thus can realize the transceiver channel making adjacent board units equipment use different, thus can avoid or reduce interference.
In order to better implement the such scheme of the embodiment of the present invention, be also provided for below coordinating the relevant apparatus implementing such scheme.
Please refer to Fig. 5, a kind of board units equipment that the embodiment of the present invention provides, can comprise:
Acquisition module 501, for periodically obtaining the status information of train, described status information at least comprises the axle temperature of train;
RF receiving and transmission module 502, for receiving the data acquisition command of road side base station broadcast, described data acquisition command comprises the mark of the transceiver channel that described road side base station is specified and the address of described road side base station;
Data processing module 503, for the application layer data of the address of status information and described road side base station that will comprise described train and the address of described board units equipment, is encapsulated in link layer data frame, generates data acquisition and receive the response;
Described RF receiving and transmission module 502, also sends to described road side base station for described data acquisition being receiveed the response by described transceiver channel of specifying.
In some embodiments of the invention, described board units equipment also comprises the infrared measurement of temperature module of the axle temperature for detecting train, and described acquisition module 501 is specifically for obtaining the axle temperature of train by described infrared measurement of temperature module.
In some embodiments of the invention, also comprise destination address in described data acquisition command, described destination address is the address of described board units equipment or default broadcast address; Described data processing module 503, also for identifying described destination address.
In some embodiments of the invention, described board units equipment can also comprise: networking module, for sending networking frame message to other board units equipment on train, and receives the networking frame acknowledgement message that other board units equipment returns; Or, receive the networking frame message that other board units equipment on train sends, and return networking frame acknowledgement message to other board units equipment; Thus make described board units equipment and other board units equipment form provisional communication network.
To sum up, embodiments provide a kind of board units equipment, adopt this board units equipment can obtain following technique effect:
1, obtained the axle temperature information of train by board units equipment, the impact of the factors such as vehicle jolts, vehicle disunity, running velocity are high, ambient weather can be avoided, the axle temperature of accurate acquisition train;
2, because board units equipment adopts layering with communicating of road side base station, application layer and link layer complete specific function respectively, thus, simplify embody rule, and are convenient to and other agreement or standard compatibility; Further, adopt the frame format of the embodiment of the present invention, can communication speed be improved.
3, owing to carrying destination address and source address in the mutual message of communicating pair, thus, be convenient to take over party and only receive one's own message, and the source of data can be known;
4, because road side base station can be board units equipment appointed transceiving channel, thus can realize the transceiver channel making adjacent board units equipment use different, thus can avoid or reduce interference.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can have been come by hardware, also can have been come by the hardware that programmed instruction is relevant, this program can be stored in a computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random-access memory, disk or CD etc.
Above the train axle temperature method of inspection that the embodiment of the present invention provides is described in detail, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.