A network management system, control method, electronic controller and electric vehicle

By supporting the ID-matching CAN FD message wake-up function in the CAN transceiver, the problem that the traditional CAN bus cannot support CAN FD frame wake-up is solved, achieving fast response and efficient data transmission, and improving bus utilization.

CN114363099BActive Publication Date: 2024-08-27HUAWEI DIGITAL POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110167896.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-05
Publication Date
2024-08-27
Estimated Expiration
2041-02-05

AI Technical Summary

Technical Problem

When implementing local network management and CAN FD protocols, the traditional CAN bus cannot support the wake-up function of specific CAN FD frames, resulting in a longer time for the controller to wake up to normal operation and unable to respond quickly to transmission needs.

Method used

A network management system is designed that supports the ID-matched CAN FD message wake-up function through the CAN transceiver, directly identifies whether the CAN FD message belongs to a specific frame, and wakes up the power supply circuit when matching, achieving fast initialization and data transmission without the need for Switch operation.

Benefits of technology

It shortens the time from waking up to normal operation, improves bus utilization and data transmission efficiency, and enables the controller to quickly respond to needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114363099B
    Figure CN114363099B
Patent Text Reader

Abstract

The embodiment of the present application discloses a network management system, a control method, an electronic controller and an electric vehicle, wherein the management system includes a CAN transceiver, a power supply circuit and a controller, wherein the CAN transceiver supports the CAN FD message wake-up function with ID matching. When both PN management and CAN FD applications are required, the CAN transceiver can directly identify whether the CAN FD message belongs to a specific frame, and if so, the power supply circuit is awakened to power other devices in the system, and the controller and the CAN transceiver can be initialized and configured, for example, switching from an inactive state to an active state, and directly entering a normal working state after successful configuration, so as to utilize the CAN FD protocol for data transmission, without switching operations, shortening the time from waking up to normal operation, so that the controller can respond quickly to needs and improve the utilization rate of the bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic control technology, and in particular to a network management system, a control method, an electronic controller and an electric vehicle. Background Art

[0002] In recent years, the energy saving of automobiles has attracted much attention, and reducing unnecessary energy loss is an issue that all vehicle manufacturers need to consider. For example, after the KL30 node of the vehicle is set to the OFF position, most of the unnecessary functions are turned off. However, for distributed functional networks, since the nodes connected to the bus need to work together, each node needs to follow the same protocol to achieve synchronous sleep or wake-up. In order to solve the above problems, partial network (PN) management is proposed to achieve group sleep and wake-up. That is, the partial network can be divided according to the node function. When a certain function is activated, only the relevant nodes are awakened and communicate, while other nodes remain in sleep state, thereby reducing power consumption.

[0003] However, as more and more functions are added to cars, the load on the traditional controller area network (CAN) bus is getting higher and higher. In order to reduce the load on the CAN bus, the CAN with flexible datarate (CAN FD) technology is proposed. In the case of local network management, a specific frame wake-up method must be used to wake up the node, while the traditional technology only supports specific CAN2.0 frame wake-up, not specific CAN FD frame wake-up. How to use CAN FD frames to wake up specific nodes is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a network management system, a control method, an electronic controller and an electric vehicle, so as to realize wake-up using a specific CAN FD frame when the vehicle has both local network management and CAN FD protocol.

[0005] In a first aspect of an embodiment of the present application, a network management system is provided, which supports local network PN management. The system includes a controller area network (CAN) transceiver, a power supply circuit and a controller, wherein the CAN transceiver is connected to the power supply circuit and the controller, respectively, wherein the CAN transceiver supports a CAN FD message wake-up function with an identifier ID matching; the CAN transceiver is used to detect whether there is a valid wake-up source, and when a valid wake-up source is detected, wakes up the power supply circuit to power the controller and the CAN transceiver, and the valid wake-up source is a CAN FD message with an ID matching; the controller and the CAN transceiver perform data transmission based on the CAN FD protocol.

