A software architecture of internal application layer of vehicle controller of pure electric vehicle based on MATLAB

By adopting the MATLAB-based application layer software architecture in pure electric vehicle complete vehicle controllers, modularly divide functions and clearly define the application layer and underlying interfaces, the problem of low development efficiency in the existing technology is solved, and a more efficient development process and quality is achieved.

CN119759322APending Publication Date: 2025-04-04ATECH AUTOMOTIVE WUHU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411913522.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The prior art cannot improve the efficiency of software development of the internal application layer of pure electric vehicle controllers.

Method used

The internal application layer software architecture of pure electric vehicle vehicle controller based on MATLAB is adopted. The functions of the vehicle controller are classified through modular division, simplifying the development process, and clearly defining the interface between the application layer and the underlying layer to reduce the time of communication.

Benefits of technology

It improves the software development efficiency of the internal application layer of the pure electric vehicle controller, shortens the development cycle, and improves the development quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119759322A_ABST
    Figure CN119759322A_ABST
Patent Text Reader

Abstract

The present invention discloses a software architecture of the internal application layer of a pure electric vehicle controller based on MATLAB, belonging to the technical field of new energy vehicles, wherein the architecture comprises a controller area network (CAN) module, a signal input module, a signal processing module, a clock module, an up / down power module, an accessory control module, a torque processing module, a gear processing module, a fault processing module, a display module, and a signal output module; the controller area network (CAN) module and the signal input module output signals to the signal processing module; the signal processing module outputs signals to the clock module, the up / down power module, the accessory control module, the torque processing module, the gear processing module, the fault processing module, and the display module respectively; the torque processing module, the gear processing module, and the fault processing module respectively output signals to the signal output module; and the signal output module outputs signals to modules outside the architecture. The present invention can improve the efficiency of software development of the internal application layer of a pure electric vehicle controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of new energy vehicles, and in particular, relates to an internal application layer software architecture of a pure electric vehicle controller based on MATLAB. Background Art

[0002] With the development of new energy vehicles, higher requirements are also put forward for the development of new energy vehicles, which require more functions, faster response and shorter development cycle. Therefore, a clear software architecture will provide better support for the development process. MATLAB is a commonly used development tool in the application layer development of new energy vehicles. It can realize the functional logic more clearly in model building and facilitate the modular design of functions.

[0003] Patent CN114338678A discloses an application layer switching method and device for an intelligent connected vehicle operating system, wherein the method includes: sending a first application layer switching instruction to a first edge cloud through an execution end; sending the first application layer switching instruction to a central cloud through the first edge cloud, so that the central cloud sends the first application layer switching instruction to a second edge cloud; sending the application layer switching configuration in the first application layer switching instruction to the execution end through the second edge cloud, so that the execution end performs application layer switching according to the application layer switching configuration.

[0004] However, the technology disclosed in the above patent cannot improve the efficiency of software development at the internal application layer of the vehicle controller of a pure electric vehicle. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a pure electric vehicle whole vehicle controller internal application layer software architecture based on MATLAB in view of the deficiencies of the prior art, so as to achieve the purpose of improving the internal application layer software development efficiency of the pure electric vehicle whole vehicle controller.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] The invention provides an internal application layer software architecture of a pure electric vehicle whole vehicle controller based on MATLAB, comprising a controller area network (CAN) module, a signal input module, a signal processing module, a clock module, an up / down power module, an accessory control module, a torque processing module, a gear processing module, a fault processing module, a display module, and a signal output module; the controller area network (CAN) module is provided with an input signal by a module outside the architecture, and outputs a signal to the signal processing module; the signal input module is provided with an input signal by a module outside the architecture, and outputs a signal to the signal processing module; the signal processing module outputs signals to the clock module, the up / down power module, the accessory control module, the torque processing module, the gear processing module, the fault processing module and the display module respectively; the clock module outputs a signal to the torque processing module; the up / down power module and the accessory control module respectively output signals to the fault processing module; the torque processing module, the gear processing module and the fault processing module respectively output signals to the signal output module; and the signal output module outputs signals to a module outside the architecture.

[0008] Furthermore, the controller area network (CAN) module receives a controller area network (CAN) signal input from the bottom layer and outputs it to the signal processing module.

[0009] Furthermore, the signal input module receives the hard-wired signal input from the bottom layer and outputs it to the signal processing module.

[0010] Furthermore, the signal processing module filters the controller area network (CAN) signal and the hard-wire signal, and outputs the controller area network (CAN) signal and the hard-wire signal to the clock module, the up / down power module, the accessory control module, the torque processing module, the gear processing module, the fault processing module and the display module respectively.

[0011] Furthermore, the display module is used to define and display information that needs to be displayed on the vehicle instrument panel.

[0012] Furthermore, the clock module outputs a clock signal to the torque processing module.

[0013] Furthermore, the upper / lower electrical module outputs the upper high-voltage signal or the lower high-voltage signal of the entire vehicle to the fault processing module; the accessory control module outputs the control signal of the load to the fault processing module; the fault processing module outputs the upper high-voltage signal or the lower high-voltage signal of the entire vehicle and the control signal of the load to the signal output module.

[0014] Furthermore, the torque processing module outputs a torque signal to the signal output module; the gear processing module outputs a gear signal that the vehicle needs to execute to the signal output module; and the fault processing module outputs a fault signal to the signal output module.

[0015] Furthermore, the signal output module outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle, the control signal of the load, the torque signal, the gear position signal that the whole vehicle needs to execute, and the fault signal to the bottom layer.

[0016] The internal application layer software architecture of the pure electric vehicle controller based on MATLAB of the present invention has the following advantages:

[0017] (1) The internal application layer software architecture of the pure electric vehicle whole vehicle controller based on MATLAB of the present invention can improve the internal application layer software development efficiency of the pure electric vehicle whole vehicle controller.

[0018] (2) The MATLAB-based internal application layer software architecture of the pure electric vehicle whole vehicle controller of the present invention can clearly classify the functions of the whole vehicle controller, thereby simplifying the development process of the internal application layer software of the pure electric vehicle whole vehicle controller, shortening the development cycle of the internal application layer software of the pure electric vehicle whole vehicle controller, and improving the development efficiency and development quality of the internal application layer software of the pure electric vehicle whole vehicle controller.

[0019] (3) In the present invention, the internal application layer software architecture of the pure electric vehicle controller is modularized according to the required functions, so that the functions of each module are relatively independent, which facilitates the independent development of each module, and multiple people can collaborate during development to improve development efficiency.

[0020] (4) In the present invention, the interface required by the bottom layer and the application layer can be defined more clearly through the interface between the application layer and the bottom layer, thereby reducing the time for communication.

[0021] (5) The internal application layer software architecture of the pure electric vehicle controller based on MATLAB of the present invention is divided into relatively independent functional modules. There are corresponding interfaces between the modules. During the software iteration process, only the corresponding module software needs to be upgraded, and other parts do not need to be changed. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] This specification includes the following drawings, which show the following contents:

[0023] Figure 1 The present invention is a principle block diagram of the internal application layer software architecture of a pure electric vehicle whole vehicle controller based on MATLAB.

[0024] Explanation of the accompanying drawings: 1. Controller area network (CAN) module; 2. Signal input module; 3. Signal processing module; 4. Clock module; 5. Up / down power module; 6. Accessory control module; 7. Torque processing module; 8. Gear processing module; 9. Fault processing module; 10. Display module; 11. Signal output module; 12. Bottom-level software layer; 13. Bottom-level hardware layer. DETAILED DESCRIPTION

[0025] 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 inventive concept and technical solution of the present invention and facilitating their implementation.

[0026] Figure 1 The present invention is a principle block diagram of the internal application layer software architecture of a pure electric vehicle controller based on MATLAB, including a controller area network (CAN) module 1, a signal input module 2, a signal processing module 3, a clock module 4, an up / down power module 5, an accessory control module 6, a torque processing module 7, a gear processing module 8, a fault processing module 9, a display module 10, and a signal output module 11; the controller area network (CAN) module 1 is provided with input signals by modules outside the architecture, and outputs signals to the signal processing module 3; the signal input module 2 is provided with input signals by modules outside the architecture Provide input signals and output signals to the signal processing module 3; the signal processing module 3 outputs signals to the clock module 4, the up / down power module 5, the accessory control module 6, the torque processing module 7, the gear processing module 8, the fault processing module 9 and the display module 10 respectively; the clock module 4 outputs signals to the torque processing module 7; the up / down power module 5 and the accessory control module 6 output signals to the fault processing module 9 respectively; the torque processing module 7, the gear processing module 8 and the fault processing module 9 output signals to the signal output module 11 respectively; the signal output module 11 outputs signals to modules outside the architecture. That is, through modular division, the functions of each module are relatively independent, which facilitates the independent development of each module, and multiple people can collaborate during development to improve development efficiency; and there are corresponding interfaces between the modules. During the software iteration process, only the corresponding module software needs to be upgraded, and other parts do not need to be changed.

[0027] Combine the following Figure 1 The principle of the internal application layer software architecture of the pure electric vehicle controller based on MATLAB of the present invention is as follows:

[0028] First, it is necessary to define the interface between the application layer software and the underlying software of the underlying software layer 12. This is mainly used for the adaptation of the application layer and the underlying hardware layer 13. Only one interface matching is required, and no other changes are required. That is, through the interface between the application layer and the underlying layer, the interface required by the underlying layer and the application layer can be defined more clearly, reducing the time for communication.

[0029] Secondly, the controller area network (CAN) signal input from the bottom layer is received through the controller area network (CAN) module 1 and outputted to the signal processing module 3. Specifically, the controller area network (CAN) module 1 receives the controller area network (CAN) signal inputted by the bottom hardware layer 13 and the bottom software layer 12, and the controller area network (CAN) module 1 inputs the received controller area network (CAN) signal to the signal processing module 3; the hard-wire signal inputted from the bottom layer is received through the signal input module 2 and outputted to the signal processing module 3. Specifically, the signal input module 2 receives the hard-wire signal inputted by the bottom hardware layer 13, and the signal input module 2 inputs the received hard-wire signal to the signal processing module 3. After receiving the controller area network (CAN) signal and the hard-wire signal, the signal processing module 3 filters the controller area network (CAN) signal and the hard-wire signal, and outputs the controller area network (CAN) signal and the hard-wire signal to the clock module 4, the up / down power module 5, the accessory control module 6, the torque processing module 7, the gear processing module 8, the fault processing module 9 and the display module 10 respectively; wherein, the signal processing module 3 will also determine whether the controller area network (CAN) signal and the hard-wire signal are faulty. If the signal processing module 3 determines that the controller area network (CAN) signal or the hard-wire signal is faulty, the signal processing module 3 will report the fault code in time. The display module 10 is used to define and display the information that needs to be displayed on the car instrument, such as the cruising range, the power consumption per 100 kilometers, the gear information, etc. The clock module 4 outputs the clock signal to the torque processing module 7, and the clock signal module 4 also provides the clock signal for the normal operation of the application layer software architecture. The up / down power module 5 outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle to the fault processing module 9, which also includes some definitions of the power-on process and the power-off process; the control logic of loads such as DCDC, PTC, compressor, cooling fan, etc. is defined through the accessory control module 6, and the control signal of the load is output to the fault processing module 9 through the accessory control module 6; when the fault processing module 9 determines that the upper high-voltage signal or the lower high-voltage signal of the whole vehicle and the control signal of the load received by it are not faulty, the fault processing module 9 outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle and the control signal of the load to the signal output module 11.The torque processing module 7 outputs a torque signal to the signal output module 11. Specifically, the torque control module 7 calculates the torque value currently required to be output according to the status of the whole vehicle, such as the accelerator pedal, motor speed, battery power, etc., and outputs it to the signal output module 11; the gear processing module 8 outputs the gear signal required to be executed by the whole vehicle to the signal output module 11. Specifically, the gear processing module 8 outputs the execution gear information required by the whole vehicle to the signal output module 11 according to the actual situation of the whole vehicle detected, combined with the current status of the vehicle, such as whether it is in Ready, motor status, battery status, etc.; the fault processing module 9 outputs a fault signal to the signal output module 11. Specifically, the fault processing module 9 outputs the upper high-voltage signal or lower high-voltage signal of the whole vehicle and the control signal of the load to the signal output module 11 when it determines that the upper high-voltage signal or lower high-voltage signal of the whole vehicle and the control signal of the load received by it are faulty. The fault processing module 9 outputs a fault signal to the signal output module 11 when it determines that the upper high-voltage signal or lower high-voltage signal of the whole vehicle and the control signal of the load received by it are faulty. The signal output module 11 outputs the upper high voltage signal or the lower high voltage signal of the vehicle, the control signal of the load, the torque signal, the gear position signal that the vehicle needs to execute, and the fault signal to the underlying software layer 12 and the underlying hardware layer 13. That is, the internal application layer software architecture of the pure electric vehicle controller based on MATLAB of the present invention can clearly classify the functions of the vehicle controller, thereby simplifying the development process of the internal application layer software of the pure electric vehicle controller, shortening the development cycle of the internal application layer software of the pure electric vehicle controller, and improving the development efficiency and development quality of the internal application layer software of the pure electric vehicle controller.

[0030] In this specific implementation, the bottom layer includes a bottom hardware layer 13 and a bottom software layer 12 .

[0031] Functions and Effects of the Embodiments

[0032] The internal application layer software architecture of the pure electric vehicle whole vehicle controller based on MATLAB of the present invention includes a controller area network (CAN) module 1, a signal input module 2, a signal processing module 3, a clock module 4, an up / down power module 5, an accessory control module 6, a torque processing module 7, a gear processing module 8, a fault processing module 9, a display module 10, and a signal output module 11; the controller area network (CAN) module 1 is provided with an input signal by a module outside the architecture, and outputs a signal to the signal processing module 3; the signal input module 2 is provided with an input signal by a module outside the architecture, and outputs a signal to the signal processing module 3; the signal processing module 3 outputs signals to the clock module 4, the up / down power module 5, the accessory control module 6, the torque processing module 7, the gear processing module 8, the fault processing module 9 and the display module 10 respectively; the clock module 4 outputs a signal to the torque processing module 7; the up / down power module 5 and the accessory control module 6 respectively output signals to the fault processing module 9; the torque processing module 7, the gear processing module 8 and the fault processing module 9 respectively output signals to the signal output module 11; the signal output module 11 outputs a signal to a module outside the architecture. That is, through modular division, the functions of each module are relatively independent, which facilitates the independent development of each module, and multiple people can collaborate during development to improve development efficiency; and there are corresponding interfaces between modules. During the software iteration process, only the corresponding module software needs to be upgraded, and other parts do not need to be changed.

[0033] The definition of the interface between the application layer software and the underlying software of the underlying software layer 12 is mainly used for the adaptation of the application layer and the underlying hardware layer 13. Only one interface matching is required, and no other changes are required. That is, through the interface between the application layer and the underlying layer, the interface required by the underlying layer and the application layer can be defined more clearly, reducing the time for communication.

[0034] The controller area network (CAN) signal input from the bottom layer is received through the controller area network (CAN) module 1 and outputted to the signal processing module 3. Specifically, the controller area network (CAN) module 1 receives the controller area network (CAN) signal inputted by the bottom layer hardware layer 13 and the bottom layer software layer 12, and the controller area network (CAN) module 1 inputs the received controller area network (CAN) signal to the signal processing module 3; the hard-wire signal inputted from the bottom layer is received through the signal input module 2 and outputted to the signal processing module 3. Specifically, the signal input module 2 receives the hard-wire signal inputted by the bottom layer hardware layer 13, and the signal input module 2 inputs the received hard-wire signal to the signal processing module 3. After receiving the controller area network (CAN) signal and the hard-wire signal, the signal processing module 3 filters the controller area network (CAN) signal and the hard-wire signal, and outputs the controller area network (CAN) signal and the hard-wire signal to the clock module 4, the up / down power module 5, the accessory control module 6, the torque processing module 7, the gear processing module 8, the fault processing module 9 and the display module 10 respectively; wherein, the signal processing module 3 will also determine whether the controller area network (CAN) signal and the hard-wire signal are faulty. If the signal processing module 3 determines that the controller area network (CAN) signal or the hard-wire signal is faulty, the signal processing module 3 will report the fault code in time. The display module 10 is used to define and display the information that needs to be displayed on the car instrument, such as the cruising range, the power consumption per 100 kilometers, the gear information, etc. The clock module 4 outputs the clock signal to the torque processing module 7, and the clock signal module 4 also provides the clock signal for the normal operation of the application layer software architecture. The up / down power module 5 outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle to the fault processing module 9, which also includes some definitions of the power-on process and the power-off process; the control logic of loads such as DCDC, PTC, compressor, cooling fan, etc. is defined through the accessory control module 6, and the control signal of the load is output to the fault processing module 9 through the accessory control module 6; when the fault processing module 9 determines that the upper high-voltage signal or the lower high-voltage signal of the whole vehicle and the control signal of the load received by it are not faulty, the fault processing module 9 outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle and the control signal of the load to the signal output module 11.The torque processing module 7 outputs a torque signal to the signal output module 11. Specifically, the torque control module 7 calculates the torque value currently required to be output according to the status of the whole vehicle, such as the accelerator pedal, motor speed, battery power, etc., and outputs it to the signal output module 11; the gear processing module 8 outputs the gear signal required to be executed by the whole vehicle to the signal output module 11. Specifically, the gear processing module 8 outputs the execution gear information required by the whole vehicle to the signal output module 11 according to the actual situation of the whole vehicle detected, combined with the current status of the vehicle, such as whether it is in Ready, motor status, battery status, etc.; the fault processing module 9 outputs a fault signal to the signal output module 11. Specifically, the fault processing module 9 outputs the upper high-voltage signal or lower high-voltage signal of the whole vehicle and the control signal of the load to the signal output module 11 when it determines that the upper high-voltage signal or lower high-voltage signal of the whole vehicle and the control signal of the load received by it are faulty. The fault processing module 9 outputs a fault signal to the signal output module 11 when it determines that the upper high-voltage signal or lower high-voltage signal of the whole vehicle and the control signal of the load received by it are faulty. The signal output module 11 outputs the upper high voltage signal or the lower high voltage signal of the vehicle, the control signal of the load, the torque signal, the gear position signal that the vehicle needs to execute, and the fault signal to the underlying software layer 12 and the underlying hardware layer 13. That is, the internal application layer software architecture of the pure electric vehicle controller based on MATLAB of the present invention can clearly classify the functions of the vehicle controller, thereby simplifying the development process of the internal application layer software of the pure electric vehicle controller, shortening the development cycle of the internal application layer software of the pure electric vehicle controller, and improving the development efficiency and development quality of the internal application layer software of the pure electric vehicle controller.

