Application layer software architecture of extended-range electric vehicle

By designing a five-layer application layer software architecture based on signal flow direction and function types, the serious problem of inter-module coupling in the development of extended-range electric vehicles is solved, and inter-layer decoupling and independence are achieved, reducing the risk of development cycle and software bugs. .

CN118939255APending Publication Date: 2024-11-12ZHEJIANG UFO AUTOMOBILE MFG CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410982738.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

During the development of extended-range electric vehicles, due to unreasonable architectural design or no top-level design, the software logic and signals are severely coupled between different modules, and the independence between functional units and modules is not strong, resulting in difficulty in correlation adjustment.

Method used

Design a five-layer application layer software architecture based on signal flow direction, function type and functional unit, including input signal abstraction layer, input signal processing layer, core control layer, output signal processing layer and output signal abstraction layer, and is divided into layers and modules It realizes decoupling of signals and modules and ensures independence and logical isolation between layers.

Benefits of technology

It realizes hierarchical isolation between software layers and decoupling of core control logic, reduces the software development cycle, reduces the workload of model modification, improves the maturity and stability of the software, and avoids the software caused by unnecessary adjustments. Bug.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939255A_ABST
    Figure CN118939255A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of new energy automobile control, in particular to an extended-range electric automobile application layer software architecture which is designed in a layered and modular mode based on signal flow directions, function types, function units and the like. The five-layer architecture comprises an input signal abstraction layer IAL, an input signal processing layer IPL, a core control layer CSL, an output signal processing layer OPL and an output signal abstraction layer OAL according to the flow direction from left to right, each layer is divided into modules according to specific function types and function units, layer-to-layer signal layered decoupling is independent, layered isolation of different layers of software is achieved, and the software can be applied to the field of software. Variables used in the logic of the internal core control module are independent from variables of the external module, variables among different control modules are decoupled, and internal functional unit modules are mutually independent and are not coupled; the problems that in the development process, due to unreasonable architecture design or no top-layer design, software logic and signals are seriously coupled between different modules, and association adjustment is caused by poor independence between different functional unit modules are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of new energy vehicle control technology, and in particular to an application layer software architecture for an extended-range electric vehicle. Background Art

[0002] The application layer software ASW in current automotive embedded software is generally developed based on models. Compared with traditional handwritten code development, model development has many advantages such as visualization, simulation, strong readability, and easy porting. Empowering application layer software can meet the shorter product development cycle requirements of the entire vehicle.

[0003] As one of the typical representative configurations of plug-in hybrid electric vehicles, the extended-range electric vehicle not only has the three-electric system related to pure electric drive, but also has the range extender system APU compared to pure electric vehicles. At the vehicle control function level, the application layer software of the vehicle control unit not only has the relevant control modules of pure electric vehicles, but also has APU sleep and wake-up management, power on and off management, engine start and stop control, power generation decoupling control, diagnosis management, etc. Therefore, the control strategy complexity of VCU is further increased. There are many problems in the development process due to unreasonable architecture design or lack of top-level design, resulting in serious coupling of software logic and signals between different modules, and weak independence between modules of different functional units, resulting in related adjustments. Summary of the invention

[0004] The present invention provides an application layer software architecture for an extended-range electric vehicle, which solves the problems of severe coupling of software logic and signals between different modules and weak independence between different functional unit modules resulting in association adjustment due to unreasonable architecture design or lack of top-level design during the development process.

[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: an extended-range electric vehicle application layer software architecture is designed in layers and modules based on signal flow, function type and function unit, etc. The application layer software architecture is divided into five layers, which are respectively input signal abstraction layer IAL, input signal processing layer IPL, core control layer CSL, output signal processing layer OPL and output signal abstraction layer OAL according to the flow from left to right. The input signal abstraction layer IAL is responsible for abstract processing of the underlying signal, and interacts with the pre-defined interface variables or interface functions of the underlying layer, and encapsulates the interface variables or interface functions for direct model logic reference by ASW, thereby realizing the hierarchical isolation solution of ASW and BSW. Coupling; the input signal processing layer IPL further processes the variables of the input signal abstraction layer, provides interface variables for the core control logic layer, and further converts the variables pre-processed by the input signal abstraction layer; the core control layer CSL is responsible for analyzing and making decisions on the core control functions of the whole vehicle and providing control instructions for the output-related layers of the back-end; the output signal processing layer OPL is responsible for further processing the relevant outputs of the core control layer and then outputting them to the output signal abstraction layer; the output signal abstraction layer OAL packages and encapsulates the signals of the output signal processing layer and passes them to the underlying software through a unified interface function. After receiving the signals, the underlying software further controls the CAN messages and hard-wired outputs downward.

[0006] Further defined, the input signal abstraction layer IAL is divided into three parts, namely, CAN signal input preprocessing module, CAN signal input diagnosis module and hard-wired signal input preprocessing module. The CAN signal input preprocessing module is a unified interface function for the input signal abstraction layer IAL to receive from the underlying software, and then divides the CAN network where all interactive control units of the VCU are located according to the vehicle network topology, such as Chassis CAN and EV CAN, Chassis CAN is responsible for receiving and processing all message signals of the bus, including interactive control signals such as ABS, EHB, EPS, TBOX, APU, EMS and GCU, while EVCAN is responsible for receiving and processing all message signals of the bus, including interactive control signals such as BMS, MCU, all-in-one HDM, DCDC, TBOX, ACM, electronic gear shifter EGSM, etc. After receiving the message signal from the bottom layer through a unified interface function, in order to facilitate direct control of the signal, an override processing logic is set for all message input signals. During function debugging test or performance calibration or troubleshooting, the signal can be independently controlled at a higher level. The override control logic includes the original signal input, the override signal flag and the override signal value, as well as the output signal after the override processing. The override logic is implemented by switching the transmission path of the original input signal. When the override signal flag is set to one, the signal transmission path goes through the override signal value. The override signal value is assigned different values ​​to rewrite the physical value or enumeration type of the signal to further achieve different control purposes.

[0007] The CAN signal input diagnostic module is responsible for judging the timeliness and validity of the input CAN signal. Timeliness judgment refers to timeout judgment of the input signal. In order to prevent the loss of key signals from affecting the drivability and safety of the vehicle, when the ID message where the input signal is located exceeds the specified message receiving time threshold, the VCU considers that the communication of the frame message has timed out and sets the time out flag of the frame message. The validity judgment is a security check on the message sending signal value itself to prevent abnormal message sending signal value or network attacks from intercepting messages to tamper with signals to control the vehicle. The message sender and the receiver VCU predefine the checksum algorithm. The sender reserves a fixed bit for the checksum in the key message. The checksum bit will calculate the value of the frame message when it is sent according to the pre-determined checksum algorithm and fill it in and send it. The receiver will calculate the checksum value of the frame message according to the pre-determined checksum algorithm, and compare it with the checksum value of the frame message of the sender. If they are equal, the check is passed, otherwise the check fails, and the checksum failure flag is set, and the corresponding fault post-processing is performed;

[0008] The hard-wire input signal preprocessing module is responsible for receiving and preprocessing the hard-wire input, including digital signals, analog signals, PWM signals, etc. After receiving, it also adopts override logic processing. In order to facilitate direct control of the signal, override processing logic is set for all hard-wire input signals. During function debugging test or performance calibration or troubleshooting, the signal can be independently override controlled. The override control logic includes the original signal input, the override signal flag and the override signal value. The override logic is realized by switching the transmission path of the original input signal. When the override signal flag is set to 1, the signal transmission path goes through the override signal value, and the original signal override is assigned different values ​​to achieve rewriting of the signal value, so as to further achieve different control purposes.

[0009] It is further defined that the input signal processing layer IPL needs to further process the basic signal, and divide the input signal processing layer according to the functional type and functional unit, including accelerator pedal signal processing, brake pedal signal processing, driving mode input signal processing, gear signal processing, APU signal processing, high-voltage battery processing, electric drive signal processing and all-in-one signal processing.

[0010] It is further defined that the input signal processing layer IPL also includes diagnosis and fault monitoring of basic signals.

[0011] It is further defined that the core control layer CSL is divided into a power system coordination control module, a thermal management system control module, a remote function control module, a human-computer interaction display control module and a diagnosis processing module according to functional domains;

[0012] The power system coordination control module includes management of driving mode, energy management, vehicle operation control, etc. The driving mode management determines the vehicle driving mode according to the driver's intention and the vehicle's operating status, and selects the appropriate driving mode to drive the vehicle forward. The energy management includes power consumption or power generation control of energy sources, including batteries and APU, to ensure that the battery will not be overcharged or over-discharged, and at the same time control the APU to generate electricity, start and stop the engine based on the vehicle's operating conditions; the vehicle operation control is responsible for executing the driver's intention to drive and brake the vehicle. Driving includes creeping, cruising and conventional driving, and braking includes braking energy recovery and coasting energy recovery; the thermal management system control Based on the vehicle thermal management architecture, the control module analyzes and decides on the thermal management requirements of the vehicle drive system and passenger compartment that the VCU is responsible for, and determines whether to drive the relevant components for cooling and heating control, including thermal management mode control, post-processing operation control, drive control of the water pump, cooling fan and condensing fan of the components, and cooling of the drive circuit. The VCU formulates a cooling strategy based on the temperature of each component and its cooling requirements, and then controls whether to cool the components of the cooling circuit according to the real-time temperature of each module transmitted from the signal input layer; and for the cooling requirements of the passenger compartment, the VCU will control whether the condensing fan is running and the speed according to the requirements of the air-conditioning control panel and based on the energy management status;

[0013] The remote control function modules are all modules that can be controlled remotely, including intelligent power replenishment, remote power lock, remote ON gear, remote diagnosis and flashing, etc. VCU has OSEK network management and CAN-based UDS remote flashing capabilities, and can realize various remote control functions in conjunction with the remote terminal TBOX. After TBOX wakes up the VCU through the network management message, it controls related functions according to further interactive signals;

[0014] The human-machine interaction display control module obtains relevant state variables through logical calculation of the vehicle information used for instrument display, and finally outputs it to the output layer and sends it to the instrument for analysis and display;

[0015] The diagnostic processing module is responsible for monitoring the faults of the entire vehicle. The VCU receives the highest fault level of each module and takes the most stringent treatment based on the highest fault level of each module and the highest level of the fault determined by itself. The fault level of the entire vehicle is divided into six levels, and the fault handling measures become increasingly stringent from low to high. After the VCU monitors a fault, it will trigger the lighting of the corresponding fault light according to the fault level corresponding to the fault. The VCU transmits the lighting information to the instrument through the bus through the fault light signal for analysis and display. After a fault occurs, the VCU will perform corresponding fault handling on the entire vehicle according to the handling measures associated with the fault.

[0016] It is further defined that the output signal processing layer OPL includes accelerator pedal output signal processing, brake pedal output signal processing, gear selection output signal processing, APU output signal processing, drive motor output signal processing, and human-computer interaction output signal processing.

[0017] It is further defined that the output signal abstraction layer OAL is provided with CAN signal output processing and hard-line signal output processing, and the output signal abstraction layer OAL is provided with override processing logic for each signal. During function debugging test or performance calibration or troubleshooting, the signal can be independently override-controlled, and the override control logic includes original signal output, override signal flag and override signal value. The override logic is realized by switching the transmission path of the original output signal. When the override signal flag is set to 1, the signal transmission path goes through the override signal value, and the original signal override is assigned different values ​​to realize the rewriting of the physical value or enumeration type of the signal, so as to further realize different control purposes.

[0018] The beneficial effects of adopting the above technical solution are:

[0019] The application layer software architecture is divided into five layers. Each layer is divided into modules according to specific function types and functional units. The signals between layers are decoupled and independent to achieve layered isolation between different software layers. The variables used in the internal core control module logic are independent of the external module variables, the variables between different control modules are decoupled, and the internal functional unit modules are independent of each other and uncoupled. This solves the problem of strong coupling between the underlying signals and the application layer interface, and between the application layer modules, and achieves the decoupling of the core control logic from external inputs and outputs. When developing new models, it can greatly reduce the workload of model modification, shorten the software development cycle, ensure the maturity and stability of the software, and avoid software bugs that may be introduced by unnecessary adjustments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a schematic diagram of the application layer software architecture of the present invention. DETAILED DESCRIPTION

[0021] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the concept and technical solution of the present invention and facilitating its implementation.

[0022] like Figure 1 As shown, the present invention is an application layer software architecture for extended-range electric vehicles, which solves the problems of severe coupling of software logic and signals between different modules and weak independence between different functional unit modules leading to association adjustments due to unreasonable architecture design or lack of top-level design during the development process.

[0023] Specifically, the application layer software architecture is divided into five layers based on the signal flow, function type and function unit. They are the input signal abstraction layer IAL, input signal processing layer IPL, core control layer CSL, output signal processing layer OPL and output signal abstraction layer OAL from left to right. The input signal abstraction layer IAL is responsible for abstracting the underlying signal, interacting with the underlying pre-defined interface variables or interface functions, and encapsulating the interface variables or interface functions for direct model logic reference by ASW, so as to achieve hierarchical isolation and decoupling of ASW and BSW. According to the input signal type, the input signal abstraction layer IAL is divided into three parts, namely, the CAN signal input preprocessing module, the CAN signal input diagnosis module and the hard-wired signal input preprocessing module. The CAN signal input preprocessing module is the input signal abstraction layer IAL that receives the unified interface function from the underlying software. Then, according to the vehicle network topology, the CAN network where all the interactive control units of the VCU are located is divided, such as Chassis CAN and EV CAN, Chassis CAN is responsible for receiving and processing all message signals of the bus, including interactive control signals such as ABS, EHB, EPS, TBOX, APU, EMS and GCU, while EVCAN is responsible for receiving and processing all message signals of the bus, including interactive control signals such as BMS, MCU, all-in-one HDM, DCDC, TBOX, ACM, electronic gear shifter EGSM, etc. After receiving the message signal from the bottom layer through a unified interface function, in order to facilitate direct control of the signal, an override processing logic is set for all message input signals. During function debugging test or performance calibration or troubleshooting, the signal can be independently controlled at a higher level. The override control logic includes the original signal input, the override signal flag and the override signal value, as well as the output signal after the override processing. The override logic is implemented by switching the transmission path of the original input signal. When the override signal flag is set to one, the signal transmission path goes through the override signal value. The override signal value is assigned different values ​​to rewrite the physical value or enumeration type of the signal to further achieve different control purposes.

[0024] The CAN signal input diagnostic module is responsible for judging the timeliness and validity of the input CAN signal. Timeliness judgment refers to timeout judgment of the input signal. In order to prevent the loss of key signals from affecting the driving performance and safety of the vehicle, when the ID message where the input signal is located exceeds the specified message receiving time threshold, the VCU considers that the communication of the frame message has timed out and sets the time out flag of the frame message. The validity judgment is a security check on the message sending signal value itself to prevent abnormal message sending signal value or network attacks from intercepting messages to tamper with signals to control the vehicle. The message sender and receiver, namely the VCU, predetermine the checksum algorithm. The sender reserves a fixed bit for the checksum in the key message. The checksum bit will calculate the value of the frame message when it is sent according to the pre-determined checksum algorithm and fill it in and send it. The receiver will calculate the checksum value of the frame message according to the pre-determined checksum algorithm and compare it with the checksum value of the frame message of the sender. If they are equal, the check is passed, otherwise the check fails, the checksum failure flag is set, and the corresponding fault post-processing is performed;

[0025] The hard-wire input signal preprocessing module is responsible for receiving and preprocessing the hard-wire input, including digital signals, analog signals, PWM signals, etc. After receiving, it also adopts override logic processing. In order to facilitate direct control of the signal, override processing logic is set for all hard-wire input signals. During function debugging test or performance calibration or troubleshooting, the signal can be independently override controlled. The override control logic includes the original signal input, override signal flag and override signal value. The override logic is realized by switching the transmission path of the original input signal. When the override signal flag is set to 1, the signal transmission path takes the override signal value, and the original signal override is assigned different values ​​to rewrite the signal value, so as to further achieve different control purposes; the input signal processing layer IPL needs to further process the basic signal and process the input signal according to the function type and function unit. The layers are divided into accelerator pedal signal processing, brake pedal signal processing, driving mode input signal processing, gear signal processing, APU signal processing, high-voltage battery processing, electric drive signal processing and all-in-one signal processing, such as the signal processing module of the power generation control unit. This module needs to process and output information such as the operating status, enable status, power generation voltage and current, power generation power, active discharge status, and maximum fault level of the generator to provide input for VCU energy management. The input signal processing layer IPL also includes diagnosis and fault monitoring of basic signals. Taking the accelerator pedal as an example, the accelerator pedal input signal processing module needs to diagnose the two pedal signals by short-to-ground, short-to-power, and rationality checks, etc., which are all completed in this module. Other modules also need to perform corresponding diagnosis and monitoring of the signals they are responsible for to meet the needs of timely fault handling after a vehicle failure to ensure driving safety.

[0026] The core control layer CSL is located in the middle core position of the extended-range electric vehicle control application layer software, responsible for analyzing and making decisions on the core control functions of the vehicle and providing control instructions for the output-related layers of the back end. Since the input signal of the core control layer has been decoupled from the original signal, its internal logic is highly independent and can be fully transplanted and reused, which improves the reuse of the software and reduces the software development cycle. The core control layer CSL is divided into power system coordination control module, thermal management system control module, remote function control module, human-computer interaction display control module and diagnosis processing module according to the functional domain;

[0027] The power system coordination control module includes management of driving mode, energy management, vehicle operation control, etc. The driving mode management determines the vehicle driving mode according to the driver's intention and the vehicle's operating status, and selects the appropriate driving mode to drive the vehicle forward. Energy management includes power consumption or power generation control of energy sources, including batteries and APU, to ensure that the battery will not be overcharged or over-discharged. At the same time, based on the vehicle's operating conditions, the APU is controlled to generate electricity, start and stop the engine, etc.; the vehicle operation control is responsible for executing the driver's intention to drive and brake the vehicle. Driving includes creeping, cruising and conventional driving, and braking includes brake energy recovery and coasting energy recovery, etc.; the thermal management system control module is based on Based on the vehicle thermal management architecture, the VCU analyzes and decides on the thermal management requirements of the vehicle drive system and the passenger compartment, and determines whether to drive the relevant components for cooling and heating control, including thermal management mode control, post-processing operation control, drive control of the water pump, cooling fan and condensing fan of the components, and cooling of the drive circuit. The VCU formulates a cooling strategy based on the temperature of each component and its cooling requirements, and then controls whether to cool the components of the cooling circuit according to the real-time temperature of each module transmitted from the signal input layer; and for the cooling requirements of the passenger compartment, the VCU will control whether the condensing fan is running and the speed according to the requirements of the air-conditioning control panel and the energy management status;

[0028] Remote control function modules are all modules that can be controlled remotely, including intelligent power replenishment, remote power lock, remote ON gear, remote diagnosis and flashing, etc. VCU has OSEK network management and CAN-based UDS remote flashing capabilities, and can realize various remote control functions in conjunction with the remote terminal TBOX. After TBOX wakes up the VCU through network management messages, it controls related functions according to further interactive signals;

[0029] The human-computer interaction display control module obtains relevant state variables through logical calculation of the vehicle information used for instrument display, and finally outputs it to the output layer and sends it to the instrument for analysis and display, including vehicle readiness status, gear status, drive mode, speeding alarm and driving mode.

[0030] The diagnostic processing module is responsible for monitoring the faults of the whole vehicle. The VCU receives the highest fault level of each module and takes the most stringent treatment according to the highest fault level of each module and the highest fault level judged by itself. The fault level of the whole vehicle is divided into six levels, and the fault handling measures are increasingly stringent from low to high. After the VCU monitors the fault, it will trigger the lighting of the corresponding fault light according to the fault level corresponding to the fault. The VCU transmits the lighting information to the instrument through the bus through the fault light signal for analysis and display. After the fault occurs, the VCU will perform corresponding fault handling on the whole vehicle according to the fault-related handling measures, including but not limited to speed limit, power limit, high voltage reduction, charging prohibition, etc.

[0031] The output signal processing layer OPL includes accelerator pedal output signal processing, brake pedal output signal processing, gear selection output signal processing, APU output signal processing, drive motor output signal processing, and human-computer interaction output signal processing. For example, the brake pedal signal output processing module controls whether the vacuum pump relay is driven according to the vehicle speed, brake pedal status, atmospheric pressure, and vacuum pressure;

[0032] The output signal abstraction layer OAL packages and encapsulates the signals of the output signal processing layer, and passes them to the underlying software through a unified interface function. After receiving the signals, the underlying software further controls the CAN message and hard-wire output downwards. The output signal abstraction layer OAL corresponds to the input signal abstraction layer IAL, and is provided with CAN signal output processing and hard-wire signal output processing. Because the diagnosis is performed by the receiver when the message is sent, the output signal abstraction layer OAL does not need to diagnose and monitor the output message signal. The output signal abstraction layer OAL sets an override processing logic for each signal. During function debugging test or performance calibration or troubleshooting, the signal can be independently controlled. The override control logic includes the original signal output, the override signal flag and the override signal value. The override logic is realized by switching the transmission path of the original output signal. When the override signal flag is set to 1, the signal transmission path goes through the override signal value. The original signal override is assigned different values ​​to rewrite the physical value or enumeration type of the signal to further achieve different control purposes.

[0033] The application layer software architecture is divided into five layers. Each layer is divided into modules according to specific function types and functional units. The signals between layers are decoupled and independent to achieve layered isolation between different software layers. The variables used in the internal core control module logic are independent of the external module variables, the variables between different control modules are decoupled, and the internal functional unit modules are independent of each other and uncoupled. This solves the problem of strong coupling between the underlying signals and the application layer interface, and between the application layer modules, and achieves the decoupling of the core control logic from external inputs and outputs. When developing new models, it can greatly reduce the workload of model modification, shorten the software development cycle, ensure the maturity and stability of the software, and avoid software bugs that may be introduced by unnecessary adjustments.

[0034] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned method. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above-mentioned concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.

Claims

1. An application layer software architecture for extended-range electric vehicles, Features: The application layer software architecture is designed based on the signal flow, function type and function unit, and is divided into five layers. From left to right, they are the input signal abstraction layer IAL, the input signal processing layer IPL, the core control layer CSL, the output signal processing layer OPL and the output signal abstraction layer OAL. The input signal abstraction layer IAL is responsible for abstracting the underlying signals, interacting with the underlying pre-defined interface variables or interface functions, and encapsulating the interface variables or interface functions for direct model logic reference by ASW, thereby realizing the hierarchical isolation and decoupling of ASW and BSW; the input signal processing layer IPL is responsible for abstracting the input signal The variables of the image layer are further processed to provide interface variables for the core control logic layer, and further variable conversion is performed on the variables pre-processed by the input signal abstraction layer; the core control layer CSL is responsible for analyzing and making decisions on the core control functions of the whole vehicle and providing control instructions for the output-related layers of the back-end; the output signal processing layer OPL is responsible for further processing the relevant outputs of the core control layer and then outputting them to the output signal abstraction layer; the output signal abstraction layer OAL packages and encapsulates the signals of the output signal processing layer and passes them to the underlying software through a unified interface function. After receiving the signals, the underlying software further controls the CAN messages and hard-wired outputs downward.

2. According to claim 1, an extended-range electric vehicle application layer software architecture, Features: According to the input signal type, the input signal abstraction layer IAL is divided into three parts, namely, CAN signal input preprocessing module, CAN signal input diagnosis module and hard-wire signal input preprocessing module. The CAN signal input preprocessing module is a unified interface function for the input signal abstraction layer IAL to receive from the underlying software. Then, according to the vehicle network topology, the CAN network where all interactive control units of the VCU are located is divided, such as Chassis CAN and EV CAN. Chassis CAN is responsible for receiving and processing all message signals of the bus, including interactive control signals such as ABS, EHB, EPS, TBOX, APU, EMS and GCU, and EV CAN is responsible for receiving and processing all message signals of the bus, including interactive control signals such as BMS, MCU, all-in-one HDM, DCDC, TBOX, ACM, and electronic gear shifter EGSM. After receiving the message signal from the bottom layer through a unified interface function, in order to facilitate direct control of the signal, an override processing logic is set for all message input signals. During function debugging test or performance calibration or troubleshooting, the signal can be independently controlled at a higher level. The override control logic includes the original signal input, the override signal flag and the override signal value, as well as the output signal after the override processing. The override logic is implemented by switching the transmission path of the original input signal. When the override signal flag is set to one, the signal transmission path goes through the override signal value. The override signal value is assigned different values ​​to rewrite the physical value or enumeration type of the signal to further achieve different control purposes. The CAN signal input diagnostic module is responsible for judging the timeliness and effectiveness of the input CAN signal. Timeliness judgment refers to timeout judgment of the input signal. In order to prevent the loss of key signals from affecting the drivability and safety of the entire vehicle, when the ID message containing the input signal exceeds the specified message reception time threshold, the VCU considers that the frame message communication has timed out and sets the time out flag of the frame message. The validity judgment is a security check on the message sending signal value itself, to prevent the message sending signal value from being abnormal or network attacks from intercepting the message to tamper with the signal to control the vehicle. The message sender and the receiver VCU predefine the checksum algorithm. The sender reserves a fixed bit for the checksum in the key message. The checksum bit will calculate the value of the current frame message when it is sent according to the pre-determined checksum algorithm and fill it in for sending. The receiver will calculate the checksum value of the frame message according to the pre-determined checksum algorithm, and compare it with the checksum value of the frame message of the sender. If they are equal, the check is passed, otherwise the check fails, the checksum failure flag is set, and the corresponding fault post-processing is performed; The hard-wire input signal preprocessing module is responsible for receiving and preprocessing the hard-wire input, including digital signals, analog signals, PWM signals, etc. After receiving, it also adopts override logic processing. In order to facilitate direct control of the signal, override processing logic is set for all hard-wire input signals. During function debugging test or performance calibration or troubleshooting, the signal can be independently override controlled. The override control logic includes the original signal input, the override signal flag and the override signal value. The override logic is realized by switching the transmission path of the original input signal. When the override signal flag is set to 1, the signal transmission path goes through the override signal value, and the original signal override is assigned different values ​​to achieve rewriting of the signal value, so as to further achieve different control purposes.

3. The software architecture of the application layer of the extended-range electric vehicle according to claim 1, Features: The input signal processing layer IPL needs to further process the basic signal and is divided according to the functional type and functional unit, including accelerator pedal signal processing, brake pedal signal processing, driving mode input signal processing, gear signal processing, APU signal processing, high-voltage battery processing, electric drive signal processing and all-in-one signal processing.

4. The software architecture of the application layer of the extended-range electric vehicle according to claim 3, Features: The input signal processing layer IPL also includes diagnosis and fault monitoring of basic signals.

5. The software architecture of the application layer of the extended-range electric vehicle according to claim 1, Features: The core control layer CSL is divided into a power system coordination control module, a thermal management system control module, a remote function control module, a human-computer interaction display control module and a diagnosis processing module according to the functional domain; The power system coordination control module includes management of driving mode, energy management, vehicle operation control, etc. The driving mode management determines the vehicle driving mode according to the driver's intention and the vehicle's operating status, and selects the appropriate driving mode to drive the vehicle forward. The energy management includes power consumption or power generation control of energy sources, including batteries and APU, to ensure that the battery will not be overcharged or over-discharged, and at the same time control the APU to generate electricity, start and stop the engine based on the vehicle's operating conditions; the vehicle operation control is responsible for executing the driver's intention to drive and brake the vehicle. Driving includes creeping, cruising and conventional driving, and braking includes braking energy recovery and coasting energy recovery; the thermal management system control Based on the vehicle thermal management architecture, the control module analyzes and decides on the thermal management requirements of the vehicle drive system and passenger compartment that the VCU is responsible for, and determines whether to drive the relevant components for cooling and heating control, including thermal management mode control, post-processing operation control, drive control of the water pump, cooling fan and condensing fan of the components, and cooling of the drive circuit. The VCU formulates a cooling strategy based on the temperature of each component and its cooling requirements, and then controls whether to cool the components of the cooling circuit according to the real-time temperature of each module transmitted from the signal input layer; and for the cooling requirements of the passenger compartment, the VCU will control whether the condensing fan is running and the speed according to the requirements of the air-conditioning control panel and based on the energy management status; The remote control function modules are all modules that can be controlled remotely, including intelligent power replenishment, remote power lock, remote ON gear, remote diagnosis and flashing, etc. VCU has OSEK network management and CAN-based UDS remote flashing capabilities, and can realize various remote control functions in conjunction with the remote terminal TBOX. After TBOX wakes up the VCU through the network management message, it controls related functions according to further interactive signals; The human-machine interaction display control module obtains relevant state variables through logical calculation of the vehicle information used for instrument display, and finally outputs it to the output layer and sends it to the instrument for analysis and display; The diagnostic processing module is responsible for monitoring the faults of the entire vehicle. The VCU receives the highest fault level of each module and takes the most stringent treatment based on the highest fault level of each module and the highest level of the fault determined by itself. The fault level of the entire vehicle is divided into six levels, and the fault handling measures become increasingly stringent from low to high. After the VCU monitors a fault, it will trigger the lighting of the corresponding fault light according to the fault level corresponding to the fault. The VCU transmits the lighting information to the instrument through the bus through the fault light signal for analysis and display. After a fault occurs, the VCU will perform corresponding fault handling on the entire vehicle according to the handling measures associated with the fault.

6. The software architecture of the application layer of the extended-range electric vehicle according to claim 1, Features: The output signal processing layer OPL includes accelerator pedal output signal processing, brake pedal output signal processing, gear selection output signal processing, APU output signal processing, drive motor output signal processing, and human-computer interaction output signal processing.

7. The software architecture of the application layer of the extended-range electric vehicle according to claim 1, Features: The output signal abstraction layer OAL is provided with CAN signal output processing and hard-wire signal output processing. The output signal abstraction layer OAL is provided with override processing logic for each signal. During function debugging test or performance calibration or troubleshooting, the signal can be independently override-controlled. The override control logic includes original signal output, override signal flag and override signal value. The override logic is realized by switching the transmission path of the original output signal. When the override signal flag is set to 1, the signal transmission path goes through the override signal value. The original signal override is assigned different values ​​to realize the rewriting of the physical value or enumeration type of the signal, so as to further realize different control purposes.

Citation Information

Cited By

  • Passenger car power domain control device and passenger car

    CN121341083A