CN104486180A - Method used for automatically distributing secondary units ID in BMS - Google Patents

Method used for automatically distributing secondary units ID in BMS Download PDF

Info

Publication number
CN104486180A
CN104486180A CN201410628007.8A CN201410628007A CN104486180A CN 104486180 A CN104486180 A CN 104486180A CN 201410628007 A CN201410628007 A CN 201410628007A CN 104486180 A CN104486180 A CN 104486180A
Authority
CN
China
Prior art keywords
control unit
main control
automatically
distributes
unit
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.)
Granted
Application number
CN201410628007.8A
Other languages
Chinese (zh)
Other versions
CN104486180B (en
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.)
Huizhou Epower Electronics Co Ltd
Original Assignee
Huizhou Epower Electronics 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 Huizhou Epower Electronics Co Ltd filed Critical Huizhou Epower Electronics Co Ltd
Priority to CN201410628007.8A priority Critical patent/CN104486180B/en
Publication of CN104486180A publication Critical patent/CN104486180A/en
Application granted granted Critical
Publication of CN104486180B publication Critical patent/CN104486180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention discloses a method used for automatically distributing secondary control units ID in a BMS (Battery Management System). The BMS comprises a main control unit and secondary control units. The method comprises steps that, a trigger signal is outputted by the main control unit to a first secondary control unit connected with the main control unit; automatic distribution frame messages are sent by the main control unit to each secondary control unit; after the trigger signal and the automatic distribution frame messages sent by the main control unit are received by the secondary control units, automatic ID setting is carried out according to contents of the automatic distribution frame messages, message sending starts normally; after secondary control unit messages distributed with ID are received by the main control unit, new automatic distribution frames are sent to the secondary control units respectively. Parameter configuration for the secondary control units distributed with the ID is carried out by the main control unit, if parameter configuration succeeds, a configuration success signal is sent to the main control unit; after parameter configuration success, a trigger signal is sent to the next secondary control unit, and the steps are repeated to the last secondary control unit. According to the method, the secondary control units ID require no manual distribution, and the method has advantages of high distribution efficiency and no easily-generated fault.

Description

