Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

ECU power-off method and device, equipment and storage medium

An electrical method and equipment technology, applied in the field of vehicles, can solve problems such as long repair time and failure to operate normally

Inactive Publication Date: 2021-09-03
CHINA FIRST AUTOMOBILE
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The action of repairing Flash is carried out when the power is turned off, and can be interrupted by the wake-up source signal at any time, so as to ensure that the ECU can respond within the specified time when it is working, and solves the problem that the current repair fault takes too long to cause the ECU to fail to operate normally after startup.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • ECU power-off method and device, equipment and storage medium
  • ECU power-off method and device, equipment and storage medium
  • ECU power-off method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] figure 1 A flow chart of a method for powering off an ECU provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of powering off an ECU. The method can be executed by the device for powering off an ECU in the embodiment of the present invention. The device can be implemented in software and / or hardware, such as figure 1 As shown, the ECU power-off method specifically includes the following steps:

[0071] S110. After receiving the power-off request, read the target data in the protected cache PRAM.

[0072] Wherein, the method of generating the power-off request may be to generate a power-off request when it is detected that the vehicle is in a flame-off state; it may also be to generate a power-off request after receiving a reset command sent by the diagnostic instrument.

[0073] S120. Determine whether there is a memory fault according to the target data.

[0074] Specifically, the manner of judging whether there is a memory f...

Embodiment 2

[0111] figure 2 It is a schematic structural diagram of an ECU power-off device provided in Embodiment 2 of the present invention. This embodiment is applicable to the situation that the ECU is powered off. The ECU power-off device can be implemented in software and / or hardware. The ECU power-off device can be integrated in any device that provides the ECU power-off function, such as figure 2 As shown, the ECU power-off device specifically includes: a first reading module 210 , a first judging module 220 and an erasing module 230 .

[0112] Wherein, the first reading module 210 is configured to read the target data in the protected cache PRAM after receiving the power-off request;

[0113] A first judging module 220, configured to judge whether there is a memory fault according to the target data;

[0114] The erasing module 230 is used for erasing the Flash for error recovery if there is a memory failure.

[0115] Optionally, also include:

[0116] An effective wake-up ...

Embodiment 3

[0140] image 3 It is a schematic structural diagram of a computer device in Embodiment 3 of the present invention. image 3 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the invention is shown. image 3 The computer device 12 shown is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.

[0141] Such as image 3 As shown, computer device 12 takes the form of a general-purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16 , system memory 28 , bus 18 connecting various system components including system memory 28 and processing unit 16 .

[0142] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus struc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an ECU power-off method and device, equipment and a storage medium. The method comprises the following steps: after receiving a power-off request, reading target data in a protected cache PRAM; judging whether a memory fault exists or not according to the target data; and if the memory fault exists, erasing the Flash to carry out error repair. According to the technical scheme, on the basis of the power-off process managed by the ECU M module of the AUTOSAR architecture, data integrity checking and memory fault state checking are added, it is guaranteed that data can be stored in a safe data storage area in the power-off process of the ECU, and backup storage is carried out.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of vehicles, and in particular to a method, device, equipment and storage medium for powering off an ECU. Background technique [0002] At present, the vehicle controller will enter a fixed power-off process after receiving the power-off command and meeting the power-off conditions. The existing ECU power-off process based on the AUTOSAR architecture is handled by the BswM module and the EcuM module. Among them, the BswM module is part of the mode management, and its main functions are mode arbitration and mode control. The mode arbitration is to receive mode requests and notifications from SWC or other BSW modules. First, BswM modifies the scheduling state of each module of the basic software, stops periodic tasks, and writes key data into NvM (NonVolatile Memory, fixed memory). After the NvM writing is completed, the BswM module transfers the authority to the EcuM module, and th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B23/02
CPCG05B23/0213G05B2219/24065
Inventor 张晓谦姜珊许凯程孙忠刚
Owner CHINA FIRST AUTOMOBILE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products