CN109040021A - Gateway and light rail information monitoring device - Google Patents

Gateway and light rail information monitoring device Download PDF

Info

Publication number
CN109040021A
CN109040021A CN201810694969.1A CN201810694969A CN109040021A CN 109040021 A CN109040021 A CN 109040021A CN 201810694969 A CN201810694969 A CN 201810694969A CN 109040021 A CN109040021 A CN 109040021A
Authority
CN
China
Prior art keywords
mqtt
protocol
processing unit
bus
operation data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810694969.1A
Other languages
Chinese (zh)
Inventor
连承华
李时智
王永刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Dalian R&D Co Ltd
Original Assignee
CRRC Dalian R&D Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRRC Dalian R&D Co Ltd filed Critical CRRC Dalian R&D Co Ltd
Priority to CN201810694969.1A priority Critical patent/CN109040021A/en
Publication of CN109040021A publication Critical patent/CN109040021A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0018Communication with or on the vehicle or train
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L2205/00Communication or navigation systems for railway traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mechanical Engineering (AREA)
  • Selective Calling Equipment (AREA)

Abstract

It includes: CAN FD interface unit, processing unit and MQTT interface unit that the present invention, which provides a kind of gateway and light rail information monitoring device, the gateway,;Wherein, the CAN FD interface unit is electrically connected, for receiving the operation data of the electronic equipment from the CAN FD bus by CAN FD bus and electronic equipment;The processing unit is electrically connected with the CAN FD interface unit, for from CAN FD protocol conversion being MQTT agreement by the operation data, and the operation data after protocol conversion is input to the MQTT interface unit;The MQTT interface unit is electrically connected, for the operation data after the protocol conversion to be sent to the remote supervisory equipment by MQTT bus respectively with the processing unit and remote supervisory equipment.The received electronic equipment operation data of CAN FD bus can be sent to remote supervisory equipment by MQTT bus by the electronic equipment present invention, to realize the long-range monitoring to electronic equipment, and light rail bus transfer amount and transmission rate can be improved.

Description