A kind of BMS distributes the method from control unit ID automatically
Technical field
The present invention relates to master-slave equipment field, particularly a kind of BMS distributes the method from control unit ID automatically.
Technical background
Along with the development of electric automobile, electric automobile creates quick-replaceable battery modules method.Current electric automobile is divided into quick-replaceable battery modules, onboard charger and charging pile three kinds of charging modes, in the pattern of quick-replaceable battery modules, requires that each string number from control unit must identical ability be changed arbitrarily.After new battery modules changes the outfit electric automobile, be all manually each is numbered from control unit, to reach the object that principal and subordinate controls the smooth and easy communication of unit at present.In the manual numbering scheme of above quick-replaceable battery modules, the equipment such as the simulator need to take battery modules apart, using specialty, and need professional and technical personnel manually to number, this process needs to spend the longer time in fact, do not reach the object of quick-replaceable electric car power supply, and need to pay higher human cost, the performance of enterprises is lower.
Summary of the invention
In view of this, the present invention needs the problem solved to be, provide a kind of fast, reliably BMS automatically distribute the method from control unit ID.
In order to solve the problem, the present invention adopts following technological means: a kind of BMS distributes the method from control unit ID automatically, comprise main control unit and some from control unit, adjacent two are connected by signal transmission line successively between control unit, main control unit is connected by signal transmission line from controlling unit with first of arbitrary termination, described main control unit be respectively also connected by CAN from controlling between unit, it is characterized in that: comprise following allocation step:
A. main control unit powers on, and exports triggering signal to be attached thereto first from control unit by signal transmission line;
B. main control unit sends and automatically distributes frame message to from controlling unit;
C., after from control, unit powers on, the triggering signal that main control unit sends if receive simultaneously and after automatically distributing frame message, by automatically distributing frame message content Lookup protocol ID, sends receipt to main control unit after success;
D. when main control unit receive just distribute ID after the receipt of control unit, send the new frame that automatically distributes to respectively from control unit, and stop upper level main control unit or from the transmission controlling unit triggers signal;
E. main control unit to just distribute ID from control unit carry out parameter configuration, if parameter configuration success, send configuration successful signal to main control unit from control unit, and contrast distributes frame and self ID number automatically, if the value of automatic distribution frame received from control unit be more than or equal to self ID from control unit number, then send triggering signal to next from control unit;
F. step c-e is repeated, until last presetting is assigned from control unit;
G. when main control unit detects that any one disconnects from control unit, then restart to perform step from a.
Preferably, described triggering signal is the high/low level value exported by I/O mouth or the high/low current value exported by simulation mouth.
Preferably, described automatic distribution frame is maximum from a control unit numerical value, described No. ID identical with the value of automatically distributing frame, described main control unit sends to first, and from controlling, unit is maximum is defaulted as 1 from controlling a unit numerical value.
Preferably, the described new frame that automatically distributes is formerly maximumly add 1 from a control unit numerical value, when arrival maximum preset value N then stops increase.
Compared with prior art, the triggering signal of the present invention received by each battery modules and the difference of automatic distribution frame, ID is distributed by all modes increased progressively according to natural number from control unit, and redistribute each series of parameters configuration information such as voltage string number, temperature number that can detect from control unit, thus ensure main control unit and from the communication controlled between unit, without the need to manual allocation from control unit ID, there is the beneficial effect that allocative efficiency is high, not easily make mistakes.
Accompanying drawing explanation
Fig. 1 is that the principal and subordinate of the embodiment of the present invention controls unit connection relation schematic block diagram;
Fig. 2 is the schematic process flow diagram of the automatic distribution ID of the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, content of the present invention is described in further detail.
Fig. 1 is that the principal and subordinate of the embodiment of the present invention controls unit connection relation schematic block diagram, as shown in Figure 1, the present embodiment comprise main control unit and 1-N between two by signal transmission line be connected from control unit, same main control unit is also connected by signal transmission line, to transmit triggering signal from controlling unit with first.Concrete, the present embodiment uses I/O mouth to export triggering signal, and this signal transmission line can send high/low level signal by connecting I/O oral instructions, also can transmit high/low current value signals by connecting analog signal output.Main control unit be respectively also connected by CAN respectively from controlling between unit, be convenient to main control unit and from the transmitting-receiving controlling message between unit.
Fig. 2 is the schematic process flow diagram of the automatic distribution ID of the embodiment of the present invention, and as shown in Figure 2, the present embodiment comprises the following steps,
First, main control unit is started working, and holds output triggering signal by I/O mouth DI, and now, main control unit acquiescence is 1 from control unit number; Then, main control unit is sent by broadcast account and automatically distributes frame message to each from control unit, concrete, and this distributes frame is automatically maximum from a control unit numerical value, and acquiescence number is 1; Then, after first of #1 position powers on from control unit, outwards do not send CAN message, receive only CAN message.After first of #1 position receives automatic distribution frame from control unit, and when detecting that I/O mouth is high level by DI end, self being matched from controlling a unit numerical value 1 with automatically to distribute frame maximum from control unit number, being demarcated as No. 1 from controlling unit, and only demarcating once.From control unit, normally CAN message is sent to self from control unit number is demarcated successfully.
When main control unit receives No. 1 message from control unit, 1 is added from a control unit numerical value by maximum, because former maximum from a control unit numerical value be 1, now will be set to 2, and automatically distribute frame message to each from control unit by the transmission of broadcast account, stopping upper level main control unit or the transmission from control unit triggers signal.Next, main control unit can carry out parameter configuration to No. 1 from control unit, and this parameter configuration comprises voltage string number, temperature number etc., as parameter configuration success then sends configuration successful signal to main control unit, if three times all unsuccessful, then check and whether have problem from control unit.When receive from control unit 1 automatically distribute frame maximum from a control unit numerical value be more than or equal to self from control unit number time, by the DO end output triggering signal of I/O mouth.
After second of #2 position powers on from control unit, outwards do not send CAN message, receive only CAN message.After second of #2 position receives automatic distribution frame from control unit, and when the DI end of I/O mouth being detected for high level by DI end, self being matched from controlling a unit numerical value 2 with automatically to distribute frame maximum from control unit number, being demarcated as No. 2 from controlling unit, and only demarcating once.From control unit, normally CAN message is sent to self from control unit number is demarcated successfully; When main control unit receives No. 2 messages from control unit, 3 are set to from a control unit numerical value by maximum, and send distribution frame message automatically by broadcast account, then parameter configuration is carried out to No. 2 from control unit from control unit step according to No. 1, and contrast from a control unit numerical value receiving the maximum of the true frame of distribution automatically, meet and be more than or equal to self from the DO end output triggering signal by I/O mouth during control unit number.
Equally, after unit powers on from control of other number number, according to above step, distributes ID and goes forward side by side after line parameter arranges, and sends triggering signal and new automatic distribution frame and carries out ID distribution to the next position from controlling unit.
When #N position preset last DI end from control unit inspection to I/O mouth for high level time, self being matched from controlling a unit numerical value of N with automatically to distribute frame maximum from control unit number, being demarcated as No. N from controlling unit.Now main control unit no longer adds 1 process to maximum from a control unit numerical value, terminates to send distribution frame message automatically simultaneously, carries out parameter configuration and the ID namely completing BMS after confirming configuration successful distributes automatically.
In use when replacing battery modules, main control unit can detect from control unit and disconnect, now, after battery modules is changed, main control unit allly to reset from control unit ID automatically to this, re-execute one time by step, this ensure that namely each battery modules of changing to change after control unit main control unit with smooth and easy from the communication controlling unit.
Above-described embodiment is only preferably implementation of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these apparent replacement forms all belong to protection scope of the present invention.

