CN105959166A - Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal - Google Patents

Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal Download PDF

Info

Publication number
CN105959166A
CN105959166A CN201610560999.4A CN201610560999A CN105959166A CN 105959166 A CN105959166 A CN 105959166A CN 201610560999 A CN201610560999 A CN 201610560999A CN 105959166 A CN105959166 A CN 105959166A
Authority
CN
China
Prior art keywords
bms
car
mounted terminal
main frame
host
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
CN201610560999.4A
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.)
Shenzhen OptimumNano Energy Co Ltd
Original Assignee
Shenzhen OptimumNano Energy 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 Shenzhen OptimumNano Energy Co Ltd filed Critical Shenzhen OptimumNano Energy Co Ltd
Priority to CN201610560999.4A priority Critical patent/CN105959166A/en
Publication of CN105959166A publication Critical patent/CN105959166A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for upgrading BMS (Battery Manager System) host firmware by use of a 3G/GPS vehicular terminal. The method comprises the steps of S1, establishing connection between the vehicular terminal and a server platform, and transmitting BMS host firmware to a BMS host; S2, receiving a data file packet required for upgrade by the BMS host firmware; and S3, upgrading the BMS host firmware according to the data file packet. According to the method, through adoption of the 3G+GPS vehicular terminal accessing a BMS system, remote upgrade over the air is realized through a server; the extra overhead of sending professionals to carry out resident plant upgrade is avoided; and the late maintenance pre-upgrade of the product is greatly facilitated.

Description

A kind of method using 3G/GPS car-mounted terminal upgrading BMS host firmware
Technical field
The invention belongs to new-energy automobile field, use 3G/GPS car-mounted terminal liter more particularly, to one The method of level BMS host firmware.
Background technology
Owing to the market demand of developing rapidly of new-energy automobile industry, especially pure electric vehicle increased with day. Battery management system is more and more higher as the key control unit market penetration rate of pure electric vehicle.At present due to The inside CAN communications protocol of market Shang Ge electric automobile manufacturer is different.And BMS main frame The continuous change of control strategy.So the firmware program of BMS main frame it is frequently necessary to burning again.Manufacturer is not Must not accrediting assistant director goes to client there to stay field more new procedures, and later maintenance cost is bigger.
3G+GPS terminal self is integrated with 3G module and GPS module.3G network moves logical as the third generation News technology.Support high speed data transfer.3G network downstream rate peak value is theoretical up to 3.6Mbit/s, upper scanning frequency Degree peak value is also up to 384kbit/s.And the 3G network development of the nearlyest 10 years, current coverage rate is already More than 95%.Just can realize carrying out data interaction with remote server after 3G module dials up on the telephone.With Time GPS module can be with real-time tracking travel condition of vehicle and address location.Do not spend on-the-spot it is known that pure Electric motor car is currently if appropriate for upgrading.
Existing host firmware upgrading mode be the most all engine builder send engineer carry be mounted with upper The notebook computer of machine replication tool and firmware go to need the stationary point, automobile operator there of more new procedures by Platform equipment passes through cd-rom recorder burning.Like this.People sent to work abroad needs the expense that telephone expenses are extra, and personnel Come and go the time spent also different because of the distance of region.
Pure electric vehicle is equipped with BMS (Battery Manager System battery management system) the most substantially Manage Cell Power Plant.Owing in current domestic each manufacturer CAN communication, fidonetFido is different, identical The adaptive different manufacturer of the BMS main frame of model needs the firmware of burning different editions.And due to agreement not Disconnected renewal needs to update firmware with product up-gradation.Curstomer's site is gone to update firmware so needing to accredit assistant director.
Summary of the invention
For the defect of prior art, it is an object of the invention to provide a kind of use 3G/GPS car-mounted terminal liter The method of level BMS host firmware, it is intended to solve to accredit assistant director due to needs in prior art and go curstomer's site more New firmware causes the problem that liter stage efficiency is low, speed is slow, cost is high.
The invention provides a kind of method using 3G/GPS car-mounted terminal upgrading BMS host firmware, including Following step:
S1: car-mounted terminal is set up with server platform and is connected, and transmits BMS host firmware to BMS main frame;
S2:BMS main frame receives the data file bag needed for upgrading;
S3: BMS host firmware is upgraded according to data file bag.
Further, step S1 particularly as follows:
S11: car-mounted terminal is connected with server platform foundation by PPP dialing;
S12: server platform initiates the transmission request of BMS firmware to car-mounted terminal;
The response BMS firmware transmission request of S13: car-mounted terminal;
S14: server platform is to car-mounted terminal divided stator frame BMS host firmware;
S15: car-mounted terminal initiates upgrade request to BMS main frame;
S16:BMS response of host upgrade request;
S17: car-mounted terminal transmits BMS host firmware to BMS main frame.
Further, car-mounted terminal carries out PPP by 3G module and dials up on the telephone, and builds with server platform Vertical TCP connects.
Further, the data received are stored in local folders by car-mounted terminal.
Further, step S2 particularly as follows:
S21: after receiving " upgrading terminals " message bag, extracts message packet data and obtains total subpackage number;S22: Accept subpackage message;
S23: write local file also will connect bag number from increasing 1;
S24: judge currently to connect whether bag number is equal to total subpackage number, the most then enter step S25, if it is not, Then it is back to step S22;
S25: judge that BBC verification is the most correct, the most then complete file transmission;If it is not, then send liter Level failed message bag.
Further, step S3 particularly as follows:
S31: car-mounted terminal sends PING order to BMS main frame, and whether detection main frame is in upgrade status;
S32:BMS response of host PING order;
S33: car-mounted terminal to BMS main frame send download order, distribution main frame upgrading initial address with Length;
S34:BMS response of host download order;
S35: car-mounted terminal sends DATA order to BMS main frame, and each 8Kbyte of firmware subpackage is sent to BMS main frame;
S36:BMS response of host DATA order;
S37: car-mounted terminal sends RUN command to BMS main frame, allows main frame enter upgrade job;
S38:BMS response of host RUN command.
Further, in step S31, the time-out time sending PING order is 5s, if BMS master Machine dont answer, the most repeatedly sends PING order.
The present invention, by accessing the 3G+GPS car-mounted terminal of BMS system, realizes the most aerial by server Upgrading, eliminates the overhead sending professional's upgrading in factory to some other department.Greatly facilitate the later maintenance of product Pre-upgrade.
Accompanying drawing explanation
Fig. 1 is the side of the use 3G/GPS car-mounted terminal upgrading BMS host firmware that the embodiment of the present invention provides The schematic flow sheet of BMS firmware transmission in method;
Fig. 2 is the side of the use 3G/GPS car-mounted terminal upgrading BMS host firmware that the embodiment of the present invention provides In method, terminal accepts firmware schematic flow sheet;
Fig. 3 is the side of the use 3G/GPS car-mounted terminal upgrading BMS host firmware that the embodiment of the present invention provides End host communication flow schematic diagram in method.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
The present invention directly carries out remote upgrade by server platform to BMS main frame, eliminates and sends assistant director's Manpower and materials, and dramatically reduce people sent to work abroad in time and update the time overhead of host firmware.
Remote upgrade BMS main frame sends, firstly the need of server platform, the BMS host firmware needing to update To BMS main frame.Wherein the process of BMS transmission is as it is shown in figure 1, specifically include:
S11: car-mounted terminal is set up TCP by PPP dialing with server platform and is connected;
S12: server platform initiates the transmission request of BMS firmware to car-mounted terminal;
The response BMS firmware transmission request of S13: car-mounted terminal;
S14: server platform is to car-mounted terminal divided stator frame BMS host firmware;
S15: car-mounted terminal initiates upgrade request to BMS main frame;
S16:BMS response of host upgrade request;
S17: car-mounted terminal transmits BMS host firmware to BMS main frame.
In embodiments of the present invention, 3G+GPS car-mounted terminal by 3G module carry out PPP dial up on the telephone with clothes Business device platform is set up TCP and is connected.Terminal carries out firmware transmission, first server platform meeting with server platform Sending " terminal staging " message bag to terminal, terminal is replied response bag after receiving message bag and is agreed firmware Transmission.Server platform can carry out divided stator frame firmware according to the payload of 1024 bytes every time.Terminal can be receipts To data be stored in local file.After file end of transmission.Carry out BBC verification, it is ensured that transmitting procedure In be not received by mistake data.
Fig. 2 shows that terminal program accepts firmware flow process:
S21: after receiving " upgrading terminals " message bag, extracts message packet data and obtains total subpackage number;S22: Accept subpackage message;
S23: write local file also will connect bag number from increasing 1;
S24: judge currently to connect whether bag number is equal to total subpackage number, the most then enter step S25, if it is not, Then it is back to step S22;
S25: judge that BBC verification is the most correct, the most then complete file transmission;If it is not, then send liter Level failed message bag.
In the present invention, file is after server platform is transferred to 3G+GPS terminal, and terminal will be given in phase Send corresponding CAN message notice main frame with the BMS main frame in CAN to upgrade, if main frame Receive this message, it will carry out a series of upgrading preparation.
The upgrading communication process of main frame and terminal is as it is shown on figure 3, specifically include:
S31: car-mounted terminal sends PING order to BMS main frame, and whether detection main frame is in upgrade status;
S32:BMS response of host PING order;
S33: car-mounted terminal to BMS main frame send download order, distribution main frame upgrading initial address with Length;
S34:BMS response of host download order;
S35: car-mounted terminal sends DATA order to BMS main frame, and each 8Kbyte of firmware subpackage is sent to BMS main frame;
S36:BMS response of host DATA order;
S37: car-mounted terminal sends RUN command to BMS main frame, allows main frame enter upgrade job;
S38:BMS response of host RUN command.
In embodiments of the present invention, the PING command timeout time can be arranged to 5S, if BMS main frame is not Response, the most repeatedly sends PING order.Other instruction corresponding times, time-out time was 100ms within 5ms.
By accessing the 3G+GPS car-mounted terminal remote upgrade BMS master of BMS host C AN bus Intranet The method of machine, can effectively reduce BMS main computer boxes later maintenance upgrade cost.
As it will be easily appreciated by one skilled in the art that and the foregoing is only presently preferred embodiments of the present invention, and Not in order to limit the present invention, all made within the spirit and principles in the present invention any amendment, equivalent With improvement etc., should be included within the scope of the present invention.

Claims (7)

1. the method using 3G/GPS car-mounted terminal upgrading BMS host firmware, it is characterised in that Comprise the steps:
S1: car-mounted terminal is set up with server platform and is connected, and transmits BMS host firmware to BMS main frame;
S2:BMS main frame receives the data file bag needed for upgrading;
S3: BMS host firmware is upgraded according to data file bag.
2. the method for claim 1, it is characterised in that step S1 particularly as follows:
S11: car-mounted terminal is connected with server platform foundation by PPP dialing;
S12: server platform initiates the transmission request of BMS firmware to car-mounted terminal;
The response BMS firmware transmission request of S13: car-mounted terminal;
S14: server platform is to car-mounted terminal divided stator frame BMS host firmware;
S15: car-mounted terminal initiates upgrade request to BMS main frame;
S16:BMS response of host upgrade request;
S17: car-mounted terminal transmits BMS host firmware to BMS main frame.
3. method as claimed in claim 2, it is characterised in that car-mounted terminal carries out PPP by 3G module Dial up on the telephone, and set up TCP with server platform and be connected.
4. method as claimed in claim 2 or claim 3, it is characterised in that the data received are deposited by car-mounted terminal Enter in local folders.
5. the method for claim 1, it is characterised in that step S2 particularly as follows:
S21: after receiving " upgrading terminals " message bag, extracts message packet data and obtains total subpackage number;S22: Accept subpackage message;
S23: write local file also will connect bag number from increasing 1;
S24: judge currently to connect whether bag number is equal to total subpackage number, the most then enter step S25, if it is not, Then it is back to step S22;
S25: judge that BBC verification is the most correct, the most then complete file transmission;If it is not, then send liter Level failed message bag.
6. the method for claim 1, it is characterised in that step S3 particularly as follows:
S31: car-mounted terminal sends PING order to BMS main frame, and whether detection main frame is in upgrade status;
S32:BMS response of host PING order;
S33: car-mounted terminal to BMS main frame send download order, distribution main frame upgrading initial address with Length;
S34:BMS response of host download order;
S35: car-mounted terminal sends DATA order to BMS main frame, and each 8Kbyte of firmware subpackage is sent to BMS main frame;
S36:BMS response of host DATA order;
S37: car-mounted terminal sends RUN command to BMS main frame, allows main frame enter upgrade job;
S38:BMS response of host RUN command.
7. method as claimed in claim 6, it is characterised in that in step S31, sends PING life The time-out time of order is 5s, if BMS main frame dont answer, the most repeatedly sends PING order.
CN201610560999.4A 2016-07-15 2016-07-15 Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal Pending CN105959166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610560999.4A CN105959166A (en) 2016-07-15 2016-07-15 Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610560999.4A CN105959166A (en) 2016-07-15 2016-07-15 Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal

Publications (1)

Publication Number Publication Date
CN105959166A true CN105959166A (en) 2016-09-21

Family

ID=56900802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610560999.4A Pending CN105959166A (en) 2016-07-15 2016-07-15 Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal

Country Status (1)