[0006] The network management system provided by this embodiment includes a CAN transceiver, a power supply circuit, and a controller, wherein the CAN transceiver supports the CAN FD message wake-up function with ID matching. When both PN management and CAN FD applications are required, the CAN transceiver can directly identify whether the CAN FD message belongs to a specific frame. If so, the power supply circuit is awakened to power other devices in the system. The controller and the CAN transceiver are initialized and configured, for example, switching from an inactive state to an active state. After successful configuration, the normal working state is directly entered to use the CAN FD protocol for data transmission without switching operations, shortening the time from wake-up to normal operation, so that the controller can respond quickly to needs and improve the utilization rate of the bus.

[0007] In combination with the first aspect, in a first possible implementation method, the CAN transceiver includes a wake-up detection module and a deframing module; the wake-up detection module is used to read a level sequence from a bus, and after determining that the level sequence meets a preset condition, receive a message and trigger the deframing module to operate; the deframing module is used to parse the message to obtain the content of a target field, and the target field includes an ID field and an FDF field; the wake-up detection module is also used to determine whether the content of the target field matches configuration information, and the configuration information is used to determine whether the message is a valid wake-up source; the wake-up detection module is also used to determine that the message is a valid wake-up source when the content of the target field matches the configuration information.

[0008] In this implementation, the wake-up detection module in the CAN transceiver can determine whether the received message is a CAN FD message with an ID match according to the target field obtained by parsing, and then use the CAN FD message with an ID match to wake up the power supply circuit.

[0009] In combination with the first aspect, in a second possible implementation manner, the level sequence satisfies a preset condition that the level sequence is presented in a form of dominant level-implicit level-dominant level.

[0010] In this implementation, after the CAN transceiver detects that the level sequence on the bus meets the preset level expression form, it obtains the message from the CAN bus and parses and determines the type of the message, thereby avoiding occupation of resources.

[0011] In combination with the first aspect, in a third possible implementation manner, the target field also includes a remote request replacement RRS field and / or an identifier extension IDE field.

[0012] In this implementation, the conditions for waking up the power supply circuit can be further limited by adding configurations for the content corresponding to the RRS field and / or the content corresponding to the IDE field in the configuration information, so that only CAN FD messages that meet the preset conditions can wake up the power supply circuit.

[0013] In combination with the first aspect, in a fourth possible implementation method, the wake-up detection module is specifically used to determine that the message is a valid wake-up source when the content of the ID field matches the ID in the configuration information, the content of the FDF field indicates that the message is the CAN FD message, and the content of the RRS field and the content of the IDE field match the content in the configuration information, and the configuration information is used to determine the valid wake-up source.

[0014] In combination with the first aspect, in a fifth possible implementation manner, the CAN transceiver includes a configuration register, and the configuration register is used to store the configuration information.

[0015] In combination with the first aspect, in a sixth possible implementation, the CAN transceiver is further used to set the valid wake-up flag when the valid wake-up source is detected, and the valid wake-up flag is used to indicate whether the valid wake-up source is the CAN FD message, and the configuration register includes the valid wake-up flag.

[0016] In combination with the first aspect, in a seventh possible implementation manner, the controller is used to read the data of the valid wake-up flag from the configuration register.

[0017] In combination with the first aspect, in an eighth possible implementation manner, the controller is a microcontroller.

[0018] In combination with the first aspect, in a ninth possible implementation manner, a CAN controller is integrated in the microcontroller.

[0019] In a second aspect of an embodiment of the present application, a control method for a network management system is provided, which is applied to the CAN transceiver module described in the first aspect, and the method includes: obtaining a message from a bus, and parsing the message to obtain content corresponding to a target field, wherein the target field includes an ID field and an FDF field, and the FDF field is used to indicate whether the message is a CAN FD message; determining whether the content of the target field meets a preset condition, and the preset condition is used to indicate a condition corresponding to waking up the power supply circuit; when the content of the target field meets the preset condition, controlling the power supply circuit to switch from a sleep state to a wake-up state to power the controller and the CAN transceiver, and the message is a CAN FD message with an ID matching.

[0020] In combination with the second aspect, in a first possible implementation manner, the target field also includes an RRS field and an IDE field.

[0021] In combination with the second aspect, in a second possible implementation method, determining whether the content of the target field meets the preset conditions includes: determining whether the message is the CAN FD message based on the content of the FDF field; when the message is the CAN FD message, judging whether the content of the ID field matches the preset ID; when the content of the ID field matches the preset ID, determining that the content of the target field meets the preset conditions.