Gateway and light rail information monitoring device
Technical Field
The invention relates to the technical field of light rail networks, in particular to a gateway and a light rail information monitoring device.
Background
The performance of the train communication network directly influences the overall performance of the train, and the running safety of the train can be effectively guaranteed by effectively monitoring electronic equipment in the train, such as a motor control system, a speed change system, an active suspension system, an air conditioner, an electric lock and an air bag.
At present, Controller Area Network (CAN) communication has become one of the most mature and widely applied communication buses in the field of vehicle-mounted networks, and with the increase of light rail Network communication devices, the data volume on the light rail bus is more and more, so that the CAN bus gradually reaches the load limit, and the original bus needs to be improved to improve the bus transmission rate. A CAN with Flexible Data rate (CAN FD) inherits the main characteristics of a CAN bus and makes up for the constraints of the CAN bus bandwidth and the Data field length. Message Queue Telemetry Transport (MQTT) can provide real-time and reliable Message service for connecting remote devices with very few codes and limited bandwidth. However, in the prior art, the operation data of the electronic device sent by the CAN FD bus cannot be identified by the remote monitoring device connected to the MQTT bus, so that the remote monitoring of the light rail operation condition by using the CAN FD bus cannot be realized.
Disclosure of Invention
The invention provides a gateway and light rail information monitoring device, which CAN send operation data of electronic equipment received through a CAN FD bus to remote monitoring equipment through an MQTT bus, thereby realizing remote monitoring of the electronic equipment.
In a first aspect, the present invention provides a gateway, comprising: the system comprises a CAN FD interface unit, a processing unit and an MQTT interface unit; wherein,
the CAN FD interface unit is electrically connected with the electronic equipment through a CAN FD bus and used for receiving the operation data of the electronic equipment from the CAN FD bus;
the processing unit is electrically connected with the CAN FD interface unit and is used for converting the operating data from the CAN FD protocol into an MQTT protocol and inputting the operating data after the protocol conversion into the MQTT interface unit;
and the MQTT interface unit is electrically connected with the processing unit and the remote monitoring equipment respectively and is used for transmitting the operating data after protocol conversion to the remote monitoring equipment through an MQTT bus.
The gateway provided by the invention receives the operation data of the electronic equipment from the CAN FD bus through the CAN FD interface unit, then processes the operation data through the processing unit, converts the CAN FD protocol into the MQTT protocol, inputs the operation data after the protocol conversion into the MQTT interface unit, and finally sends the operation data after the protocol conversion to the remote monitoring equipment through the MQTT bus, thereby realizing the remote monitoring of the electronic equipment.
Optionally, the processing unit includes: the system comprises a CAN FD protocol control module, a central processing unit and an MQTT protocol control module; wherein,
the CAN FD protocol control module is respectively electrically connected with the CAN FD interface unit and the central processing unit and is used for decoding the operation data and sending the decoded operation data to the central processing unit;
the central processing unit is electrically connected with the MQTT protocol control module and is used for converting the decoded operating data from the CAN FD protocol to the MQTT protocol and inputting the operating data after the protocol conversion to the MQTT protocol control module;
and the MQTT protocol control module is electrically connected with the MQTT interface unit and used for coding the operation data after protocol conversion and transmitting the coded operation data to the MQTT interface unit through an MQTT bus.
Optionally, the processing unit further includes:
and the data buffer area is respectively electrically connected with the central processing unit and the MQTT protocol control module and is used for receiving the operation data after protocol conversion sent by the central processing unit and inputting the operation data after protocol conversion to the MQTT protocol control module.
Optionally, the central processing unit is a Cortex-M4 controller.
Optionally, the CAN FD protocol control module is further configured to convert the operating data into a binary digital signal, and send the binary digital signal to the central processing unit;
and the MQTT protocol control module is also used for converting the converted operating data into differential signals and sending the differential signals to the MQTT interface unit.
In a second aspect, the present invention provides a light rail information monitoring apparatus, including:
an electronic device, a remote monitoring device and a gateway as described in the first aspect; wherein,
the electronic equipment is electrically connected with the gateway and used for inputting the operation data;
the gateway is electrically connected with the remote monitoring equipment and is used for converting the operation data from a CAN FD protocol to an MQTT protocol;
and the remote monitoring equipment is used for carrying out remote monitoring according to the received operation data after the protocol conversion.
Optionally, the electronic device is electrically connected to the gateway through the CAN FD bus.
Optionally, the remote monitoring device includes a console and a display interface, wherein the console is electrically connected to the display interface.
Optionally, the electronic device is located within a light rail vehicle.
Optionally, the number of the electronic devices is multiple and the electronic devices are located in different light rail vehicles, and the multiple electronic devices are all connected with the gateway.
Based on the above, the present invention provides a gateway and a light rail information monitoring device, which receives the operation data of the electronic equipment from the CAN FD bus through the CAN FD interface unit, and then passes the operation data through the CAN FD protocol control module in the processing unit, decoding the operation data, sending the decoded operation data to the central processing unit, converting the decoded operation data from a CAN FD protocol to an MQTT protocol by the central processing unit, and inputting the operation data after protocol conversion into a data buffer area, wherein the data buffer area receives the operation data after protocol conversion sent by the central processing unit, and the operation data after the protocol conversion is input to the MQTT protocol control module, the MQTT protocol control module inputs the operation data after the protocol conversion to the MQTT interface unit, and finally the operation data after the protocol conversion is sent to the remote monitoring equipment through the MQTT bus. The invention transfers the operation data from CAN FD protocol to MQTT protocol, which not only realizes sending the operation data of the electronic device received by CAN FD bus to the remote monitoring device through MQTT bus, but also provides real-time and reliable message service for the remote monitoring device with few codes and limited bandwidth.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a gateway according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a gateway according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a light rail information monitoring apparatus according to a third embodiment of the present invention.
Description of reference numerals:
1: a gateway;
10. 20: an electronic device;
11; a CAN FD interface unit;
12: a processing unit;
13: an MQTT interface unit;
14: a remote monitoring device;
121: a CAN FD protocol control module;
122: a central processing unit;
123: a data buffer;
124: an MQTT protocol control module;
2: a light rail information monitoring device;
21: a gateway unit;
22: a remote monitoring device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
In the following, some terms in the present invention are explained to facilitate understanding by those skilled in the art:
1) control Area Network (CAN): the CAN bus adopts a two-wire serial communication protocol, is based on a non-destructive arbitration technology, is distributed in real-time control, and has high safety due to a reliable error processing and detecting mechanism, but the bandwidth and the data field length of the CAN bus are limited. CAN was developed by BOSCH corporation, germany, who is well known for developing and producing automotive electronics, and eventually became the international standard (ISO11898), one of the most widely used field buses internationally. In recent years, the high reliability and good error detection capability of the sensor are emphasized, and the sensor is widely applied to an automobile computer control system and an industrial environment with severe environmental temperature, strong electromagnetic radiation and large vibration.
Some key characteristics of the CAN bus communication, such as high reliability of differential signals, strong interference resistance, flexible selection of communication media (twisted pair, coaxial cable, or optical fiber), etc., make it very suitable for vehicle network applications. The communication speed of the CAN bus CAN reach 1Mbit/s at most, and the distance is 40m at most; and a multi-master communication mode is adopted, and when the bus is idle, any node can actively send information to other nodes of the network.
Moreover, the CAN bus also comprises some other advantages, such as:
1. the support node sets the priority and adopts a non-destructive bit-by-bit arbitration rule to solve the potential data transmission conflict.
2. The information is sent in a broadcast mode, all nodes receive the information, and data consistency in the network is guaranteed.
3. And a perfect error definition and processing mechanism is supported, and the error node has the function of automatically closing the exit bus.
Based on the advantages, the CAN bus CAN quickly, reliably and effectively realize the sending and receiving of information and data.
2) Control area network with Flexible Data rate (CAN FD): at present, along with people's requirement to car intellectuality is higher and higher, the electronic control unit of assembly also is more and more on the car, and CAN bus communication also shows some deficiencies gradually: the highest data generation rate is limited to 1Mbit/s, the actual use rate of the vehicle-mounted field is 500Kbit/s at most, and the higher and higher data throughput requirements cannot be met; the effective data field of each frame message is 8 bytes, and only accounts for less than 50% of the information of the whole frame message; it is difficult to deal with the threat of the new vehicle-mounted bus such as Flexray and Ethernet in performance. Therefore, the strong demand of the market for improving the performance of the CAN bus makes CAN FD have come to the fore, the CAN FD develops the advantages of the CAN and makes up the defects of the CAN, the CAN FD adopts the event triggering mode which is the same as the CAN communication, and software is easy to develop and transplant; and the highest data transmission rate can reach 10Mbit/s, so that the application requirements of high real-time performance and high data transmission rate are better met.
3) Message Queue Telemetry Transport (MQTT): the instant messaging protocol developed by IBM is likely to become an important part of the Internet of things. The protocol supports all platforms, can connect almost all networked items to the outside, and is used as a communication protocol for sensors and actuators (such as networking houses via Twitter).
MQTT is a "lightweight" communication protocol based on publish/subscribe (publish/subscribe) mode, which is built on the TCP/IP protocol. The MQTT has the greatest advantage that a real-time reliable message service can be provided for connecting remote devices with few codes and limited bandwidth.
The MQTT protocol is an instant messaging protocol with low overhead and low bandwidth occupation, and is widely applicable to various platforms due to the characteristics of light weight, simplicity, openness and easiness in implementation. For example, suitable for use with an embedded Cortex-M4 processor.
4) Remote monitoring: refers to a process that is typically used to monitor the condition and state of maintenance of a device by measuring parameters whose changes reflect changes in the condition and state of maintenance of the device. In remote monitoring, the condition and state of maintenance of a device are generally monitored on the basis of rules. When a change occurs in the condition and state of maintenance, more accurate fault diagnosis can be made.
The gateway and the light rail information monitoring device provided by the invention CAN receive the operation data of the electronic equipment from the CAN FD bus, convert the received operation data between the CAN FD bus protocol and the MQTT bus protocol, and transmit the converted operation data to the remote monitoring equipment through the MQTT bus, thereby finally achieving the purpose of remotely monitoring the electronic equipment.
Fig. 1 is a schematic structural diagram of a gateway according to a first embodiment of the present invention. As shown in fig. 1, a gateway provided in an embodiment of the present invention includes: CAN FD interface unit 11, processing unit 12, MQTT interface unit 13.
The CAN FD interface unit 11 is electrically connected to the electronic device 10 through a CAN FD bus, and is configured to receive operation data of the electronic device 10 from the CAN FD bus.
The processing unit 12 is electrically connected to the CAN FD interface unit 11, and is configured to convert the operating data received from the CAN FD interface unit 11 from the CAN FD protocol to the MQTT protocol, and input the operating data obtained after the protocol conversion to the MQTT interface unit 13.
The MQTT interface unit 13 is electrically connected to the processing unit 12 and the remote monitoring device 14, and is configured to transmit the operation data obtained by converting the protocol received from the processing unit 12 to the remote monitoring device 14 connected to the MQTT bus through the MQTT bus.
CAN FD interface unit 11 may also electrically isolate the differential signals from the CAN FD bus.
Specifically, the electronic device 10 may be a motor control system, a transmission system, an active suspension system, an air conditioner, an electric lock, an airbag, and the like. The embodiment of the invention does not limit the specific form of the specific electronic equipment, as long as the electronic equipment meets the detected requirement, and the operation data of the electronic equipment CAN be transmitted through the CAN FD bus and received by the CAN FD interface unit.
In the embodiment of the present invention, an electronic device is taken as an example of a light rail electronic device.
The processing unit 12 receives the operation data of the light rail electronic device from the CAN FD receiving unit, then performs conversion from the CAN FD protocol to the MQTT protocol, and finally the processing unit 12 sends the operation data after the protocol conversion to the MQTT interface unit 13 through the MQTT bus. The MQTT interface unit 13 receives the operation data converted by the processing unit 12 through the MQTT bus, and transmits the converted operation data to the remote monitoring device 14 through the MQTT bus, so as to realize remote monitoring of the electronic device 10 through the remote monitoring device 14. The gateway provided by the invention receives the running data of the electronic equipment electrically connected with the CAN FD bus from the CAN FD bus through the CAN FD interface unit, and sends the received running data of the electronic equipment to the processing unit for processing, the processing unit converts the running data from the CAN FD protocol to the MQTT protocol, and then inputs the converted running data to the MQTT interface unit, and the MQTT interface unit sends the data obtained by converting the protocol received from the processing unit to the remote monitoring equipment connected on the MQTT bus through the MQTT bus. The operation data of the electronic equipment is transmitted through the CAN FD bus, so that the transmission quantity and the transmission speed of the light rail bus are improved, the operation data is converted from the CAN FD protocol to the MQTT protocol, the operation data of the electronic equipment received through the CAN FD bus CAN be sent to the remote monitoring equipment through the MQTT bus, the remote monitoring of the electronic equipment through the remote monitoring equipment is realized, and the real-time reliable message service is provided for the remote monitoring equipment by using few codes and limited bandwidth.
Fig. 2 is a schematic structural diagram of a gateway according to a second embodiment of the present invention. In order to enable the processing unit to implement conversion from the CANFD protocol to the MQTT protocol, on the basis of the above embodiment, the processing unit 12 in the present invention may further include: a CAN FD protocol control module 121, a central processing unit 122 and an MQTT protocol control module 124.
The CAN FD protocol control module 121 is electrically connected to the CAN FD interface unit 11 and the central processing unit 122, and configured to decode the operation data and send the decoded operation data to the central processing unit.
And the central processing unit 122 is electrically connected with the CAN FD protocol control module 121, and is configured to convert the decoded operating data from the CAN FD protocol to the MQTT protocol, and send the operating data obtained after the protocol conversion to the MQTT protocol control module 124.
And the MQTT protocol control module 124 is electrically connected with the MQTT interface unit 13, and is used for encoding the data obtained after the protocol conversion and transmitting the encoded operation data to the MQTT interface unit 13 through an MQTT bus.
The Central Processing Unit 122 may have various structures and forms known to those skilled in the art, such as a Central Processing Unit (CPU), a Micro Control Unit (MCU), other large scale integrated circuits, and the like, and in one possible embodiment, the Central Processing Unit 122 may be a Cortex-M4 controller.
The Cortex-M4 controller includes advanced on-chip debug features, as well as the ability to execute a full set or subset of ARM instructions (for THUMB2 processors). Not only does the Cortex-M4 processor have its instruction set with an enhanced library of efficient Digital Signal Processing (DSP) features, including extended single cycle 16/32 bit Multiply Accumulators (MACs), dual 16 bit MAC instructions, optimized 8/16 bit SIMD and saturation instructions, but the Cortex-M4 controller has an enhanced architecture, native DSP capabilities and optional floating point accelerators introduced as luxury, allowing a programmer or hardware engineer skilled in the art to take full advantage of it.
Because the operation data transmitted by the CAN FD bus is differential signals, and the differential signals have certain advantages, such as: the interference resistance is strong, electromagnetic interference (EMI) can be effectively suppressed, timing positioning is accurate, and the like, but in order to enable the central processing unit to transmit more operation data within the same bandwidth, the differential signal needs to be converted into a digital signal for further processing. The CAN FD protocol control module 121 in the central processing unit 122 is specifically configured to convert the operation data received by the CAN FD interface unit 11 into a binary digital signal that CAN be recognized by the central processing unit 122, and send the binary digital signal to the central processing unit 122, and in addition, the CAN FD interface unit 11 may electrically isolate a differential signal from a CAN FD bus. In order to enable the operation and processing results of the central processing unit 122 to be transmitted through the MQTT bus, the MQTT protocol control module 123 in the central processing unit 122 is specifically configured to convert the binary digital signals obtained after the protocol conversion of the central processing unit 122 into differential signals, and then transmit the differential signals to the MQTT interface unit through the MQTT bus.
Specifically, the processing unit 12 is electrically connected to the CAN FD interface unit 11 through the CAN FD bus, and at this time, the CAN FD interface unit 11 transmits the operation data of the electronic device 10 received through the CAN FD bus to the CAN FD protocol control module 121.
The CAN FD protocol control module 121 is configured to decode the operation data received from the CAN FD bus and send the decoded operation data to the central processing unit 122.
The central processing unit 122 is electrically connected to the CAN FD protocol control module 121, and is configured to convert the operation data decoded by the CAN FD protocol control module 121 from the CAN FD protocol to the MQTT protocol, and input the data obtained after the protocol conversion to the MQTT protocol control module 124.
The MQTT protocol control module 124 is configured to encode data obtained after protocol conversion, and send the data obtained after encoding conversion to the MQTT interface unit 13 through an MQTT bus, and the MQTT interface unit 13 sends the converted data to the remote monitoring device 14. In a possible embodiment, as shown in fig. 2, in order to improve the data transmission efficiency during the process of transceiving and processing the operation data by the central processing unit 122, the gateway further includes a data buffer 123 capable of temporarily storing the operation data.
The data buffer 123 is electrically connected to the central processing unit 122 and the MQTT protocol control module 124, and is configured to receive data obtained by protocol conversion sent by the central processing unit 122, and input the data obtained by protocol conversion to the MQTT protocol control module 124.
The gateway provided by the invention receives the running data of the electronic equipment electrically connected with the CAN FD bus from the CAN FD bus through the CAN FD interface unit and sends the received running data of the electronic equipment to the processing unit for processing, the processing unit firstly decodes the running data through the CAN FD protocol control module, then converts the decoded running data from the CAN FD protocol to the MQTT protocol and sends the running data obtained after the protocol conversion to the data buffer area, further, the data obtained after the protocol conversion is coded through the MQTT protocol control module, and the data obtained after the coded protocol conversion is sent to the MQTT interface unit through the MQTT bus and then sent to the remote monitoring equipment through the MQTT bus.
The invention transmits the electronic equipment operation data through the CAN FD bus, thereby improving the transmission quantity and the transmission speed of the light rail bus, and the invention converts the operation data from the CAN FD protocol to the MQTT protocol, thereby not only realizing that the electronic equipment operation data received by the CAN FD bus is transmitted to the remote monitoring equipment through the MQTT bus, but also providing real-time and reliable message service for the remote monitoring equipment with few codes and limited bandwidth.
On the basis of the embodiments shown in fig. 1 and 2, the present invention provides a light rail information monitoring apparatus. Fig. 3 is a schematic structural diagram of a light rail information monitoring apparatus according to a third embodiment of the present invention. As shown in fig. 3, the light rail information monitoring apparatus includes an electronic device, a remote monitoring device, and a gateway unit. In the embodiment of the present invention, the electronic device 20 is a light rail electronic device.
The electronic device 20 is electrically connected with the gateway unit 21 and is used for inputting operation data; the gateway is electrically connected with the remote monitoring equipment 22 and is used for converting the operation data from the CAN FD protocol into the MQTT protocol; and the remote monitoring device 22 is used for carrying out remote monitoring according to the received operation data after the protocol conversion.
In one possible implementation, the electronic device 20 may include: a motor control system, a speed change system, an active suspension system, an air conditioner, an electric lock, an air bag and the like. Therefore, the electronic equipment in the light rail is remotely monitored, the maintenance condition and the state of the electronic equipment are reflected by measuring the change of the operation data of the electronic equipment, and when the maintenance condition and the state are changed, more accurate fault diagnosis can be carried out.
Optionally, the electronic device 20 is electrically connected to the gateway unit 21 through the CAN FD bus. Thus, the electronic device 20 is electrically connected to the gateway unit 21 through the CAN FD bus, so that the bus transmission rate and the transmission amount CAN be increased, and more electronic devices CAN be monitored in real time.
The gateway unit 21 may be, for example, the gateway unit 21 described in the first or second embodiment of the present invention, and may convert the CAN FD protocol into the MQTT protocol, so as to implement that the electronic device operation data received by the CAN FD bus is sent to the remote monitoring device through the MQTT bus, and provide a real-time and reliable message service for the remote monitoring device with very few codes and limited bandwidth.
The structure of the gateway unit is similar to the gateway shown in fig. 1-2, and is not described here again.
In one possible embodiment, the remote monitoring device 22 may include a console and a display interface.
The console can control the operation data sent by the MQTT bus to be displayed on the display interface, and can simply control the electronic equipment, for example, the temperature of an air conditioner is adjusted, so that the purpose of remotely monitoring the electronic equipment is achieved.
The display interface is used for displaying the operation data sent by the MQTT bus so as to complete remote monitoring of the electronic equipment.
Optionally, the electronic device is located within a light rail vehicle.
Specifically, the number of the electronic devices is multiple and the electronic devices are located in different light rail vehicles, and the electronic devices are all connected with the gateway.
The light rail information monitoring device provided by the invention receives the operation data of the electronic equipment through the CAN FD bus, then realizes the conversion from the CAN FD protocol to the MQTT protocol through the gateway unit, further transmits the converted operation data to the remote monitoring equipment, and realizes the remote monitoring of the electronic equipment.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A gateway, comprising: the system comprises a control area network CAN FD interface unit with flexible data rate, a processing unit and a message queue telemetry transmission protocol MQTT interface unit; wherein,
the CAN FD interface unit is electrically connected with electronic equipment through a CAN FD bus and used for receiving the operating data of the electronic equipment from the CAN FD bus;
the processing unit is electrically connected with the CAN FD interface unit and is used for converting the operating data from a CAN FD protocol into an MQTT protocol and inputting the operating data after protocol conversion into the MQTT interface unit;
the MQTT interface unit is electrically connected with the processing unit and the remote monitoring equipment respectively and is used for transmitting the operating data after protocol conversion to the remote monitoring equipment through an MQTT bus.
2. The gateway according to claim 1, wherein the processing unit comprises: the system comprises a CAN FD protocol control module, a central processing unit and an MQTT protocol control module; wherein,
the CAN FD protocol control module is respectively electrically connected with the CAN FD interface unit and the central processing unit, and is used for decoding the operation data and sending the decoded operation data to the central processing unit;
the central processing unit is electrically connected with the MQTT protocol control module and is used for converting the decoded operating data from a CAN FD protocol to an MQTT protocol and inputting the operating data after protocol conversion to the MQTT protocol control module;
the MQTT protocol control module is electrically connected with the MQTT interface unit and used for coding the operation data after protocol conversion and sending the coded operation data to the MQTT interface unit through an MQTT bus.
3. The gateway of claim 2, wherein the processing unit further comprises:
and the data buffer area is respectively electrically connected with the central processing unit and the MQTT protocol control module and is used for receiving the operation data after protocol conversion sent by the central processing unit and inputting the operation data after protocol conversion to the MQTT protocol control module.
4. Gateway according to claim 2 or 3, characterized in that the central processing unit is a Cortex-M4 controller.
5. Gateway according to claim 2 or 3,
the CAN FD protocol control module is also used for converting the operation data into binary digital signals and sending the binary digital signals to the central processing unit;
the MQTT protocol control module is also used for converting the converted operating data into differential signals and sending the differential signals to the MQTT interface unit.
6. A light rail information monitoring apparatus, comprising: an electronic device, a remote monitoring device and a gateway according to any of claims 1-5; wherein,
the electronic equipment is electrically connected with the gateway and used for inputting operation data;
the gateway is electrically connected with the remote monitoring equipment and is used for converting the operating data from a CAN FD protocol to an MQTT protocol;
and the remote monitoring equipment is used for carrying out remote monitoring according to the received operation data after the protocol conversion.
7. The light rail information monitoring apparatus according to claim 6, wherein the electronic device is electrically connected to the gateway through a CAN FD bus.
8. The light rail information monitoring apparatus of claim 6 or 7, wherein the remote monitoring device comprises a console and a display interface, wherein the console and the display interface are electrically connected.
9. The light rail information monitoring apparatus according to claim 6 or 7, wherein the electronic device is located in a light rail vehicle.
10. The light rail information monitoring device according to claim 9, wherein the number of the electronic devices is plural and is located in different light rail vehicles, and the plural electronic devices are connected to the gateway.
CN201810694969.1A 2018-06-29 2018-06-29 Gateway and light rail information monitoring device Pending CN109040021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810694969.1A CN109040021A (en) 2018-06-29 2018-06-29 Gateway and light rail information monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810694969.1A CN109040021A (en) 2018-06-29 2018-06-29 Gateway and light rail information monitoring device

Publications (1)

Publication Number Publication Date
CN109040021A true CN109040021A (en) 2018-12-18

Family

ID=65521946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810694969.1A Pending CN109040021A (en) 2018-06-29 2018-06-29 Gateway and light rail information monitoring device

Country Status (1)

Country Link
CN (1) CN109040021A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981435A (en) * 2019-04-02 2019-07-05 中安智联未来有限公司 Turn MQTT gateway and communication system based on CAN-ModBus
CN110768882A (en) * 2019-11-07 2020-02-07 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN111385237A (en) * 2018-12-27 2020-07-07 比亚迪股份有限公司 Rail transit data transmission method, device and system based on wide area network
CN111601419A (en) * 2020-05-18 2020-08-28 上海浔朴网络科技有限公司 Be used for temple channel to watch intelligent lamp accuse system
CN112884944A (en) * 2021-04-28 2021-06-01 奥特酷智能科技(南京)有限公司 Method and system for realizing rapid diagnosis of vehicle-mounted sensor based on Telemetry technology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895549A (en) * 2010-07-21 2010-11-24 中国北车股份有限公司大连电力牵引研发中心 Conversion gateway and conversion method of vehicle communication network data
CN202035007U (en) * 2011-03-31 2011-11-09 华车(北京)交通装备有限公司 MVB-HDLC gateway based on ARM7
CN102307162A (en) * 2011-09-08 2012-01-04 中国北车股份有限公司大连电力牵引研发中心 Gateway based on MVB (multifunction vehicle bus) network
CN202218257U (en) * 2011-09-08 2012-05-09 中国北车股份有限公司大连电力牵引研发中心 Gateway based on multifunction vehicle bus (MVB) network
CN104683199A (en) * 2013-11-28 2015-06-03 北车大连电力牵引研发中心有限公司 CANopen-Lwip gateway and train operation monitoring system
CN105915500A (en) * 2015-12-22 2016-08-31 美的集团股份有限公司 Method, protocol conversion service end and Internet of things terminal for conversion of different Internet of things protocols
CN106973097A (en) * 2017-03-28 2017-07-21 上海艾络格电子技术有限公司 A kind of industrial Internet of things system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895549A (en) * 2010-07-21 2010-11-24 中国北车股份有限公司大连电力牵引研发中心 Conversion gateway and conversion method of vehicle communication network data
CN202035007U (en) * 2011-03-31 2011-11-09 华车(北京)交通装备有限公司 MVB-HDLC gateway based on ARM7
CN102307162A (en) * 2011-09-08 2012-01-04 中国北车股份有限公司大连电力牵引研发中心 Gateway based on MVB (multifunction vehicle bus) network
CN202218257U (en) * 2011-09-08 2012-05-09 中国北车股份有限公司大连电力牵引研发中心 Gateway based on multifunction vehicle bus (MVB) network
CN104683199A (en) * 2013-11-28 2015-06-03 北车大连电力牵引研发中心有限公司 CANopen-Lwip gateway and train operation monitoring system
CN105915500A (en) * 2015-12-22 2016-08-31 美的集团股份有限公司 Method, protocol conversion service end and Internet of things terminal for conversion of different Internet of things protocols
CN106973097A (en) * 2017-03-28 2017-07-21 上海艾络格电子技术有限公司 A kind of industrial Internet of things system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385237A (en) * 2018-12-27 2020-07-07 比亚迪股份有限公司 Rail transit data transmission method, device and system based on wide area network
CN111385237B (en) * 2018-12-27 2022-08-05 比亚迪股份有限公司 Rail transit data transmission method, device and system based on wide area network
CN109981435A (en) * 2019-04-02 2019-07-05 中安智联未来有限公司 Turn MQTT gateway and communication system based on CAN-ModBus
CN109981435B (en) * 2019-04-02 2021-09-28 中安智联未来有限公司 Gateway and communication system based on CAN-ModBus to MQTT
CN110768882A (en) * 2019-11-07 2020-02-07 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN110768882B (en) * 2019-11-07 2022-07-12 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN111601419A (en) * 2020-05-18 2020-08-28 上海浔朴网络科技有限公司 Be used for temple channel to watch intelligent lamp accuse system
CN112884944A (en) * 2021-04-28 2021-06-01 奥特酷智能科技(南京)有限公司 Method and system for realizing rapid diagnosis of vehicle-mounted sensor based on Telemetry technology

