CN114363099A - Network management system, control method, electronic controller and electric automobile - Google Patents

Network management system, control method, electronic controller and electric automobile Download PDF

Info

Publication number
CN114363099A
CN114363099A CN202110167896.2A CN202110167896A CN114363099A CN 114363099 A CN114363099 A CN 114363099A CN 202110167896 A CN202110167896 A CN 202110167896A CN 114363099 A CN114363099 A CN 114363099A
Authority
CN
China
Prior art keywords
message
field
transceiver
content
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110167896.2A
Other languages
Chinese (zh)
Inventor
金晶
黄振威
杨杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Digital Power Technologies Co Ltd
Original Assignee
Huawei Digital Power Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Digital Power Technologies Co Ltd filed Critical Huawei Digital Power Technologies Co Ltd
Priority to CN202110167896.2A priority Critical patent/CN114363099A/en
Publication of CN114363099A publication Critical patent/CN114363099A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Power Sources (AREA)

Abstract

The embodiment of the application discloses a network management system, a control method, an electronic controller and an electric automobile. When the CAN FD application is needed to be provided with both PN management and CAN FD application, the CAN transceiver CAN directly identify whether the CAN FD message belongs to a specific frame or not, if so, the power supply circuit is awakened to supply power for other devices in the system, the controller and the CAN transceiver CAN carry out initialization configuration, for example, the CAN transceiver is switched from an inactive state to an active state, the CAN transceiver directly enters a normal working state after the configuration is successful, so that data transmission is carried out by utilizing a CAN FD protocol, the switching operation is not needed, the time for awakening to normal working is shortened, the controller CAN quickly respond to the requirement, and the utilization rate of a bus is improved.

Description

