CN110650066A - Embedded bus communication detection system and reliability detection method thereof - Google Patents

Embedded bus communication detection system and reliability detection method thereof Download PDF

Info

Publication number
CN110650066A
CN110650066A CN201910924416.5A CN201910924416A CN110650066A CN 110650066 A CN110650066 A CN 110650066A CN 201910924416 A CN201910924416 A CN 201910924416A CN 110650066 A CN110650066 A CN 110650066A
Authority
CN
China
Prior art keywords
data
bus
embedded
upper computer
interface
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.)
Granted
Application number
CN201910924416.5A
Other languages
Chinese (zh)
Other versions
CN110650066B (en
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.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute of Technology
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 Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN201910924416.5A priority Critical patent/CN110650066B/en
Publication of CN110650066A publication Critical patent/CN110650066A/en
Application granted granted Critical
Publication of CN110650066B publication Critical patent/CN110650066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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
    • 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
    • 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/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses an embedded bus communication detection system and a reliability detection method thereof, which are based on that two buses of an RS-485 bus and a CAN bus respectively transmit data independently and two paths of data are respectively packaged and analyzed through a UART communication protocol, an MVB protocol and a CAN bus protocol to simulate the operation of a Train Communication Network (TCN). Meanwhile, a UCOSII system is transplanted in the embedded equipment, so that the embedded equipment can conveniently carry out multi-task operation and management; and the LWIP protocol is added to establish connection with the PC, and a protocol foundation is established for data transmission to an upper computer through an Ethernet line for data processing. And finally, applying the embedded terminal to a bus communication detection system to evaluate the quality of the TCN-related network card, and analyzing the reason of the communication error of the TCN-related network card from a physical layer by means of an oscilloscope.

Description

Embedded bus communication detection system and reliability detection method thereof
Technical Field
The invention relates to a reliability detection method of a bus communication detection system based on an embedded type, belonging to the reliability detection technology of a communication module of a metro door controller.
Background
Since the emergence of the first steam engine in 1804, modern transportation requirements have been increasing, and trains have been changing continuously: steam locomotive-diesel locomotive-electric locomotive-harmonious railway; while the speed of trains is increasing, the importance of Train Communication Networks (TCNs) is also growing dramatically. The CAN bus, the MVB and the 485 bus which are important components of the field bus are widely applied internationally by virtue of the respective advantages. The rapid development of DCS and the urgent need of a digital communication bus with strong remote anti-interference capability enable people to develop an RS485 bus, the maximum communication distance of the RS485 bus can reach 1219m, the transmission rate reaches 100kb/s, and the maximum transmission rate can reach 10 Mbit/s; the wireless transceiver has the advantages of strong common-mode interference resistance, realizability of networking function, compatibility with TTL level, high sensitivity of the bus transceiver and the like.
The RS485 bus has unique advantages which cannot be compared with other buses in the field of industrial multipoint data communication. After being connected by a bus technology, each node device transmits data to an upper computer for processing through network transmission, so that the whole bus communication system can be widely applied to the field of intelligent home.
The fieldbus is of outmost importance as a physical basis for the composition of the communication network. At present, the buses mainly used in the market include CAN bus, MVB, 485 bus, and the like. While the field bus is used to a large extent in the engineering, the reliability of its communication is also of particular importance. The method not only needs various detection systems to remove unqualified bus communication modules, but also needs engineers to analyze the reason that the communication is unreliable, so that the problem of influencing the bus communication is solved, and the reliability of the bus communication is improved.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides an embedded bus communication detection system and a reliability detection method thereof, which can be suitable for reliability detection of subway door controller communication or other field buses.
In order to achieve the purpose, the invention adopts the technical scheme that: a reliability detection method for a bus communication detection system based on an embedded type comprises an embedded type monitoring end and an upper computer data analysis end. The communication module is configured correspondingly before testing, a bus data sending end sends any data to an embedded receiving end through two different buses of CAN and 485, a bus communication detection system module transmits the received data to a PC end through an Ethernet line, and upper computer software of the PC end stores and processes the data.
The embedded monitoring terminal comprises a microprocessor STM32F407ZGT6, a CAN transceiver TJA1050, a 485 transceiver SP3485, an Ethernet chip LAN8720A and an Ethernet interface socket RJ 45. The microprocessor is connected to a data receiving and data transmitting port of a CAN transceiver TJ1050 through GPIOA11 and GPIOA12, and two level outlets of CAN _ H and CAN _ L of the CAN transceiver TJ1050 are connected to a CAN bus communication interface; the microprocessor is connected to an interface for receiving and sending data of a 485 transceiver SP3485 through GPIOB10 and GPIOB11, the data receiving and sending of the SP3485 are controlled through a GPIOG8 port, and two level output ports A, B of the 485 transceiver SP3485 are connected to a 485 bus communication interface; the data is transmitted between the ethernet chip LAN8720A and the microprocessor through the RMII interface, and the data is transmitted between the ethernet chip LAN and the ethernet interface socket RJ45 through two pairs of transmitting and receiving differential lines.
The embedded monitoring end and the PC are connected through respective RJ45 interfaces by using a network cable, and the embedded monitoring end and the PC are communicated by using Ethernet for data transmission. The PC upper computer is compiled based on Qt, the upper computer software can receive and display data transmitted by different lower computer clients, the functions of comparing the error between the originally sent data and the received data and calculating the error code number and the error code rate can be realized, meanwhile, the calculation result can be displayed on an interface, and the error data can be stored in a specific EXCEL file.
The invention also discloses a reliability detection method of the embedded bus communication detection system, which comprises the following steps:
step 1: the bus data sending end initializes and detects whether the 485 bus interface and the CAN bus interface of the data sending end have data transmission and whether the data transmission is correct; if the data starts to be transmitted and the transmission is correct, entering the step 2; otherwise, returning to the step 1.
Step 2: after the embedded monitoring end is powered on, a CAN communication bus starts to be initialized, a CAN clock is enabled, the mode and the bit timing sequence of the CAN are required to be set, whether the mailbox and new data of CAN communication are covered and a filter is judged, then the CAN bus data receiving interruption prompting data is started to arrive and received, and then an STM32F767IGT6 microprocessor chip detects whether the CAN bus is initialized successfully: if the initialization is successful, entering step 3; otherwise, printing is wrong, and the step 2 is returned.
And step 3: the embedded monitoring end detects that CAN bus initialization is successful, starts to initialize the 485 communication bus, is configured to a receiving mode and starts a serial port to receive interruption and a 485 data receiving function, and an STM32F767IGT6 microprocessor chip detects whether the 485 bus is successful in initialization: if the initialization is successful, entering the step 4; otherwise, printing is wrong, and the step 3 is returned.
And 4, step 4: the embedded monitoring end detects that the 485 bus is successfully initialized, then the UCOSII operating system is initialized, and the STM32F407ZGT6 microprocessor chip detects an operating system kernel initialization return code: if the code is a success code, entering step 5; otherwise, ending the running of the embedded monitoring end program and throwing the exception.
And 5: the microprocessor receives the ucossi initialization success code and then determines whether the RMII interface of LAN8720A was successfully configured: if the configuration is successful, entering step 6; otherwise, return to step 5.
Step 6: the RMII interface is successfully configured, which means that the Ethernet of the embedded monitoring terminal is successfully initialized, then the upper computer is opened, the port number of the upper computer is configured, the corresponding port is intercepted, and whether the interception of the server side of the upper computer is successful is checked: if the monitoring is successful, entering step 7; otherwise, returning to step 6, the upper computer server side continuously tries interception until interception is successful.
And 7: the upper computer server side is successfully intercepted, which means that the embedded lower computer can be allowed to connect, at this time, the embedded monitoring side, namely information such as an IP address, a subnet mask, a gateway and the like of a TCP client side, needs to be configured, a port number corresponding to the server is selected for TCP connection, and then whether the TCP client side is successfully connected is checked: if the connection is successful, entering step 8; otherwise, continuously and repeatedly trying to connect to the upper computer server, and returning to the step 7.
And 8: the TCP client is initialized successfully, the STM32F767IGT6 microprocessor waits for 485 data receiving interruption or CAN bus receiving interruption, and if 485 data receiving interruption is received, the method goes to step 9; if receiving the CAN bus receiving interruption, entering the step 10; otherwise, returning to step 8, waiting for any data receiving interrupt to arrive.
And step 9: the microprocessor receives 485 data receiving interruption, which indicates that a data frame is transmitted through a 485 bus, the MCU displays the received data frame on the LCD, and simultaneously transmits data frame data to the upper computer through the Ethernet transmission interface, and the step 11 is carried out; otherwise, returning to step 8 to wait for 485 data reception interruption.
Step 10: the microprocessor receives CAN bus receiving interruption, which indicates that a data frame is transmitted through the CAN bus, the MCU displays the received data frame on the LCD, and simultaneously transmits data frame data to the upper computer through the Ethernet transmission interface, and the step 11 is carried out; otherwise, returning to step 8 to wait for the CAN bus to receive the interrupt.
Step 11: the embedded monitoring end transmits acquired data to a PC through a network cable, the connection condition of a client of an upper computer end needs to be checked, after the embedded client is successfully connected, CAN bus data frames or 485 bus data frames acquired by the clients with different IP addresses are transmitted to the upper computer, the upper computer end classifies received data packets according to the IP addresses of the different clients and displays the data packets in corresponding areas of an interface, meanwhile, the data packets are compared with preset correctly transmitted texts, data such as error code number, error code rate, frame period and the like are calculated, if the data have errors, the received data are stored in an EXCEL file specific to the IP of each client, and the stored attributes comprise the frame period, time, error code number and error code rate.
Has the advantages that:
the invention uses the embedded front end to finish simple processing of the data sent by the detected communication module and transmits the data to the PC; a PC is used for storing and complex processing of data. The scheme of combining the embedded equipment and the PC is used, so that the distance between the working sites of the monitoring points is not limited, the monitored data can be transmitted to the PC as long as the working site of the monitor has a network port, and thus, an engineer can monitor the original communication data from a PC master monitoring end in real time and remotely, the reason of unreliable communication is analyzed, the quality evaluation of TCN related network cards in a bus communication system is completed, the working efficiency is improved, the implementation cost is reduced, and the problems of influencing bus communication and the reliability of bus communication are solved.
Drawings
FIG. 1 is a block diagram of a bus communication detection system according to the present invention;
FIG. 2 is a schematic diagram of the physical topology of the system of the present invention;
FIG. 3 is a block diagram of a system test structure according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1 and fig. 2, the present embodiment discloses an embedded bus communication detection system, which includes an embedded monitoring end and an upper computer data analysis end. After the bus data sending end is successfully configured, any data is sent to the bus communication detection module, namely an embedded receiving end, through two different buses of CAN and 485, the embedded monitoring end takes a microprocessor STM32F407ZGT6 as a core and is connected to a data receiving and data sending port of a CAN transceiver TJ1050 through GPIOA11 and GPIOA12, two level outlets of CAN _ H and CAN _ L of the CAN transceiver TJ1050 are connected to a CAN bus communication interface, and CAN bus data of the bus data sending end is received by the embedded detection end through the communication interface; the embedded monitoring end is connected to an interface of a 485 transceiver SP3485 for receiving and sending data through GPIOB10 and GPIOB11, the interface of the SP3485 for receiving and sending data is controlled through a GPIOG8 port, two level output ports A, B of the 485 transceiver SP3485 are connected to a 485 bus communication interface, and 485 bus data of a bus data sending end is received by the embedded detection end through the communication interface.
As shown in fig. 2, if the embedded monitoring end receives data from any bus, that is, the data is transmitted to the upper computer through the TCP via the network cable, the upper computer end receives the bus original data and then displays the data in the corresponding area of the interface, compares the error between the original transmitted data and the received data, calculates the error code number and the error rate, and simultaneously can display the calculation result on the interface and synchronously store the error data in the specific EXCEL file.
The test flow of the whole system is shown in fig. 3, and the following three works are mainly completed:
(1) and (3) environment construction: the bus sending end sends data, the front end of the monitoring system is responsible for receiving, meanwhile, the front end is forwarded to an upper computer through a TCP/IP protocol, and the upper computer is responsible for counting error code conditions;
(2) and carrying out missing codes and error codes at the appointed position of the information source, and checking a test result under the detection of the upper computer software.
(3) And carrying out missing codes and error codes at the same designated positions of the information source, and checking the captured distorted waveform on an oscilloscope.
The data communication between the embedded monitoring end and the 485 bus or the CAN bus is realized by interruption, namely, the data receiving from the bus, so that the system operation efficiency and the data processing timeliness are improved. The CAN bus utilizes bus receiving interruption to prompt the CAN bus to upload data, meanwhile, an interruption service function is used for receiving data frames and storing the data frames in a buffer area which is opened up in advance, when effective data is judged to arrive in the CAN receiving interruption, CAN bus data arrival signals are sent to an Ethernet bus data sending task, a corresponding zone bit is set to be an effective value, and when the UCOSII operating system executes the Ethernet sending task, whether the buffer area data are sent to an upper computer or not is determined according to whether the CAN bus data sending zone bit is effective or not. Similarly, the 485 bus prompts and receives data by using the interruption of an embedded serial port transceiving line connected to a signal conversion chip SP3485 (SP 3485 converts 485 bus signals into serial port signals), the serial port receives an interrupted receiving data frame and temporarily stores the interrupted receiving data frame in an FIFO buffer area, meanwhile, when a UCOSII operating system executes an Ethernet sending task, whether a next effective reading position in the FIFO buffer area has an effective data frame or not is circularly detected, if the effective data frame exists, the effective data frame is taken out to another newly-opened buffer area, the data in the buffer area is sent to an upper computer, otherwise, if the next effective position in the FIFO buffer area does not have effective data, the 485 bus data sending is skipped, and other operations in a program are executed.
After the embedded monitoring end transmits the acquired image data to the upper computer through the Ethernet, the upper computer needs to receive and analyze the data. As shown in the system test flow of fig. 3, the source adds the self-made error data and sends the error data, which is equivalent to the situation of simulating the error of the original data of the fieldbus or the data error caused by sending interference, and the upper computer end needs to complete the error detection function. Because the data transmitted by the specific information source of the field bus is stable under normal conditions, such as the working data of a subway door controller, and the like, the text which is manually set at the upper computer end and is transmitted correctly is fixed, if no error occurs, each transmission is the group of data, and the position of the data with the error can be found immediately by comparing when the transmission is wrong.
The statistical method for the judgment error of the upper computer end comprises the following steps: the error code, the missing code and the multi-code are all regarded as error codes, the counting number is accurate to the byte number, the error code of the previous frame can not influence the judgment of the error code of the next frame, and the error code of the previous byte can not influence the judgment of the error code of the next frame, namely the system can avoid a series of error judgment phenomena caused by the dislocation among the bytes as much as possible. The method for calculating the average bit error rate at the upper computer end comprises the following steps:
Figure DEST_PATH_IMAGE002A
after receiving the data, the upper computer end firstly displays the data on an interface according to the embedded IP address and a frame of data as a division unit, and meanwhile, if a plurality of embedded clients are connected to the upper computer, an operator can freely select the connected embedded IP and display the data of the specific node at a specific position for independent observation. After the upper computer end displays the data, the data is compared with the correct sending data, the sending period of the data frame is counted, when the period is reached, the error code number and the error rate of the data frame are calculated, meanwhile, error information is stored in an EXCEL table named by using the IP of the embedded end corresponding to the sending error data as a name in real time, and the stored attributes comprise the frame period, the time, the error code number and the error rate so as to be convenient for the analysis of the subsequent error data.
The above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.

Claims (4)

1. The utility model provides a bus communication detecting system based on it is embedded which characterized in that: the monitoring system comprises an embedded monitoring end and an upper computer data analysis end; before testing, the communication module sends any data to the embedded receiving end through a bus data sending end through two different buses of CAN and 485, the bus communication detection system module transmits the received data to the PC end through an Ethernet line, and then data storage and processing are carried out through upper computer software of the PC end.
2. The embedded bus communication detection system as claimed in claim 1, wherein: the embedded monitoring end comprises a microprocessor STM32F407ZGT6, a CAN transceiver TJA1050, a 485 transceiver SP3485, an Ethernet chip LAN8720A and an Ethernet interface socket RJ 45; the microprocessor STM32F407ZGT6 is connected to the data receiving and data transmitting ports of the CAN transceiver TJ1050 through GPIOA11 and GPIOA12, and two level outlets of CAN _ H and CAN _ L of the CAN transceiver TJ1050 are connected to the CAN bus communication interface; the microprocessor STM32F407ZGT6 is connected to an interface of a 485 transceiver SP3485 for receiving and sending data through GPIOB10 and GPIOB11, the interface of the SP3485 for receiving and sending data is controlled through a GPIOG8 port, and two level output ports A, B of the 485 transceiver SP3485 are connected to a 485 bus communication interface; the data is transmitted between the ethernet chip LAN8720A and the microprocessor STM32F407ZGT6 through the RMII interface, and between the ethernet chip LAN8720A and the ethernet interface socket RJ45 through two pairs of transmitting and receiving differential lines.
3. The embedded bus communication detection system as claimed in claim 1, wherein: the embedded monitoring end and the PC are connected through RJ45 interfaces by using a network cable, the embedded monitoring end and the PC are in data transmission communication by using the Ethernet, the PC upper computer is compiled based on Qt, upper computer software can receive and display data transmitted by different lower computer clients, the functions of comparing errors between original transmitted data and the received data and calculating the number of error codes and the error rate can be realized, meanwhile, the calculation result can be displayed on the interface, and the error data can be stored in a specific EXCEL file.
4. The reliability detection method based on the embedded bus communication detection system as claimed in claim 1, characterized by comprising the following steps:
step 1: the bus data sending end initializes and detects whether the 485 bus interface and the CAN bus interface of the data sending end have data transmission and whether the data transmission is correct; if the data starts to be transmitted and the transmission is correct, entering the step 2; otherwise, returning to the step 1;
step 2: after the embedded monitoring end is powered on, a CAN communication bus starts to be initialized, a CAN clock is enabled, the mode and the bit timing sequence of the CAN are required to be set, whether the mailbox and new data of CAN communication are covered and a filter is judged, then the CAN bus data receiving interruption prompting data is started to arrive and received, and then an STM32F767IGT6 microprocessor chip detects whether the CAN bus is initialized successfully: if the initialization is successful, entering step 3; otherwise, printing error, returning to step 2;
and step 3: the embedded monitoring end detects that CAN bus initialization is successful, starts to initialize the 485 communication bus, is configured to a receiving mode and starts a serial port to receive interruption and a 485 data receiving function, and an STM32F767IGT6 microprocessor chip detects whether the 485 bus is successful in initialization: if the initialization is successful, entering the step 4; otherwise, printing error, returning to step 3;
and 4, step 4: the embedded monitoring end detects that the 485 bus is successfully initialized, then the UCOSII operating system is initialized, and the STM32F407ZGT6 microprocessor chip detects an operating system kernel initialization return code: if the code is a success code, entering step 5; otherwise, ending the running of the embedded monitoring terminal program and throwing the exception;
and 5: the microprocessor receives the ucossi initialization success code and then determines whether the RMII interface of LAN8720A was successfully configured: if the configuration is successful, entering step 6; otherwise, returning to the step 5;
step 6: the RMII interface is successfully configured, which means that the Ethernet of the embedded monitoring terminal is successfully initialized, then the upper computer is opened, the port number of the upper computer is configured, the corresponding port is intercepted, and whether the interception of the server side of the upper computer is successful is checked: if the monitoring is successful, entering step 7; otherwise, returning to the step 6, and continuously trying to monitor by the upper computer server side until the monitoring is successful;
and 7: the upper computer server side is successfully intercepted, which means that the embedded lower computer can be allowed to connect, at this time, an embedded monitoring side, namely an IP address, a subnet mask and gateway information of a TCP client side, are required to be configured, a port number corresponding to the server is selected for TCP connection, and then whether the TCP client side is successfully connected is checked: if the connection is successful, entering step 8; otherwise, continuously and repeatedly trying to connect to the upper computer server, and returning to the step 7;
and 8: the TCP client is initialized successfully, the STM32F767IGT6 microprocessor waits for 485 data receiving interruption or CAN bus receiving interruption, and if 485 data receiving interruption is received, the method goes to step 9; if receiving the CAN bus receiving interruption, entering the step 10; otherwise, returning to the step 8, and waiting for any data receiving interrupt to arrive;
and step 9: the microprocessor receives 485 data receiving interruption, which indicates that a data frame is transmitted through a 485 bus, the MCU displays the received data frame on the LCD, and simultaneously transmits data frame data to the upper computer through the Ethernet transmission interface, and the step 11 is carried out; otherwise, returning to the step 8 to wait for 485 data reception interruption;
step 10: the microprocessor receives CAN bus receiving interruption, which indicates that a data frame is transmitted through the CAN bus, the MCU displays the received data frame on the LCD, and simultaneously transmits data frame data to the upper computer through the Ethernet transmission interface, and the step 11 is carried out; otherwise, returning to the step 8 to wait for the CAN bus to receive the interrupt;
step 11: the embedded monitoring end transmits acquired data to a PC through a network cable, the connection condition of a client of an upper computer end needs to be checked, after the embedded client is successfully connected, CAN bus data frames or 485 bus data frames and the like acquired by the clients with different IP addresses are transmitted to the upper computer, the upper computer end classifies received data packets according to the IP addresses of the different clients and displays the data packets in corresponding areas of an interface, meanwhile, the data packets are compared with preset correctly transmitted texts, so that the error code number, the error code rate and frame period data are calculated, if the data have errors, the received data are stored in an EXCEL file specific to each client IP, and the stored attributes comprise the frame period, the time, the error code number and the error code rate.
CN201910924416.5A 2019-09-27 2019-09-27 Bus communication detection system based on embedded type and reliability detection method thereof Active CN110650066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910924416.5A CN110650066B (en) 2019-09-27 2019-09-27 Bus communication detection system based on embedded type and reliability detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910924416.5A CN110650066B (en) 2019-09-27 2019-09-27 Bus communication detection system based on embedded type and reliability detection method thereof

Publications (2)

Publication Number Publication Date
CN110650066A true CN110650066A (en) 2020-01-03
CN110650066B CN110650066B (en) 2023-04-25

Family

ID=68992933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910924416.5A Active CN110650066B (en) 2019-09-27 2019-09-27 Bus communication detection system based on embedded type and reliability detection method thereof

Country Status (1)

Country Link
CN (1) CN110650066B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865975A (en) * 2020-07-19 2020-10-30 长春光华学院 Intelligent power grid monitoring system
CN112104489A (en) * 2020-09-02 2020-12-18 中国航空工业集团公司西安飞行自动控制研究所 High-speed real-time data capturing method without interference to communication
CN112152883A (en) * 2020-09-30 2020-12-29 中国核动力研究设计院 Nuclear power plant field bus communication error rate testing device and testing method
CN113985750A (en) * 2021-09-30 2022-01-28 中国兵器工业集团第二一四研究所苏州研发中心 Interface circuit board level integrated circuit board

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082742A (en) * 2009-11-27 2011-06-01 中国科学院自动化研究所 Intelligent network protocol conversion and communication control system
CN103309311A (en) * 2013-05-21 2013-09-18 哈尔滨工业大学 Platform-crossed CAN (controller area network) bus monitoring system based on TCP/IP (transmission control protocol)/(internet protocol)
CN106559286A (en) * 2016-11-15 2017-04-05 中国电子科技集团公司第四十研究所 A kind of error-code testing method and system based on CAN
CN106991065A (en) * 2017-03-31 2017-07-28 东莞博力威电池有限公司 Method by USB host computers with being communicated with CAN and/or LIN bus apparatus
CN108737187A (en) * 2018-05-23 2018-11-02 哈尔滨工业大学 A kind of CAN bus fault simulation system and failure simulation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082742A (en) * 2009-11-27 2011-06-01 中国科学院自动化研究所 Intelligent network protocol conversion and communication control system
CN103309311A (en) * 2013-05-21 2013-09-18 哈尔滨工业大学 Platform-crossed CAN (controller area network) bus monitoring system based on TCP/IP (transmission control protocol)/(internet protocol)
CN106559286A (en) * 2016-11-15 2017-04-05 中国电子科技集团公司第四十研究所 A kind of error-code testing method and system based on CAN
CN106991065A (en) * 2017-03-31 2017-07-28 东莞博力威电池有限公司 Method by USB host computers with being communicated with CAN and/or LIN bus apparatus
CN108737187A (en) * 2018-05-23 2018-11-02 哈尔滨工业大学 A kind of CAN bus fault simulation system and failure simulation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏虎平: "《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》", 15 October 2013 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865975A (en) * 2020-07-19 2020-10-30 长春光华学院 Intelligent power grid monitoring system
CN111865975B (en) * 2020-07-19 2022-10-11 长春光华学院 Intelligent power grid monitoring system
CN112104489A (en) * 2020-09-02 2020-12-18 中国航空工业集团公司西安飞行自动控制研究所 High-speed real-time data capturing method without interference to communication
CN112152883A (en) * 2020-09-30 2020-12-29 中国核动力研究设计院 Nuclear power plant field bus communication error rate testing device and testing method
CN112152883B (en) * 2020-09-30 2022-02-01 中国核动力研究设计院 Nuclear power plant field bus communication error rate testing device and testing method
CN113985750A (en) * 2021-09-30 2022-01-28 中国兵器工业集团第二一四研究所苏州研发中心 Interface circuit board level integrated circuit board

Also Published As

Publication number Publication date
CN110650066B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN110650066A (en) Embedded bus communication detection system and reliability detection method thereof
CN105871623B (en) A kind of sporadic method for diagnosing faults of fieldbus
CN106713074B (en) Data network quality segmentation detection method based on business tine and system
CN102413018B (en) FPGA (field programmable gate array) based software-hardware coordinated network test system and method
CN102946260B (en) Automatic meter reading system and communication link quality detecting method thereof
CN103888320A (en) Switch device and method for measuring transmission delay through FPGA
CN102053935A (en) MODBUS serial communication protocol-based communication method
CN101841475B (en) System for testing performance of GRE (Ground Radar Equipment) router and method thereof
CN104104488A (en) Wireless sensor network protocol conformance testing system and method
CN102752194B (en) Frame structure-based forwarding method and RS-485 bus hub
CN107947994B (en) Network topology self-discovery method and device, network equipment and computer storage medium
CN101594222A (en) A kind of interface test method and device
CN105827476A (en) High-speed PING implementation method and PING testing method
CN111106990B (en) Self-diagnosis method for loop of underwater multi-channel signal acquisition and transmission array system
CN103812797B (en) It transmits the method for data grouping and sends and receives the communication module of data grouping
CN101267425B (en) Inter-board interface communication protocol for dynamic environment distributed monitoring system
CN111683021A (en) Multi-protocol terminal with double-path redundant output for switch
CN109981404B (en) Ad hoc network structure and diagnosis method thereof
CN101945088A (en) Communication processing method of wide area data collection
CN103001808B (en) A kind of port failure detection interchanger and implementation method
CN102508754A (en) Method for detecting 1553B communication interface
CN115657646B (en) Test method and device of CAN controller
CN111884915A (en) Method for improving efficiency of acquiring modbus equipment by gateway
CN102946335A (en) Network condition detection method and network condition detection system
CN101969392B (en) Data transmission device for bus electronic stop board systems

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
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200103

Assignee: Nanjing University of Engineering Science Park Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980001093

Denomination of invention: An Embedded Bus Communication Detection System and Its Reliability Detection Method

Granted publication date: 20230425

License type: Common License

Record date: 20240122

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200103

Assignee: Nanjing Jinxi Yunchuang Technology Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980001805

Denomination of invention: An Embedded Bus Communication Detection System and Its Reliability Detection Method

Granted publication date: 20230425

License type: Common License

Record date: 20240202

Application publication date: 20200103

Assignee: Jiangsu Nangong Testing Co.,Ltd.

Assignor: NANJING INSTITUTE OF TECHNOLOGY

Contract record no.: X2024980001802

Denomination of invention: An Embedded Bus Communication Detection System and Its Reliability Detection Method

Granted publication date: 20230425

License type: Common License

Record date: 20240202

EE01 Entry into force of recordation of patent licensing contract