Communication control device for new energy automobile industrial personal computer, PLC and automobile and control method of communication control device
By using a combination of independent network cards and dedicated protocols in new energy vehicles, the problems of data interference and unstable storage have been solved, enabling interference-free transmission and reliable interaction of multi-source data, and improving system compatibility and data processing efficiency.
Patent Information
- Application Number
- CN202511646312.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-11
- Publication Date
- 2026-01-27
AI Technical Summary
The existing communication architecture for new energy vehicles suffers from problems such as data interference, packet loss, and delays due to the shared transmission channels for multiple data sources. Furthermore, data storage lacks classification strategies and reliable backup mechanisms, and communication protocol adaptability is insufficient, making it difficult to meet the requirements for efficient closed-loop control.
It adopts an independent network card and an internal storage unit integrated into the industrial control computer, which is connected through PCI/PCI-E expansion slots or USB interfaces. It is used for motor data, vehicle data, and PLC data transmission respectively. Combined with UDP, TCP/IP, CANFD, and DOIP protocols, it can achieve interference-free data transmission and reliable interaction. It also adopts a single-file storage mode and a dual backup mechanism to ensure the stability and reliability of data management.
It enables interference-free transmission, reliable interaction, and efficient management of multi-source data, improves system compatibility and scalability, and ensures the accuracy and convenience of data processing.
Smart Images