[0022] In combination with the second aspect, in a third possible implementation method, before obtaining the message from the bus, the method also includes: obtaining a level sequence from the bus; determining whether the level sequence is the same as a preset level sequence; and when the level sequence is the same as the preset level sequence, obtaining the message from the bus.

[0023] In combination with the second aspect, in a fourth possible implementation manner, the preset level sequence refers to a level sequence in the form of dominant level-implicit level-dominant level.

[0024] In a third aspect of the embodiments of the present application, an electronic controller is provided, which includes the network management system described in the first aspect, and further includes: a peripheral circuit; and a controller in the network management system, which is used to control the operation of the peripheral circuit.

[0025] In a fourth aspect of an embodiment of the present application, an electric vehicle is provided, comprising the electronic controller as described in the third aspect, and also comprising an on-board power supply; the on-board power supply is used to provide a DC power supply for a power supply circuit in the electronic controller. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 It is a schematic diagram of a CAN network structure;

[0028] Figure 2 A schematic diagram of a CAN transceiver state change;

[0029] Figure 3 A schematic diagram of the structure of a network management system provided in an embodiment of the present application;

[0030] Figure 4 A schematic diagram of a CAN transceiver state change provided in an embodiment of the present application;

[0031] Figure 5 A schematic diagram of a CAN transceiver structure provided for the implementation of this application;

[0032] Figure 6 A schematic diagram of a CAN FD message structure provided in an embodiment of the present application;

[0033] Figure 7 A flow chart of a network management system control method provided by an embodiment of the present application;

[0034] Figure 8 A schematic diagram of the structure of an electronic controller provided in an embodiment of the present application;

[0035] Fig. 9 A schematic diagram of the structure of an electric vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.

[0037] To facilitate understanding of the technical solutions provided by the embodiments of the present application, the technical terms involved in the present application will be explained below.

[0038] See also Figure 1As shown in the CAN network structure diagram, in this application scenario, the CAN network can include multiple electronic control units (ECUs), namely ECU-A, ECU-B and ECU-C. Among them, different ECUs can implement different functions. In order to make the ECU enter a dormant state when there is no communication demand, thereby saving battery energy, each ECU in the network follows the same protocol to achieve synchronous dormancy and wake-up. In this way, each ECU uses a dominant bit wake-up pattern (WUP) to achieve wake-up. Specifically, when the ECU is configured with the WUP wake-up function, the power supply circuit in the ECU can be awakened when the CAN transceiver of the ECU receives any message that meets the "display-hidden-display" sequence, so as to power modules such as microcontrollers and achieve the purpose of waking up the ECU. In this wake-up mode, any ECU is awakened after receiving a message that meets the above-mentioned specific sequence. However, in some application scenarios, only some ECUs need to be awakened, and there is no need to wake up irrelevant ECUs, for example, waking up ECU-B and ECU-C. The WUP wake-up mode causes irrelevant ECUs to enter a non-low power state, resulting in unnecessary power consumption.

[0039] In order to solve the problem of irrelevant ECUs being woken up and causing unnecessary power consumption, local network PN management is proposed to achieve group sleep and wakeup. Specifically, PN management can divide multiple virtual local networks in the entire network according to the functions of different ECUs, and each local network can achieve independent sleep and wakeup without affecting each other. In order to achieve PN management, a specific frame (wakeup frame, WUF) wakeup method is proposed. In this wakeup method, an ECU configured with the WUF wakeup function can wake up the power supply circuit in the ECU to power the ECU only when the content of the message it receives meets the configuration information. Specifically, information that can wake up the ECU can be configured in advance in the CAN transceiver module. When the CAN transceiver module receives a CAN message, the content of the CAN message is obtained, and the obtained content is matched with the configuration information. For example, the identifier (identifier, ID) of the CAN message and the check field in the CAN message are matched with the configuration information. If the match is successful, the CAN transceiver wakes up the power supply circuit. That is, only specific messages can wake up specific ECUs.

[0040] However, with the increasing number of automobile functions, the amount of data carried by the bus is also increasing. The traditional CAN technology affects the data transmission efficiency in terms of transmission rate and bandwidth. In order to meet the bandwidth and reliability requirements, CANFD technology was proposed, which can be considered as an upgrade of traditional CAN technology. The standard protocol ISO11898-1 issued in 2015 defines the format of CAN network messages, including the CAN message frame format and the CAN FD message frame format. Among them, the main differences between CAN and CAN FD include: different transmission rates, different data lengths, and different frame formats.

[0041] With the continuous promotion and application of CAN FD technology, some manufacturers want to use the CAN FD protocol for data transmission. However, the CAN transceivers on the market do not support wake-up by specific CAN FD messages. In order to achieve data transmission using the CAN FD protocol, the traditional compatible method is to configure the CAN transceiver to support the wake-up function of a specific CAN message, and first use the specific CAN message to wake up the power supply circuit to power the ECU. After the ECU is powered on, the microcontroller controls the CAN transceiver to switch to the CAN FD transmission mode to transmit data using the CAN FD message. For example Figure 2 As shown in the state transition diagram, it can be seen from the figure that there will be a communication blind area when the CAN transceiver switches from CAN mode to CAN FD mode, which will prolong the time from waking up the ECU to normal operation, resulting in the ECU being unable to respond quickly to transmission requirements.

[0042] Based on this, an embodiment of the present application provides a network management system, which includes a CAN transceiver, a power supply circuit and a controller, wherein the CAN transceiver supports the CAN FD message wake-up function with ID matching. When both PN management and CAN FD applications are required, the CAN transceiver can directly identify whether the CAN FD message belongs to a specific frame. If so, the power supply circuit is awakened to power other devices in the system. The controller and the CAN transceiver perform initialization configuration, for example, switching from an inactive state to an active state. After successful configuration, the normal working state is directly entered to use the CAN FD protocol for data transmission without switching operations, shortening the time from wake-up to normal operation, so that the controller can respond quickly to needs and improve the utilization rate of the bus.

[0043] Embodiment 1

[0044] See also Figure 3 , the figure shows a network management system 300 provided by an embodiment of the present application, the system can implement local network PN management, the system can include a CAN transceiver 301, a controller 302 and a power supply circuit 303. Among them, the CAN transceiver 301 supports a specific CAN FD message wake-up function. Figure 3 As shown, the CAN transceiver 301 is connected to the controller 302 and the power supply circuit 303 respectively, and the power supply circuit 303 can supply power to the CAN transceiver 301 and the controller 302 respectively, so that the CAN transceiver 301 and the controller 302 can work normally. Specifically, the CAN transceiver 301 is connected to the controller 302 through the transmitting pin CANTX and the receiving pin CANRX, and the CAN transceiver outputs or receives signals through differential lines (CANH and CANL).

[0045] The working principle of CAN transceiver will be explained in detail below.

[0046] In specific operation, when the controller 302 determines that no specific CAN FD message has been received within a preset time, the controller 302 issues a sleep instruction to control the CAN transceiver 301 and the power supply circuit 303 to enter a sleep state and stop supplying power to the outside. At this time, the power supply of the controller 302 is cut off and no power is consumed.

[0047] Among them, although the CAN transceiver 301 enters a low power consumption state, it can still detect the signal on the CAN bus. After the CAN transceiver 301 receives a signal from the CAN bus, it determines whether the signal is a valid wake-up source, that is, determines whether the signal is a specific CAN FD message. When the CAN transceiver 301 detects that the received signal is a valid wake-up source, it wakes up the power supply circuit 303, so that the power supply circuit 303 supplies power to the controller 302 and the CAN transceiver, and then the controller 302 and the CAN transceiver can perform data transmission based on the CAN FD protocol.

[0048] Specifically, when the CAN transceiver 301 detects a specific CAN FD message, it controls the pin connected to the power supply circuit 303 to output a high level. The power supply circuit 303 resumes external power supply according to the level signal. After the controller 302 is powered normally, it can control the CAN transceiver 301 and the CAN transceiver 301 to enter a normal working state by sending a wake-up command, and directly use the CAN FD protocol for data transmission. Figure 4 As shown in the state change diagram, the CAN transceiver can directly enter normal communication after being woken up.

[0049] The CAN transceiver 301 and the power supply circuit 303 can be integrated into a system basis chip (SBC), or can be two modules that work independently. When the CAN transceiver 301 and the power supply circuit 303 are integrated into the system basis chip, when it is determined that the received signal is a valid wake-up source, the SBC exits the sleep state and enters the working state, and supplies power to the controller 302, so that the controller 302 enters the working state.

[0050] In one implementation, the CAN transceiver 301 may include a configuration register for storing configuration information, which is used to determine a valid wake-up source. The configuration information may include only a preset ID or a preset ID set, and may also include a preset data bit length and a preset data value of a data field. The use of the configuration information will be described later.

[0051] Among them, the CAN transceiver module supports both wake-up of specific CAN messages, WUP wake-up, and wake-up of specific CAN FD messages. In order to enable the controller 302 to know which method is used to wake up, a preset number of bits in the configuration register can be configured as a valid wake-up source flag bit, and the valid wake-up source flag bit is used to indicate whether the valid wake-up source is a specific CAN FD message. Specifically, three bits in the configuration register are reserved to represent WUP wake-up, CAN2.0 wake-up, and CANFD wake-up, respectively. When the CAN transceiver determines that the valid wake-up source is a CAN FD message, the bit corresponding to the CAN FD wake-up in the valid wake-up flag bit can be set to "1", and the expression form is 001. Alternatively, two bits in the configuration register are reserved to represent a specific wake-up method, for example, 01 represents WUP wake-up, 10 represents CAN2.0 wake-up, 11 represents CAN FD wake-up, etc. After being awakened, the controller 302 can read the value of the valid wake-up source flag bit, and then determine that the valid wake-up source is a CANFD message according to the value.

[0052] In a possible implementation, the controller 302 may be a microcontroller, and the microcontroller may integrate a CAN controller. Alternatively, the controller 302 includes a microcontroller and a CAN controller, that is, the microcontroller and the CAN controller are two independent modules.

[0053] In one possible implementation, Figure 5 As shown, the CAN transceiver 301 includes a wake-up detection module 3011 and a de-framing module 3012. When the CAN transceiver is in a low power consumption state, the wake-up detection module 3011 is in a working state to detect a wake-up source on the CAN bus and obtain the wake-up source.

[0054] In a specific implementation, the wake-up detection module 3011 is used to detect whether the bus is active. Specifically, the wake-up detection module 3011 is used to read the level sequence from the bus, and when judging whether the level sequence meets the preset conditions, receive the message and trigger the de-framing module 3012 to work. That is, after obtaining the level sequence, the wake-up detection module 3011 first judges whether the level sequence is a WUP sequence, and starts receiving the message under the condition that it is a WUP sequence. Among them, the level sequence meeting the preset conditions can be a level sequence presentation form: dominant level-implicit level-dominant level.

[0055] When it is determined that the read level sequence is a WUP sequence, the wake-up detection module 3011 triggers the de-framing module 3012 to parse the received message to obtain the required target field, which is a field in the message, including an ID field and an FDF field. The required target field can be pre-configured so that the de-framing module 3012 only needs to obtain the required field when parsing, reducing the workload. The target field can also include an RRS field and an IDE field. The ID field is used to indicate the ID of the message; the FDF field is used to indicate whether the message is a CAN message or a CAN FD message.

[0056] It should be noted that when the CAN transceiver 301 itself has a deframing function, that is, it has a deframing module 3012, and can parse the received message according to the triggering of the wake-up detection module 3011. When the CAN transceiver 301 itself does not have a deframing function, the deframing function of the CAN transceiver is first added, and then the received message is parsed according to the triggering of the wake-up detection module 3011.

[0057] For easier understanding, see Figure 6 The schematic diagram of the CAN FD message frame structure, the CAN FD message includes a start frame (start of frame, SOF), an arbitration (arbitration) field, a control (control) field, a data field (DATA), a cyclic redundancy check (Cyclic Redundancy Check, CRC) field, an acknowledgment (ACK) field and an end of frame (end of frame, EOF).

[0058] The arbitration domain includes an ID field and a remote request substitution (RRS) field, which are used to indicate the priority level of the data. The smaller the value of the ID field, the higher the priority. The RRS field is used to distinguish whether the CAN FD message is a data frame or a remote frame.

[0059] The control field is used to control the length of the data in the message data field. It includes the ID extension (IDE) field, the FD format indicator (FDF) field, and the data length field (DLC). Among them, the IDE field is used to distinguish whether the message is a standard frame or an extended frame; the FDF field is used to distinguish whether the message is a CAN message or a CAN FD message; the DLC field is used for the number of bytes in the data field.

[0060] The data domain consists of data transmitted by the upper layer.

[0061] The check field is used to check the correctness of the data in the message. For CAN FD messages, different CRC check methods can be used for messages with different data lengths.

[0062] The ACK field is used to inform the sender that the message has been received correctly.

[0063] After obtaining the required target field, the wake-up detection module 3011 determines whether the parsed target field matches the configuration information. When it is determined that the target field matches the configuration information, the wake-up detection module 3011 determines that the message is a valid wake-up source. Specifically, the wake-up detection module 3011 determines whether the content of the ID field in the target field is the same as the ID value in the configuration information or belongs to a preset ID set, whether the content of the FDF field indicates that the wake-up source is a CAN FD message, and whether the content of the RRS field and the content of the IDE field match the content in the configuration information. When the content of the ID field matches, the content of the FDF field indicates that the wake-up source is a CAN FD message, and the content of the RRS field and the content of the IDE field match the corresponding content in the configuration information, the message is determined to be a valid wake-up source.

[0064] In the specific implementation, in order to further limit the conditions for waking up the CAN FD message corresponding to a certain node, the deframing module can further parse the contents of the data domain field and the check field in the message. If and only if the contents of all parsed fields match the contents in the configuration information, the received message is determined to be a valid wake-up source.

[0065] Through the above description, in the network management system provided by the embodiment of the present application, the CAN transceiver can support a specific CAN FD frame wake-up function. After the CAN transceiver determines that it has received a specific CAN FD frame, it can directly wake up the power supply circuit to power the controller and the CAN transceiver, and then directly use the CAN FD protocol to communicate without switching, thereby improving data transmission efficiency and bus utilization.

[0066] Embodiment 2

[0067] Based on the network management system provided in the above embodiments, an embodiment of the present application provides a network management system control method, which will be described below in conjunction with the accompanying drawings.

[0068] See also Figure 7 , which is a flow chart of a control method of a network management system provided by an embodiment of the present application, such as Figure 7 As shown, this method is applied to Figure 3 The CAN transceiver in the network management system shown, the method may include:

[0069] S701: The CAN transceiver obtains a message from the bus, parses the message, and obtains the content corresponding to the target field.

[0070] In this embodiment, when the CAN transceiver is in a low power consumption state, it can detect whether the bus is active. When the bus is detected to be active, it indicates that there is a message on the bus, and the CAN transceiver obtains the message from the bus. At this time, the message obtained by the CAN transceiver may be a CAN2.0 message or a CAN FD message.

[0071] Specifically, before the CAN transceiver obtains the message, the CAN transceiver can first determine whether the level sequence read from the bus meets the preset conditions. When it is determined that the level sequence meets the preset conditions, the message is received. The preset conditions may refer to the level sequence being in the form of "dominant level-recessive level-dominant level". That is, there are two dominant levels in the level sequence (time exceeds tFilter) and there is a recessive level between the two dominant levels (time exceeds tFilter). Regarding tFilter, there are two options in the latest ISO11898-2 2016, which are 0.5us~5us and 0.15us~1.8us.

[0072] After the CAN transceiver obtains the message, it parses the message to obtain the content corresponding to the target field. The target field includes an ID field and an FDF field. Specifically, in order to further improve the wake-up condition, the target field may also include an IDE field and / or an RRS field.

[0073] S702: The CAN transceiver determines whether the content of the target field meets a preset condition.

[0074] After parsing the contents of the target fields, the CAN transceiver can determine whether the contents of each target field meet a preset condition, which is used to indicate the conditions corresponding to the wake-up power supply circuit. Specifically, the preset condition is configuration information, which may include a preset ID value or ID range, and an FDF value.

[0075] Furthermore, without considering the complexity of parsing, in order to improve the wake-up standard, the configuration information can also pre-configure information related to the data field, for example, the length of the data field is configured to be a preset length value, and when the length of the data field (DLC) meets the preset length value, at least one bit of the data in the data field is 1.

[0076] Specifically, the CAN transceiver can determine whether the message is a CAN FD message based on the content of the FDF field. When the message is a CAN FD message, it determines whether the content of the ID field is a preset ID value or is within a preset ID range; when the content of the ID field is a preset ID or is within an ID range, it determines that the content of the target field meets the preset conditions. That is, when the CAN transceiver determines that the content of the ID field meets the preset configured ID information and FDF = 1, it determines that the message is a specific CAN FD message.

[0077] S703: When the content of the target field meets the preset condition, the CAN transceiver controls the power supply circuit to switch from the sleep state to the wake-up state to power the controller and the CAN transceiver.

[0078] When it is determined that the message is a specific CAN FD message, the CAN FD transceiver controls the power supply circuit to switch from the sleep state to the wake-up state to power the controller and the CAN transceiver, thereby putting the network management system in a normal working state. The controller and the CAN transceiver can transmit data based on the CAN FD message.

[0079] In a possible implementation, when the content of the target field does not meet the preset conditions, the CAN transceiver continues to read messages from the bus, parse the messages, and perform subsequent judgment operations. Specifically, when the CAN transceiver determines that the content of the target field does not meet the preset conditions, it can first determine whether the bus is in a silent period. If not, it continues to obtain messages from the bus and perform subsequent operations; if yes, the CAN transceiver continues to monitor the active state of the bus.

[0080] It should be noted that the implementation of each step in this embodiment can be seen in Figure 3 The relevant implementation of the CAN transceiver in the illustrated embodiment.

[0081] Embodiment 3

[0082] Based on the network management system provided in the above embodiment, the embodiment of the present application also provides an electronic controller, which will be described below in conjunction with the accompanying drawings.

[0083] See also Figure 8 , this figure is a schematic diagram of the structure of an electronic controller provided in an embodiment of the present application. The electronic controller 800 may include: a network management system 300 and a peripheral circuit 801.

[0084] The controller in the network management system 300 is used to control the operation of the peripheral circuit 801 .

[0085] Among them, the peripheral circuit can be an instrument display circuit, an auxiliary device circuit, etc.

[0086] It should be noted that the specific working principle of the network management system 300 can be found in the above embodiment, and this embodiment will not be repeated here.

[0087] Embodiment 4

[0088] Based on the electronic controller provided in the above embodiment, the embodiment of the present application also provides an electric vehicle, which will be described below in conjunction with the accompanying drawings.

[0089] See also Fig. 9 , this figure is a schematic diagram of the structure of an electric vehicle provided in an embodiment of the present application. The electric vehicle 900 may include an electronic controller 800 and an on-board power supply 901.

[0090] The vehicle-mounted power supply 901 is connected to the power supply circuit 301 in the network management system 300 to provide a DC power supply.

[0091] The power supply circuit 301 can provide power to the controller 302 and the CAN transceiver 301 based on the DC power provided by the vehicle power supply 901 .

[0092] Among them, the vehicle power supply 901 can be a high-voltage battery pack, a low-voltage battery, etc.

[0093] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0094] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0095] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical business division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0096] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0097] In addition, each business unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software business units.

[0098] If the integrated unit is implemented in the form of a software business unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0099] Those skilled in the art will appreciate that in one or more of the above examples, the services described in the present invention may be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, the services may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media may be any available media that can be accessed by a general-purpose or special-purpose computer.

[0100] The above specific implementation modes further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation modes of the present invention.

[0101] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A network management system, characterized in that: The system supports local network PN management, and the system includes a controller area network (CAN) transceiver, a power supply circuit, and a controller, wherein the CAN transceiver is connected to the power supply circuit and the controller respectively, wherein: The CAN transceiver is used to detect a valid wake-up source. When the CAN transceiver detects a valid wake-up source, the power supply circuit is awakened to supply power to the controller and the CAN transceiver. The CAN transceiver supports a CAN FD message wake-up function with an identifier ID matching, the effective wake-up source is a CAN FD message with an ID matching, and the controller and the CAN transceiver directly enter a working state for data transmission based on the CAN FD protocol after successful initialization configuration.

2. The system according to claim 1, characterized in that The CAN transceiver includes a wake-up detection module and a de-framing module; The wake-up detection module is used to read a level sequence from the bus, and after determining that the level sequence meets a preset condition, receive a message and trigger the de-framing module to work; The deframing module is used to parse the message to obtain the content of the target field, where the target field includes an ID field and an FDF field; The wake-up detection module is further used to determine whether the content of the target field matches the configuration information, and the configuration information is used to determine whether the message is a valid wake-up source; The wake-up detection module is further configured to determine that the message is a valid wake-up source when the content of the target field matches the configuration information.

3. The system according to claim 2, characterized in that The level sequence satisfies a preset condition that the level sequence is presented in the form of dominant level-recessive level-dominant level.

4. The system according to claim 2 or 3, characterized in that: The target field also includes a Remote Request Replacement (RRS) field and / or an Identifier Extension (IDE) field.

5. The system according to claim 4, characterized in that The wake-up detection module is specifically used to determine that the message is a valid wake-up source when the content of the ID field matches the ID in the configuration information, the content of the FDF field indicates that the message is the CAN FD message, and the content of the RRS field and the content of the IDE field match the content in the configuration information, and the configuration information is used to determine the valid wake-up source.

6. The system according to claim 5, characterized in that The CAN transceiver includes a configuration register, and the configuration register is used to store the configuration information.

7. The system according to claim 6, characterized in that The CAN transceiver is further used to set a valid wake-up flag when the valid wake-up source is detected, and the valid wake-up flag is used to indicate whether the valid wake-up source is the CAN FD message, and the configuration register includes the valid wake-up flag.

8. The system according to claim 7, characterized in that The controller is used to read the data of the valid wake-up flag from the configuration register.

9. The system according to any one of claims 1 to 8, characterized in that: The controller is a microcontroller.

10. The system according to claim 9, characterized in that A CAN controller is integrated in the microcontroller.

11. A control method for a network management system, characterized in that: A CAN transceiver used in a network management system according to any one of claims 1 to 10, the method comprising: Obtain a message from the bus, and parse the message to obtain content corresponding to a target field, wherein the target field includes an ID field and an FDF field, and the FDF field is used to indicate whether the message is a CAN FD message; Determining whether the content of the target field satisfies a preset condition, where the preset condition is used to indicate a condition corresponding to waking up the power supply circuit; When the content of the target field meets the preset condition, the power supply circuit is controlled to switch from a sleep state to an awake state to power the controller and the CAN transceiver, and the message is a CAN FD message with matching ID.

12. The method according to claim 11, characterized in that The target field also includes an RRS field and an IDE field.

13. The method according to claim 12, characterized in that The determining whether the content of the target field meets a preset condition includes: Determining whether the message is the CAN FD message according to the content of the FDF field; When the message is the CAN FD message, determining whether the content of the ID field matches a preset ID; When the content of the ID field matches the preset ID, it is determined that the content of the target field meets the preset condition.

14. The method according to any one of claims 11 to 13, characterized in that: Before acquiring the message from the bus, the method further includes: Acquire a level sequence from the bus; Determining whether the level sequence is the same as a preset level sequence; When the level sequence is the same as the preset level sequence, a message is obtained from the bus.

15. The method according to claim 14, characterized in that The preset level sequence refers to a level sequence in the form of dominant level-recessive level-dominant level.

16. An electronic controller, characterized in that: The electronic controller includes the network management system according to any one of claims 1 to 10, and further includes: a peripheral circuit; The controller in the network management system is used to control the operation of the peripheral circuit.

17. An electric vehicle, characterized in that: The electric vehicle comprises the electronic controller of claim 16, and also comprises an on-board power supply; The vehicle-mounted power supply is used to provide a DC power supply to the power supply circuit in the electronic controller.