Similar Documents

Publication Publication Date Title
CN109040021A (en) Gateway and light rail information monitoring device
JP7327883B2 (en) COMPUTING APPARATUS, COMPUTER PROGRAM AND COMPUTER READABLE STORAGE MEDIUM
CN110768882B (en) Data monitoring method and system, monitoring equipment and vehicle
US7962100B2 (en) Data transmission system for wireless communication
EP2541846B1 (en) Communication method of gateway device supporting CAN - and Modbus protocol conversion and gateway device using the same
US8983714B2 (en) Failsafe communication system and method
US10091053B2 (en) Comprehensive high resolution cable diagnostics for in-vehicle Ethernet PHYs
KR20190029994A (en) Failure diagnosis apparatus and method for in-vehicle control unit
JP2953763B2 (en) Optical transceiver
KR20130021652A (en) Interface apparatus and method for converting a plurality of different vehicles diagnosis protocol to standard diagnosis protocol
CN108616580A (en) Distributed system based on ICE message-oriented middlewares and its data transmission method
CN203133584U (en) CAN communication interface, cable monitor and cable monitoring system
CN115871691A (en) Vehicle running control method and device, electronic equipment and computer readable medium
Park et al. Analysis of SOME/IP-CAN Communication
Long Automobile electronic control network design based on can bus
CN110875936A (en) Communication system and method for intelligently driving automobile, terminal equipment and storage medium
Biswal et al. IoT‐Based Response Time Analysis of Messages for Smart Autonomous Collision Avoidance System Using Controller Area Network
da Silva Sa et al. Monitoring of temperature using smart sensors based on CAN architecture
Wei et al. Research on Intelligent Detection Method of Automotive Network Data Security Based on FlexRay/CAN Gateway
KR20190106069A (en) Apparatus and method for testing function between automobile equipments using can/lin integrated module and its system
Jose An FPGA implementation of 1553 protocol controller
Goyal et al. Interfacing CAN BUS with pic32 microcontroller for embedded networking
Zuo et al. Design and implement of mvb bus controller based fpga
Rohith et al. Design and integration of gateway electronic control unit (ECU) for automotive electronics applications
CN114422294B (en) Device for data interaction between FlexRay bus and BLVDS bus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication