CN110609697A - Upgrading method and device of battery management system and battery management system - Google Patents

Upgrading method and device of battery management system and battery management system Download PDF

Info

Publication number
CN110609697A
CN110609697A CN201910883889.5A CN201910883889A CN110609697A CN 110609697 A CN110609697 A CN 110609697A CN 201910883889 A CN201910883889 A CN 201910883889A CN 110609697 A CN110609697 A CN 110609697A
Authority
CN
China
Prior art keywords
csc
controller
controllers
upgrading
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910883889.5A
Other languages
Chinese (zh)
Inventor
宋木森
朱列铭
王端
车彦锋
王耀轩
丁旭
施赛健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yuancheng Automobile Technology Co Ltd
Original Assignee
Shanghai Yuancheng Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yuancheng Automobile Technology Co Ltd filed Critical Shanghai Yuancheng Automobile Technology Co Ltd
Priority to CN201910883889.5A priority Critical patent/CN110609697A/en
Publication of CN110609697A publication Critical patent/CN110609697A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides an upgrading method and device of a battery management system and the battery management system, relating to the technical field of communication, wherein the battery management system comprises a BMU main controller and a plurality of CSC sub-controllers connected with the BMU main controller, the method is executed by the BMU main controller, and the method comprises the following steps: and if an upgrading instruction is received, controlling each CSC sub-controller to enter a reset state, and if upgrading data is received, forwarding the upgrading data to each CSC sub-controller in the reset state so that the CSC sub-controllers execute upgrading operation based on the upgrading data. Therefore, the invention can simultaneously upgrade all CSC controllers, thereby effectively improving the working efficiency.

Description

Upgrading method and device of battery management system and battery management system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for upgrading a battery management system, and a battery management system.
Background
With the rapid development of electric vehicles, in order to improve the performance of the electric vehicles, the battery management system generally needs to be upgraded frequently. The Battery Management System (BMS) of the electric automobile comprises a main controller (BMU) and a plurality of sub-controllers (Cell supervisory Control, CSC), wherein the CSC sub-controllers are used for collecting the voltage of each single Battery in a Battery pack and the temperature in the Battery pack, when the Battery Management System needs to be upgraded, the plurality of CSC sub-controllers need to be upgraded one by one, so that the next CSC sub-controller can be upgraded after the upgrading of one CSC sub-controller is completed, and the mode leads to the upgrading of the CSC sub-controllers, and the working efficiency is low.
Disclosure of Invention
In view of this, the present invention provides an upgrading method and apparatus for a battery management system, and a battery management system, which can effectively improve the upgrading mode of the existing battery management system, and effectively improve the working efficiency.
In a first aspect, an embodiment of the present invention provides a method for upgrading a battery management system, where the battery management system includes a BMU main controller and multiple CSC sub-controllers connected to the BMU main controller, and the method is performed by the BMU main controller, and the method includes: if an upgrading instruction is received, controlling each CSC controller to enter a reset state; if the upgrade data is received, the upgrade data is forwarded to each CSC sub-controller in the reset state, so that the CSC sub-controller performs an upgrade operation based on the upgrade data.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where a BMU master controller is connected to an upper computer; the upgrading instruction is issued to the BMU main controller by the upper computer; the step of controlling each CSC controller to enter a reset state, comprising: entering a reset state; an upgrade instruction is forwarded to each CSC controller to cause each CSC controller to enter a reset state.
With reference to the first aspect, embodiments of the present invention provide a second possible implementation of the first aspect, wherein each CSC controller is addressed separately if re-energized, resulting in an address number for each CSC controller.
With reference to the second possible implementation manner of the first aspect, the example of the present invention provides a third possible implementation manner of the first aspect, where multiple CSC controllers are connected in series, and the step of addressing each CSC controller includes: sending a PWM signal with a preset duty ratio to a first CSC controller connected in series, so that the first CSC controller sends a new PWM signal to a next CSC controller based on the PWM signal until each CSC controller receives the PWM signal transmitted by the previous CSC controller; the duty ratios of the PWM signals corresponding to the two adjacent CSC controllers are separated by a preset value; the address number for each CSC controller is determined based on the duty cycle of the corresponding PWM signal for each CSC controller.
With reference to the third possible implementation manner of the first aspect, the example of the present invention provides a fourth possible implementation manner of the first aspect, wherein the step of determining the address number of each CSC controller based on the duty ratio of the PWM signal corresponding to each CSC controller includes: for each CSC controller, performing difference operation on the duty ratio of the PWM signal corresponding to the CSC controller and a preset duty ratio to obtain a duty ratio difference value; and dividing the duty difference value by a preset value, and taking the division result as the address code of the CSC controller.
With reference to the third possible implementation manner of the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the BMU main controller is further connected to a decoder, and the step of addressing each CSC controller separately further includes: obtaining a gating output result of the decoder; the gated output result comprises a binary character string output by the decoder; and carrying out address numbering on each CSC controller according to the gating output result corresponding to the same level in the order of magnitude.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method for upgrading a battery management system provided in any one of the first to fifth possible implementation manners of the first aspect is applied to an electric vehicle.
In a second aspect, an embodiment of the present invention provides an apparatus for upgrading a battery management system, where the apparatus includes: the reset control module is used for controlling each CSC controller to enter a reset state if an upgrading instruction is received; and the upgrading control module is used for forwarding the upgrading data to each CSC sub-controller in the reset state if the upgrading data is received, so that the CSC sub-controllers execute upgrading operation based on the upgrading data.
In a third aspect, embodiments of the present invention provide a battery management system, including a BMU main controller and a plurality of CSC controllers connected to the BMU main controller, the BMU main controller being configured to perform the steps of the method for upgrading the battery management system according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores a program, and the program, when executed by a processor, performs the steps of the method for upgrading a battery management system according to any one of the first aspect.
The embodiment of the invention provides an upgrading method of a battery management system, wherein the battery management system comprises a BMU main controller and a plurality of CSC sub-controllers connected with the BMU main controller, the method is executed by the BMU main controller, if an upgrading instruction is received, each CSC sub-controller is controlled to enter a reset state, and if upgrading data is received, the upgrading data is forwarded to each CSC sub-controller in the reset state, so that the CSC sub-controllers execute upgrading operation based on the upgrading data. The BMU main controller controls each CSC sub-controller to enter the reset state when receiving the upgrading instruction, so that all CSC sub-controllers can be prepared for upgrading at the same time, and the upgrading data is forwarded to each CSC sub-controller in the reset state after receiving the upgrading data, so that the CSC sub-controllers execute upgrading operation based on the upgrading data, and all CSC sub-controllers can be subjected to upgrading operation at the same time. Therefore, the embodiment of the invention can simultaneously upgrade all CSC controllers, thereby effectively improving the working efficiency.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a battery management system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an upgrading method for a battery management system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a specific method for upgrading a battery management system according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another method for upgrading a battery management system according to an embodiment of the present invention;
fig. 5 is a schematic diagram of CSC controller addressing of a battery management system provided by an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an upgrading apparatus of a battery management system according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In view of the low efficiency of the existing upgrading mode of the battery management system, to improve the problem, the embodiment of the invention provides an upgrading method and device of the battery management system and the battery management system, which can effectively improve the working efficiency by simultaneously upgrading the CSC controllers. For ease of understanding, the present embodiment is further described below.
Referring to the schematic diagram of the battery management system shown in fig. 1, the battery management system includes a BMU main controller and a plurality of CSC controllers connected to the BMU main controller, and in practical applications, both the BMU main controller and the CSC controllers mentioned in this embodiment may be implemented in the form of chips. The BMU master controller is configured to execute an upgrade method of a battery management system, and referring to a flowchart of the upgrade method of the battery management system shown in fig. 2, the upgrade method mainly includes the following steps S202 to S204:
step S202: and if an upgrading instruction is received, controlling each CSC sub-controller to enter a reset state.
In a specific implementation mode, the BMU main controller is connected with an upper computer, when the battery management system meets an upgrading condition, the BMU main controller enters a reset state after receiving an upgrading request instruction sent by the upper computer, then forwards the received upgrading request instruction to each CSC controller, and the CSC controllers also enter the reset state after receiving an upgrading request signal.
Step S204: if the upgrade data is received, the upgrade data is forwarded to each CSC sub-controller in the reset state, so that the CSC sub-controller performs an upgrade operation based on the upgrade data.
In a specific embodiment, after receiving the upgrade data sent by the upper computer, the BMU main controller forwards the upgrade data to each CSC sub-controller in the reset state, and each CSC sub-controller writes the upgrade data forwarded by the BMU controller and causes each CSC sub-controller to perform an upgrade operation based on the upgrade data.
According to the upgrading method of the battery management system provided by the embodiment of the invention, when the BMU main controller receives an upgrading instruction, each CSC sub-controller is controlled to enter the reset state, and when the BMU controller receives upgrading data, the upgrading data is forwarded to each CSC sub-controller in the reset state, so that the CSC sub-controllers execute upgrading operation based on the upgrading data. Since the upgrade instructions and upgrade data are sent to each CSC controller simultaneously, all CSC controllers are upgraded simultaneously. Therefore, the embodiment of the invention can simultaneously upgrade all CSC controllers, thereby effectively improving the working efficiency.
To facilitate understanding of the foregoing embodiments, this embodiment further provides a specific application example of the method for upgrading the battery management system, and specifically, as shown in fig. 3, steps S302 to S320 are mainly illustrated:
for convenience of description, the CSC in fig. 3 is an abbreviation for the aforementioned CSC controller, and the BMU is an abbreviation for the aforementioned BMU main controller, which is the same below.
Step S302: and the upgrading condition is met.
Specifically, when the method for upgrading the battery management system is applied to the electric vehicle, when a user confirms that the battery management system needs to be upgraded, the upper computer confirms that the battery management system meets the upgrading condition.
Step S304: the upper computer requests to upgrade the CSC.
Specifically, when the battery management system meets the upgrade condition, the upper computer requests to upgrade the CSC controller in the battery management system, and first sends an upgrade request (similar to the upgrade instruction in the foregoing embodiment) to the BMU main controller.
Step S306: and the BMU enters a reset state and runs a BootLoader program. And the BMU master controller initializes by running a BootLoader program.
Step S308: the BMU forwards the reprogramming request to the CSC.
Step S310: the CSC enters a reset state and runs a BootLoader program.
Specifically, when receiving an upgrade request forwarded by the BMU main controller, the CSC sub-controller also operates a BootLoader program after entering a reset state, and initializes the BootLoader program. After each CSC sub-controller is initialized, information which is initialized is returned to the upper computer through the BMU main controller, and the BMU controller is used as a router to transmit the information in the process.
Step S312: and the upper computer sends reprogramming data to the BMU.
Step S314: the BMU forwards the reprogramming data to the CSC.
Step S316: the CSC writes the reprogramming data. After receiving the reprogramming data (like the upgrade data in the foregoing embodiment), each CSC sub-controller writes the reprogramming data, and transmits information that the reprogramming data is successfully written to the BMU main controller.
Step S318: the BMU forwards the information that the CSC successfully writes the reprogramming data. And after receiving the information which is sent by the CSC sub-controller and successfully written in the reprogramming data, the BMU main controller forwards the information to the upper computer.
Step S320: and the upper computer receives the information that the CSC successfully writes the reprogramming data. And the upper computer receives the information that the CSC sub-controllers successfully write in the reprogramming data, and waits for the upgrading of the CSC sub-controllers until all the CSC sub-controllers are completely upgraded.
In the upgrading process, the BMU main controller acts as a router between the upper computer and the CSC sub-controllers to realize data exchange, when a plurality of CSCs on an internal network CAN of the electric automobile are upgraded, the upgrading method of the battery management system adopted by the embodiment has the advantages that the BMU main controller acts as a router between the upper computer and the CSC sub-controllers, each CSC sub-controller is not required to be upgraded one by one through the internal network CAN, and a plurality of CSCs CAN be upgraded simultaneously directly through the whole automobile CAN network.
An embodiment of the present invention provides a specific implementation manner, referring to a flow diagram of another method for upgrading a battery management system shown in fig. 4, where the method mainly includes the following steps S402 to S408:
step S402, if an upgrading instruction is received, entering a reset state.
Step S404, an upgrade instruction is forwarded to each CSC controller to cause each CSC controller to enter a reset state.
Specifically, each CSC controller enters a reset state after receiving an upgrade instruction, runs a BootLoader program to initialize and prepares for upgrading.
Step S406, if the upgrade data is received, forwards the upgrade data to each CSC sub-controller in the reset state, so that the CSC sub-controller performs an upgrade operation based on the upgrade data.
And step S408, if the power is supplied again, addressing each CSC controller respectively to obtain the address number of each CSC controller. In practical application, the BMU main controller and the CSC sub-controller may select a function with Pulse Width Modulation (PWM), and input and output channels of PWM signals are carried on peripheral circuits of the BMU main controller and the CSC sub-controller. The method for addressing each CSC controller may be, for example, that after each CSC controller has been upgraded, the battery management system is powered back on, taking the battery management system as an example of a vehicle, the power back on usually means that the BMU main controller and the CSC controller are initialized after the BMU main controller and each CSC controller are powered back on after the vehicle is powered down and powered up again, and then the BMU main controller and each CSC controller are powered back on and initialized. After initialization, each of the CSC controllers connected in series in sequence is addressed separately. If the CSC controllers are powered on again, each CSC controller is addressed respectively, the address number of each CSC controller can be obtained without upgrading operation, and each CSC controller is addressed and the address number of each CSC controller is obtained as long as the electric automobile is powered on again.
In a specific embodiment, each CSC controller is addressed, and a PWM signal with a preset duty ratio is first sent to a first CSC controller connected in series, so that the first CSC controller sends a new PWM signal to a next CSC controller based on the PWM signal until each CSC controller receives the PWM signal transmitted by the previous CSC controller, wherein the duty ratios of the PWM signals corresponding to two adjacent CSC controllers are separated by a preset value. For each CSC controller, performing difference operation on the duty ratio of the PWM signal corresponding to the CSC controller and a preset duty ratio to obtain a duty ratio difference value; and dividing the duty difference value by a preset value, and taking the division result as the address code of the CSC controller. For example, referring to the schematic diagram of CSC controller addressing of a battery management system shown in fig. 5, when the preset duty cycle of the preset PWM signal is 20%, the BMU main controller sends the PWM signal to a CSC controller nearest to the BMU main controller through a physical signal line, the CSC controller increases the duty cycle of the PWM signal by 10%, obtains a PWM signal with a duty cycle of 30%, and sends the PWM signal to the next CSC controller, and the CSC controller increases the duty cycle by 10% in the same manner, obtains a PWM signal with a duty cycle of 40%, and continues to send a new PWM signal with a duty cycle to the next CSC controller until each CSC controller receives the PWM signal sent by the previous CSC controller. Since the preset duty cycle is known in advance to be 20%, the increased duty cycle of each CSC controller is 10%, so that when the CSC controller receives a duty cycle, it can obtain its own address number, expressed as a mathematical formula: 20% + N × 10%, where N is the address number of the CSC controller.
In another specific implementation, a decoder is connected to the BMU main controller to obtain a gated output result of the decoder; the gated output result comprises a binary character string output by the decoder; and carrying out address numbering on each CSC controller according to the gating output result corresponding to the same level in the order of magnitude. Taking the three-eight decoder as an example, the results with the output high are sorted according to the truth table of the three-eight decoder to determine the address number of the CSC controller, such as defining the address number of the CSC controller to be 1 when the output is 00000001 and defining the address number of the CSC controller to be 2 when the output is 00000010, until all the CSC controllers finish addressing. Because after the power-on every time, the BMU can address the CSC sub-controllers in the period of 10ms, when the CSC sub-controllers have faults, the CSC sub-controllers with the address numbers marked before need not to be selected, and only the faulty CSC sub-controllers need to be replaced.
Preferably, the address numbers obtained after the CSC controllers are addressed are stored, the address numbers are obtained after all the CSC controllers are addressed, the address numbers are stored in the RAM, and the storage space is released after the power supply is turned off every time. Therefore, the CSC controller is addressed after being electrified every time, the address number is stored, the internal memory is released after the power supply is turned off, the internal memory space is saved, the stability is improved, and the risk caused by the failure of the storage is avoided.
In the upgrade method of the battery management system provided in this embodiment, first, when receiving an upgrade instruction, the CSC controller enters a reset state and forwards the upgrade instruction to each CSC controller, so that each CSC controller enters the reset state. When the upgrade data is received, the upgrade data is forwarded to each CSC sub-controller in a reset state, so that the CSC sub-controller performs an upgrade operation based on the upgrade data. And if the power is re-electrified, addressing each CSC controller respectively to obtain the address number of each CSC controller. For the upgrading method of the battery management system provided by the embodiment, the upgrading instruction is sent to each CSC sub-controller simultaneously, so that each CSC sub-controller is prepared for upgrading, the upgrading data is sent to each CSC sub-controller simultaneously, the CSC sub-controllers can be upgraded simultaneously, and after the CSC sub-controllers are powered on again, each CSC sub-controller is addressed, the CSC sub-controllers with the address numbers marked before are not required to be selected, only the faulty CSC sub-controllers are required to be replaced, and the working efficiency is effectively improved.
The embodiment of the present invention further provides a battery management system upgrading apparatus, referring to a schematic structural diagram of the battery management system upgrading apparatus shown in fig. 4, where the apparatus includes the following parts:
a reset control module 602, configured to control each CSC controller to enter a reset state if an upgrade instruction is received;
and an upgrade control module 604, configured to forward the upgrade data to each CSC sub-controller in the reset state if the upgrade data is received, so that the CSC sub-controller performs an upgrade operation based on the upgrade data.
According to the upgrading device of the battery management system, provided by the embodiment of the invention, each CSC sub-controller is controlled to enter the reset state if an upgrading instruction is received, and the upgrading data is forwarded to each CSC sub-controller in the reset state if the upgrading data is received, so that the CSC sub-controllers execute upgrading operation based on the upgrading data. By controlling each CSC sub-controller to enter the reset state and sending the upgrading data to each CSC sub-controller in the reset state, the CSC sub-controllers execute upgrading operation based on the upgrading data, all the CSC sub-controllers are upgraded simultaneously, each CSC sub-controller does not need to be upgraded one by one, and the working efficiency is effectively improved.
Furthermore, the apparatus may further include: a CSC controller addressing module for addressing each CSC controller if re-energized.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
Further, an embodiment of the present invention provides a storage medium, including: the storage medium has stored thereon a program that, when executed by the processor, performs the steps of the method for upgrading a battery management system of any of the above.
The method and the apparatus for upgrading a battery management system and the computer program product of the battery management system provided in the embodiments of the present invention include a storage medium storing a nonvolatile program code executable by a processor, where the storage medium stores a computer program, and the computer program is executed by the processor to perform the method in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system described above may refer to the corresponding process in the foregoing embodiments, and is not described herein again.
The computer program product of the storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of upgrading a battery management system, the battery management system comprising a BMU master controller and a plurality of CSC sub-controllers coupled to the BMU master controller, the method being performed by the BMU master controller, the method comprising:
if an upgrading instruction is received, controlling each CSC sub-controller to enter a reset state;
if upgrade data is received, forwarding the upgrade data to each of the CSC sub-controllers in a reset state to cause the CSC sub-controllers to perform an upgrade operation based on the upgrade data.
2. The method of claim 1, wherein the BMU master controller is connected to an upper computer; the upgrading instruction is issued to the BMU main controller by the upper computer;
the step of controlling each of the CSC controllers to enter a reset state comprises:
entering a reset state;
forwarding the upgrade instructions to each of the CSC controllers to cause each of the CSC controllers to enter a reset state.
3. The method of claim 1, further comprising:
and if the power is re-electrified, addressing each CSC controller respectively to obtain the address number of each CSC controller.
4. A method according to claim 3 wherein a plurality of the CSC controllers are serially connected, the step of addressing each of the CSC controllers comprising:
sending a PWM signal with a preset duty ratio to a first CSC controller connected in series, so that the first CSC controller sends a new PWM signal to a next CSC controller based on the PWM signal until each CSC controller receives the PWM signal transmitted by the previous CSC controller; the distance between the duty ratios of the PWM signals corresponding to the two adjacent CSC controllers is a preset value;
and determining the address number of each CSC controller based on the duty ratio of the PWM signal corresponding to each CSC controller.
5. The method of claim 4 wherein the step of determining an address number for each of the CSC controllers based on a duty cycle of the PWM signal for each of the CSC controllers comprises:
for each CSC controller, performing difference operation on the duty ratio of the PWM signal corresponding to the CSC controller and the preset duty ratio to obtain a duty ratio difference value; and dividing the duty difference value by the preset value, and taking the division result as the address code of the CSC controller.
6. The method of claim 4 wherein the BMU master controller is further coupled to a decoder, and wherein the step of separately addressing each of the CSC controllers further comprises:
obtaining a gating output result of the decoder; wherein the gated output result comprises a binary string output by the decoder;
and carrying out address numbering on each CSC controller according to the gating output result corresponding to the same level according to the size sequence.
7. The method according to any one of claims 1 to 6, wherein the method is applied to an electric vehicle.
8. A battery management system upgrade apparatus, the apparatus comprising:
the reset control module is used for controlling each CSC controller to enter a reset state if an upgrading instruction is received;
and the upgrading control module is used for forwarding upgrading data to each CSC sub-controller in a reset state if the upgrading data is received so as to enable the CSC sub-controllers to execute upgrading operation based on the upgrading data.
9. A battery management system comprising a BMU master controller and a plurality of CSC controllers connected to the BMU master controller, the BMU master controller being configured to perform the method of any one of claims 1 to 7.
10. A storage medium, comprising: the storage medium has stored thereon a program, characterized in that the program, when executed by a processor, performs the steps of the method for upgrading a battery management system according to any of claims 1 to 7.
CN201910883889.5A 2019-09-18 2019-09-18 Upgrading method and device of battery management system and battery management system Pending CN110609697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910883889.5A CN110609697A (en) 2019-09-18 2019-09-18 Upgrading method and device of battery management system and battery management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910883889.5A CN110609697A (en) 2019-09-18 2019-09-18 Upgrading method and device of battery management system and battery management system

Publications (1)

Publication Number Publication Date
CN110609697A true CN110609697A (en) 2019-12-24

Family

ID=68891342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910883889.5A Pending CN110609697A (en) 2019-09-18 2019-09-18 Upgrading method and device of battery management system and battery management system

Country Status (1)

Country Link
CN (1) CN110609697A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279807A (en) * 2010-06-09 2011-12-14 李尔公司 Method and system of updating shared memory
CN106450518A (en) * 2016-10-11 2017-02-22 北京长城华冠汽车科技股份有限公司 Automatic addressing method and device of electric vehicle battery management system
CN106602623A (en) * 2015-10-16 2017-04-26 北汽福田汽车股份有限公司 Battery management system and updating method thereof, electric vehicle control system and electric vehicle
CN106897088A (en) * 2017-01-19 2017-06-27 深圳市沃特玛电池有限公司 Software update system and method for upgrading software
CN107508930A (en) * 2017-09-15 2017-12-22 上海炙云新能源科技有限公司 ID distribution methods and system
CN109753044A (en) * 2017-11-07 2019-05-14 北京长城华冠汽车科技股份有限公司 Controller of battery management system upgrade method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279807A (en) * 2010-06-09 2011-12-14 李尔公司 Method and system of updating shared memory
CN106602623A (en) * 2015-10-16 2017-04-26 北汽福田汽车股份有限公司 Battery management system and updating method thereof, electric vehicle control system and electric vehicle
CN106450518A (en) * 2016-10-11 2017-02-22 北京长城华冠汽车科技股份有限公司 Automatic addressing method and device of electric vehicle battery management system
CN106897088A (en) * 2017-01-19 2017-06-27 深圳市沃特玛电池有限公司 Software update system and method for upgrading software
CN107508930A (en) * 2017-09-15 2017-12-22 上海炙云新能源科技有限公司 ID distribution methods and system
CN109753044A (en) * 2017-11-07 2019-05-14 北京长城华冠汽车科技股份有限公司 Controller of battery management system upgrade method and device