Network management system, control method, electronic controller and electric automobile
Technical Field
The application relates to the technical field of electronic control, in particular to a network management system, a control method, an electronic controller and an electric automobile.
Background
In recent years, attention has been paid to energy saving of automobiles, and reduction of unnecessary energy loss is a matter of consideration for individual vehicle manufacturers. For example, after the KL30 node of the vehicle is placed in the OFF range, most of the unwanted functions are turned OFF. However, for a distributed function network, since the nodes connected to the bus need to work together, the nodes need to follow the same protocol to achieve synchronous sleep or wake-up. To solve the above problems, local network (PN) management is proposed to implement packet sleep and wake-up. That is, the local network may be divided according to the node functions, and when a certain function is activated, only the relevant node is woken up and communicates, and other nodes still keep a sleep state, thereby reducing power consumption.
However, as automotive functions become more and more popular, the load on a conventional Controller Area Network (CAN) bus becomes higher and higher. To reduce the load of the CAN bus, CAN FD (CAN with flexible data rate) technology is proposed. Because a specific frame wake-up mode is required to wake up the node under the condition of realizing local network management, the traditional technology only supports specific CAN2.0 frame wake-up and does not support specific CAN FD frame wake-up. How to wake up a specific node by using a CAN FD frame is a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a network management system, a control method, an electronic controller and an electric automobile, so that when the automobile has both local network management and a CAN FD protocol, a specific CAN FD frame is used for awakening.
In a first aspect of an embodiment of the present application, a network management system is provided, where the system supports local network PN management, and the system includes a controller area network CAN transceiver, a power supply circuit, and a controller, where the CAN transceiver is connected to the power supply circuit and the controller, respectively, and where the CAN transceiver supports a CAN FD message wake-up function matched with an identifier ID; the CAN transceiver is used for detecting whether an effective awakening source exists or not, and awakening the power supply circuit to supply power to the controller and the CAN transceiver when the effective awakening source is detected, wherein the effective awakening source is a CAN FD message matched with the ID; the controller and the CAN transceiver perform data transmission based on a CAN FD protocol.
Through the network management system that this embodiment provided, this management system includes CAN transceiver, supply circuit and controller, and wherein, CAN transceiver supports ID matched's CAN FD message awakening function. When PN management and CAN FD application are needed, the CAN transceiver CAN directly identify whether a CAN FD message belongs to a specific frame, if so, the power supply circuit is awakened to supply power for other devices in the system, the controller and the CAN transceiver are initialized and configured, for example, the state is switched from an inactive state to an active state, the controller and the CAN transceiver directly enter a normal working state after the configuration is successful, so that data transmission is carried out by utilizing a CAN FD protocol, the switching operation is not needed, the time from awakening to normal working is shortened, the controller CAN quickly respond to the requirement, and the utilization rate of a bus is improved.
With reference to the first aspect, in a first possible implementation manner, the CAN transceiver includes a wake-up detection module and a deframing module; the awakening detection module is used for reading a level sequence from a bus, receiving a message and triggering the frame decoding module to work after the level sequence is determined to meet a preset condition; the de-framing module is used for analyzing the message and obtaining the content of a target field, wherein the target field comprises an ID field and an FDF field; the awakening detection module is further configured to determine whether the content of the target field matches configuration information, where the configuration information is used to determine whether the packet is a valid awakening source; the awakening detection module is further configured to determine that the packet is an effective awakening source when the content of the target field matches the configuration information.
In this implementation, the wake-up detection module in the CAN transceiver may determine whether the received message is the CAN FD message matched with the ID according to the target field obtained by the parsing, and further wake up the power supply circuit using the CAN FD message matched with the ID.
With reference to the first aspect, in a second possible implementation manner, the level sequence satisfies a preset condition that a presentation form of the level sequence is a dominant level-recessive level-dominant level.
In the implementation mode, after detecting that the level sequence on the bus meets the preset level expression form, the CAN transceiver acquires the message from the CAN bus and analyzes and judges the type of the message, so that the occupation of resources is avoided.
With reference to the first aspect, in a third possible implementation manner, the target field further includes a remote request replacement RRS field and/or an identifier extension IDE field.
In the implementation mode, the condition for waking up the power supply circuit CAN be further defined, and the configuration for the content corresponding to the RRS field and/or the content corresponding to the IDE field is added to the configuration information, so that the power supply circuit CAN be waken up only by the CAN FD message meeting the preset condition.
With reference to the first aspect, in a fourth possible implementation manner, the wake-up detection module is specifically configured to determine that the packet is an effective wake-up source when the content of the ID field matches an ID in configuration information, and the content of the FDF field indicates that the packet is the CAN FD packet, the content of the RRS field, and the content of the IDE field matches the content in the configuration information, where the configuration information is used to determine the effective wake-up source.
With reference to the first aspect, in a fifth possible implementation manner, the CAN transceiver includes a configuration register, and the configuration register is configured to store the configuration information.
With reference to the first aspect, in a sixth possible implementation manner, the CAN transceiver is further configured to set the valid wakeup flag bit when the valid wakeup source is detected, where the valid wakeup flag bit is used to indicate whether the valid wakeup source is the CAN FD packet, and the configuration register includes the valid wakeup flag bit.
With reference to the first aspect, in a seventh possible implementation manner, the controller is configured to read data of the valid wake-up flag from the configuration register.
With reference to the first aspect, in an eighth possible implementation manner, the controller is a microcontroller.
With reference to the first aspect, in a ninth possible implementation manner, a CAN controller is integrated in the microcontroller.
In a second aspect of the embodiments of the present application, there is provided a control method for a network management system, which is applied to the CAN transceiver module in the first aspect, the method including: acquiring a message from a bus, analyzing the message, and acquiring the content corresponding to a target field, wherein the target field comprises an ID field and an FDF field, and the FDF field is used for indicating whether the message is a CAN FD message; determining whether the content of the target field meets a preset condition, wherein the preset condition is used for indicating a condition corresponding to awakening the power supply circuit; and when the content of the target field meets the preset condition, controlling the power supply circuit to be switched from a dormant state to an awakening state so as to supply power to the controller and the CAN transceiver, wherein the message is a CAN FD message matched with the ID.
With reference to the second aspect, in a first possible implementation manner, the target field further includes an RRS field and an IDE field.
With reference to the second aspect, in a second possible implementation manner, 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, judging whether the content of the ID field is matched with a preset ID or not; and when the content of the ID field is matched with the preset ID, determining that the content of the target field meets the preset condition.
With reference to the second aspect, in a third possible implementation manner, before the obtaining the packet from the bus, the method further includes: acquiring a level sequence from the bus; determining whether the level sequence is identical to a preset level sequence; and when the level sequence is the same as the preset level sequence, acquiring a message from the bus.
With reference to the second aspect, in a fourth possible implementation manner, the preset level sequence refers to a form in which a level sequence exhibits dominant level-recessive level-dominant level.
In a third aspect of embodiments of the present application, there is provided an electronic controller, including the network management system of the first aspect, further including: a peripheral circuit; and the controller in the network management system is used for controlling the peripheral circuit to work.
In a fourth aspect of the embodiments of the present application, there is provided an electric vehicle, including the electronic controller of the third aspect, and further including an onboard power supply; the vehicle-mounted power supply is used for providing a direct current power supply for a power supply circuit in the electronic controller.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a CAN network structure;
FIG. 2 is a schematic diagram of a state change of a CAN transceiver;
fig. 3 is a schematic structural diagram of a network management system according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a state change of a CAN transceiver according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a CAN transceiver provided in the present application;
fig. 6 is a schematic diagram of a CAN FD message structure provided in the embodiment of the present application;
fig. 7 is a flowchart of a method for controlling a network management system according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an electronic controller according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electric vehicle according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments.
In order to facilitate understanding of technical solutions provided in the embodiments of the present application, technical terms related to the present application will be described below.
Referring to the CAN network architecture diagram shown in fig. 1, in this application scenario the CAN network may include a plurality of Electronic Control Units (ECUs), ECU-A, ECU-B and ECU-C, respectively. Wherein different ECUs may implement different functions. In order to realize that the ECU enters a dormant state when no communication is required and further save the energy of a battery, all ECUs in the network follow the same protocol to realize synchronous dormancy and awakening. In this manner, each ECU implements wakeup in a Wakeup (WUP) manner. Specifically, the ECU with the WUP wake-up function is configured, and when a CAN transceiver of the ECU receives any message satisfying a "display-hidden-display" sequence, a power supply circuit in the ECU CAN be woken up to supply power to modules such as a microcontroller and the like, so as to wake up the ECU. In the awakening mode, any one ECU realizes awakening after receiving the message meeting the specific sequence. However, in some application scenarios, only some ECUs need to be woken up, and unrelated ECUs do not need to be woken up, for example, the ECU-B and the ECU-C are woken up, and the WUP wake-up mode causes the unrelated ECUs to enter a non-low power consumption state, which causes unnecessary power consumption.
In order to solve the problem that irrelevant ECUs are awakened to cause unnecessary power consumption, local network PN management is proposed to realize packet sleep and awakening. Specifically, the PN management can divide a plurality of virtual local networks in the whole network according to the functions of different ECUs, and each local network can be independently dormant and awakened without affecting each other. In order to realize PN management, a specific frame (WUF) awakening mode is provided, in the awakening mode, an ECU with a WUF awakening function is configured, and when the content of a received message accords with configuration information, a power supply circuit in the ECU can be awakened to supply power for the ECU. Specifically, information that CAN wake up the ECU may be configured in the CAN transceiver module in advance, and when the CAN transceiver module receives a CAN message, the content of the CAN message is acquired, and the acquired content is matched with the configuration information, for example, an Identifier (ID) of the CAN message and a check field in the CAN message are matched with the configuration information, and if matching is successful, the CAN transceiver wakes up the power supply circuit. That is, only certain messages may wake up a particular ECU.
However, as the functions of automobiles are increased, the amount of data carried by the bus is increased, and the data transmission efficiency is affected by the conventional CAN technology in terms of transmission rate, bandwidth and the like. To meet bandwidth and reliability requirements, CAN FD technology has been proposed, which CAN be considered an upgrade of traditional CAN technology. The format of the CAN network message is defined in the standard protocol ISO 11898-1 promulgated in 2015, which includes a CAN message frame format and a CAN FD message frame format. The main points of distinction between CAN and CAN FD include: different transmission rates, different data lengths, and different frame formats.
With the continuous popularization and application of the CAN FD technology, some manufacturers want to transmit data using the CAN FD protocol. However, none of the commercially available CAN transceivers support the wake-up of a specific CAN FD message. In order to realize data transmission by using a CAN FD protocol, a traditional compatible mode is that a CAN transceiver is configured to support a specific CAN message awakening function, and a specific CAN message awakening power supply circuit is firstly used for supplying power to an ECU. After the ECU is electrified, the microcontroller controls the CAN transceiver to switch to a CAN FD transmission mode so as to transmit data by using a CAN FD message. For example, as shown in the state transition diagram of fig. 2, it CAN be known that there is a communication blind area when the CAN transceiver switches from the CAN mode to the CAN FD mode, so that the time from the wake-up of the ECU to the normal operation becomes long, and the ECU cannot respond to the transmission request quickly.
Based on this, the embodiment of the present application provides a network management system, which includes a CAN transceiver, a power supply circuit, and a controller, where the CAN transceiver supports a CAN FD message wake-up function with ID matching. When PN management and CAN FD application are needed, the CAN transceiver CAN directly identify whether a CAN FD message belongs to a specific frame, if so, the power supply circuit is awakened to supply power for other devices in the system, the controller and the CAN transceiver are initialized and configured, for example, the state is switched from an inactive state to an active state, the controller and the CAN transceiver directly enter a normal working state after the configuration is successful, so that data transmission is carried out by utilizing a CAN FD protocol, the switching operation is not needed, the time from awakening to normal working is shortened, the controller CAN quickly respond to the requirement, and the utilization rate of a bus is improved.
Example one
Referring to fig. 3, a network management system 300 that CAN implement local network PN management according to an embodiment of the present application is provided, and the system may include a CAN transceiver 301, a controller 302, and a power supply circuit 303. The CAN transceiver 301 supports a specific CAN FD message wake-up function. As shown in fig. 3, the CAN transceiver 301 is connected to the controller 302 and the power supply circuit 303, 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 operate normally. Specifically, the CAN transceiver 301 is connected to the controller 302 through a transmission pin CANTX and a reception pin CANRX, and the CAN transceiver outputs or receives a signal through differential lines (CANH and CANL).
The operation of the CAN transceiver will be described in detail below.
During specific work, when the controller 302 determines that a specific CAN FD message is not received within a preset time, the controller 302 issues a sleep command to control the CAN transceiver 301 and the power supply circuit 303 to enter a sleep state, and external power supply is stopped. At this time, the power supply to the controller 302 is cut off and no more power is consumed.
The CAN transceiver 301 CAN detect signals on the CAN bus even though it enters a low power consumption state. After the CAN transceiver 301 receives a signal from the CAN bus, it determines whether the signal is a valid wake-up source, i.e., 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, the power supply circuit 303 is woken up, so that the power supply circuit 303 supplies power to the controller 302 and the CAN transceiver, and further the controller 302 and the CAN transceiver CAN perform data transmission based on a CAN FD protocol.
Specifically, when the CAN transceiver 301 detects a specific CAN FD message, the pin connected to the power supply circuit 303 is controlled 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, the controller CAN send a wake-up command to control both the CAN transceiver 301 and the CAN transceiver 301 to enter a normal working state, and directly transmit data by using a CAN FD protocol. As shown in the state change diagram of fig. 4, the CAN transceiver CAN directly enter normal communication from being woken up.
The CAN transceiver 301 and the power supply circuit 303 may be integrated on a System Base Chip (SBC), or may be two modules that operate independently. When the CAN transceiver 301 and the power supply circuit 303 are integrated in the system base chip, the SBC exits the sleep state and enters the operating state to supply power to the controller 302 when it is determined that the received signal is a valid wake-up source, so that the controller 302 enters the operating state.
In one implementation, CAN transceiver 301 may include a configuration register to store configuration information used to determine a valid wake-up source. The configuration information may only include a preset ID or a preset ID set, and may also include a preset data bit length and a preset data value of the data field. The utilization of the configuration information will be explained later.
The CAN transceiver module supports both wake-up and WUP wake-up of a specific CAN message and wake-up of a specific CAN FD message, so that the controller 302 CAN know which way to wake-up, and CAN configure a plurality of preset bits in the configuration register as an effective wake-up source flag bit for indicating whether an effective wake-up source is a specific CAN FD message. Specifically, three bits in the configuration register are reserved to respectively represent WUP wakeup, CAN2.0 wakeup and CAN FD wakeup, and when the CAN transceiver determines that the effective wakeup source is a CAN FD message, the CAN transceiver CAN set the bit corresponding to the CAN FD wakeup in the effective wakeup flag bit to "1", which is expressed in 001. Alternatively, two bits in the configuration register are reserved to indicate a specific wake up pattern, e.g., 01 for WUP wake up, 10 for CAN2.0 wake up, 11 for CAN FD wake up, etc. After being awakened, the controller 302 may read the value of the flag bit of the effective awakening source, and then determine that the effective awakening source is the CAN FD message according to the value.
In one possible implementation, the controller 302 may be a microcontroller, which may be an integrated CAN controller. Alternatively, the controller 302 includes a microcontroller and a CAN controller, i.e., the microcontroller and the CAN controller are two independent modules.
In one possible implementation, as shown in fig. 5, the CAN transceiver 301 includes a wake-up detection module 3011 and a deframing module 3012. When the CAN transceiver is in a low power consumption state, the wakeup detection module 3011 is in a working state to detect a wakeup source on the CAN bus and obtain the wakeup source.
In a specific implementation, the wake-up detection module 3011 is configured to detect whether the bus is active. Specifically, the wake-up detection module 3011 is configured to read a level sequence from a bus, and when determining whether the level sequence meets a preset condition, receive a message and trigger the deframing module 3012 to operate. That is, after acquiring the level sequence, the wake-up detection module 3011 first determines whether the level sequence is a WUP sequence, and starts to receive the packet under the condition of the WUP sequence. The level sequence satisfying the preset condition may be in a level sequence presentation form: dominant level-recessive level-dominant level.
When it is determined that the read level sequence is a WUP sequence, the wakeup detection module 3011 triggers the deframing module 3012 to parse the received message to obtain a required target field, where the target field is a field in the message and includes an ID field and an FDF field. The required target field may be configured in advance, so that the deframing module 3012 only needs to obtain the required field when performing parsing, thereby reducing the workload. The target field may further include an RRS field and an IDE field, among others. Wherein, the ID field is used for indicating the ID of the message; the FDF field is used for indicating whether the message is a CAN message or a CAN FD message.
It should be noted that when the CAN transceiver 301 itself has a de-framing function, that is, the CAN transceiver has the de-framing module 3012, the CAN transceiver CAN parse the received message according to the trigger of the wake-up detection module 3011. When the CAN transceiver 301 does not have the function of decoding frames, the function of decoding frames of the CAN transceiver is added first, and the received message is analyzed according to the trigger of the wakeup detection module 3011.
For the sake of understanding, referring to the schematic diagram of the frame structure of the CAN FD message described in fig. 6, the CAN FD message includes a start frame (SOF), an arbitration (arbitration) field, a control (control) field, a DATA field (DATA), a Cyclic Redundancy Check (CRC) field, an Acknowledgement (ACK) field, and an end frame (EOF).
The arbitration field includes an identification ID field and a remote Request Reception (RRS) field, and is used for indicating the priority level of data, and the smaller the value of the ID field, the higher the priority. The RRS field is used for distinguishing whether the CAN FD message is a data frame or a remote frame.
And the control domain is used for controlling the length of the message data domain data. The method comprises an ID extension (IDE) field, an FD format indicator (FDF) field and a data length field (DLC), wherein the IDE field is used for distinguishing whether a message is a standard frame or an extension frame, the FDF field is used for distinguishing whether the message is a CAN message or a CAN FD message, and the DLC field is used for the number of bytes in a data field.
And the data field consists of data transmitted by an upper layer.
And the check domain is used for checking the correctness of the data in the message, and for the CAN FD message, the messages with different data lengths CAN adopt different CRC check modes.
And the ACK field is used for informing the sender that the message is correctly received.
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 and the configuration information are all matched, the wake-up detection module 3011 determines that the packet 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, and whether the content of the FDF field indicates that the wake-up source is the CAN FD packet and whether the content of the RRS field and the content of the IDE field are matched with the content in the configuration information. And when the content of the ID field is matched, the content of the FDF field indicates that the message is a CAN FD message, the content of the RRS field is matched, and the content of the IDE field is matched with the corresponding content in the configuration information, determining that the message is a valid wakeup source.
In specific implementation, to further limit the condition for waking up the CAN FD message corresponding to a certain node, the deframing module may further analyze the content of the data field and the content of the check field in the message, and determine that the received message is an effective wake-up source if and only if the content of all analyzed fields matches the content in the configuration information.
Through the above description, in the network management system provided in this application embodiment, the CAN transceiver CAN support the function of waking up a specific CAN FD frame, and after the CAN transceiver determines to receive the specific CAN FD frame, the CAN transceiver CAN directly wake up the power supply circuit to supply power to the controller and the CAN transceiver, and then CAN directly utilize the CAN FD protocol to communicate, and switching is not needed, so that data transmission efficiency and bus utilization rate are improved.
Example two
Based on the network management system provided by the foregoing embodiment, an embodiment of the present application provides a method for controlling a network management system, which will be described below with reference to the accompanying drawings.
Referring to fig. 7, which is a flowchart of a control method of a network management system according to an embodiment of the present application, as shown in fig. 7, the method is applied to a CAN transceiver in the network management system shown in fig. 3, and the method may include:
s701: the CAN transceiver acquires the message from the bus, analyzes the message and acquires the content corresponding to the target field.
In this embodiment, when the CAN transceiver is in a low power consumption state, it may be detected whether the bus is active. When the bus is detected to be active, the CAN transceiver acquires the message from the bus if the message exists on the bus. At this time, the message acquired by the CAN transceiver may be a CAN2.0 message or a CAN FD message.
Specifically, before the CAN transceiver acquires the message, the CAN transceiver may determine whether a level sequence read from the bus satisfies a preset condition, and receive the message when it is determined that the level sequence satisfies the preset condition. The preset condition may mean that the level sequence is in a form of "dominant level-recessive level-dominant level". I.e. there are two dominant levels in the sequence of levels (time exceeding tFilter) and one recessive level between the two dominant levels (time exceeding tFilter), there are two options in the latest ISO 11898-22016 for tFilter, 0.5 us-5 us and 0.15 us-1.8 us, respectively.
And after the CAN transceiver acquires the message, analyzing the message to acquire the content corresponding to the target field. Wherein the target field includes an ID field and an FDF field. Specifically, to further improve the wake-up condition, the target field may further include an IDE field and/or an RRS field.
S702: the CAN transceiver determines whether the contents of the target field satisfy a preset condition.
After the content of the target field is obtained through analysis, the CAN transceiver CAN judge whether the content of each target field meets a preset condition, wherein the preset condition is used for indicating a condition corresponding to the awakening power supply circuit. Specifically, the preset condition is configuration information, and the configuration information may include a preset ID value or ID range, and an FDF value.
Further, in order to improve the wake-up standard without considering the resolution complexity, the configuration information may be configured with information related to the data field in advance, for example, the length of the data field is configured to be a preset length value, and when the length (DLC) of the data field satisfies the preset length value, at least one bit of the data in the data field is 1.
Specifically, the CAN transceiver may determine whether the message is a CAN FD message according to the content of the FDF field, and when the message is the CAN FD message, determine whether the content of the ID field is a preset ID value or is within a preset ID range; and when the content of the ID field is a preset ID or is in an ID range, determining that the content of the target field meets a preset condition. That is, when the CAN transceiver determines that the content of the ID field satisfies the preset configured ID information and the FDF is 1, it determines that the packet is the specific CAN FD packet.
S703: and when the content of the target field meets the preset condition, the CAN transceiver controls the power supply circuit to be switched from the dormant state to the awakening state so as to supply power to the controller and the CAN transceiver.
When the message is determined to be a specific CAN FD message, the CAN FD transceiver controls the power supply circuit to be switched from the dormant state to the awakening state so as to supply power to the controller and the CAN transceiver, and further the network management system is in a normal working state, and the controller and the CAN transceiver CAN transmit data based on the CAN FD message.
In a possible implementation manner, when the content of the target field does not satisfy the preset condition, the CAN transceiver continues to read the message from the bus, analyze the message, and perform subsequent determination operations. Specifically, when the content of the target field is determined not to meet the preset condition, the CAN transceiver may first determine whether the bus is in a quiet period, and if not, continue to obtain the message from the bus and perform subsequent operations; if so, the CAN transceiver continues to monitor the bus for activity.
It should be noted that, as to the implementation of each step in this embodiment, reference may be made to a related implementation of the CAN transceiver in the embodiment shown in fig. 3.
EXAMPLE III
Based on the network management system provided by the above embodiments, embodiments of the present application further provide an electronic controller, which will be described below with reference to the accompanying drawings.
Referring to fig. 8, which is a schematic structural diagram of an electronic controller provided in an embodiment of the present application, the electronic controller 800 may include: network management system 300 and peripheral circuits 801.
The controller in the network management system 300 is configured to control the operation of the peripheral circuit 801.
The peripheral circuit can be an instrument display circuit, an auxiliary device circuit and the like.
It should be noted that, for the specific operation principle of the network management system 300, reference may be made to the above embodiments, and details of this embodiment are not described herein again.
Example four
Based on the electronic controller provided by the above embodiments, embodiments of the present application further provide an electric vehicle, which will be described below with reference to the accompanying drawings.
Referring to fig. 9, which is a schematic structural diagram of an electric vehicle provided in an embodiment of the present application, the electric vehicle 900 may include an electronic controller 800 and an onboard power supply 901.
The vehicle-mounted power supply 901 is connected to the power supply circuit 301 in the network management system 300, and is configured to provide a direct current power supply.
The power supply circuit 301 may provide power to the controller 302 and the CAN transceiver 301 based on a dc power provided by the in-vehicle power supply 901.
The vehicle-mounted power supply 901 may be a high-voltage battery pack, a low-voltage battery, or the like.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is only a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each service unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a hardware form, and can also be realized in a software service unit form.
The integrated unit, if implemented in the form of a software business unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those skilled in the art will recognize that, in one or more of the examples described above, the services described in this disclosure may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the services may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are intended to explain the objects, aspects and advantages of the present invention in further detail, and it should be understood that the above embodiments are merely illustrative of the present invention.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (17)