Figure CN121418445A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of new energy vehicle application technology, in particular to a communication control device of a new energy vehicle industrial personal computer (IPC), a programmable logic controller (PLC) and a vehicle and a control method thereof. BACKGROUND
[0002] In the current communication architecture of new energy vehicles, an IPC is usually taken as the core to connect a motor group, a PLC and a vehicle diagnostic module, so as to realize data transmission and instruction interaction and support core functions such as vehicle power monitoring, system control and fault diagnosis.
[0003] However, the existing system has obvious technical shortcomings: multi-source data often share a transmission channel or a non-independent network card, which easily causes data interference and leads to problems such as packet loss and delay; and data storage lacks classification strategies and reliable backup mechanisms, the communication protocol has insufficient adaptability and poor compatibility, which makes it difficult to meet the demand for efficient closed-loop control.
[0004] Therefore, the present application provides a communication control device of a new energy vehicle IPC, a PLC and a vehicle and a control method thereof. SUMMARY
[0005] The present application solves the technical problem of providing a communication control device of a new energy vehicle IPC, a PLC and a vehicle and a control method thereof, which realizes interference-free transmission, reliable interaction and efficient management of multi-source data.
[0006] To solve the above technical problems, one technical solution adopted by the present application is to provide a communication control device of a new energy vehicle IPC, a PLC and a vehicle, which comprises an IPC serving as a core control unit that runs upper-layer control software and upper software to establish communication connection with other components and realize data reception, processing, monitoring and instruction issuance. A plurality of independent network cards are installed inside the IPC and are industrial-grade RJ45 network cards; the number of independent network cards is matched with the types of data, and the independent network cards at least include a motor data network card, a vehicle data network card and a PLC data network card, which are connected to the mainboard of the IPC through PCI / PCI-E expansion slots or USB interfaces, have independent physical interfaces and are respectively used for transmission of motor data, vehicle data and PLC data to avoid data interference. A storage unit is integrated inside the IPC and establishes a data transmission channel with the core processing unit of the IPC to realize real-time local storage and packaging of data through the upper software. The motor group comprises a plurality of to-be-detected motors, the communication interface of each motor is connected to the corresponding RJ45 network port of the motor data independent network card of the IPC through a network cable, and the motor group sends real-time detection data to the IPC through a UDP protocol. The PLC communication port is connected with the RJ45 network port corresponding to the PLC data independent network card of the industrial computer through a special industrial network cable, the PLC / controller transmits system operation data to the industrial computer, and receives the monitoring instructions issued by the industrial computer, so that bidirectional data interaction is realized. The vehicle diagnosis module integrates a CAN communication interface and a DOIP communication interface, and establishes a hardware association with the vehicle data independent network card of the industrial computer, and is connected with the vehicle through the corresponding interfaces, so that the communication docking between the vehicle and the industrial computer is realized.
[0007] The vehicle diagnosis module comprises hardware components: a VDI2 communication box, a PCI network card, a super six category network cable, a CANFD-H / L interface, an OBD female seat, an adapter, a quick network head and a vehicle OBD male handle.
[0008] Through the above technical solution, the VDI2 communication box is used as the core switching component, the hardware adaptation with the industrial computer is realized in combination with the PCI network card, the corresponding connection of the CANFD-H / L interface, the OBD female seat and the vehicle OBD male handle is realized, the communication link at the physical layer is built, stable power supply is provided by means of the adapter, the reliability of the network cable connection is ensured by the quick network head, and the hardware basis for the realization of CAN communication and DOIP communication is provided.
[0009] The super six category network cable is divided into three groups, namely a super six category network cable A with a length of 1 meter, a super six category network cable B with a length of 50 meters and a super six category network cable C. The RJ45 port 1 of the industrial computer PCI network card is connected with the OBD female seat of the VDI2 communication box through the super six category network cable A provided with the quick network head, the OBD female seat is connected with the adapter, the adapter has an AC220V / 50HZ input and a DC12V / 1A output, and the VDI2 communication box is powered, the CANFD-H / L interface at the 6 / 14 pin of the OBD female seat is connected with the vehicle OBD male handle through the super six category network cable C, and CAN communication is realized. The RJ45 port 2 of the industrial computer PCI network card is connected with the super six category network cable C interface of the VDI2 communication box through the super six category network cable B provided with the quick network head, and the super six category network cable C is connected with the vehicle OBD male handle, and DOIP communication is realized.
[0010] According to the technical scheme, different specifications of super six category network lines are selected according to communication distance requirements, the super six category network line A of short distance guarantees stable transmission of power supply and basic signals between the industrial computer and the VDI2 communication box, the super six category network line B of long distance meets the long-distance transmission requirement of DOIP communication, and the super six category network line C is used as a common connection line of the vehicle end, independent transmission of CAN communication and DOIP communication is realized through differentiation of different ports and pin definitions, and signal interference between the two communication modes is avoided.
[0011] A communication control method for a new energy vehicle industrial computer, a PLC and a vehicle is provided, and the method comprises the following steps: S1, motor data UDP high-frequency transmission and closed-loop monitoring: a plurality of to-be-detected motors transmit high-frequency real-time detection data to the industrial computer through a UDP protocol, upper-layer control software of the industrial computer performs real-time analysis, verification and monitoring on the motor data, and triggers an alarm and records a log when an exception occurs; S2, vehicle TCP / IP session establishment and CAN / DOIP cooperative communication: the industrial computer and a vehicle diagnosis module establish a reliable connection through a TCP / IP protocol, and cooperatively work in combination with a CAN / DOIP interface to realize vehicle diagnosis instruction issuing and state data receiving; S3, PLC bidirectional data interaction and instruction closed-loop execution: the PLC establishes industrial standard protocol communication with the industrial computer through a dedicated independent network card, and the industrial computer and the PLC perform bidirectional interaction of data request, instruction issuing and response feedback; S4, multi-source data classified storage and standardized packaging: the upper-layer software stores data according to types, adopts a double backup mechanism, and respectively adopts compression storage or timing packaging mode for different types of data; S5, network card interface identification and data integration analysis: the upper-layer software identifies the network card interface and binds data sources, performs integration analysis after filtering invalid data, generates a standardized detection report and supports export and upload.
[0012] The application is further provided as follows: in S1, the UDP protocol adopts an 8-byte header, maintains a connectionless and message-oriented transmission mode, a data frame contains port information, data length and verification information, does not perform message merging or splitting, and completely transmits an application layer message; the verification of the motor data adopts a cyclic redundancy check algorithm, and the industrial computer judges data integrity by comparing received verification information with locally calculated verification information.
[0013] According to the technical scheme, the connectionless and message-oriented characteristics of the UDP protocol are utilized to reduce transmission delay, meet the requirement of high-frequency transmission of motor data, the 8-byte header design simplifies transmission overhead, does not split or merge messages to guarantee data originality, and the cyclic redundancy check algorithm realizes accurate identification of error data that may occur in the transmission process through verification calculation of the data, so that the completeness and reliability of the motor data received by the industrial computer are ensured.
[0014] The application is further provided that: in S2, the session establishment process of the TCP / IP protocol is that the industrial computer sends a synchronization message to the vehicle diagnostic module, the vehicle diagnostic module returns a synchronization confirmation message, the industrial computer sends a confirmation message, and three-way handshake is established to complete the connection; in the data transmission process, a sliding window protocol is used to realize flow control, and the retransmission timeout time is dynamically calculated based on the round-trip time to ensure fast retransmission after packet loss.
[0015] Through the above technical solution, the three-way handshake mechanism establishes a stable logical connection between the industrial computer and the vehicle diagnostic module, ensuring the reliability of the communication link; the sliding window protocol dynamically adjusts the data transmission amount according to the receiving capacity of both parties, avoiding data congestion, and the dynamically calculated retransmission timeout time can adapt to different network environments, timely make up for data packet loss problems, and ensure the continuity of vehicle-related data transmission.
[0016] The application is further provided that: in S2, the CAN communication adopts the CANFD protocol, supports high-speed data transmission and large-capacity data load; the DOIP communication adopts TCP as the transport layer protocol, uses the industry standard port number, and the diagnostic message format conforms to the relevant industry standard, supporting vehicle identification, diagnostic session control, data transmission and other core functions.
[0017] Through the above technical solution, the CANFD protocol meets the fast transmission requirements of real-time state data of the vehicle due to its advantages of high-speed transmission and large-capacity load; the DOIP communication is based on the reliability of the TCP protocol, combined with industry standard specifications, to realize standardized transmission of various instructions and data in the vehicle diagnostic process, ensuring the orderly implementation of core functions such as vehicle identification and diagnostic session control, and the two cooperate to cover different demand scenarios of vehicle communication.
[0018] The application is further provided that: in S3, the communication frame of the industrial standard protocol contains transaction identification, protocol identification, length information, unit identification and application data unit, wherein the PLC data request adopts a read-hold register function code, the parameter configuration adopts a write-single-hold register function code, and the start-stop control adopts a write-single-coil function code; the instruction execution response time is controlled within a reasonable range, and the communication timeout time is set to a reasonable value suitable for the industrial scene.
[0019] Through the above technical solution, the standardized communication frame structure ensures the consistency and recognizability of data interaction between the industrial computer and the PLC, and the precise definition of different function codes realizes the clear distinction of different interaction requirements such as data request, parameter configuration, start-stop control; the reasonable setting of response time and timeout time adapts to the real-time requirements of the industrial scene, avoiding system running abnormally due to communication delay or timeout.
[0020] The present invention is further configured such that: the database in S4 adopts a single-file storage mode, supports concurrent read and write, the data retention period is configurable, and historical data exceeding the retention period is automatically archived to an external storage device; the data packets adopt an efficient compression algorithm to ensure optimized data storage space and fast read and backtracking.
[0021] Through the above technical solutions, the single-file storage mode and concurrent read / write support ensure the efficiency and stability of storing multi-source data simultaneously. The configurable data retention period meets the data management needs in different scenarios, and the automatic archiving function avoids excessive local storage resource consumption. The efficient compression algorithm reduces data storage space occupation while ensuring the speed of data reading and backtracking, realizing efficient and flexible data storage management.
[0022] The beneficial effects of this invention are as follows: 1. The present invention proposes a communication control device and control method for industrial control computers, PLCs, and vehicles in new energy vehicles. By setting up an industrial-grade independent network card with an independent physical interface, the transmission paths of motor data, vehicle data, and PLC data are separated, avoiding data interference at the hardware level. Combined with targeted communication protocol selection, the stability and efficiency of various data transmissions are guaranteed. 2. The communication control device and control method for industrial control computers and PLCs in new energy vehicles proposed in this invention realize motor data transmission monitoring, vehicle collaborative communication, PLC bidirectional interaction, data classification, storage and integration analysis in a step-by-step manner, forming a complete communication control closed loop. At the same time, by using standardized protocol applications and data management modes, the system's compatibility and scalability are improved, and the accuracy and convenience of data processing are ensured. Attached Figure Description
[0023] Fig. 1 This is a structural diagram of a communication control device and control method for an industrial control computer and PLC for a new energy vehicle, and the vehicle thereof, according to the present invention. Fig. 2 The flowchart shows a communication control device and control method for an industrial control computer and PLC for a new energy vehicle, and the vehicle thereof. Fig. 3 This is a schematic diagram of the hardware connection between a new energy vehicle industrial control computer, a PLC, a vehicle communication control device, and a control method thereof, according to the present invention. Detailed Implementation
[0024] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby providing a clearer and more explicit definition of the scope of protection of the present invention.
[0025] like Figs. 1-3As shown, a communication control device for a new energy vehicle industrial control computer, PLC, and vehicle includes an industrial control computer. The industrial control computer serves as the core control unit, running upper-level control software and host software to establish communication connections with other components, enabling data reception, processing, monitoring, and command issuance. Multiple independent network cards are installed inside the industrial computer. These are industrial-grade RJ45 network cards. The number of these independent network cards matches the types of data. They include at least a motor data network card, a vehicle data network card, and a PLC data network card. All of them are connected to the industrial computer motherboard through PCI / PCI-E expansion slots or USB interfaces. The physical interfaces are independent of each other and are used for the transmission of motor data, vehicle data, and PLC data respectively to avoid data interference. The storage unit is integrated inside the industrial computer and establishes a data transmission channel with the core processing unit of the industrial computer. Real-time local storage and packaging of data are achieved through upper-level software. The motor set includes multiple motors to be tested. The communication interface of each motor is connected to the RJ45 network port of the independent motor data network card of the industrial control computer via a network cable. The motor set sends real-time test data to the industrial control computer via UDP protocol. The PLC communication port is connected to the RJ45 network port corresponding to the PLC's independent data network card on the industrial computer via a dedicated industrial network cable. The PLC / controller transmits system operation data to the industrial computer and receives monitoring commands issued by the industrial computer, realizing two-way data interaction. The vehicle diagnostic module integrates CAN communication interface and DOIP communication interface, establishes a hardware association with the vehicle data independent network card of the industrial control computer, and connects to the vehicle through the corresponding interface to realize the communication interface between the vehicle and the industrial control computer. The vehicle diagnostic module includes hardware components: a VDI2 communication box, a PCI network card, a Cat6e network cable, a CANFD-H / L interface, an OBD female connector, an adapter and quick-connect network connectors, and a vehicle OBD male connector handle. The VDI2 communication box serves as the core adapter component, and the PCI network card enables hardware compatibility with the industrial control computer. Through the corresponding connection of the CANFD-H / L interface, the OBD female connector, and the vehicle OBD male connector handle, a physical communication link is established. At the same time, the adapter provides stable power supply, and the quick-connect network connectors ensure the reliability of the network cable connection, providing the hardware foundation for the implementation of CAN communication and DOIP communication. The Cat6a network cable comes in three sets: a 1-meter Cat6a network cable A, a 50-meter Cat6a network cable B, and a Cat6a network cable C. Among them, the RJ45 port 1 of the industrial control computer's PCI network card is connected to the OBD female connector of the VDI2 communication box through a Cat 6A network cable A with a quick-connect connector. The OBD female connector is connected to an adapter, which has an input of AC220V / 50HZ and an output of DC12V / 1A to power the VDI2 communication box. The CANFD-H / L interface located at pins 6 / 14 of the OBD female connector is connected to the vehicle's OBD male handle through a Cat 6A network cable C to realize CAN communication. The RJ45 port 2 of the industrial PC's PCI network card is connected to the Cat6a network cable C interface of the VDI2 communication box via a Cat6a cable B with a quick-connect connector. This Cat6a cable C is connected to the vehicle's OBD male handle to achieve DOIP communication. Different specifications of Cat6a network cables are selected according to the communication distance requirements. The 1-meter Cat6a cable A ensures stable power supply and basic signal transmission between the industrial PC and the VDI2 communication box for short distances. The 50-meter Cat6a cable B meets the long-distance transmission requirements of DOIP communication. The Cat6a cable C serves as a common connection line for the vehicle. By differentiating the ports and defining the pins, independent transmission of CAN communication and DOIP communication is achieved, avoiding signal interference between the two communication methods.
[0026] like Figs. 1-3 As shown, a communication control method between an industrial control computer and a PLC for a new energy vehicle and the vehicle includes the following steps: S1. High-frequency UDP transmission and closed-loop monitoring of motor data: Multiple motors to be tested send high-frequency real-time detection data to the industrial control computer via the UDP protocol. The upper-level control software of the industrial control computer performs real-time analysis, verification and monitoring of the motor data. When an abnormality occurs, an alarm is triggered and a log is recorded. In S1, the UDP protocol uses an 8-byte header, maintaining a connectionless, message-oriented transmission mode. The data frame includes port information, data length, and checksum information, without message merging or splitting, transmitting the application layer message completely. The motor data verification uses a cyclic redundancy check algorithm. The industrial control computer determines data integrity by comparing the received checksum information with the locally calculated checksum information. Utilizing the connectionless and message-oriented characteristics of the UDP protocol, transmission latency is reduced, meeting the high-frequency transmission requirements of motor data. The 8-byte header design simplifies transmission overhead, and the absence of message splitting or merging ensures data integrity. The cyclic redundancy check algorithm performs checksum calculations on the data to accurately identify erroneous data that may occur during transmission, ensuring the integrity and reliability of the motor data received by the industrial control computer.
[0027] S2. Vehicle TCP / IP Session Establishment and CAN / DOIP Collaborative Communication: The industrial control computer and the vehicle diagnostic module establish a reliable connection through the TCP / IP protocol, and work together with the CAN / DOIP interface to realize the issuance of vehicle diagnostic commands and the reception of status data; In S2, the TCP / IP protocol session establishment process is as follows: the industrial control computer sends a synchronization message to the vehicle diagnostic module, the vehicle diagnostic module returns a synchronization confirmation message, and the industrial control computer sends an confirmation message, completing the three-way handshake to establish a connection. During data transmission, the sliding window protocol is used to implement flow control, and the timeout retransmission time is dynamically calculated based on the round-trip time to ensure rapid retransmission after packet loss. The three-way handshake mechanism establishes a stable logical connection between the industrial control computer and the vehicle diagnostic module, ensuring the reliability of the communication link. The sliding window protocol dynamically adjusts the data transmission volume according to the receiving capacity of both parties to avoid data congestion. The dynamically calculated timeout retransmission time can adapt to different network environments, promptly compensate for data packet loss, and ensure the continuity of vehicle-related data transmission. In S2, CAN communication uses the CANFD protocol, supporting high-speed data transmission and large-capacity data payload. DOIP communication uses TCP as the transport layer protocol, employing industry-standard port numbers. The diagnostic message format conforms to relevant industry standards, supporting core functions such as vehicle identification, diagnostic session control, and data transmission. The CANFD protocol, with its advantages of high-speed transmission and large-capacity payload, meets the rapid transmission requirements of real-time vehicle status data. DOIP communication, based on the reliability of the TCP protocol and combined with industry standards, achieves standardized transmission of various commands and data during the vehicle diagnostic process, ensuring the orderly implementation of core functions such as vehicle identification and diagnostic session control. Together, they cover different needs and scenarios for vehicle communication.
[0028] S3, PLC bidirectional data interaction and instruction closed-loop execution: The PLC establishes an industrial standard protocol communication with the industrial computer through a dedicated independent network card, and the industrial computer and PLC conduct bidirectional interaction of data requests, instruction issuance and response feedback; In S3, the communication frame of the industrial standard protocol includes a transaction identifier, protocol identifier, length information, unit identifier, and application data unit. PLC data requests use a read holding register function code, parameter configuration uses a write single holding register function code, and start / stop control uses a write single coil function code. Instruction execution response time is controlled within a reasonable range, and communication timeout is set to a value suitable for industrial scenarios. The standardized communication frame structure ensures the consistency and recognizability of data interaction between the industrial computer and the PLC. Precise definitions of different function codes clearly distinguish between different interaction requirements such as data requests, parameter configuration, and start / stop control. Reasonably set response and timeout times adapt to the real-time requirements of industrial scenarios, avoiding system malfunctions due to communication delays or timeouts.
[0029] S4. Multi-source data classification storage and standardized packaging: The upper-level software stores data according to data type, adopts a dual backup mechanism, and uses compressed storage or timed packaging mode for different types of data respectively. In S4, the database adopts a single-file storage mode, supports concurrent read and write, and has a configurable data retention period. Historical data exceeding the retention period is automatically archived to an external storage device. Data packets use a high-efficiency compression algorithm to ensure optimized data storage space and fast read / backtracking. The single-file storage mode and concurrent read / write support ensure the efficiency and stability of storing multiple data sources simultaneously. The configurable data retention period meets the data management needs of different scenarios, and the automatic archiving function avoids excessive local storage resource consumption. The high-efficiency compression algorithm reduces data storage space usage while ensuring fast data read and backtracking speeds, achieving efficient and flexible data storage management.
[0030] S5. Network Card Interface Identification and Data Integration Analysis: The host software identifies the network card interface and binds it to the data source. After filtering invalid data, it performs integrated analysis, generates a standardized test report, and supports exporting and uploading.
[0031] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A communication control device for a new energy vehicle industrial control computer, a PLC, and the vehicle, characterized in that: include The industrial control computer, as the core control unit, runs upper-level control software and host software to establish communication connections with other components and realize data reception, processing, monitoring and command issuance; Multiple independent network cards are installed inside the industrial computer and are industrial-grade RJ45 network cards. The number of these independent network cards matches the types of data, including at least a motor data network card, a vehicle data network card, and a PLC data network card. All of them are connected to the industrial computer motherboard through PCI / PCI-E expansion slots or USB interfaces. The physical interfaces are independent of each other and are used for the transmission of motor data, vehicle data, and PLC data respectively to avoid data interference. The storage unit is integrated inside the industrial control computer and establishes a data transmission channel with the core processing unit of the industrial control computer. The data is stored and packaged locally in real time through the host software. The motor assembly includes multiple motors to be tested. The communication interface of each motor is connected to the RJ45 network port corresponding to the motor data independent network card of the industrial control computer via a network cable. The motor assembly sends real-time detection data to the industrial control computer via the UDP protocol. The PLC communication port is connected to the RJ45 network port corresponding to the PLC data independent network card of the industrial computer via a dedicated industrial network cable. The PLC / controller transmits system operation data to the industrial computer and receives monitoring instructions issued by the industrial computer, realizing two-way data interaction. The vehicle diagnostic module integrates a CAN communication interface and a DOIP communication interface, establishes a hardware association with the vehicle data independent network card of the industrial control computer, and connects to the vehicle through the corresponding interface to realize the communication interface between the vehicle and the industrial control computer.
2. The communication control device between a new energy vehicle industrial control computer and PLC, and the vehicle, as described in claim 1, is characterized in that: The vehicle diagnostic module includes hardware components: VDI2 communication box, PCI network card, Cat6e network cable, CANFD-H / L interface, OBD female connector, adapter and quick-connect network connector and vehicle OBD male connector handle.
3. The communication control device between a new energy vehicle industrial control computer, PLC, and vehicle according to claim 2, characterized in that: The Cat6a network cable consists of three sets: a 1-meter Cat6a network cable A, a 50-meter Cat6a network cable B, and a Cat6a network cable C. Specifically, the RJ45 port 1 of the industrial PCI network card is connected to the OBD female connector of the VDI2 communication box via a Cat6e network cable A with a quick-connect connector. The OBD female connector is connected to an adapter with an input of AC220V / 50HZ and an output of DC12V / 1A, which powers the VDI2 communication box. The CANFD-H / L interface located at pins 6 / 14 of the OBD female connector is connected to the vehicle's OBD male handle via a Cat6e network cable C to achieve CAN communication. The RJ45 port 2 of the industrial control computer's PCI network card is connected to the Cat6A network cable C interface of the VDI2 communication box via a Cat6A network cable B with a quick-connect connector. The Cat6A network cable C is connected to the vehicle's OBD male handle to realize DOIP communication.
4. A control method based on the communication control device according to claims 1-3, characterized in that: Includes the following steps: S1. High-frequency UDP transmission and closed-loop monitoring of motor data: Multiple motors to be tested send high-frequency real-time detection data to the industrial control computer via the UDP protocol. The upper-level control software of the industrial control computer performs real-time analysis, verification and monitoring of the motor data. When an abnormality occurs, an alarm is triggered and a log is recorded. S2. Vehicle TCP / IP Session Establishment and CAN / DOIP Collaborative Communication: The industrial control computer and the vehicle diagnostic module establish a reliable connection through the TCP / IP protocol, and work together with the CAN / DOIP interface to realize the issuance of vehicle diagnostic commands and the reception of status data; S3, PLC bidirectional data interaction and instruction closed-loop execution: The PLC establishes an industrial standard protocol communication with the industrial computer through a dedicated independent network card, and the industrial computer and PLC conduct bidirectional interaction of data requests, instruction issuance and response feedback; S4. Multi-source data classification storage and standardized packaging: The upper-level software stores data according to data type, adopts a dual backup mechanism, and uses compressed storage or timed packaging mode for different types of data respectively. S5. Network Card Interface Identification and Data Integration Analysis: The host software identifies the network card interface and binds it to the data source. After filtering invalid data, it performs integrated analysis, generates a standardized test report, and supports exporting and uploading.
5. The communication control method according to claim 4, characterized in that: In S1, the UDP protocol uses an 8-byte header, maintaining a connectionless, message-oriented transmission mode. The data frame contains port information, data length, and check information. No message merging or splitting is performed, and the application layer message is transmitted completely. The motor data verification uses a cyclic redundancy check algorithm. The industrial control computer determines the data integrity by comparing the received check information with the locally calculated check information.
6. The communication control method according to claim 4, characterized in that: In S2, the TCP / IP protocol session establishment process is as follows: the industrial control computer sends a synchronization message to the vehicle diagnostic module, the vehicle diagnostic module returns a synchronization confirmation message, the industrial control computer sends an confirmation message, and the three-way handshake is completed to establish a connection. During data transmission, a sliding window protocol is used to implement flow control, and the timeout retransmission time is dynamically calculated based on the round-trip time to ensure rapid retransmission after packet loss.
7. The communication control method according to claim 4, characterized in that: In S2, CAN communication uses the CANFD protocol, which supports high-speed data transmission and large-capacity data payload; DOIP communication uses TCP as the transport layer protocol, uses industry standard port numbers, and the diagnostic message format conforms to relevant industry standards, supporting core functions such as vehicle identification, diagnostic session control, and data transmission.
8. The communication control method according to claim 4, characterized in that: In S3, the communication frame of the industrial standard protocol includes transaction identifier, protocol identifier, length information, unit identifier and application data unit. PLC data requests use the read holding register function code, parameter configuration uses the write single holding register function code, and start / stop control uses the write single coil function code. The instruction execution response time is controlled within a reasonable range, and the communication timeout time is set to a reasonable value adapted to the industrial scenario.
9. The communication control method according to claim 4, characterized in that: In S4, the database adopts a single-file storage mode, supports concurrent read and write, and the data retention period is configurable. Historical data that exceeds the retention period is automatically archived to an external storage device. Data packets use an efficient compression algorithm to ensure optimized data storage space and fast read and backtracking.