Similar Documents

Publication Publication Date Title
US10144304B2 (en) Power management in electric vehicles
CN104750510A (en) Chip start method and multi-core processor chip
CN105914806A (en) Battery pack, battery charging station, and charging method
CN103793238A (en) Rack and method for simultaneously updating multiple basic input output systems thereof
CN101361043A (en) Method for booting a host device from an mmc/sd device, a host device bootable from an mmc/sd device and an mmc/sd device method a host device may booted from
CN103559053A (en) Board system and FPGA (Field Programmable Logic Array) online update method of communication interface cards
US9336022B2 (en) Universal serial bus (USB) device and a USB system including the same
CN102842939A (en) Battery management system and battery management method
US20230097087A1 (en) Image detection method based on neural network model, electronic device, and storage medium
CN107765585A (en) The upgrade method of digital power, apparatus and system
CN105095101A (en) Method and device for writing data in memorizer and intelligent card
CN113778739A (en) System repair method, system, equipment and storage medium of all-in-one machine
CN110609697A (en) Upgrading method and device of battery management system and battery management system
CN110908706B (en) Multi-version software management method
CN112596447A (en) Method and device for determining length of ECU (electronic control Unit) flash data, electronic equipment and medium
CN110687910A (en) Equipment control method and device, storage medium and lower computer
CN108574947A (en) A kind of Internet of Things test method and device
CN113986357B (en) Method, apparatus and storage medium for establishing communication link
CN105159714A (en) PMIC initialization method and electronic equipment
CN112162785B (en) BMS slave board sleep control method and BMS
CN116938710A (en) Terminal firmware upgrading method, device, equipment and storage medium
CN110096366B (en) Configuration method and device of heterogeneous memory system and server
CN114675926A (en) Virtual machine attribute changing method and device, storage medium and electronic device
CN104956348A (en) SATA initiator addressing and storage device slicing
CN111123780B (en) Number configuration method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191224