1. A network management system is characterized in that the system supports local network PN management, the system comprises a Controller Area Network (CAN) transceiver, a power supply circuit and a controller, the CAN transceiver is respectively connected with the power supply circuit and the controller, and the CAN transceiver supports a CAN FD message awakening function matched with an identifier ID;
the CAN transceiver is used for detecting whether an effective awakening source exists or not, and awakening the power supply circuit to supply power to the controller and the CAN transceiver when the effective awakening source is detected, wherein the effective awakening source is a CAN FD message matched with the ID;
the controller and the CAN transceiver perform data transmission based on a CAN FD protocol.
2. The system of claim 1 wherein the CAN transceiver comprises a wake-up detection module and a deframing module;
the awakening detection module is used for reading a level sequence from a bus, receiving a message and triggering the frame decoding module to work after the level sequence is determined to meet a preset condition;
the de-framing module is used for analyzing the message and obtaining the content of a target field, wherein the target field comprises an ID field and an FDF field;
the awakening detection module is further configured to determine whether the content of the target field matches configuration information, where the configuration information is used to determine whether the packet is a valid awakening source;
the awakening detection module is further configured to determine that the packet is an effective awakening source when the content of the target field matches the configuration information.
3. The system according to claim 2, wherein the level sequence satisfies a preset condition that the representation form of the level sequence is a dominant level-recessive level-dominant level.
4. The system of claim 2 or 3, wherein the target field further comprises a remote request replacement RRS field and/or an identifier extension IDE field.
5. The system according to claim 4, wherein the wake-up detection module is specifically configured to determine that the packet is a valid wake-up source when the content of the ID field matches an ID in configuration information, the content of the FDF field indicates that the packet is the CAN FD packet, the content of the RRS field, and the content of the IDE field matches the content in the configuration information, and the configuration information is used to determine the valid wake-up source.
6. The system of claim 5 wherein the CAN transceiver comprises a configuration register for storing the configuration information.
7. The system according to any one of claims 1 to 6,
the CAN transceiver is further configured to set the valid wakeup flag bit when the valid wakeup source is detected, where the valid wakeup flag bit is used to indicate whether the valid wakeup source is the CAN FD message, and the configuration register includes the valid wakeup flag bit.
8. The system of claim 7,
the controller is used for reading the data of the effective awakening zone bit from the configuration register.
9. The system of any one of claims 1-8, wherein the controller is a microcontroller.
10. The system of claim 9 wherein the microcontroller has a CAN controller integrated therein.
11. A control method of a network management system, applied to the CAN transceiver of any one of claims 1 to 10, the method comprising:
acquiring a message from a bus, analyzing the message, and acquiring the content corresponding to a target field, wherein the target field comprises an ID field and an FDF field, and the FDF field is used for indicating whether the message is a CAN FD message;
determining whether the content of the target field meets a preset condition, wherein the preset condition is used for indicating a condition corresponding to awakening the power supply circuit;
and when the content of the target field meets the preset condition, controlling the power supply circuit to be switched from a dormant state to an awakening state so as to supply power to the controller and the CAN transceiver, wherein the message is a CAN FD message matched with the ID.
12. The method of claim 11, wherein the target field further comprises an RRS field and an IDE field.
13. The method of claim 12, wherein determining whether the content of the target field satisfies a predetermined condition comprises:
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, judging whether the content of the ID field is matched with a preset ID or not;
and when the content of the ID field is matched with the preset ID, determining that the content of the target field meets the preset condition.
14. The method of any of claims 11-13, wherein prior to obtaining the message from the bus, the method further comprises:
acquiring a level sequence from the bus;
determining whether the level sequence is identical to a preset level sequence;
and when the level sequence is the same as the preset level sequence, acquiring a message from the bus.
15. The method of claim 14, wherein the predetermined level sequence is in the form of a dominant level-recessive level-dominant level.
16. An electronic controller, characterized in that the electronic controller comprises the network management system of any one of claims 1-10, further comprising: a peripheral circuit;
and the controller in the network management system is used for controlling the peripheral circuit to work.
17. An electric vehicle comprising the electronic controller of claim 16, further comprising an onboard power supply;
the vehicle-mounted power supply is used for providing a direct current power supply for a power supply circuit in the electronic controller.
CN202110167896.2A 2021-02-05 2021-02-05 Network management system, control method, electronic controller and electric automobile Pending CN114363099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110167896.2A CN114363099A (en) 2021-02-05 2021-02-05 Network management system, control method, electronic controller and electric automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110167896.2A CN114363099A (en) 2021-02-05 2021-02-05 Network management system, control method, electronic controller and electric automobile

Publications (1)

Publication Number Publication Date
CN114363099A true CN114363099A (en) 2022-04-15

Family

ID=81096177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110167896.2A Pending CN114363099A (en) 2021-02-05 2021-02-05 Network management system, control method, electronic controller and electric automobile

Country Status (1)

Country Link
CN (1) CN114363099A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210325951A1 (en) * 2020-04-16 2021-10-21 Texas Instruments Incorporated System basis chip
CN115001882A (en) * 2022-06-24 2022-09-02 广州汽车集团股份有限公司 Vehicle-mounted bus transceiver awakening method and device
CN115065574A (en) * 2022-05-25 2022-09-16 阿波罗智能技术(北京)有限公司 Wake-up method and device of vehicle controller, electronic equipment and automatic driving vehicle
CN115460034A (en) * 2022-08-05 2022-12-09 东风汽车集团股份有限公司 Controlled power supply network management system and method
CN115981289A (en) * 2023-02-10 2023-04-18 力高(山东)新能源技术股份有限公司 Fault diagnosis processing method for CAN specific frame wakeup
WO2024032441A1 (en) * 2022-08-08 2024-02-15 中国第一汽车股份有限公司 Device wake-up method, apparatus and system, and electronic device and storage medium
EP4365392A1 (en) * 2022-11-03 2024-05-08 Kiekert AG Electronically controlled door latch

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271975A1 (en) * 2009-12-28 2012-10-25 Nxp B.V. Definition of wakeup bus messages for partial networking
CN105324960A (en) * 2013-05-01 2016-02-10 瑞萨电子欧洲有限公司 Can fd
CN105453440A (en) * 2013-07-24 2016-03-30 飞思卡尔半导体公司 A transceiver circuit and method for controller area networks
CN108900313A (en) * 2018-06-27 2018-11-27 安徽江淮汽车集团股份有限公司 A kind of CAN bus based network management and system
US20190103988A1 (en) * 2016-03-31 2019-04-04 Jaguar Land Rover Limited Communications on vehicle data buses
CN109756407A (en) * 2019-01-17 2019-05-14 重庆菲斯塔新能源汽车科技有限公司 A kind of CAN bus based localized network management method
US20190372803A1 (en) * 2018-05-31 2019-12-05 Melexis Technologies Nv Flexible data rate handling in data bus receiver
CN110730014A (en) * 2019-10-12 2020-01-24 一汽轿车股份有限公司 Multi-channel CAN vehicle information acquisition system based on 4G communication mode
CN111726340A (en) * 2020-05-22 2020-09-29 东风汽车集团有限公司 Local network management method and system based on AUTOSAR

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271975A1 (en) * 2009-12-28 2012-10-25 Nxp B.V. Definition of wakeup bus messages for partial networking
CN105324960A (en) * 2013-05-01 2016-02-10 瑞萨电子欧洲有限公司 Can fd
US20160080168A1 (en) * 2013-05-01 2016-03-17 Renesas Electronics Europe Gmbh Can fd
CN105453440A (en) * 2013-07-24 2016-03-30 飞思卡尔半导体公司 A transceiver circuit and method for controller area networks
US20190103988A1 (en) * 2016-03-31 2019-04-04 Jaguar Land Rover Limited Communications on vehicle data buses
US20190372803A1 (en) * 2018-05-31 2019-12-05 Melexis Technologies Nv Flexible data rate handling in data bus receiver
CN110557310A (en) * 2018-05-31 2019-12-10 迈来芯科技有限公司 Flexible data rate handling in a data bus receiver
CN108900313A (en) * 2018-06-27 2018-11-27 安徽江淮汽车集团股份有限公司 A kind of CAN bus based network management and system
CN109756407A (en) * 2019-01-17 2019-05-14 重庆菲斯塔新能源汽车科技有限公司 A kind of CAN bus based localized network management method
CN110730014A (en) * 2019-10-12 2020-01-24 一汽轿车股份有限公司 Multi-channel CAN vehicle information acquisition system based on 4G communication mode
CN111726340A (en) * 2020-05-22 2020-09-29 东风汽车集团有限公司 Local network management method and system based on AUTOSAR

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210325951A1 (en) * 2020-04-16 2021-10-21 Texas Instruments Incorporated System basis chip
CN115065574A (en) * 2022-05-25 2022-09-16 阿波罗智能技术(北京)有限公司 Wake-up method and device of vehicle controller, electronic equipment and automatic driving vehicle
CN115065574B (en) * 2022-05-25 2024-01-23 阿波罗智能技术(北京)有限公司 Vehicle controller awakening method and device, electronic equipment and automatic driving vehicle
CN115001882A (en) * 2022-06-24 2022-09-02 广州汽车集团股份有限公司 Vehicle-mounted bus transceiver awakening method and device
CN115001882B (en) * 2022-06-24 2023-08-08 广州汽车集团股份有限公司 Vehicle-mounted bus transceiver awakening method and device
CN115460034A (en) * 2022-08-05 2022-12-09 东风汽车集团股份有限公司 Controlled power supply network management system and method
CN115460034B (en) * 2022-08-05 2023-10-17 东风汽车集团股份有限公司 Controlled power supply network management system and method
WO2024032441A1 (en) * 2022-08-08 2024-02-15 中国第一汽车股份有限公司 Device wake-up method, apparatus and system, and electronic device and storage medium
EP4365392A1 (en) * 2022-11-03 2024-05-08 Kiekert AG Electronically controlled door latch
CN115981289A (en) * 2023-02-10 2023-04-18 力高(山东)新能源技术股份有限公司 Fault diagnosis processing method for CAN specific frame wakeup

Similar Documents

Publication Publication Date Title
CN114363099A (en) Network management system, control method, electronic controller and electric automobile
CN110758289B (en) Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet
KR102370862B1 (en) A communication method, corresponding system, devices, signal and vehicle
US11233750B2 (en) Method and apparatus for allocating transmission opportunities in vehicle network
US11246098B2 (en) Method and apparatus for wake-up of communication node in vehicle network
US10452504B2 (en) Controller area network (CAN) device and method for emulating classic CAN error management
US9081565B2 (en) Communication network system for detect and wake up a network node that does not properly recognize a wake up frame
US7539888B2 (en) Message buffer for a receiver apparatus on a communications bus
CN113691430B (en) Method for operating a communication bus, corresponding system, device and vehicle
US10979878B2 (en) Operation method of communication node supporting network management functions in vehicle network
US9330045B2 (en) Controller area network (CAN) device and method for controlling CAN traffic
CN110830267A (en) State control method and device of network node and gateway
CN210839611U (en) Sleep and awakening device of in-vehicle hybrid network comprising vehicle-mounted Ethernet
US11171807B2 (en) Method and apparatus for allocating priority transmission opportunities in vehicle network
CN113259421A (en) Complete vehicle network partial dormancy management system and method and central gateway
US11616843B2 (en) Method and apparatus for operating communication node using network management function in vehicle network
CN113253648A (en) Vehicle and network management method thereof, domain controller, storage medium, and electronic device
CN113138592A (en) Controller area network transceiver and controller
US20160366646A1 (en) Operation method of communication node in automotive network
KR20160146055A (en) Operating method of a communication node in automotive network
CN111490918B (en) Vehicle-mounted Ethernet network awakening system, method and device and computer equipment
WO2022100374A1 (en) Hierarchical management method and system for terminal device
CN115416596A (en) Vehicle wake-up method, vehicle wake-up device, vehicle and storage medium
CN215576222U (en) New energy automobile vehicle control unit based on CAN bus awakens up
KR101524143B1 (en) An electronic control unit and a movement control method for partial communication networking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination