A low-power distributed CAN bus network and method based on sleep mode

By introducing sleep mode and redundant design into the CAN bus network, and using controllable processor working modes and wake-up strategies, the problems of increased power consumption and reduced reliability of the CAN bus network in complex application scenarios are solved, and low power consumption is achieved , the effect of improving reliability and reducing hardware complexity.

CN115733709BActive Publication Date: 2024-09-13TIANJING AVIATION ELECTRO-MECHANICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211444675.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2024-09-13
Estimated Expiration
2042-11-18

AI Technical Summary

Technical Problem

In complex CAN bus network application scenarios, as the number of nodes increases, the power consumption of the bus network increases, leading to increased difficulty in heat dissipation design, increased complexity of the electromagnetic environment, and reduced functional reliability.

Method used

A low-power distributed CAN bus network based on sleep mode is designed. Through the combination of main control CAN unit and redundant CAN bus line and controlled CAN unit, the controllable processor working mode is used to wake up for communication when needed. , otherwise enter sleep mode to reduce power consumption, and adopt passive wake-up and active wake-up strategies to achieve low-power bus communication and self-test.

Benefits of technology

It effectively reduces the power consumption of the CAN bus network, improves the reliability and scalability of the network, reduces the heat release and electromagnetic interference of the system, and reduces hardware complexity and deployment costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115733709B
    Figure CN115733709B
Patent Text Reader

Abstract

The present invention discloses a low-power distributed CAN bus network and method based on sleep mode. The bus network consists of a master CAN unit, one or more independent redundant CAN bus lines, and one or more controlled CAN units; each two CAN bus interfaces of the master CAN unit are connected to a pair of redundant CAN bus lines to interact with a controlled CAN unit for bus data; each controlled CAN unit consists of a CAN communication module and one or more controlled CAN nodes; the CAN communication module is connected to each controlled CAN node of the network through an internal CAN bus; the CAN communication module and each controlled CAN node include a processor with controllable sleep mode; the CAN communication module includes 4 CAN communication interfaces, 2 of which are used as interfaces for the controlled CAN unit to communicate with the master CAN unit externally, and the other 2 are used as internal communication interfaces of the controlled CAN unit for communicating with each controlled CAN node through networking. The present invention can achieve the control and reduction of the power consumption of the distributed CAN bus network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a CAN bus communication network, belonging to the technical field of network communication and field bus, and in particular to a low-power consumption distributed CAN bus network and method based on a sleep mode. Background Art

[0002] CAN bus communication network has been widely used in industrial automation, shipbuilding, aviation, medical equipment, industrial equipment, etc. due to its high performance and reliability. At present, with the increasing complexity of CAN bus network applications, in most application scenarios, the number of bus nodes in the CAN bus network continues to increase, and the increase in bus network power consumption has brought more and more application problems to the system, mainly manifested in the surge in CAN bus network energy consumption, the increase in the difficulty of CAN bus network heat dissipation design, the increase in the complexity of the CAN bus network electromagnetic environment, and the reduction in the reliability of CAN bus network functions. The design of a low-power distributed CAN bus network based on sleep mode can effectively reduce the power consumption of the CAN bus network, reduce system heating, reduce system electromagnetic environment interference, and improve the reliability of the CAN bus network functions, which is of great significance to solving the technical problems of large-scale CAN bus network applications. Summary of the invention

[0003] The purpose of the present invention is to provide a low-power distributed CAN bus network and method based on sleep mode. The present invention can achieve control and reduction of the power consumption of the distributed CAN bus network.

[0004] The technical solution of the present invention is: a low-power distributed CAN bus network based on sleep mode, the bus network consists of a main control CAN unit, one or more independent redundant CAN bus lines, and one or more controlled CAN units; every two CAN bus interfaces of the main control CAN unit are connected to a pair of redundant CAN bus lines for bus data interaction with a controlled CAN unit; each of the controlled CAN units consists of a CAN communication module and one or more controlled CAN nodes; the CAN communication module is connected to each controlled CAN node of the network through an internal CAN bus; the CAN communication module and each controlled CAN node both include a processor controllable in sleep mode; the CAN communication module includes four CAN communication interfaces, two of which are used as interfaces for the controlled CAN unit to communicate with the main control CAN unit externally, and the other two are used as internal communication interfaces of the controlled CAN unit for communicating with each controlled CAN node through networking.

[0005] The master CAN unit uses bus data as the working mode control instruction. When communication is required, it sends bus data to the corresponding controlled CAN unit, so that each processor of the corresponding controlled CAN unit wakes up from the default low-power working mode to the normal working mode and completes the communication. When there is no communication task, the master CAN unit does not send bus data to any controlled CAN unit to ensure that the processors of several controlled CAN units are in sleep state, so as to reduce the bus network power consumption during the task cycle.

[0006] A CAN communication module is connected to a number of controlled CAN nodes through networking, and the CAN communication module is used as an external data interaction interface of the controlled CAN unit to increase the scalability of the CAN bus network.

[0007] In the aforementioned low-power distributed CAN bus network based on sleep mode, one end of any one CAN bus line of each pair of redundant CAN bus lines is connected to a CAN interface of the master CAN unit, and the other end is connected to an external CAN interface of the CAN communication module of the corresponding controlled CAN unit. The reliability of the bus network is improved by the redundant design of the two CAN bus lines.

[0008] In the aforementioned low-power distributed CAN bus network based on sleep mode, each controlled CAN unit is composed of 1 CAN communication module, 2 internal CAN bus lines and several controlled CAN nodes. The CAN communication module communicates with the main control CAN unit through a pair of redundant CAN bus lines, and communicates with several controlled CAN nodes in the network through 2 internal CAN buses; the processor of the CAN communication module has a sleep working mode and a normal working mode; the processor working mode of the CAN communication module is controlled by the main control CAN unit. When bus data arrives, the processor of the CAN communication module is in the normal working mode, and when there is no bus data, the processor of the CAN communication module is in the sleep working mode.

[0009] In the aforementioned low-power distributed CAN bus network based on sleep mode, any one internal CAN bus line has one end connected to the CAN communication module and the other end connected to a number of controlled CAN nodes. The reliability of the controlled CAN unit bus network is improved through the redundant design of the two internal CAN bus lines.

[0010] In the aforementioned low-power distributed CAN bus network based on sleep mode, each controlled CAN node communicates with the internal CAN communication module through networking; the processor of the controlled CAN node has two working modes, sleep and normal. The working mode of the processor of each controlled CAN node is controlled by the internal CAN communication module in a networking manner. When bus data arrives, the processor of the controlled CAN node is in the normal working mode. When there is no bus data, the processor of the controlled CAN node is in the sleep working mode.

[0011] The aforementioned low-power distributed CAN bus network based on sleep mode has a distributed network architecture, and the master CAN unit communicates with the CAN communication modules of several controlled CAN units through several pairs of independent redundant CAN bus lines, so that the controlled CAN units are physically isolated from each other.

[0012] A working method of a low-power distributed CAN bus network based on sleep mode as described above, including a passive wake-up control strategy: the master CAN unit sends bus data to the controlled CAN unit based on communication requirements, and controls the working mode of the CAN communication module processor of the controlled CAN unit and the processor of each controlled CAN node through the bus data, so that the processor of the CAN communication module and the processor of each controlled CAN node are in normal working mode when communication tasks need to be performed, and in default sleep mode when communication tasks do not need to be performed, thereby reducing power consumption during the bus network task cycle.

[0013] The aforementioned working method of the low-power distributed CAN bus network based on the sleep mode also includes an active wake-up control strategy: the processor of the CAN communication module of the controlled CAN unit and the processors of the several controlled CAN nodes are in the low-power working mode by default. When the bus self-test cycle arrives, the CAN communication module actively wakes up to the normal working mode, reports its own status to the master CAN unit, and sends the bus self-test data to the several controlled CAN nodes. Several controlled CAN nodes receive the bus self-test data sent by the CAN communication module, passively wake up to the normal working mode, report their own status to the CAN communication module, and after the CAN communication module receives the status sent by the several controlled CAN nodes, it sends the status information of the several controlled CAN nodes to the master CAN unit. After the master CAN unit receives the status information of the CAN communication module, it wakes up from the low-power mode to the normal working mode, and after receiving the status information of the several controlled CAN nodes within the waiting delay, it returns to the low-power working mode, otherwise, after the waiting delay, it returns to the low-power working mode.

[0014] The advantages of the present invention are: the low-power distributed CAN bus design method based on sleep mode of the present invention is applied in the field of field communication bus, and the CAN bus unit is designed with the CAN node processor with controllable working mode as the core, so that each unit of the CAN bus network can be flexibly configured between the sleep mode and the normal working mode, so that the CAN bus network can adapt to various functional scenarios (such as communication, self-test, etc.), and flexibly configure the bus energy based on different functional scenarios, so that the power consumption of the CAN bus network is fully reduced. In addition, the passive wake-up strategy and active wake-up strategy proposed in this article propose a low-power control scheme for the low-power distributed CAN bus to realize low-power bus communication and bus self-test functional scenarios, which not only ensures the function realization of the CAN bus network in the relevant functional scenarios, but also enables the power consumption of the CAN bus network to be fully reduced during the working cycle.

[0015] The low-power distributed CAN bus network based on sleep mode has the advantages of low power consumption, flexible configuration of control logic, simple deployment, and low power consumption control cost.

[0016] Regarding the problems encountered during the implementation of the solution, in that the power consumption of the CAN bus network is difficult to reduce systematically, the present invention uses a processor with controllable working modes to build CAN units, so that the CAN bus network has a distributed and universal energy control interface, and can flexibly configure different control strategies to systematically reduce the bus power consumption; in addition, in solving the problem of power consumption introduced by the power control circuit itself and increased complexity of the bus hardware circuit, the present invention is designed to use bus data as the CAN unit wake-up signal, avoiding the configuration of additional hardware circuits in the CAN bus network, and fully reducing the introduced power consumption, hardware complexity and deployment cost of the CAN bus network. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a low-power distributed CAN bus network architecture diagram based on sleep mode;

[0018] Figure 2 It is a communication task flow chart of bus network based on passive wake-up strategy;

[0019] Figure 3 It is a flow chart of the bus self-check task based on the active wake-up strategy of the bus network. DETAILED DESCRIPTION

[0020] The present invention is further described below in conjunction with the accompanying drawings and embodiments, but they are not intended to limit the present invention.

[0021] Embodiment 1. A low-power distributed CAN bus network based on sleep mode and working mode performs bus self-check configuration, and sets a master CAN unit and several controlled CAN units; the master CAN unit is connected to the controlled CAN unit through several pairs of independent redundant CAN buses to realize a distributed CAN bus network architecture, and the bus data is used as the working mode control signal of the controlled CAN unit. The master CAN unit sends CAN bus data to the controlled CAN unit based on the communication task requirements with the controlled CAN unit; the processor of the CAN communication module of the controlled CAN unit and the processors of several controlled CAN nodes are in low-power working mode by default, and the processor of the CAN communication module of the controlled CAN unit receives the bus data sent by the master CAN unit, and is awakened from the low-power working mode to the normal working mode, and sends bus data to several controlled CAN nodes through the internal CAN bus, and several controlled CAN nodes are awakened from the low-power working mode to the normal working mode. The processors of several controlled CAN nodes receive CAN bus data, and send the bus data to the processor of the CAN communication module through the internal CAN bus, and then the several controlled CAN nodes are converted from the normal working mode to the low power consumption mode; after receiving the bus data sent by several controlled CAN nodes, the processor of the CAN communication module sends the bus data to the main control CAN unit, and then converts from the normal working mode to the low power consumption mode. If several controlled CAN nodes do not receive bus data within a period of time, they will be converted from the low power consumption mode to the normal working mode within a predetermined period according to the active wake-up strategy, and report the node status to the CAN communication module. The CAN communication module is converted from the low power consumption mode to the normal working mode, and sends the status information of several controlled CAN nodes to the main control CAN unit.

[0022] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] Figure 1 The figure shows the low-power distributed CAN bus network architecture based on sleep mode.

[0024] Figure 2 The figure shows the communication task flow chart of the bus network based on the passive wake-up strategy.

[0025] As the initiator of the bus network communication task, the master CAN unit controls the working mode of each processor of all controlled CAN units in the bus network based on the bus network active wake-up control strategy to ensure that the controlled CAN nodes are in low-power mode when there is no communication task. After power-on, the processor of the master CAN unit periodically wakes up from the low-power working mode to the normal working mode, confirms the target controlled CAN unit to communicate, and sends bus data to the controlled CAN unit to communicate, wakes up the communication module processor and several controlled CAN node processors of the controlled CAN unit, and communicates with the controlled CAN unit on the bus. After the master CAN unit receives the bus data replied by the controlled CAN unit, the master CAN unit recovers from the normal working mode to the low-power working mode.

[0026] As the executor of the bus network communication task, the controlled CAN unit consists of two parts: a CAN communication module and several controlled CAN nodes. In the bus communication task stage, the controlled CAN unit is controlled by the master CAN unit based on the bus network passive wake-up control strategy, and the control mode is controlled by the processor of the CAN communication module and the processors of several controlled CAN nodes. When the bus data arrives, the processor of the CAN communication module of the controlled CAN unit is awakened from the low power mode to the normal working mode, and the CAN communication module processor sends the bus data to several controlled CAN nodes by broadcasting; after receiving the bus data sent by the CAN communication module, the processors of several controlled CAN nodes are awakened from the low power mode to the normal working mode, and after several controlled CAN nodes reply the bus data to the CAN communication module, they are restored from the normal working mode to the low power mode; after receiving the bus data replied by several controlled CAN nodes, the CAN communication module replies the bus data to the master CAN unit, and then restores from the normal working mode to the low power mode. In the non-bus communication task stage, the controlled CAN unit, based on the bus network active wake-up control strategy, the processors of several controlled CAN nodes of the controlled CAN unit periodically recover from the low-power working mode to the normal working mode, send node status information to the CAN communication module, and then recover from the normal working mode to the low-power mode; after the processor of the CAN communication module receives the bus data sent by several controlled CAN nodes, it is awakened from the low-power working mode to the normal working mode, and forwards the status information of several controlled CAN nodes to the master CAN unit, and then the processor of the CAN communication module recovers from the normal working mode to the low-power mode. This strategy is suitable for the working scenario of bus communication tasks.

[0027] Figure 3 The figure is a flow chart of the bus self-test task based on the active wake-up strategy of the bus network.

[0028] As the executor of the bus self-test task of the bus network, the controlled CAN unit actively wakes up to the normal working mode during the bus self-test task phase and when the self-test cycle arrives, reports its own status to the master CAN unit, sends bus status query instructions to several controlled CAN nodes, and after receiving the bus status information replied by several CAN nodes, reports the bus status information of several controlled CAN nodes to the master CAN unit. After the master CAN unit receives the bus status information reported by the CAN communication module, it passively wakes up from the low-power working mode to the normal working mode, and returns to the low-power working mode after receiving the status information of the CAN communication module and the status information reported by several controlled CAN nodes, or after the set waiting delay arrives. This strategy is suitable for the working scenario of the bus self-test task.

Claims

1. A low-power distributed CAN bus network based on sleep mode, characterized in that: The bus network is composed of a master CAN unit, one or more mutually independent redundant CAN bus lines, and one or more controlled CAN units; each of the two CAN bus interfaces of the master CAN unit is connected to a pair of redundant CAN bus lines to exchange bus data with a controlled CAN unit; each of the controlled CAN units is composed of a CAN communication module and one or more controlled CAN nodes; the CAN communication module is connected to each controlled CAN node of the network through an internal CAN bus; The CAN communication module and each controlled CAN node include a processor with controllable sleep mode; the CAN communication module includes 4 CAN communication interfaces, 2 of which are used as interfaces for the controlled CAN unit to communicate with the main control CAN unit externally, and the other 2 are used as internal communication interfaces of the controlled CAN unit, which are used to communicate with each controlled CAN node through networking; one end of any one CAN bus line of each pair of redundant CAN bus lines is connected to a CAN interface of the main control CAN unit, and the other end is connected to an external CAN interface of the CAN communication module of the corresponding controlled CAN unit; it has a distributed network architecture, and the main control CAN unit communicates with the CAN communication modules of several controlled CAN units through several pairs of independent redundant CAN bus lines, so that each controlled CAN unit is physically isolated.

2. The low-power distributed CAN bus network based on sleep mode as claimed in claim 1, characterized in that: Each controlled CAN unit consists of a CAN communication module, two internal CAN bus lines and several controlled CAN nodes. The CAN communication module communicates with the main control CAN unit through a pair of redundant CAN bus lines and communicates with several controlled CAN nodes in the network through two internal CAN buses. The processor of the CAN communication module has a sleep mode and a normal working mode. The processor working mode of the CAN communication module is controlled by the main control CAN unit. When bus data arrives, the processor of the CAN communication module is in a normal working mode. When there is no bus data, the processor of the CAN communication module is in a sleep mode.

3. The low-power distributed CAN bus network based on sleep mode as claimed in claim 1, characterized in that: Any internal CAN bus line has one end connected to the CAN communication module and the other end connected to several controlled CAN nodes.

4. The low-power distributed CAN bus network based on sleep mode as claimed in claim 1, characterized in that: Each controlled CAN node communicates with the internal CAN communication module through networking; the processor of the controlled CAN node has two working modes: sleep and normal. The working mode of the processor of each controlled CAN node is controlled by the internal CAN communication module in a networking manner. When bus data arrives, the processor of the controlled CAN node is in the normal working mode. When there is no bus data, the processor of the controlled CAN node is in the sleep working mode.

5. A working method of a low-power distributed CAN bus network based on sleep mode according to any one of claims 1 to 4, characterized in that: The invention comprises a passive wake-up control strategy: the master CAN unit sends bus data to the controlled CAN unit based on communication requirements, and controls the working mode of the CAN communication module processor of the controlled CAN unit and the processor of each controlled CAN node through the bus data, so that the processor of the CAN communication module and the processor of each controlled CAN node are in normal working mode when communication tasks need to be performed, and are in default sleep mode when communication tasks do not need to be performed, thereby reducing power consumption during the bus network task cycle.

6. The working method of the low-power distributed CAN bus network based on sleep mode as claimed in claim 5, characterized in that: It also includes an active wake-up control strategy: the processor of the CAN communication module of the controlled CAN unit and the processors of several controlled CAN nodes are in a low-power working mode by default. When the bus self-test cycle arrives, the CAN communication module actively wakes up to a normal working mode, reports its own status to the master CAN unit, and sends bus self-test data to several controlled CAN nodes; after several controlled CAN nodes receive the bus self-test data sent by the CAN communication module, they are passively awakened to a normal working mode and report their own status to the CAN communication module. After the CAN communication module receives the status sent by several controlled CAN nodes, it sends the status information of several controlled CAN nodes to the master CAN unit; after the master CAN unit receives the status information of the CAN communication module, it wakes up from the low-power mode to the normal working mode, and after receiving the status information of several controlled CAN nodes within the waiting delay, it returns to the low-power working mode, otherwise, it returns to the low-power working mode after the waiting delay.