[0035] 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 methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above 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. A MATLAB-based internal application layer software architecture for a pure electric vehicle controller, characterized by: It includes a controller area network (CAN) module, a signal input module, a signal processing module, a clock module, an up / down power module, an accessory control module, a torque processing module, a gear processing module, a fault processing module, a display module, and a signal output module; the controller area network (CAN) module is provided with an input signal by a module outside the architecture, and outputs a signal to the signal processing module; the signal input module is provided with an input signal by a module outside the architecture, and outputs a signal to the signal processing module; the signal processing module outputs signals to the clock module, the up / down power module, the accessory control module, the torque processing module, the gear processing module, the fault processing module and the display module respectively; the clock module outputs a signal to the torque processing module; the up / down power module and the accessory control module respectively output signals to the fault processing module; the torque processing module, the gear processing module and the fault processing module respectively output signals to the signal output module; the signal output module outputs signals to modules outside the architecture.

2. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in claim 1, characterized in that: The controller area network (CAN) module receives a controller area network (CAN) signal input from a bottom layer and outputs the signal to the signal processing module.

3. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in claim 2, characterized in that: The signal input module receives the hard-wire signal input from the bottom layer and outputs it to the signal processing module.

4. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in claim 3, characterized in that: The signal processing module filters the controller area network (CAN) signal and the hard-wire signal, and outputs the controller area network (CAN) signal and the hard-wire signal to the clock module, the up / down power module, the accessory control module, the torque processing module, the gear processing module, the fault processing module and the display module respectively.

5. The internal application layer software architecture of the pure electric vehicle controller based on MATLAB as claimed in claim 4, characterized in that: The display module is used to define and display information that needs to be displayed on the vehicle instrument.

6. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in claim 4, characterized in that: The clock module outputs a clock signal to the torque processing module.

7. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in claim 4, characterized in that: The upper / lower electrical module outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle to the fault processing module; the accessory control module outputs the control signal of the load to the fault processing module; the fault processing module outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle and the control signal of the load to the signal output module.

8. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in claim 4, characterized in that: The torque processing module outputs a torque signal to the signal output module; the gear processing module outputs a gear signal that the vehicle needs to execute to the signal output module; and the fault processing module outputs a fault signal to the signal output module.

9. The internal application layer software architecture of a pure electric vehicle controller based on MATLAB as claimed in any one of claims 7 to 8, characterized in that: The signal output module outputs the upper high-voltage signal or the lower high-voltage signal of the whole vehicle, the control signal of the load, the torque signal, the gear position signal that the whole vehicle needs to execute, and the fault signal to the bottom layer.