Data storage method, device, equipment and medium
By storing the vehicle status parameters once after the high voltage of the vehicle is disconnected, and storing the vehicle status parameters for the second time after the motor is actively discharged, the problem of EEPROM data storage in the case where the 12V battery connection of the vehicle is unreliable is solved, and more reliable data storage is achieved and the life of the storage medium is extended.
Patent Information
- Application Number
- CN202211204112.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2042-09-29
AI Technical Summary
In the prior art, EEPROM data is stored in the case where the 12V battery connection of the vehicle is unreliable, which can easily lead to storage failure and abnormal vehicle functions.
After the high voltage of the vehicle is disconnected, the vehicle status parameters are stored once before the motor is actively discharged. The specific steps include responding to the high-voltage disconnection request, generating a high-voltage disconnection command, disconnecting the high-voltage circuit, and performing the first storage when the energy storage element is not discharged. Subsequently, a discharge command is generated to discharge the energy storage element and perform a second storage when the DC bus voltage drops to a preset threshold.
Through this method, the storage unreliability problem caused by the unreliable connection of the 12V battery is effectively avoided, and the life of the storage medium is improved.
Smart Images

Figure CN115891661B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automobile control technology, and in particular relates to a data storage method, device, equipment and medium. Background Art
[0002] With the intelligentization and electrification of electric vehicles, in order to better interact with users, more and more vehicle status parameters need to be stored in EEPROM (Electrically Erasable Programmable Read Only Memory). Affected by the life of EEPROM, most controllers use EEPROM to store vehicle status parameters before sleep. This storage method has very high requirements on the connection reliability of the vehicle's 12V battery. If the connection is unreliable, it will cause EEPROM data storage failure, resulting in abnormalities in related functions of the vehicle. Summary of the invention
[0003] In view of the above-mentioned shortcomings of the prior art, the present invention provides a data storage method, device, equipment and medium to solve the above-mentioned technical problems.
[0004] The present invention provides a data storage method, the method comprising:
[0005] In response to the high-voltage disconnection request, a high-voltage disconnection instruction is generated, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to be disconnected;
[0006] Under a first condition, the vehicle state parameters are stored for the first time; the first condition is that the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged.
[0007] In one embodiment of the present invention, the method further includes:
[0008] Under the second condition, a discharge instruction is generated so that the motor controller controls the energy storage element to discharge based on the discharge instruction; the second condition is: completing the first storage of the vehicle state parameter;
[0009] When the voltage on the DC bus drops below a preset voltage threshold, the vehicle state parameter is stored for a second time.
[0010] In one embodiment of the present invention, the vehicle status parameter includes at least one of the following: remaining mileage, vehicle power consumption, remaining battery power, and remaining fuel.
[0011] In one embodiment of the present invention, the motor controller controls the energy storage element to discharge based on the discharge instruction, including:
[0012] The discharge instruction is sent to the motor controller, and the motor controller controls the energy storage element to release electricity to the motor winding based on the discharge instruction, so that the motor winding generates heat.
[0013] In one embodiment of the present invention, the method further includes: during the discharge process of the energy storage element, detecting the voltage on the DC bus, and when the voltage on the DC bus is less than a set voltage threshold, sending a stop discharge instruction to the motor controller, so as to control the energy storage element to stop releasing electricity based on the stop discharge instruction through the motor controller.
[0014] The present invention provides a data storage device, the device comprising:
[0015] A first instruction generating module, configured to generate a high-voltage disconnection instruction in response to a high-voltage disconnection request, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to disconnect;
[0016] The storage module is used to store the vehicle status parameters for the first time under a first condition; the first condition is that the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged.
[0017] In one embodiment of the present invention, the device further includes:
[0018] A second instruction generating module is used to generate a discharge instruction under a second condition, so that the motor controller controls the energy storage element to discharge based on the discharge instruction; the second condition is: completing the first storage of the vehicle state parameter;
[0019] The storage module is also used to store the vehicle status parameter for a second time when the voltage on the DC bus drops below a preset voltage threshold.
[0020] In one embodiment of the present invention, the second instruction generation module sends the discharge instruction to the motor controller, and the motor controller controls the energy storage element to release electricity to the motor winding based on the discharge instruction, so that the motor winding generates heat.
[0021] The present invention provides an electronic device, comprising:
[0022] one or more processors;
[0023] The storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the steps of the above-mentioned data storage method.
[0024] The present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the steps of the above-mentioned data storage method.
[0025] Beneficial effects of the present invention:
[0026] A data storage method in the present invention includes: responding to a high-voltage disconnection request, generating a high-voltage disconnection instruction, the high-voltage disconnection instruction is used to indicate that the high-voltage circuit is disconnected; under a first condition, storing the vehicle state parameters for the first time; the first condition is: the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged. The method of the present invention stores the vehicle state parameters once after the high voltage of the whole vehicle is disconnected and before the motor actively discharges. This method can effectively avoid the storage unreliability problem caused by the unreliable connection of the 12V battery, and at the same time, compared with the real-time storage solution, it can greatly improve the life of the storage medium.
[0027] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0029] Figure 1 is a schematic diagram of an exemplary data storage method implementation environment of the present application;
[0030] Figure 2 is a flow chart of a data storage method shown in an exemplary embodiment of the present application;
[0031] Figure 3 is a flow chart of a data storage device shown in an exemplary embodiment of the present application;
[0032] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0033] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0034] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0035] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0036] The electric vehicle has the function of converting high-voltage DC electricity into 12V low voltage through an inverter so as to provide low-voltage power supply for various controllers and electrical equipment. According to the characteristics of pure electric vehicles, the vehicle cannot continue to drive after the high voltage is turned off, but because the motor controller has a large capacitor, before the motor is actively discharged, the residual power in the capacitor can still support the inverter to work and output 12V power supply for the controller to work. After the high voltage of the whole vehicle of the present invention is disconnected, the EEPROM data of the whole vehicle controller is stored once before the motor is actively discharged. After the storage is successful, the motor is controlled to be actively discharged, and storage is performed again after the controller meets the sleep condition. After the storage is completed, the controller is put into sleep.
[0037] Figure 1 is a schematic diagram of an exemplary data storage method implementation environment of the present application. Figure 1, the implementation environment includes a terminal device 101 and a server 102, and the terminal device 101 and the server 102 communicate with each other through a wired or wireless network. The terminal device can respond to a high-voltage disconnection request and generate a high-voltage disconnection instruction, and the high-voltage disconnection instruction is used to indicate that the high-voltage circuit is disconnected; under a first condition, the vehicle state parameters are stored for the first time; the first condition is: the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged. The method of the present invention stores the vehicle state parameters once after the high voltage of the whole vehicle is disconnected and before the motor is actively discharged. This method can effectively avoid the problem of unreliable storage caused by unreliable connection of the 12V battery, and at the same time, compared with the real-time storage solution, it can greatly improve the life of the storage medium.
[0038] It should be understood that Figure 1 The number of terminal devices 101 and servers 102 in the embodiment is only for illustration. Any number of terminal devices 101 and servers 102 may be provided according to actual needs.
[0039] The terminal device 101 can communicate with the server 102 through a wired or wireless network via a wireless network such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), or 5G (fifth generation mobile information technology).
[0040] The embodiments of the present application respectively propose a data storage method, a data storage device, an electronic device, and a computer-readable storage medium, and these embodiments will be described in detail below.
[0041] Figure 2 is a block diagram of a data storage method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The method can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the method is applicable.
[0042] See also Figure 2 , Figure 2 This is a flowchart of an exemplary data storage method of the present application. The image generation method based on container service includes at least steps S210 to S220, which are described in detail as follows:
[0043] Step S210, in response to the high-voltage disconnection request, generating a high-voltage disconnection instruction, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to be disconnected;
[0044] Step S220, under a first condition, storing the vehicle state parameters for the first time; the first condition is: the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged.
[0045] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0046] The above contents are described in detail below.
[0047] In step S210, in response to the high-voltage disconnection request, a high-voltage disconnection instruction is generated, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to be disconnected;
[0048] In this embodiment, the high-voltage disconnect request is generated by the vehicle controller after detecting the key-off signal. The key-off signal can be generated by the user operating the vehicle key after parking. Specifically, after parking, the vehicle can be turned off by turning the vehicle key counterclockwise, thereby generating a high-voltage disconnect request, that is, the vehicle needs to be powered off. At this time, when the vehicle controller detects the key-off signal, it generates a high-voltage disconnect instruction, which is used to indicate that the high-voltage circuit is disconnected. That is, the high-voltage relay at the power battery end is cut off so that the power battery no longer supplies power to the DC bus.
[0049] In step S220, the vehicle state parameters are stored for the first time under the first condition; the first condition is that the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged. The vehicle state parameters include at least one of the following: remaining mileage, vehicle power consumption, remaining battery power, and remaining fuel.
[0050] When driving a new energy vehicle, the driver will estimate the driving distance based on the remaining range of the new energy vehicle, so as to choose a suitable driving route; the calculation and display of the vehicle's range is particularly important, and new energy vehicles need to calculate the current remaining range in real time and display it on the dashboard for the driver's reference. In order to accurately estimate the vehicle's range, when the vehicle is powered on, the vehicle controller needs to read the driving data such as the range corresponding to the different battery capacities (SOC) of the vehicle in the previous driving cycle; when the power is turned off, the vehicle state parameters used for the calculation of the range of the current driving cycle are stored.
[0051] In some embodiments, the vehicle status parameters are stored via EEPROM (Electrically Erasable Programmable Read Only Memory, EEPROM).
[0052] In general, new energy vehicles have the function of converting DC high voltage electricity into 12V low voltage through an inverter so as to provide low voltage power supply for each controller and electrical equipment. According to the characteristics of pure electric vehicles, when the high voltage is turned off, the high voltage relay at the power battery end will be cut off, and the power battery will no longer supply power to the DC bus, so that the vehicle cannot continue to drive, but because the motor controller has a large capacitor, and the presence of a large capacitor will cause a high voltage on the DC bus, so that when the whole vehicle is turned off, it is necessary to discharge the electric energy on the DC bus, that is, the bus discharge, so as to ensure the safe use of the vehicle. Before the motor is actively discharged, the residual power in the capacitor can still support the inverter to work, and output 12V power supply for the controller to work. Therefore, in this embodiment, the storage of vehicle state parameters is carried out after the high voltage circuit is disconnected and before the capacitor is discharged. Among them, the high voltage circuit provides high voltage electricity for new energy, so that the vehicle maintains normal function. The high voltage circuit includes a motor controller, a motor, an inverter, etc.
[0053] The method of the present invention stores the vehicle state parameters once through EEPROM after the high voltage of the whole vehicle is disconnected and before the motor is actively discharged. This method can effectively avoid the problem of unreliable EEPROM output storage caused by unreliable 12V battery connection. At the same time, compared with the EEPROM real-time storage solution, the life of the EEPROM can be greatly improved.
[0054] In one embodiment, after the vehicle state parameters are stored, the energy storage element needs to be discharged, so the method further includes: step S230 and step S240,
[0055] In step S230, under a second condition, a discharge instruction is generated so that the motor controller controls the energy storage element to discharge based on the discharge instruction; the second condition is: completing the first storage of the vehicle state parameter;
[0056] After the vehicle status parameters are stored for the first time through the EEPROM, a discharge instruction is sent to the motor controller through the vehicle controller, that is, the motor controller controls the discharge of the energy storage element (large capacitor) based on the discharge instruction.
[0057] In one embodiment, the motor controller controls the energy storage element to discharge based on the discharge instruction, including: sending the discharge instruction to the motor controller, and controlling the energy storage element to release electricity to the motor winding through the motor controller based on the discharge instruction, so that the motor winding generates heat.
[0058] Through the control of the motor controller, the power in the energy storage element is used to drive the motor winding to generate heat and discharge. Specifically, the power in the energy storage element is consumed by the heat generated by the motor winding, that is, the electrical energy is converted into heat through energy conversion; the current vector inside the motor is divided into q-axis current and d-axis current, and the two current vectors are perpendicular to each other. The q-axis current generates torque and the d-axis current generates weak magnetism. The power of the energy storage element is released to the motor winding as d-axis current through the adjustment of the motor controller and consumed by heat, and the motor does not generate torque at this time.
[0059] It should be noted that the vehicle controller can send a discharge instruction to the motor controller via the CAN bus, so that the motor controller releases the electricity in the energy storage element to the motor winding, thereby completing active discharge.
[0060] In one embodiment, before active discharge, it is necessary to determine whether the first storage of the vehicle state parameters is completed. If the storage is completed, a discharge instruction is sent. If not, the vehicle state parameters are continuously stored.
[0061] In one embodiment, the method further includes: during the discharge process of the energy storage element, detecting the voltage on the DC bus, and when the voltage on the DC bus is less than a set voltage threshold, sending a stop discharge instruction to the motor controller, so as to control the energy storage element to stop releasing electricity based on the stop discharge instruction through the motor controller.
[0062] During the process of the motor controller controlling the discharge of the energy storage element, the vehicle controller can detect the voltage on the DC bus. When the voltage on the DC bus is lower than the set voltage threshold, the vehicle controller sends a stop discharge instruction to the motor controller, thereby stopping the energy storage element from releasing electricity to the motor winding, thereby completing the active discharge of the electric motor.
[0063] In step S240, when the voltage on the DC bus drops below a preset voltage threshold, the vehicle state parameters are stored for a second time. The second storage may store static parameters of the vehicle.
[0064] In summary, a data storage method in the present invention includes: responding to a high-voltage disconnection request, generating a high-voltage disconnection instruction, the high-voltage disconnection instruction is used to indicate that the high-voltage circuit is disconnected; under a first condition, storing the vehicle state parameters for the first time; the first condition is: the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged. The method of the present invention stores the vehicle state parameters once after the high voltage of the whole vehicle is disconnected and before the motor actively discharges. This method can effectively avoid the storage unreliability problem caused by the unreliable connection of the 12V battery, and at the same time, compared with the real-time storage solution, it can greatly improve the life of the storage medium.
[0065] See also Figure 3 , Figure 3 is a block diagram of a data storage device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The device can also be applied to other exemplary implementation environments and be specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0066] like Figure 3 As shown, the present application provides a data storage device, the device comprising:
[0067] A first instruction generating module 310, for generating a high-voltage disconnection instruction in response to a high-voltage disconnection request, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to disconnect;
[0068] The storage module 320 is used to store the vehicle state parameters for the first time under a first condition; the first condition is that the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged.
[0069] In one embodiment, the device further comprises:
[0070] A second instruction generating module is used to generate a discharge instruction under a second condition, so that the motor controller controls the energy storage element to discharge based on the discharge instruction; the second condition is: completing the first storage of the vehicle state parameter;
[0071] The storage module is also used to store the vehicle status parameter for a second time when the voltage on the DC bus drops below a preset voltage threshold.
[0072] In one embodiment, the second instruction generating module sends the discharge instruction to the motor controller, and the motor controller controls the energy storage element to release electricity to the motor winding based on the discharge instruction, so that the motor winding generates heat.
[0073] It should be noted that the data storage device provided in the above embodiment and the data storage method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the data storage device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0074] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the data storage method provided in the above-mentioned embodiments.
[0075] Figure 4 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 4 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0076] like Figure 4 As shown, the computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage part to the random access memory (RAM), such as executing the method described in the above embodiment. In the RAM, various programs and data required for system operation are also stored. The CPU, ROM and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.
[0077] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0078] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, the computer program including a computer program for executing the process. Figure 3A computer program for the method shown. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 409, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), various functions defined in the system of the present application are executed.
[0079] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0080] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0081] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0082] Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the data storage method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0083] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the data storage method provided in each of the above embodiments.
[0084] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A data storage method, characterized in that: The method comprises: In response to the high-voltage disconnection request, a high-voltage disconnection instruction is generated, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to be disconnected; Under a first condition, the vehicle state parameter is stored for the first time; the first condition is that the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged; The method further comprises: Under the second condition, a discharge instruction is generated so that the motor controller controls the energy storage element to discharge based on the discharge instruction; the second condition is: completing the first storage of the vehicle state parameter; When the voltage on the DC bus drops below a preset voltage threshold, the vehicle state parameter is stored for a second time.
2. The data storage method according to claim 1, characterized in that: The vehicle status parameter includes at least one of the following: remaining mileage, vehicle power consumption, battery remaining power, and remaining fuel.
3. The data storage method according to claim 1, characterized in that: The method enables the motor controller to control the energy storage element to discharge based on the discharge instruction, including: The discharge instruction is sent to the motor controller, and the motor controller controls the energy storage element to release electricity to the motor winding based on the discharge instruction, so that the motor winding generates heat.
4. The data storage method according to claim 1 or 3, characterized in that: The method also includes: during the discharge process of the energy storage element, detecting the voltage on the DC bus, and when the voltage on the DC bus is less than a set voltage threshold, sending a stop discharge instruction to the motor controller, so as to control the energy storage element to stop releasing electricity based on the stop discharge instruction through the motor controller.
5. A data storage device, characterized in that: The device comprises: A first instruction generating module, configured to generate a high-voltage disconnection instruction in response to a high-voltage disconnection request, wherein the high-voltage disconnection instruction is used to instruct the high-voltage circuit to disconnect; A storage module is used to store the vehicle state parameters for the first time under a first condition; the first condition is that the high-voltage circuit is disconnected and the energy storage element connected to the motor controller is not discharged; The device also includes: A second instruction generating module is used to generate a discharge instruction under a second condition, so that the motor controller controls the energy storage element to discharge based on the discharge instruction; the second condition is: completing the first storage of the vehicle state parameter; The storage module is also used to store the vehicle status parameter for a second time when the voltage on the DC bus drops below a preset voltage threshold.
6. The data storage device according to claim 5, characterized in that: The second instruction generating module sends the discharge instruction to the motor controller, and the motor controller controls the energy storage element to release electricity to the motor winding based on the discharge instruction, so that the motor winding generates heat.
7. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the steps of the data storage method according to any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the steps of the data storage method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Sleep control method and device of battery management system, equipment and storage medium
CN115107563A