A LonWorks bus on-off device and method
Through the design of the LonWorks bus on-off device, the problem of inaccurate information acquisition and control output in the air brake system is solved, and the intelligence and safety of the air brake system are improved.
Patent Information
- Application Number
- CN202010405618.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-05-14
AI Technical Summary
The existing technology cannot accurately obtain and forward air brake information, resulting in untimely and inaccurate control output of the air brake system, and failing to improve the intelligence and safety of the system.
Design a LonWorks bus on-off device, including a LonWorks bus monitoring module, a LonWorks bus control module, a LonWorks bus and serial port conversion module, a microcontroller and a communication module. By monitoring and converting data, the communication between the electronic brake valve and the integrated processing unit is realized. Communication to ensure timely and accurate output of control instructions.
It achieves accurate collection of air brake system information and accurate transmission of control instructions, improving the intelligence and safety of the air brake system.
Smart Images

Figure CN111399430B
Abstract
Description
Technical Field
[0001] The invention relates to the field of communication control, and in particular to a LonWorks bus on-off device and method. Background Art
[0002] Since the beginning of the 21st century, with the rapid development of railway transportation towards efficiency, convenience and safety, higher requirements have been put forward for the safety of railway transportation operation. In the safety locomotive auxiliary driving system, the requirements for the air brake system have gradually increased. At present, on the Harmony Electric locomotive, it is impossible to use the traditional way of modifying the air circuit to achieve the relevant control of the air brake. That is, it is impossible to accurately obtain and forward the braking information, and thus it is impossible to accurately guarantee the output of the control. In the prior art, a communication on-off device is urgently needed to improve the intelligence and safety of the air brake system. Summary of the invention
[0003] The purpose of the present invention is to provide a LonWorks bus on-off device and method, which can accurately obtain and forward brake information, ensure timely and accurate output of control, and improve the intelligence and safety of the air brake system.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A LonWorks bus on-off device, comprising: a LonWorks bus monitoring module, a LonWorks bus control module, a LonWorks bus and serial port conversion module, a single chip microcomputer and a communication module;
[0006] The LonWorks bus monitoring module communicates with the LonWorks bus and serial port conversion module, the electronic brake valve in the air brake system and the integrated processing unit in the air brake system respectively, and the LonWorks bus monitoring module is used to monitor the LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit;
[0007] The LonWorks bus and serial port conversion module communicates with the single-chip microcomputer, and is used to convert the LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit into serial port monitoring data; the LonWorks bus and serial port conversion module is also used to convert the proofread sending instruction issued by the single-chip microcomputer into LonWorks bus instruction data;
[0008] The single-chip microcomputer communicates with the locomotive auxiliary operating system through the communication module, and the single-chip microcomputer is used to calibrate and convert the serial port monitoring data, and send the calibrated serial port monitoring data to the locomotive auxiliary operating system; the single-chip microcomputer is also used to calibrate the sending instructions of the locomotive auxiliary operating system, and send the calibrated sending instructions to the LonWorks bus control module through the LonWorks bus and the serial port conversion module;
[0009] The LonWorks bus control module is connected to the LonWorks bus and serial port conversion module, the electronic brake valve and the integrated processing unit respectively through the LonWorks bus. The LonWorks bus control module is used to control the communication status of the LonWorks bus and serial port conversion module, the electronic brake valve and the integrated processing unit according to the LonWorks bus instruction data; the communication status includes that the LonWorks bus and serial port conversion module both communicate with the electronic brake valve and the integrated processing unit or the electronic brake valve communicates with the integrated processing unit.
[0010] Optionally, the LonWorks bus and serial port conversion module includes: a first LonWorks bus and serial port conversion circuit and a second LonWorks bus and serial port conversion circuit;
[0011] The first LonWorks bus and serial port conversion circuit communicates with the LonWorks bus control module, the LonWorks bus monitoring module and the single-chip microcomputer respectively; the first LonWorks bus and serial port conversion circuit is used to convert the LonWorks bus monitoring data of the electronic brake valve into serial port data; the first LonWorks bus and serial port conversion circuit is also used to convert the proofread sending instruction into the LonWorks bus instruction data of the electronic brake valve;
[0012] The second LonWorks bus and serial port conversion circuit communicates with the LonWorks bus control module, the LonWorks bus monitoring module and the single-chip microcomputer respectively; the second LonWorks bus and serial port conversion circuit is used to convert the LonWorks bus monitoring data of the integrated processing unit into serial port data; the first LonWorks bus and serial port conversion circuit is also used to convert the proofread sending instruction into the LonWorks bus instruction data of the integrated processing unit.
[0013] Optionally, the LonWorks bus control module is a relay.
[0014] Optionally, the model of the single chip microcomputer is STM32F407IGT.
[0015] Optionally, the communication module is a CAN bus.
[0016] Optionally, the LonWorks bus on-off device further includes: a power supply module;
[0017] The power supply module is respectively connected with the LonWorks bus monitoring module, the LonWorks bus control module, the LonWorks bus and serial port conversion module, the single chip microcomputer and the communication module.
[0018] A LonWorks bus on-off method, the method being applied to the LonWorks bus on-off device, comprising:
[0019] Obtain LonWorks bus monitoring data of the electronic brake valve and integrated processing unit;
[0020] The LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit are converted into the serial port monitoring data of the electronic brake valve and the integrated processing unit through the LonWorks bus and the serial port conversion module;
[0021] Verifying the serial port monitoring data of the electronic brake valve and the integrated processing unit;
[0022] Determine the working mode of the LonWorks bus on-off device according to the verified serial port monitoring data; the working mode includes isolation mode, transparent transmission mode and control mode;
[0023] The communication conditions of the LonWorks bus and serial port conversion module, the electronic brake valve and the integrated processing unit are controlled according to the working mode; the communication conditions include that the LonWorks bus and the serial port conversion module both communicate with the electronic brake valve and the integrated processing unit or the electronic brake valve communicates with the integrated processing unit.
[0024] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0025] The purpose of the present invention is to provide a LonWorks bus on-off device and method, which communicates with a locomotive auxiliary operating system through the LonWorks bus on-off device, enables a single-chip microcomputer to communicate with the LonWorks bus and other devices through the LonWorks bus and a serial port conversion module, and then obtains the LonWorks bus monitoring data of an electronic brake valve and an integrated processing unit, that is, completes the collection of information on an air brake system, and can also accurately send control instructions to the air brake system, thereby ensuring timely and accurate output of control, and improving the intelligence and safety of the air brake system. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0027] Figure 1 The present invention provides a schematic diagram of the structure of a LonWorks bus on-off device. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] The purpose of the present invention is to provide a LonWorks bus on-off device and method, which can accurately obtain and forward brake information, ensure timely and accurate output of control, and improve the intelligence and safety of the air brake system.
[0030] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0031] Figure 1 A schematic diagram of the structure of a LonWorks bus on-off device provided by the present invention is shown in FIG. Figure 1As shown, a LonWorks bus on-off device provided by the present invention comprises: a LonWorks bus monitoring module 3, a LonWorks bus control module 8, a LonWorks bus and serial port conversion module 4, a single-chip microcomputer 5 and a communication module 6. The LonWorks bus control module 8 is a relay; the model of the single-chip microcomputer 5 is STM32F407IGT; and the communication module 6 is a CAN bus.
[0032] The LonWorks bus monitoring module 3 communicates with the LonWorks bus and serial port conversion module 4, the electronic brake valve 1 in the air brake system and the integrated processing unit 2 in the air brake system respectively, and the LonWorks bus monitoring module 3 is used to monitor the LonWorks bus monitoring data of the electronic brake valve 1 and the integrated processing unit 2. The LonWorks bus monitoring data includes a frame header, a function code, a source and destination address, a network variable number, a frame sequence number, a data confirmation type and a data length.
[0033] The LonWorks bus and serial port conversion module 4 communicates with the single-chip microcomputer 5. The LonWorks bus and serial port conversion module 4 is used to convert the LonWorks bus monitoring data of the electronic brake valve 1 and the integrated processing unit 2 into serial port monitoring data; the LonWorks bus and serial port conversion module 4 is also used to convert the proofread sending instruction issued by the single-chip microcomputer 5 into LonWorks bus instruction data. The serial port monitoring data includes a frame header, a function code, a source and destination address, a network variable number, a frame sequence number, a data confirmation type, and a data length.
[0034] Specifically, the LonWorks bus and serial port conversion module 4 converts LonWorks bus data into serial port data through the dedicated transceiver chip of Echelon; the serial port data is converted into LonWorks bus data through the dedicated transceiver chip of Echelon.
[0035] The single-chip microcomputer 5 communicates with the locomotive auxiliary operating system 7 through the communication module 6. The single-chip microcomputer 5 is used to calibrate and convert the serial port monitoring data, and send the calibrated serial port monitoring data to the locomotive auxiliary operating system 7; the single-chip microcomputer 5 is also used to calibrate the sending instructions of the locomotive auxiliary operating system 7, and send the calibrated sending instructions to the LonWorks bus control module 8 through the LonWorks bus and serial port conversion module 4.
[0036] The LonWorks bus control module 8 is connected to the LonWorks bus and serial port conversion module 4, the electronic brake valve 1 and the integrated processing unit 2 respectively through the LonWorks bus. The LonWorks bus control module 8 is used to control the communication status of the LonWorks bus and serial port conversion module 4, the electronic brake valve 1 and the integrated processing unit 2 according to the LonWorks bus instruction data; the communication status includes that the LonWorks bus and serial port conversion module 4 both communicate with the electronic brake valve 1 and the integrated processing unit 2 or the electronic brake valve 1 and the integrated processing unit 2 communicate.
[0037] Specifically, when the LonWorks bus control module 8 is a relay, the high and low levels of the general input / output port on the CPU are used to control the two states of the relay, namely, the on / off control of the LonWorks bus at the EBV end of the electronic brake valve 1 and the IPM end of the integrated processing unit 2; that is, when the general input / output port is at a high level, the relay is disconnected, and the EBV end bus and the IPM end bus are disconnected (the EBV end bus is connected to the first LonWorks bus and the serial port conversion circuit, and the IPM end is connected to the second LonWorks bus and the serial port conversion circuit); when the general input / output port is at a low level, the relay is closed, and the BEV end bus and the IPM end bus are connected (the connection between the EBV end bus and the first LonWorks bus and the serial port conversion circuit is disconnected, and the connection between the IPM end and the second LonWorks bus and the serial port conversion circuit is disconnected).
[0038] The single chip microcomputer 5 includes a CPU circuit, a real-time clock RTC circuit and a joint test working group JTAG debugging circuit.
[0039] The RTC circuit provides a stable clock signal for the CPU circuit, and the JTAG debugging circuit provides a debugging interface for the CPU through the JTAG debugging port. The RTC circuit and the JTAG debugging circuit are independent of each other.
[0040] The LonWorks bus and serial port conversion module 4 comprises: a first LonWorks bus and serial port conversion circuit and a second LonWorks bus and serial port conversion circuit.
[0041] The first LonWorks bus and serial port conversion circuit communicates with the LonWorks bus control module 8, the LonWorks bus monitoring module 3 and the single-chip microcomputer 5 respectively; the first LonWorks bus and serial port conversion circuit is used to convert the LonWorks bus monitoring data of the electronic brake valve 1 into serial port data; the first LonWorks bus and serial port conversion circuit is also used to convert the proofread sending instruction into the LonWorks bus instruction data of the electronic brake valve 1.
[0042] The second LonWorks bus and serial port conversion circuit communicates with the LonWorks bus control module 8, the LonWorks bus monitoring module 3 and the single-chip microcomputer 5 respectively; the second LonWorks bus and serial port conversion circuit is used to convert the LonWorks bus monitoring data of the integrated processing unit 2 into serial port data; the first LonWorks bus and serial port conversion circuit is also used to convert the proofread sending instruction into the LonWorks bus instruction data of the integrated processing unit 2.
[0043] Furthermore, the LonWorks bus on-off device provided by the present invention also includes: a power supply module.
[0044] The power supply module is connected to the LonWorks bus monitoring module 3, the LonWorks bus control module 8, the LonWorks bus and serial port conversion module 4, the single chip microcomputer 5 and the communication module 6 respectively.
[0045] The present invention also provides a LonWorks bus on-off method, which is applied to the LonWorks bus on-off device, and comprises:
[0046] S101, acquiring LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit.
[0047] S101, converting the LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit into the serial port monitoring data of the electronic brake valve and the integrated processing unit through a LonWorks bus and serial port conversion module.
[0048] S101, calibrating the serial port monitoring data of the electronic brake valve and the integrated processing unit.
[0049] S101, determining the working mode of the LonWorks bus on-off device according to the verified serial port monitoring data; the working mode includes isolation mode, transparent transmission mode and control mode.
[0050] S101, controlling the communication status of the LonWorks bus and the serial port conversion module, the electronic brake valve and the integrated processing unit according to the working mode; the communication status includes that the LonWorks bus and the serial port conversion module both communicate with the electronic brake valve and the integrated processing unit or the electronic brake valve and the integrated processing unit communicate with each other.
[0051] The working conditions in each working mode are described in detail, as follows:
[0052] (1) Isolation mode: Before the locomotive auxiliary control system completes the power-on self-test or in standby mode, the LonWorks bus on-off device is in isolation mode.
[0053] The default setting of the LonWorks bus control module is to short-circuit the LonWorks bus at the EBV end and the LonWorks bus at the IPM end. The LonWorks bus does not pass through the LonWorks bus and serial port conversion module. The EBV communicates directly with the IPM and the other end EBV (hereinafter referred to as EVB2) through the LonWorks bus.
[0054] (2) Transparent transmission mode: When the locomotive auxiliary control system does not output air brakes in the auxiliary mode or the automatic vehicle control mode, the LonWorks bus on-off device is in the transparent transmission mode.
[0055] When the locomotive auxiliary control system does not output air brakes in the auxiliary mode or the automatic vehicle control mode, the locomotive auxiliary control system sends a transparent transmission instruction to the LonWorks bus on-off device through the CAN bus, and the LonWorks bus on-off device controls the LonWorks bus control module. When the EBV sends data: the LonWorks bus first passes through the specified LonWorks bus serial port conversion module to realize the conversion between the LonWorks bus data and the serial port data, the serial port data received by the CPU from the serial port (recorded as serial port 2) is output from another serial port (recorded as serial port 3) in the form of serial port data, and the serial port data output by serial port 3 is converted into LonWorks bus data via the LonWorks bus and the serial port conversion module, so that the LonWorks bus on-off device simulates the communication between the EBV and the IPM or EVB2. When EBV receives data, the data sent by IPM or EBV2 will first pass through the LonWorks bus serial port conversion module and be converted into serial port data. The CPU will output the serial port data received from serial port 3 from serial port 2 in the form of serial port data. The serial port data output by serial port 2 will be converted into LonWorks bus data through the LonWorks bus serial port conversion module and transmitted to EBV.
[0056] (3) Control mode: When the locomotive auxiliary control system outputs an air brake command, the LonWorks bus on-off device is in control mode.
[0057] The locomotive auxiliary control system sends control instructions to the LonWorks bus on-off device through the CAN bus, and the LonWorks bus on-off device controls the LonWorks bus control module; when the EBV sends data: the LonWorks bus first passes through the specified first LonWorks bus and serial port conversion circuit to realize the conversion of LonWorks bus data and serial port data, the CPU parses the serial port data according to the agreed conversion protocol to obtain the transmission data and status of IPM and EBV and other information, and uploads it to the locomotive auxiliary control system, the locomotive auxiliary control system calculates the corresponding braking instruction according to the received information and the current operating status according to the established algorithm strategy, and then sends the braking instruction to the LonWorks bus on-off device, the CPU converts the braking instruction to be sent into LonWorks bus data through the second LonWorks bus and serial port conversion circuit, and sends the braking instruction to IPM or EVB2. When EBV receives data, the data sent by IPM or EBV2 first passes through the second LonWorks bus and serial port conversion circuit and is converted into serial port data. The CPU parses the serial port data according to the agreed conversion protocol to obtain the transmission data and status information of IPM and EBV, and uploads it to the locomotive auxiliary control system. At the same time, the serial port data is converted into LonWorks bus data through the first LonWorks bus and serial port conversion circuit, and the LonWorks bus data is sent to EBV.
[0058] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0059] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A LonWorks bus on-off device, characterized in that: include: LonWorks bus monitoring module, LonWorks bus control module, LonWorks bus and serial port conversion module, single chip microcomputer and communication module; The LonWorks bus monitoring module communicates with the LonWorks bus and serial port conversion module, the electronic brake valve in the air brake system and the integrated processing unit in the air brake system respectively, and the LonWorks bus monitoring module is used to monitor the LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit; The LonWorks bus and serial port conversion module communicates with the single-chip microcomputer, and is used to convert the LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit into serial port monitoring data; the LonWorks bus and serial port conversion module is also used to convert the proofread sending instruction issued by the single-chip microcomputer into LonWorks bus instruction data; The single-chip microcomputer communicates with the locomotive auxiliary operating system through the communication module, and the single-chip microcomputer is used to calibrate and convert the serial port monitoring data, and send the calibrated serial port monitoring data to the locomotive auxiliary operating system; the single-chip microcomputer is also used to calibrate the sending instructions of the locomotive auxiliary operating system, and send the calibrated sending instructions to the LonWorks bus control module through the LonWorks bus and the serial port conversion module; The LonWorks bus control module is connected to the LonWorks bus and serial port conversion module, the electronic brake valve and the integrated processing unit respectively through the LonWorks bus, and the LonWorks bus control module is used to control the communication status of the LonWorks bus and serial port conversion module, the electronic brake valve and the integrated processing unit according to the LonWorks bus instruction data; the communication status includes that the LonWorks bus and serial port conversion module both communicate with the electronic brake valve and the integrated processing unit or the electronic brake valve communicates with the integrated processing unit; The LonWorks bus control module is a relay; The model of the single chip microcomputer is STM32F407IGT.
2. A LonWorks bus on-off device according to claim 1, characterized in that: The LonWorks bus and serial port conversion module comprises: a first LonWorks bus and serial port conversion circuit and a second LonWorks bus and serial port conversion circuit; The first LonWorks bus and serial port conversion circuit communicates with the LonWorks bus control module, the LonWorks bus monitoring module and the single-chip microcomputer respectively; the first LonWorks bus and serial port conversion circuit is used to convert the LonWorks bus monitoring data of the electronic brake valve into serial port data; the first LonWorks bus and serial port conversion circuit is also used to convert the proofread sending instruction into the LonWorks bus instruction data of the electronic brake valve; The second LonWorks bus and serial port conversion circuit communicates with the LonWorks bus control module, the LonWorks bus monitoring module and the single-chip microcomputer respectively; the second LonWorks bus and serial port conversion circuit is used to convert the LonWorks bus monitoring data of the integrated processing unit into serial port data; the second LonWorks bus and serial port conversion circuit is also used to convert the proofread sending instruction into the LonWorks bus instruction data of the integrated processing unit.
3. A LonWorks bus on-off device according to claim 1, characterized in that: The communication module is a CAN bus.
4. A LonWorks bus on-off device according to any one of claims 1 to 3, characterized in that: The LonWorks bus on-off device further comprises: a power supply module; The power supply module is respectively connected with the LonWorks bus monitoring module, the LonWorks bus control module, the LonWorks bus and serial port conversion module, the single chip microcomputer and the communication module.
5. A LonWorks bus on-off method, characterized in that: The method is applied to a LonWorks bus on-off device as described in any one of claims 1 to 4, comprising: Obtain LonWorks bus monitoring data of the electronic brake valve and integrated processing unit; The LonWorks bus monitoring data of the electronic brake valve and the integrated processing unit are converted into the serial port monitoring data of the electronic brake valve and the integrated processing unit through the LonWorks bus and the serial port conversion module; Verifying the serial port monitoring data of the electronic brake valve and the integrated processing unit; Determine the working mode of the LonWorks bus on-off device according to the verified serial port monitoring data; the working mode includes isolation mode, transparent transmission mode and control mode; The communication conditions of the LonWorks bus and serial port conversion module, the electronic brake valve and the integrated processing unit are controlled according to the working mode; the communication conditions include that the LonWorks bus and the serial port conversion module both communicate with the electronic brake valve and the integrated processing unit or the electronic brake valve communicates with the integrated processing unit.
