Message wake-up system and method for TJA1043 transceiver
By designing a message wake-up system, using the controller and power management module to identify the CAN bus message ID, the problem that the TJA1043 transceiver cannot recognize a specific ID message is solved, and selective wake-up and low-power management of ECU nodes are realized. Optimized the working status of the on-board network.
Patent Information
- Application Number
- CN202310790434.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
The TJA1043 transceiver cannot recognize specific ID messages, resulting in the inability to realize selective wake-up, and it is necessary to complete the specific message wake-up function of the ECU node from the software level.
A message wake-up system is designed, including a controller, power management module and power management integrated circuit. It connects the TJA1043 transceiver through the CAN bus, uses electromagnetic compatibility filters and capacitors to realize triggering and wake-up of any ID messages, and through The state machine management module determines whether to perform a hibernation or wake-up operation.
It realizes the identification and selective wake-up of specific ID messages by the TJA1043 transceiver, ensures the orderly working and low power consumption state of the ECU node, and optimizes the on-board network management.
Smart Images

Figure CN119232510A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of steering systems, and in particular to a message wake-up system and method for a TJA1043 transceiver. Background Art
[0002] With the increasing intelligence of automobiles, the number of on-board ECUs is also increasing. In order to ensure the orderly operation of each node, reduce energy consumption and optimize vehicle wiring, the network wake-up and sleep mechanism of on-board ECU is particularly important. CAN transceiver is an important part of network management. TJA1043 transceiver has low electrical radiation and high electromagnetic interference tolerance. It only requires very small current in standby and sleep modes and supports local wake-up and remote wake-up.
[0003] For most ECU nodes, their network management needs to have the ability to wake up with specific messages. However, the hardware characteristics of the TJA1043 transceiver do not have the ability to identify specific messages, so the specific message wake-up function of the ECU node needs to be completed at the software level. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, the present invention provides a message wake-up system and method for a TJA1043 transceiver, which solves the problem that the TJA1043 transceiver cannot identify a specific ID message for selective wake-up.
[0005] To achieve the above purpose, a message wake-up system and method for TJA1043 transceiver are designed, including a controller, a power management module, a power management integrated circuit, and a TJA1043 transceiver, characterized in that: the controller is bidirectionally connected to the power management integrated circuit and the TJA1043 transceiver respectively, and the wake-up output end of the TJA1043 transceiver is connected to the wake-up input end of the power management integrated circuit; the input end of the controller is connected to the output end of the power management module, and the power management module is connected to the electromagnetic compatibility filter through a capacitor; the output end of the electromagnetic compatibility filter is connected to the input end of the power management integrated circuit; the TJA1043 transceiver is connected to the CAN bus; The message wake-up method of the TJA1043 transceiver is as follows: S1, a message with any ID on the CAN bus triggers the TJA1043 transceiver to wake up; S2, after the TJA1043 transceiver wakes up, it triggers the power management integrated circuit to power on the controller; S3, the controller starts the power-on process and initializes the Ecu status management module in the controller; S4, initializing the BswM basic software management module and communication stack in the controller; S5, the Ecu status management module and the BswM basic software management module in the controller start the receiving capability of the communication stack in the controller; S6, the communication stack in the controller receives the CAN bus message, identifies the message ID, determines whether the ID is a valid ID, and passes the result to the CanNm network management module in the controller; S7, the CanNm network management module in the controller determines whether to switch the state of the CanNm state machine in the CanNm network management module according to whether the CAN bus message ID is valid; S8, the ShutDown sleep control module in the controller determines whether to execute the sleep process according to the CanNm state machine in the CanNm network management module.
[0006] The power management integrated circuit includes an ASIC chip, a Power Module power management module, an EMCFilter electromagnetic compatibility filter, and a DC link capacitor. The power management integrated circuit is in a low power consumption state for a long time. The power management integrated circuit supplies power to the controller, and the power supply process is as follows: S21, when the controller needs to be started, the Power Module power management module supplies power to the controller; S22, the controller starts the startup process. When the controller recognizes that it does not need to work, it will execute the sleep action and notify the power management integrated circuit to enter the sleep mode.
[0007] The controller includes an Ecu status management module, a BswM basic software management module, a communication stack, a CanNm network management module, and a ShutDown sleep control module; Ecu status management module: when the controller is initialized, it initializes the basic software modules required by the operating system; prepares for the sleep mode and wake-up mode of the microcontroller; executes shutdown and restart commands; BswM basic software management module: defines rules and executes corresponding actions, such as initializing and starting the communication stack; Communication stack: for sending and receiving messages, including communication services, CAN interface, CAN driver, and transceiver driver modules; CanNm network management module: maintains the CanNm state machine according to the state of the bus wake-up message. The CanNm state machine includes sleep mode, normal communication mode, and pre-sleep mode; ShutDown sleep control module: issues a sleep command. When the CanNm state machine in the CanNm network management module is in sleep mode or pre-sleep mode, the ShutDown sleep control module issues a sleep command for the entire controller.
[0008] The electromagnetic compatibility filter is powered by a battery.
[0009] Compared with the prior art, the present invention provides a message wake-up system and method for a TJA1043 transceiver, solving the problem that the TJA1043 transceiver cannot identify a specific ID message for selective wake-up. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a message wake-up system based on TJA1043 transceiver.
[0011] Figure 2 It is the controller specific message wake-up policy process.
[0012] Figure 3 This is a system diagram of an embodiment of the present invention. Implementation
[0013] The present invention will be further described below with reference to the accompanying drawings.
[0014] like Figure 1 , Figure 2 As shown, a message wake-up system and method for a TJA1043 transceiver, the controller is bidirectionally connected to the power management integrated circuit and the TJA1043 transceiver respectively, the wake-up output end of the TJA1043 transceiver is connected to the wake-up input end of the power management integrated circuit; the input end of the controller is connected to the output end of the power management module, and the power management module is connected to the electromagnetic compatibility filter through a capacitor; the output end of the electromagnetic compatibility filter is connected to the input end of the power management integrated circuit; the TJA1043 transceiver is connected to the CAN bus; The message wake-up method of the TJA1043 transceiver is as follows: S1, a message with any ID on the CAN bus triggers the TJA1043 transceiver to wake up; S2, after the TJA1043 transceiver wakes up, it triggers the power management integrated circuit to power on the controller; S3, the controller starts the power-on process and initializes the Ecu status management module in the controller; S4, initializing the BswM basic software management module and communication stack in the controller; S5, the Ecu status management module and the BswM basic software management module in the controller start the receiving capability of the communication stack in the controller; S6, the communication stack in the controller receives the CAN bus message, identifies the message ID, determines whether the ID is a valid ID, and passes the result to the CanNm network management module in the controller; S7, the CanNm network management module in the controller determines whether to switch the state of the CanNm state machine in the CanNm network management module according to whether the CAN bus message ID is valid; S8, the ShutDown sleep control module in the controller determines whether to execute the sleep process according to the CanNm state machine in the CanNm network management module.
[0015] The power management integrated circuit includes ASIC chip, Power Module power management module, EMC Filter electromagnetic compatibility filter, DC link capacitors. The power management integrated circuit is in a low power consumption state for a long time. The power management integrated circuit supplies power to the controller. The power supply process is as follows: S21, when the controller needs to be started, the Power Module power management module supplies power to the controller; S22, the controller starts the startup process. When the controller recognizes that it does not need to work, it will execute the sleep action and notify the power management integrated circuit to enter the sleep mode.
[0016] The controller includes Ecu status management module, BswM basic software management module, communication stack, CanNm network management module, ShutDown sleep control module; Ecu status management module: when the controller is initialized, it initializes the basic software modules required by the operating system; prepares for the sleep mode and wake-up mode of the microcontroller; executes shutdown and restart commands; BswM basic software management module: defines rules and executes corresponding actions, such as initializing and starting the communication stack; Communication stack: for sending and receiving messages, including COM (communication service), CAN Interface (CAN interface), CanDriver (CAN driver), Trcv Driver (transceiver driver) modules; CanNm network management module: maintains the CanNm state machine according to the state of the bus wake-up message. The CanNm state machine includes sleep mode, normal communication mode, and pre-sleep mode; ShutDown sleep control module: issues a sleep command. When the CanNm state machine in the CanNm network management module is in sleep mode or pre-sleep mode, the ShutDown sleep control module issues a sleep command for the entire controller.
[0017] The EMC filter is powered by a battery.
[0018] like Figure 3As shown, it is an embodiment of the present invention, the above system and strategy are applied to an electric power steering system, and the ID of the effective wake-up message of the electric power steering system is set to 0x400.
[0019] When the received message ID is 400, the normal wake-up process is as follows: Supply KL30 power to the electric power steering system; The electric power steering system is connected to the bus development tool CanOe, and the Canoe tool is connected to the simulation script of the personal computer; The simulation script sends a network management message with ID 400; The TJA1043 transceiver is triggered by the network management message of ID400 to enter the awake state, and triggers the power management integrated circuit to power on the controller of the electric power steering system; The electric power steering system is powered on and started, and the underlying modules and communication stack are initialized; Enable the communication stack's ability to receive messages; The communication stack receives the network management message of ID400, recognizes the ID as a valid ID, and passes the information that the wakeup ID is valid to the CanNm network management module in the controller; The CanNm network management module in the controller enters normal mode from sleep mode, and enables the communication stack's transceiver capabilities to be turned on; The ShutDown sleep control module in the controller detects that the CanNm network management module in the controller is in normal mode, does not execute the sleep instruction, and enters the normal working state.
[0020] When the received message ID is not 400, the wake-up rejection process is as follows: Supply KL30 power to the electric power steering system; The electric power steering system is connected to the bus development tool CanOe, and the Canoe tool is connected to the simulation script of the personal computer; Use Canoe to send a network management message with ID 500 (that is, the ID is invalid); The TJA1043 transceiver is triggered by the network management message of ID500 to enter the awake state, and triggers the power management integrated circuit to power on the controller of the electric power steering system; The electric power steering system is powered on and started, and the underlying modules and communication stack are initialized; Enable the communication stack's ability to receive messages; The communication stack receives the network management message of ID500, recognizes that the ID is invalid, and passes the information that the wakeup ID is invalid to the CanNm network management module in the controller; The CanNm network management module in the controller is stuck in sleep mode; The ShutDown sleep control module in the controller detects that the CanNm network management module in the controller is in sleep mode, executes the sleep instruction, and the electric power steering system enters sleep mode.
Claims
1. A message wake-up system and method for a TJA1043 transceiver, comprising a controller, a power management module, a power management integrated circuit, and a TJA1043 transceiver, characterized in that: The controller is bidirectionally connected to the power management integrated circuit and the TJA1043 transceiver respectively, the wake-up output end of the TJA1043 transceiver is connected to the wake-up input end of the power management integrated circuit; the input end of the controller is connected to the output end of the power management module, and the power management module is connected to the electromagnetic compatibility filter through a capacitor; the output end of the electromagnetic compatibility filter is connected to the input end of the power management integrated circuit; the TJA1043 transceiver is connected to the CAN bus; The message wake-up method of the TJA1043 transceiver is as follows: S1, a message with any ID on the CAN bus triggers the TJA1043 transceiver to wake up; S2, after the TJA1043 transceiver wakes up, it triggers the power management integrated circuit to power on the controller; S3, the controller starts the power-on process and initializes the Ecu status management module in the controller; S4, initializing the BswM basic software management module and communication stack in the controller; S5, the Ecu status management module and the BswM basic software management module in the controller start the receiving capability of the communication stack in the controller; S6, the communication stack in the controller receives the CAN bus message, identifies the message ID, determines whether the ID is a valid ID, and passes the result to the CanNm network management module in the controller; S7, the CanNm network management module in the controller determines whether to switch the state of the CanNm state machine in the CanNm network management module according to whether the CAN bus message ID is valid; S8, the ShutDown sleep control module in the controller determines whether to execute the sleep process according to the CanNm state machine in the CanNm network management module.
2. A message wake-up system and method for a TJA1043 transceiver according to claim 1, characterized in that: The power management integrated circuit includes an ASIC chip, a Power Module power management module, an EMC Filter, and a DC link capacitor. The power management integrated circuit is in a low power consumption state for a long time. The power management integrated circuit supplies power to the controller. The power supply process is as follows: S21, when the controller needs to be started, the Power Module power management module supplies power to the controller; S22, the controller starts the startup process. When the controller recognizes that it does not need to work, it will execute the sleep action and notify the power management integrated circuit to enter the sleep mode.
3. A message wake-up system and method for a TJA1043 transceiver according to claim 1, characterized in that: The controller includes an Ecu status management module, a BswM basic software management module, a communication stack, a CanNm network management module, and a ShutDown sleep control module; Ecu status management module: when the controller is initialized, it initializes the basic software modules required by the operating system; prepares for the sleep mode and wake-up mode of the microcontroller; executes shutdown and restart commands; BswM basic software management module: defines rules and executes corresponding actions, such as initializing and starting the communication stack; Communication stack: for sending and receiving messages, including communication services, CAN interface, CAN driver, and transceiver driver modules; CanNm network management module: maintains the CanNm state machine according to the state of the bus wake-up message. The CanNm state machine includes sleep mode, normal communication mode, and pre-sleep mode; ShutDown sleep control module: issues a sleep command. When the CanNm state machine in the CanNm network management module is in sleep mode or pre-sleep mode, the ShutDown sleep control module issues a sleep command for the entire controller.
4. A message wake-up system and method for a TJA1043 transceiver according to claim 1, characterized in that: The electromagnetic compatibility filter is powered by a battery.