Country Link
CN (1) CN105959166A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547589A (en) * 2016-10-18 2017-03-29 深圳市沃特玛电池有限公司 A kind of upgrade-system and upgrade method
CN106569864A (en) * 2016-11-14 2017-04-19 湖南小步科技有限公司 Remote online updating method and system for battery management unit
CN109725917A (en) * 2017-10-31 2019-05-07 京瓷办公信息***株式会社 The computer record media and more new system that can read of server unit, non-transitory

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867916A (en) * 2009-04-16 2010-10-20 深圳市赛格导航科技股份有限公司 Method for realizing air update of vehicle terminal
CN202817806U (en) * 2012-07-18 2013-03-20 西安冠通数源电子有限公司 Remote control system for transmitting BMS battery management system state information data back
CN103200268A (en) * 2013-04-11 2013-07-10 山东大学 System and method for remote control, upgrading and standardization of electric vehicle
CN103458103A (en) * 2013-08-01 2013-12-18 广东翼卡车联网服务有限公司 Real-time data transmission system and method based on vehicle networking
CN103559066A (en) * 2013-11-19 2014-02-05 上海创程车联网络科技有限公司 CANOPEN-protocol-based embedded software upgrading method
CN105259891A (en) * 2015-09-29 2016-01-20 中航锂电(洛阳)有限公司 Cell management system upgrade method based on CAN bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867916A (en) * 2009-04-16 2010-10-20 深圳市赛格导航科技股份有限公司 Method for realizing air update of vehicle terminal
CN202817806U (en) * 2012-07-18 2013-03-20 西安冠通数源电子有限公司 Remote control system for transmitting BMS battery management system state information data back
CN103200268A (en) * 2013-04-11 2013-07-10 山东大学 System and method for remote control, upgrading and standardization of electric vehicle
CN103458103A (en) * 2013-08-01 2013-12-18 广东翼卡车联网服务有限公司 Real-time data transmission system and method based on vehicle networking
CN103559066A (en) * 2013-11-19 2014-02-05 上海创程车联网络科技有限公司 CANOPEN-protocol-based embedded software upgrading method
CN105259891A (en) * 2015-09-29 2016-01-20 中航锂电(洛阳)有限公司 Cell management system upgrade method based on CAN bus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547589A (en) * 2016-10-18 2017-03-29 深圳市沃特玛电池有限公司 A kind of upgrade-system and upgrade method
CN106569864A (en) * 2016-11-14 2017-04-19 湖南小步科技有限公司 Remote online updating method and system for battery management unit
CN109725917A (en) * 2017-10-31 2019-05-07 京瓷办公信息***株式会社 The computer record media and more new system that can read of server unit, non-transitory

Similar Documents

Publication Publication Date Title
US8729857B2 (en) System, device and method for data transfer to a vehicle and for charging said vehicle
CN103259837B (en) Roadside unit cut-in method, system and device
KR101738447B1 (en) Portable Charging Device for Charging Electric Vehicle through Simplified Charging Vending Machine
US20120112694A1 (en) Method and Arrangement for Data Communication Between A Service Provider and A Vehicle
CN109783122A (en) A kind of software security upgrade method and system based on V2X roadside device
CN101184301A (en) Mobile terminal remote firmware updating method and system
CN101662488B (en) Method and system for remotely monitoring car in real time
CN103546859A (en) Method, device and system for wireless charging during moving
CN106033901A (en) Movable-type electric automobile charging management system and method thereof
CN105959166A (en) Method for upgrading BMS (Battery Manager System) host firmware by use of 3G/GPS vehicular terminal
CN112583646A (en) Remote upgrading method for intelligent electric meter
CN110708205A (en) Method and system for performing FOTA (firmware over the air) on equipment through gateway
CN108196856A (en) A kind of charging pile on-line software updating system and online upgrading method
CN105096645A (en) Vehicle-mounted positioning system
CN202617170U (en) Vehicle-mounted terminal system
CN108255677A (en) The vehicle-mounted vehicle device of car networking and Android device communication means and its device
CN103415030A (en) WIFI terminal configuration updating method and system, WIFI terminal and access point
CN105180367A (en) Air conditioning unit data transmission method and system
CN107172613A (en) The remote maintenance system and method for a kind of car wireless terminal
CN102281160A (en) Method for automatically upgrading functions, system and server thereof
CN114331755A (en) Available charging pile management method and system
CN109933045A (en) A kind of vehicle automatic technique upgrade method and system
CN107302448B (en) Port snoop method and device
CN109548015B (en) Charging equipment management method based on mobile WiFi
CN104394188A (en) Method and system for data transmission in Internet of Vehicles

Legal Events

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

Application publication date: 20160921

RJ01 Rejection of invention patent application after publication