Claims (4)

1. a BMS distributes the method from control unit ID automatically, comprise main control unit and some from control unit, adjacent two are connected by signal transmission line successively between control unit, main control unit is connected by signal transmission line from controlling unit with first of arbitrary termination, described main control unit be respectively also connected by CAN from controlling between unit, it is characterized in that: comprise following allocation step:
A. main control unit powers on, and exports triggering signal to be attached thereto first from control unit by signal transmission line;
B. main control unit sends and automatically distributes frame message to from controlling unit;
C., after from control, unit powers on, the triggering signal that main control unit sends if receive simultaneously and after automatically distributing frame message, by automatically distributing frame message content Lookup protocol ID, sends receipt to main control unit after success;
D. when main control unit receive just distribute ID after the receipt of control unit, send the new frame that automatically distributes to respectively from control unit, and stop upper level main control unit or from the transmission controlling unit triggers signal;
E. main control unit to just distribute ID from control unit carry out parameter configuration, if parameter configuration success, send configuration successful signal to main control unit from control unit, and contrast distributes frame and self ID number automatically, if the value of automatic distribution frame received from control unit be more than or equal to self ID from control unit number, then send triggering signal to next from control unit;
F. step c-e is repeated, until last presetting is assigned from control unit;
G. when main control unit detects that any one disconnects from control unit, then restart to perform step from a.
2. BMS according to claim 1 distributes the method from control unit ID automatically, it is characterized in that: described triggering signal is the high/low level value exported by I/O mouth or the high/low current value exported by simulation mouth.
3. BMS according to claim 1 distributes the method from control unit ID automatically, it is characterized in that: described automatic distribution frame is maximum from a control unit numerical value, described No. ID identical with the value of automatically distributing frame, described main control unit sends to first to be defaulted as 1 from control unit is maximum from controlling a unit numerical value.
4. BMS according to claim 3 distributes the method from control unit ID automatically, it is characterized in that: the described new frame that automatically distributes is formerly maximumly add 1 from a control unit numerical value, when arrival maximum preset value N then stops increase.
CN201410628007.8A 2014-11-11 2014-11-11 A kind of BMS distributes the method from control unit ID automatically Active CN104486180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410628007.8A CN104486180B (en) 2014-11-11 2014-11-11 A kind of BMS distributes the method from control unit ID automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410628007.8A CN104486180B (en) 2014-11-11 2014-11-11 A kind of BMS distributes the method from control unit ID automatically

Publications (2)

Publication Number Publication Date
CN104486180A true CN104486180A (en) 2015-04-01
CN104486180B CN104486180B (en) 2019-03-12

Family

ID=52760686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410628007.8A Active CN104486180B (en) 2014-11-11 2014-11-11 A kind of BMS distributes the method from control unit ID automatically

Country Status (1)

Country Link
CN (1) CN104486180B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573174A (en) * 2016-02-03 2016-05-11 惠州市蓝微新源技术有限公司 Battery management system slave control unit identification information automatic distribution method
CN107508930A (en) * 2017-09-15 2017-12-22 上海炙云新能源科技有限公司 ID distribution methods and system
CN107766271A (en) * 2016-08-16 2018-03-06 浙江高泰昊能科技有限公司 BMS addresses on electric automobile are from distribution system
CN108028862A (en) * 2015-09-21 2018-05-11 高通股份有限公司 Multiple identical equipment in the shared bus of mark
CN108736077A (en) * 2017-04-18 2018-11-02 奥动新能源汽车科技有限公司 The configuration method and configuration system of the slave controller of battery management system
CN108737583A (en) * 2017-04-18 2018-11-02 奥动新能源汽车科技有限公司 From the configuration method of controller and configuration system in system
CN109085503A (en) * 2018-06-29 2018-12-25 重庆长安汽车股份有限公司 X -ray inspection X automatic numbering method and system under battery
CN111858437A (en) * 2020-07-31 2020-10-30 上海海得控制系统股份有限公司 Hot plug processing method and device based on double buses, storage medium and electronic equipment
CN114265352A (en) * 2021-12-22 2022-04-01 深圳埃瑞斯瓦特新能源有限公司 Automatic configuration system and method for CAN bus ID

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694424A (en) * 2005-03-24 2005-11-09 袁光辉 Bus carried network control system and its management and control method
US20070013572A1 (en) * 2004-01-16 2007-01-18 Kvaser Consultant Ab Device, unit and arrangement for one or several distributed systems
CN103809476A (en) * 2014-02-24 2014-05-21 中国第一汽车股份有限公司 Dynamic management method for IDs of module control units of distributed battery management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070013572A1 (en) * 2004-01-16 2007-01-18 Kvaser Consultant Ab Device, unit and arrangement for one or several distributed systems
CN1694424A (en) * 2005-03-24 2005-11-09 袁光辉 Bus carried network control system and its management and control method
CN103809476A (en) * 2014-02-24 2014-05-21 中国第一汽车股份有限公司 Dynamic management method for IDs of module control units of distributed battery management system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108028862A (en) * 2015-09-21 2018-05-11 高通股份有限公司 Multiple identical equipment in the shared bus of mark
CN105573174A (en) * 2016-02-03 2016-05-11 惠州市蓝微新源技术有限公司 Battery management system slave control unit identification information automatic distribution method
CN107766271A (en) * 2016-08-16 2018-03-06 浙江高泰昊能科技有限公司 BMS addresses on electric automobile are from distribution system
CN108736077A (en) * 2017-04-18 2018-11-02 奥动新能源汽车科技有限公司 The configuration method and configuration system of the slave controller of battery management system
CN108737583A (en) * 2017-04-18 2018-11-02 奥动新能源汽车科技有限公司 From the configuration method of controller and configuration system in system
CN107508930A (en) * 2017-09-15 2017-12-22 上海炙云新能源科技有限公司 ID distribution methods and system
CN109085503A (en) * 2018-06-29 2018-12-25 重庆长安汽车股份有限公司 X -ray inspection X automatic numbering method and system under battery
CN111858437A (en) * 2020-07-31 2020-10-30 上海海得控制系统股份有限公司 Hot plug processing method and device based on double buses, storage medium and electronic equipment
CN111858437B (en) * 2020-07-31 2022-06-28 上海海得控制系统股份有限公司 Hot plug processing method and device based on double buses, storage medium and electronic equipment
CN114265352A (en) * 2021-12-22 2022-04-01 深圳埃瑞斯瓦特新能源有限公司 Automatic configuration system and method for CAN bus ID

Also Published As

Publication number Publication date
CN104486180B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN104486180A (en) Method used for automatically distributing secondary units ID in BMS
CN106585413B (en) The method of more direct-current charging post parallel connection automatic chargings
CN104300604B (en) A kind of electric automobile electric charging station monitoring system
WO2011043818A3 (en) Apparatus and method for controlling communications to and from utility service points
CN210327637U (en) Protocol conversion device for air conditioner and communication system
JP6226567B2 (en) Battery charging system for electric vehicles
CN107508930A (en) ID distribution methods and system
CN103336486A (en) Method for battery module address assignment of battery energy storage system
CN112918288A (en) Integrated charging module, charging pile and control method of charging pile
CN111064222A (en) Power supply vehicle parallel operation and multiple parallel operation system and operation method thereof
CN105375540A (en) Vehicle charging gateway controller with conversion use of national standard and American standard and charging conversion method thereof
CN108482148B (en) A kind of electric car bimodulus charging system and method
CN109450018A (en) The energy-storage system that power battery echelon utilizes
CN108462621A (en) A kind of method of the distribution of communication apparatus address and number of devices statistics
CN105706326A (en) Method for controlling electrical power in a microgrid and arrangement comprising distributed generators
CN105977925B (en) A kind of adaptive bus protection implementation method that should have main frame and off host pattern
TW201338338A (en) A multi-party communication system and charge process of a DC charging system
CN104267301B (en) Power consumer electricity consumption information acquisition control system
CN107294203B (en) A kind of electric energy meter power-off event active reporting method based on RS485 bus
CN211239348U (en) Power supply vehicle parallel operation and repeated parallel operation system
CN105260220A (en) Remote rebooting system and method for comprehensive automatic system protocol conversion device
CN104111639A (en) Remotely controlled wireless public network emergency communication apparatus
CN104467182B (en) Substation control layer device non-power-outage remote control system and method
CN112448922A (en) Protocol conversion device for air conditioner, communication system and communication method
CN102176147A (en) Stage control system and method for digital multiplex (DMX) 512 intelligent distribution isolating amplifier

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant