Power management data transmission method and system for extreme harsh environments

CN117640286BActive Publication Date: 2026-08-18SMARTGEN TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311637224.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-01
Publication Date
2026-08-18
Estimated Expiration
2043-12-01

AI Technical Summary

Technical Problem

[0005]本发明的目的是针对现有技术的不足,从而提供一种用于极端恶劣环境下的功率管理数据传输方法及系统,以解决恶劣环境和特例应用领域的功率管理数据安全可靠传输的技术问题

Benefits of technology

本发明通过两路CANBUS对功率管理数据进行数据冗余接收,对所有接收到的功率管理数据全部进行单帧校验和双CANBUS总线数据对比,只有校验通过且两帧功率管理数据的数据区完全一致的功率管理数据才会被传输至控制器的数据处理中心进行集中处理,既确保了功率管理数据的完整性和正确性,又避免错误功率管理数据被传输给控制器的数据处理中心。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117640286B_ABST
    Figure CN117640286B_ABST
Patent Text Reader

Abstract

The application provides a power management data transmission method and system in an extremely harsh environment, the method comprising: when new power management data is received on a CANBUS bus, sending a frame ID of each frame of received power management data into a temporary data buffer area, and performing CRC check on each frame of received power management data, if the CRC check is passed, the data is put into the temporary data buffer area corresponding to the frame ID; when the frame IDs of power management data received by two CANBUS buses are the same, comparing the two frames of power management data with the same frame ID; if the data areas of the two frames of power management data are completely consistent and the CRC checks are all passed, it is determined that the power management data received this time is valid, and is forwarded to a data processing center of a controller for centralized processing; otherwise, it is determined that the power management data received this time is invalid, and is discarded, so that the integrity and correctness of the data are ensured, and error data is avoided from being transmitted to the data processing center of the controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data security transmission technology, and more specifically, to a power management data transmission method and system for use in extreme and harsh environments. Background Technology

[0002] The power management system is the core management system of the power grid and a crucial foundation for the safe and reliable operation of equipment. Errors in the internal data of the power management system can cause the power supply system to trip directly, potentially resulting in significant losses to production equipment and personnel. Therefore, in harsh environments such as power supply systems for ocean-going vessels, oil platforms, and military applications, the reliability, security, and timeliness of power management control data transmission are extremely critical.

[0003] Currently, a single CANBUS (Controller Area Network-Bus) bus is typically used for data transmission. Due to the harsh operating environment, setting the transmission baud rate of the CANBUS bus to a high level will result in a very high bit error rate, while lowering the baud rate cannot guarantee the integrity and correctness of the data. This means that the performance of a single CANBUS bus cannot meet the growing demand for secure and reliable data transmission.

[0004] In order to solve the above problems, people have been seeking an ideal technological solution. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of existing technologies by providing a power management data transmission method and system for use in extreme and harsh environments, thereby solving the technical problem of secure and reliable transmission of power management data in harsh environments and special application areas.

[0006] To achieve the above objectives, the first aspect of the present invention provides a power management data transmission method for use in extreme and harsh environments, comprising: real-time monitoring of whether new power management data is received on the CANBUS bus; when new power management data is received on the CANBUS bus, sending the frame ID of each received frame of power management data into a temporary data buffer, and performing CRC verification on each received frame of power management data; if the CRC verification passes, placing the data area of ​​the power management data into the temporary data buffer corresponding to the frame ID; when the frame IDs of the power management data received on two CANBUS buses are the same, comparing the two frames of power management data with the same frame ID; if the data areas of the two frames of power management data are completely identical, and the CRC verification of the two frames of power management data both pass, then determining that the power management data received this time is valid, and forwarding it to the data processing center of the controller for centralized processing; if the data areas of the two frames of power management data are inconsistent or the CRC verification of at least one frame of power management data fails, then determining that the power management data received this time is invalid and discarding it.

[0007] To achieve the above objectives, a second aspect of the present invention provides a power management data transmission system for use in extremely harsh environments, comprising a power management data frame ID filter I, a power management data frame ID filter II, a temporary frame ID storage area I, a temporary frame ID storage area II, a single-frame data CRC check module I, a single-frame data CRC check module II, and a data comparison module. The power management data frame ID filter I and the power management data frame ID filter II are respectively used to perform frame ID filtering on the corresponding CANBUS bus to obtain specified power management data; the temporary frame ID storage area I and the temporary frame ID storage area II are respectively used to store the frame ID of each received power management data frame when new power management data is received on the CANBUS bus; the single-frame data CRC check module I, the single-frame data CRC check module II, and a data comparison module. The frame data CRC check module I and the single frame data CRC check module II are respectively used to perform CRC check on each frame of power management data received when new power management data is received on the CANBUS bus; the data comparison module is used to compare two frames of power management data with the same frame ID when the frame IDs of the power management data received on two CANBUS buses are the same; if the data areas of the two frames of power management data are completely consistent and the CRC check of the two frames of power management data both pass, then the power management data received this time is determined to be valid and forwarded to the data processing center of the controller for centralized processing; if the data areas of the two frames of power management data are inconsistent or the CRC check of at least one frame of power management data fails, then the power management data received this time is determined to be invalid and discarded.

[0008] The beneficial effects of this invention are as follows: This invention uses two CANBUS channels to redundantly receive power management data. All received power management data undergoes single-frame verification and dual CANBUS bus data comparison. Only power management data that passes verification and whose data areas are completely identical in both frames is transmitted to the controller's data processing center for centralized processing. This ensures the integrity and correctness of the power management data while preventing erroneous power management data from being transmitted to the controller's data processing center. Attached Figure Description

[0009] Figure 1 This is a flowchart illustrating the power management data transmission method for extreme and harsh environments according to the present invention. Figure 2 This is a schematic diagram of the power management data transmission system structure for extreme and harsh environments according to the present invention. Detailed Implementation

[0010] The technical solution of the present invention will be further described in detail below through specific embodiments.

[0011] The terms "Ⅰ", "Ⅱ", etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application.

[0012] Example 1 As attached Figure 1 As shown in the figure, this embodiment provides a specific implementation of a power management data transmission method for extreme and harsh environments. The dual-network data redundancy processing method includes: Real-time monitoring of the CANBUS bus for any new power management data received. When new power management data is received on the CANBUS bus, the frame ID of each received power management data frame is sent to the temporary data buffer area, and a CRC check is performed on each received power management data frame. If the CRC check (Cyclic Redundancy Check) passes, the data area of ​​the power management data is placed into the temporary data buffer area of ​​the corresponding frame ID. When the frame IDs of the power management data received on two CANBUS buses are the same, the two frames of power management data with the same frame ID are compared. If the data areas of the two power management data frames are completely identical, and the CRC check of the two power management data frames both pass, then the power management data received this time is determined to be valid and forwarded to the controller's data processing center for centralized processing; If the data areas of two power management data frames are inconsistent or the CRC check of at least one power management data frame fails, the received power management data is deemed invalid and discarded.

[0013] It should be noted that if a CANBUS bus receives power management data, each received frame of power management data is sent to a temporary data buffer. Similarly, power management data received by another CANBUS bus, after being filtered by the CAN bus controller, is also sent to a temporary data buffer. If the previous CANBUS bus received this frame of power management data, the power management data with the same frame ID from both CANBUS buses are compared to determine its correctness. If they match perfectly, the valid power management data is sent to the data processing center for centralized processing. If the two frames with the same ID do not match, the power management data frame is discarded to prevent erroneous power management data from being transmitted to the controller's data processing center.

[0014] It should also be noted that this embodiment utilizes dual-channel CANBUS bus data redundancy technology to achieve real-time comparison and verification of the correctness of power management data, and can automatically and quickly identify the correctness of power management data; moreover, by simultaneously receiving and transmitting power management data through two CANBUS buses, the power management data received and transmitted by the two CANBUS buses are completely consistent, and the increased communication speed of the CANBUS bus will not lead to the receipt of erroneous data, perfectly meeting the requirements for data security, reliability and real-time performance in current special application scenarios.

[0015] It is understood that the power management data is CANBUS data.

[0016] In some embodiments, before monitoring whether new power management data is received on the CANBUS bus in real time, the following is also performed: each frame of power management data includes a data frame ID area, a data area, and a CRC check area, wherein the data frame ID area is used to store the frame ID of each frame of power management data, the data area is used to store the key data of each frame of power management data, and the CRC check area is used to store the CRC check value of each frame of power management data.

[0017] It should be noted that the CANBUS bus receives the power management data after it has been filtered by the CAN bus controller, parses out the frame ID of the power management data, puts the frame ID into the temporary frame ID storage area, and performs CRC check on the 6 bytes of the data area using the CRC16 check method to generate two check bytes. Then, it compares the generated check bytes with the two bytes in the CRC check area. If both are correct, it means that the CRC check of the power management data frame has passed, and the data area is put into the temporary data buffer area of ​​the corresponding frame ID.

[0018] In some embodiments, before monitoring in real time whether new power management data is received on the CANBUS bus, the following is also performed: setting the CANBUS data frame ID filters for the two CANBUS buses so that the filtering settings for the frame IDs of the power management data are consistent between the two filters.

[0019] The frame ID, or frame identifier, is used to identify different data frame types. The CAN bus uses the frame ID for error detection.

[0020] It should be noted that each CANBUS bus requires corresponding frame ID filtering and data frame format settings to receive the correct data. Therefore, this embodiment keeps the parameter settings of the two CANBUS channels consistent, including frame ID filtering, frame format, number of frame data, and CANBUS bus communication baud rate.

[0021] Example 2 Based on Example 1, this example provides a specific implementation of a power management data transmission system for extreme and harsh environments, as shown in the appendix. Figure 2 As shown; The dual-network data redundancy processing system includes a power management data frame ID filter I, a power management data frame ID filter II, a temporary frame ID storage area I, a temporary frame ID storage area II, a single-frame data CRC check module I, a single-frame data CRC check module II, and a data comparison module, wherein... The power management data frame ID filter I and the power management data frame ID filter II are respectively used to perform frame ID filtering on the corresponding CANBUS bus to obtain the specified power management data. The temporary frame ID storage area I and the temporary frame ID storage area II are used to store the frame ID of each received power management data frame when new power management data is received on the CANBUS bus. The single-frame data CRC verification module I and the single-frame data CRC verification module II are respectively used to perform CRC verification on each frame of power management data received when new power management data is received on the CANBUS bus. The data comparison module is used to compare two power management data frames with the same frame ID when the frame IDs received from two CANBUS buses are the same. If the data areas of the two power management data frames are completely identical and the CRC checks of the two power management data frames both pass, the received power management data is determined to be valid and forwarded to the controller's data processing center for centralized processing. If the data areas of the two power management data frames are inconsistent or the CRC check of at least one power management data frame fails, the received power management data is determined to be invalid and discarded.

[0022] It is understood that the controller can be a domestically produced power management controller or other controllers.

[0023] In some embodiments, each frame of power management data includes a data frame ID area, a data area, and a CRC check area. The data frame ID area is used to store the frame ID of each frame of power management data, the data area is used to store the key data of each frame of power management data, and the CRC check area is used to store the CRC check value of each frame of power management data.

[0024] In some embodiments, the dual-network data redundancy processing system further includes an ID setting module, which is used to: set the CANBUS data frame ID filters of the two CANBUS buses before real-time monitoring of whether new power management data is received on the CANBUS bus, so that the filtering settings of the two filters for the frame ID of power management data are consistent.

[0025] In some embodiments, when the data comparison module forwards new power management data to the controller's data processing center for centralized processing or discards the power management data frame, it also performs the following: clearing all data buffers of the two frames of data on the two CANBUS buses to improve resource utilization.

[0026] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications can still be made to the specific implementation of the present invention or equivalent substitutions can be made to some technical features without departing from the spirit of the technical solutions of the present invention, and all such modifications and substitutions should be covered within the scope of the technical solutions claimed in the present invention.

Claims

1. A power management data transmission method for use in extremely harsh environments, characterized in that, include: Real-time monitoring of the CANBUS bus for any new power management data received. When new power management data is received on the CANBUS bus, the frame ID of each received power management data frame is sent to the temporary data buffer area, and a CRC check is performed on each received power management data frame. If the CRC check passes, the data area of ​​the power management data is put into the temporary data buffer area of ​​the corresponding frame ID. When the frame IDs of the power management data received on two CANBUS buses are the same, the two frames of power management data with the same frame ID are compared. If the data areas of the two power management data frames are completely identical, and the CRC check of the two power management data frames both pass, then the power management data received this time is determined to be valid and forwarded to the controller's data processing center for centralized processing; If the data areas of two power management data frames are inconsistent or the CRC check of at least one power management data frame fails, the received power management data is deemed invalid and discarded.

2. The power management data transmission method for extreme and harsh environments according to claim 1, characterized in that: Each frame of power management data includes a data frame ID area, a data area, and a CRC check area. The data frame ID area stores the frame ID of each frame of power management data, the data area stores the key data of each frame of power management data, and the CRC check area stores the CRC check value of each frame of power management data.

3. The power management data transmission method for extreme and harsh environments according to claim 1, characterized in that: Before monitoring the CANBUS bus for new power management data reception in real time, the following also applies: Configure the CANBUS data frame ID filters for the two CANBUS buses to ensure that the filtering settings for the frame IDs of power management data are consistent between the two filters.

4. A power management data transmission system for use in extremely harsh environments, characterized in that: It includes a power management data frame ID filter I, a power management data frame ID filter II, a temporary frame ID storage area I, a temporary frame ID storage area II, a single-frame data CRC check module I, a single-frame data CRC check module II, and a data comparison module, wherein, The power management data frame ID filter I and the power management data frame ID filter II are respectively used to perform frame ID filtering on the corresponding CANBUS bus to obtain the specified power management data. The temporary frame ID storage area I and the temporary frame ID storage area II are used to store the frame ID of each received power management data frame when new power management data is received on the CANBUS bus. The single-frame data CRC verification module I and the single-frame data CRC verification module II are respectively used to perform CRC verification on each frame of power management data received when new power management data is received on the CANBUS bus. The data comparison module is used to compare two power management data frames with the same frame ID when the frame IDs received from two CANBUS buses are the same. If the data areas of the two power management data frames are completely identical and the CRC checks of the two power management data frames both pass, the received power management data is determined to be valid and forwarded to the controller's data processing center for centralized processing. If the data areas of the two power management data frames are inconsistent or the CRC check of at least one power management data frame fails, the received power management data is determined to be invalid and discarded.

5. The power management data transmission system for extreme and harsh environments according to claim 4, characterized in that: Each frame of power management data includes a data frame ID area, a data area, and a CRC check area. The data frame ID area stores the frame ID of each frame of power management data, the data area stores the key data of each frame of power management data, and the CRC check area stores the CRC check value of each frame of power management data.

6. The power management data transmission system for extreme and harsh environments according to claim 4, characterized in that: It also includes an ID setting module, which is used to set the CANBUS data frame ID filters of the two CANBUS buses before real-time monitoring of whether new power management data is received on the CANBUS bus, so that the filtering settings of the two filters for the frame ID of power management data are consistent.

Citation Information

Patent Citations

  • Dual-redundancy CAN bus data receiving and processing method

    CN103490966A

  • CAN bus communication information security enhancement method based on CRC verification

    CN112230622A