CN116405146B - Synchronous control method and control system of multi-BMS slave machine - Google Patents
Synchronous control method and control system of multi-BMS slave machine Download PDFInfo
- Publication number
- CN116405146B CN116405146B CN202310356147.3A CN202310356147A CN116405146B CN 116405146 B CN116405146 B CN 116405146B CN 202310356147 A CN202310356147 A CN 202310356147A CN 116405146 B CN116405146 B CN 116405146B
- Authority
- CN
- China
- Prior art keywords
- bms
- address
- area network
- local area
- slave
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 37
- 238000012544 monitoring process Methods 0.000 claims description 17
- 238000012790 confirmation Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 10
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a multi-BMS slave synchronous control method and a control system; according to the method, the BMS addresses of the BMS slaves are uploaded to a local area network by setting the BMS addresses of the BMS slaves, the BMS slaves collect the BMS addresses from the local area network and record the BMS addresses in a local address list, the BMS slaves compare the collected BMS addresses with the BMS addresses of the BMS slaves, and if the BMS addresses of the BMS slaves meet preset conditions, the time stamps of the BMS slaves are uploaded to the local area network; otherwise, each BMS slave receives the current time stamp from the local area network as the time stamp of the local machine so as to realize the synchronization of the time of each BMS slave; repeating the steps every N seconds; where N is a real number greater than zero. The invention can realize the unification of the time of each BMS slave machine by selecting the frame address of one BMS slave machine as the virtual host machine and broadcasting the time stamp of the BMS slave machine to the local area network periodically.
Description
Technical Field
The invention relates to the technical field of battery management, in particular to a multi-BMS slave synchronous control method and a control system.
Background
A BMS (battery management system) is a rechargeable battery (battery or battery pack) that manages any electronic system, for example, by protecting a safe working area from which the battery is operated, monitoring its state, calculating auxiliary data, reporting the data, controlling its environment, authenticating it, and/or balancing it.
In BMS+UPS/dc-to-ac converter energy storage local area network, UPS/dc-to-ac converter is as the host computer in the BMS management system of issuing BMS slave machine synchronous time, needs each BMS slave machine unified time, and history's time needs to keep unanimous, and alarm time needs unification, and in-process that discharges, LED scintillation is asynchronous, needs synchronous time, just can better realization to the management of many slave machines, and current BMS battery management system still has each slave machine start-up time difference, or can't keep the uniformity between a plurality of BMS slave machines because of other procedure differences, and causes signal disorder in BMS slave machine operation process.
Disclosure of Invention
In view of the above, the present invention provides a multi-BMS slave synchronization control method and control system, which can realize the unification of the time of each BMS slave by selecting the frame address of a BMS slave as the virtual master and broadcasting the time stamp of the BMS slave to the local area network periodically.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
a multi-BMS slave synchronous control method, the method comprising the steps of:
s10, finishing power-on, and reading a BMS address reserved in the EEPROM after power-off as the address of the current BMS slave;
s20: scanning the dial switch address every 100ms, judging whether the BMS address is consistent with the dial switch address, if not, continuously updating the dial switch address for 1s to serve as the current BMS address; otherwise, after the preset time, turning to S30;
s30: scanning a receiving address list every 500ms, and judging whether an address frame corresponding to the current BMS address is received within 10 s; if so, comparing the current BMS address with the address list, and turning to S40; otherwise, deleting the current BMS address, and returning to the step S20;
s40: broadcasting the current BMS address to the local area network after the address confirmation is completed;
s50: acquiring all broadcast addresses in a local area network, and determining a synchronous time stamp according to the broadcast addresses; and after all BMS slaves in the local area network are updated to the synchronous time stamp, ending the synchronous control flow of the round.
As a preferred embodiment of the present invention, the BMS address includes at least: ID address, data frame, remote frame, error frame, overload frame, and timestamp.
The ID address is M bytes; wherein M is a natural number greater than zero.
As a preferable technical scheme of the invention, the local area network is a CAN controller local area network.
As a preferred embodiment of the present invention, the step S10 further includes: an address monitoring flow; the address monitoring flow specifically comprises the following steps:
when detecting that the dial switch address changes, reading and searching in an address list according to the new BMS address, and resetting and deleting the ID address after the preset time is found; otherwise, the new BMS address is recorded and stored in the EEPROM.
As a preferred embodiment of the present invention, the completion address confirmation in step S40 specifically includes:
when the comparison result of the current BMS address and the address list shows that the same address exists, reporting a BMS address conflict alarm, and returning to the step S20;
and when the comparison result of the current BMS address and the address list is that the same address does not exist, reporting the BMS address.
The step S50 of determining a synchronization timestamp according to the broadcast address specifically includes:
screening BMS addresses with minimum corresponding time stamps in all broadcast addresses in the local area network; assigning the BMS address to all BMS slaves in the local area network; each BMS slave machine broadcasts the updated BMS address to the local area network, judges whether each updated BMS address is consistent, and if so, ends the round of synchronous control flow; otherwise, the BMS address with the smallest inconsistent time stamp exists, the early warning is reported, the corresponding BMS slave is restarted, and the step S10 is returned.
As another preferred aspect, the method of the present invention further comprises: the newly added slave synchronous control flow specifically comprises the following steps:
after all the BMS slaves in the local area network are updated to the synchronous time stamp, any newly added BMS slave directly acquires the BMS address with the smallest time stamp in the local area network and compares the BMS address with the newly added BMS slave, if the time stamp of the newly added BMS slave is smaller than the time stamp in the local area network, the new BMS address of the newly added BMS slave is broadcasted to the local area network, and all the BMS slaves in the local area network are informed of being updated to the time stamp corresponding to the new BMS address, and step S50 is entered; otherwise, updating the local synchronization time stamp according to the BMS address with the smallest time stamp in the local area network.
As another preferred aspect, the present invention further provides a multi-BMS slave synchronous control system, the control system at least comprising: a plurality of BMS slaves joining the same local area network and communicating;
the BMS slave includes:
the communication module is used for broadcasting the local BMS address to the local area network and acquiring all broadcasting addresses in the local area network;
the address monitoring module scans the dial switch address every 100ms, and when the BMS address is inconsistent with the dial switch address, the address monitoring module updates the dial switch address as the current BMS address for 1 s; scanning a receiving address list according to 500ms each time interval, comparing the current BMS address with the address list, and confirming the address;
and the synchronous control module is used for acquiring all the broadcast addresses in the local area network, determining a synchronous time stamp according to the broadcast addresses, and controlling the next operation time of the current BMS slave according to the time stamp.
Wherein, the BMS slave machines are connected through wired or wireless communication.
The address monitoring module further comprises: when detecting that the dial switch address changes, reading and searching in an address list according to the new BMS address, and resetting and deleting the ID address after the preset time is found; otherwise, the new BMS address is recorded and stored in the EEPROM.
The invention can further enhance the stability of the system through the address monitoring module, can recover in the shortest time after each abnormal power failure, and can enhance the safety and stability of the BMS slave.
The control system further includes: the early warning module is used for reporting a BMS address conflict warning when the comparison result of the current BMS address and the address list shows that the same address exists; and when the BMS addresses after updating have inconsistent BMS addresses with the smallest time stamps, reporting early warning.
As a preferable technical scheme of the invention, the BMS slaves are connected through a CAN bus.
As a preferred technical solution of the present invention, the present invention further includes: and the UPS module is connected with each BMS slave machine through a 485 bus and is used for receiving information reported by the BMS slave machines.
As another preferred aspect, the present invention also provides an electronic device comprising a system as described in any one of the above.
As another preferred aspect, the present invention also provides a storage medium, which is one of computer-readable storage media storing computer instructions for causing a computer to perform the multi-BMS slave synchronization control method as described above.
Compared with the prior art, the invention has the beneficial effects that:
after the completion address of each BMS slave machine is confirmed, broadcasting the current BMS address to a local area network, each BMS slave machine obtaining all broadcast addresses in the local area network, and determining a synchronous time stamp according to the broadcast addresses so as to realize the synchronization of the time of each BMS slave machine, thereby realizing the unification of the time of each BMS slave machine, keeping the time unification of the historical record and unifying the alarm time; meanwhile, the LED can be kept to flash synchronously in the discharging process.
Drawings
Fig. 1 is a flowchart of a multi-BMS slave synchronization control method in the present invention.
Fig. 2 is a flowchart of synchronization control of a newly added BMS slave according to the present invention.
Fig. 3 is a frame diagram of a multi-BMS slave synchronous control system in the present invention.
Detailed Description
The embodiment of the invention provides a multi-BMS slave synchronous control method and a control system; so as to solve the problem that the existing time salary and payroll calculation cannot flexibly process the effective working time and the time salary and payroll price.
The following describes a multi-BMS slave synchronous control method and a control system according to the present invention in further detail with reference to specific embodiments and drawings.
Referring to fig. 1, in a preferred embodiment, a multi-BMS slave synchronization control method includes the following steps:
s10, finishing power-on, and reading a BMS address reserved in the EEPROM after power-off as the address of the current BMS slave;
s20: scanning the dial switch address every 100ms, judging whether the BMS address is consistent with the dial switch address, if not, continuously updating the dial switch address for 1s to serve as the current BMS address; otherwise, after the preset time, turning to S30;
s30: scanning a receiving address list every 500ms, and judging whether an address frame corresponding to the current BMS address is received within 10 s; if so, comparing the current BMS address with the address list, and turning to S40; otherwise, deleting the current BMS address, and returning to the step S20;
s40: broadcasting the current BMS address to the local area network after the address confirmation is completed;
s50: acquiring all broadcast addresses in a local area network, and determining a synchronous time stamp according to the broadcast addresses; and after all BMS slaves in the local area network are updated to the synchronous time stamp, ending the synchronous control flow of the round.
In the above embodiment, the BMS address includes at least: ID address, data frame, remote frame, error frame, overload frame, and timestamp.
The ID address is M bytes; wherein M is a natural number greater than zero.
In the implementation process, the ID address is a custom address, so long as the nodes can be distinguished in the local area network, it is rational that the ID address can be 11 bits or 29 bits, for example, the range of 0x0 fffffffff, and the ID address can be used for distinguishing different BMS slaves, and meanwhile, can protect the device and the destination device of the hair care information.
It should be understood that the invention enables each BMS slave to have its own unique ID address by customizing the ID address, thereby realizing that each BMS slave compares the collected BMS address with the own BMS address.
In the above embodiment, the local area network is a CAN controller local area network.
In the implementation process, the CAN controller local area network CAN be broadcast at will without a challenge-response mechanism compared with the 485 controller local area network.
In the above embodiment, the step S10 further includes: an address monitoring flow; the address monitoring flow specifically comprises the following steps:
when detecting that the dial switch address changes, reading and searching in an address list according to the new BMS address, and resetting and deleting the ID address after the preset time is found; otherwise, the new BMS address is recorded and stored in the EEPROM.
Searching in an address list according to the ID address, and if not, recording the BMS address corresponding to the ID address in the address list; otherwise, resetting and deleting the ID address after the preset time. Therefore, after the next power-on, the record before power-off can be quickly found and quickly recovered.
In the specific implementation process, the confirmation of the completion address in step S40 specifically includes:
when the comparison result of the current BMS address and the address list shows that the same address exists, reporting a BMS address conflict alarm, and returning to the step S20;
and when the comparison result of the current BMS address and the address list is that the same address does not exist, reporting the BMS address.
In the above embodiment, the determining the synchronization timestamp according to the broadcast address in S50 specifically includes:
screening BMS addresses with minimum corresponding time stamps in all broadcast addresses in the local area network; assigning the BMS address to all BMS slaves in the local area network; each BMS slave machine broadcasts the updated BMS address to the local area network, judges whether each updated BMS address is consistent, and if so, ends the round of synchronous control flow; otherwise, the BMS address with the smallest inconsistent time stamp exists, the early warning is reported, the corresponding BMS slave is restarted, and the step S10 is returned.
In the above embodiment, the method further includes: the newly added slave synchronous control flow specifically comprises the following steps:
referring to fig. 2, after all the BMS slaves in the local area network update to the synchronization timestamp, any newly added BMS slave directly obtains the BMS address with the smallest timestamp in the local area network and compares with the newly added BMS slave, if the timestamp of the newly added BMS slave is smaller than the timestamp in the local area network, the new BMS address of the newly added BMS slave is broadcasted to the local area network, and all the BMS slaves in the local area network are notified to update to the timestamp corresponding to the new BMS address, and step S50 is entered; otherwise, updating the local synchronization time stamp according to the BMS address with the smallest time stamp in the local area network.
It should be understood that if a BMS slave is added, only the minimum time stamps of the newly added slave and all BMS slaves in the current local area network need to be compared, so as to determine whether a smaller time stamp appears, for example, the BMS slaves with 2,3,4 and 5 addresses in the original network have the unified time stamp of T1, if the addition of the address 1 occurs, the time stamp T2 of the address 1 is compared with the time stamp T1, if the time stamp T2 is smaller than the time stamp T1, this indicates that a new time stamp appears in the current local area network as a unified time stamp, so that the address 1 needs to be broadcasted in the local area network, each slave will receive a new address and perform local comparison, perform further confirmation so as to avoid erroneous judgment, after all slaves in the local area network are confirmed, and after the second round of update is completed, each slave will broadcast the new time stamp to the local area network to perform the second confirmation, and confirm that the address of each slave in the current local area network is consistent, this round of new slave control can be ended.
As a modification of the above embodiment, the implementation procedure is as follows: the BMS slave broadcasts BMS addresses through the CAN bus; the BMS slave machine collects BMS addresses in the local area network; and the BMS slave judges whether the local BMS address is the minimum address, if so, broadcasts the local time stamp to the network, otherwise, waits for other BMS slaves to receive the broadcast time in the network, and updates and sets respective time units.
Referring to fig. 3, as another preferred aspect, the present invention further provides a multi-BMS slave synchronization control system, where the control system at least includes: a plurality of BMS slaves joining the same local area network and communicating;
the BMS slave includes:
the control system at least comprises: a plurality of BMS slaves joining the same local area network and communicating;
the BMS slave includes:
the communication module is used for broadcasting the local BMS address to the local area network and acquiring all broadcasting addresses in the local area network;
the address monitoring module scans the dial switch address every 100ms, and when the BMS address is inconsistent with the dial switch address, the address monitoring module updates the dial switch address as the current BMS address for 1 s; scanning a receiving address list according to 500ms each time interval, comparing the current BMS address with the address list, and confirming the address;
and the synchronous control module is used for acquiring all the broadcast addresses in the local area network, determining a synchronous time stamp according to the broadcast addresses, and controlling the next operation time of the current BMS slave according to the time stamp.
Wherein, the BMS slave machines are connected through wired or wireless communication.
The address monitoring module further comprises:
when detecting that the dial switch address changes, reading and searching in an address list according to the new BMS address, and resetting and deleting the ID address after the preset time is found; otherwise, the new BMS address is recorded and stored in the EEPROM.
The invention can further enhance the stability of the system by interrupting the service module, can recover in the shortest time after each abnormal power failure, and can enhance the safety and stability of the BMS slave.
The control system further includes: the early warning module is used for reporting a BMS address conflict warning when the comparison result of the current BMS address and the address list shows that the same address exists; and when the BMS addresses after updating have inconsistent BMS addresses with the smallest time stamps, reporting early warning.
In summary, after the completion address of each BMS slave is confirmed, broadcasting the current BMS address to the local area network, each BMS slave obtains all broadcast addresses in the local area network, and determining a synchronization timestamp according to the broadcast addresses, so as to realize synchronization of time of each BMS slave, realize unification of time of each BMS slave, keep time consistency of history records and unify alarm time; meanwhile, the LED can be kept to flash synchronously in the discharging process.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the above illustrative embodiments are merely illustrative and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another device, or some features may be omitted or not performed.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some of the modules according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the invention has been described in conjunction with the specific embodiments above, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, all such alternatives, modifications, and variations are included within the spirit and scope of the following claims.
Claims (10)
1. A multi-BMS slave synchronous control method, comprising the steps of:
s10, finishing power-on, and reading a BMS address reserved in the EEPROM after power-off as the address of the current BMS slave;
s20: scanning the dial switch address every 100ms, judging whether the BMS address is consistent with the dial switch address, if not, continuously updating the dial switch address for 1s to serve as the current BMS address; otherwise, after the preset time, turning to S30;
s30: scanning a receiving address list every 500ms, and judging whether an address frame corresponding to the current BMS address is received within 10 s; if so, comparing the current BMS address with the address list, and turning to S40; otherwise, deleting the current BMS address, and returning to the step S20;
s40: broadcasting the current BMS address to the local area network after the address confirmation is completed;
s50: acquiring all broadcast addresses in a local area network, and determining a synchronous time stamp according to the broadcast addresses; and after all BMS slaves in the local area network are updated to the synchronous time stamp, ending the synchronous control flow of the round.
2. The multi-BMS slave synchronization control method according to claim 1, wherein,
the BMS address includes at least: ID address, data frame, remote frame, error frame, overload frame, and timestamp;
the ID address is M bytes; wherein M is a natural number greater than zero.
3. The multi-BMS slave synchronization control method according to claim 2, wherein the step S10 further comprises: an address monitoring flow; the address monitoring flow specifically comprises the following steps:
when detecting that the dial switch address changes, reading and searching in an address list according to the BMS address, and resetting and deleting the ID address after the preset time is found; otherwise, the new BMS address is recorded and stored in the EEPROM.
4. The multi-BMS slave synchronization control method according to claim 3, wherein the completion address confirmation in step S40 specifically comprises:
when the comparison result of the current BMS address and the address list shows that the same address exists, reporting a BMS address conflict alarm, and returning to the step S20;
and when the comparison result of the current BMS address and the address list is that the same address does not exist, reporting the BMS address.
5. The multi-BMS slave synchronization control method according to claim 4, wherein the determining a synchronization time stamp according to the broadcast address in S50 specifically comprises:
screening BMS addresses with minimum corresponding time stamps in all broadcast addresses in the local area network; assigning the BMS address to all BMS slaves in the local area network; each BMS slave machine broadcasts the updated BMS address to the local area network, judges whether each updated BMS address is consistent, and if so, ends the round of synchronous control flow; otherwise, the BMS address with the smallest inconsistent time stamp exists, the early warning is reported, the corresponding BMS slave is restarted, and the step S10 is returned.
6. The multi-BMS slave synchronization control method according to claim 5, further comprising: the newly added slave synchronous control flow specifically comprises the following steps:
after all the BMS slaves in the local area network are updated to the synchronous time stamp, any newly added BMS slave directly acquires the BMS address with the smallest time stamp in the local area network and compares the BMS address with the newly added BMS slave, if the time stamp of the newly added BMS slave is smaller than the time stamp in the local area network, the new BMS address of the newly added BMS slave is broadcasted to the local area network, and all the BMS slaves in the local area network are informed of being updated to the time stamp corresponding to the new BMS address, and step S50 is entered; otherwise, updating the local synchronization time stamp according to the BMS address with the smallest time stamp in the local area network.
7. A control system employing the multi-BMS slave synchronous control method according to any one of claims 1 to 6, wherein the control system comprises at least: a plurality of BMS slaves joining the same local area network and communicating;
the BMS slave includes:
the communication module is used for broadcasting the local BMS address to the local area network and acquiring all broadcasting addresses in the local area network;
the address monitoring module scans the dial switch address every 100ms, and when the BMS address is inconsistent with the dial switch address, the address monitoring module updates the dial switch address as the current BMS address for 1 s; scanning a receiving address list according to 500ms each time interval, comparing the current BMS address with the address list, and confirming the address;
the synchronous control module acquires all broadcast addresses in the local area network, determines a synchronous time stamp according to the broadcast addresses, and controls the next operation time of the current BMS slave according to the time stamp;
wherein, the BMS address includes at least: ID address, data frame, remote frame, error frame, overload frame, and timestamp;
the ID address is M bytes; wherein M is a natural number greater than zero.
8. The control system of claim 7, wherein the BMS slaves are connected via a wired or wireless communication.
9. The control system of claim 8, wherein the address monitoring module further comprises:
when detecting that the dial switch address changes, reading and searching in an address list according to the new BMS address, and resetting and deleting the ID address after the preset time is found; otherwise, the new BMS address is recorded and stored in the EEPROM.
10. The control system of claim 9, wherein the control system further comprises: the early warning module is used for reporting a BMS address conflict warning when the comparison result of the current BMS address and the address list shows that the same address exists; and when the BMS addresses after updating have inconsistent BMS addresses with the smallest time stamps, reporting early warning.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310356147.3A CN116405146B (en) | 2023-04-04 | 2023-04-04 | Synchronous control method and control system of multi-BMS slave machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310356147.3A CN116405146B (en) | 2023-04-04 | 2023-04-04 | Synchronous control method and control system of multi-BMS slave machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116405146A CN116405146A (en) | 2023-07-07 |
| CN116405146B true CN116405146B (en) | 2024-01-30 |
Family
ID=87011787
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310356147.3A Active CN116405146B (en) | 2023-04-04 | 2023-04-04 | Synchronous control method and control system of multi-BMS slave machine |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116405146B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119892798A (en) * | 2025-03-25 | 2025-04-25 | 深圳市优贝特科技有限公司 | BMS address positioning for reducing multi-battery serial networking conflict |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110708400A (en) * | 2019-08-27 | 2020-01-17 | 重庆雅讯电源技术有限公司 | Network address allocation method, device, node equipment and storage medium |
| CN115277732A (en) * | 2022-07-27 | 2022-11-01 | 中航电测仪器股份有限公司 | Embedded multi-device data synchronization method, system, device and method |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7366843B2 (en) * | 2002-06-28 | 2008-04-29 | Sun Microsystems, Inc. | Computer system implementing synchronized broadcast using timestamps |
| CN103716350B (en) * | 2012-09-29 | 2018-03-30 | 腾讯科技(北京)有限公司 | A kind of method, apparatus and system that control is synchronized to resource |
-
2023
- 2023-04-04 CN CN202310356147.3A patent/CN116405146B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110708400A (en) * | 2019-08-27 | 2020-01-17 | 重庆雅讯电源技术有限公司 | Network address allocation method, device, node equipment and storage medium |
| CN115277732A (en) * | 2022-07-27 | 2022-11-01 | 中航电测仪器股份有限公司 | Embedded multi-device data synchronization method, system, device and method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116405146A (en) | 2023-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108234170B (en) | Monitoring method and device for server cluster | |
| EP2600565A1 (en) | Disaster tolerance service system and disaster tolerance method | |
| CN101969384B (en) | Compatibility judging method, device and network equipment for switching between active and standby main control boards | |
| CN106161090A (en) | The monitoring method of a kind of subregion group system and device | |
| CN116405146B (en) | Synchronous control method and control system of multi-BMS slave machine | |
| CN110955723A (en) | Master-slave database synchronization state monitoring method and device and electronic equipment | |
| CN111147596A (en) | Prometous cluster deployment method, device, equipment and medium | |
| CN107526646A (en) | Monitoring method, device and watchdog system | |
| US20170117940A1 (en) | Data center management using device identification over power-line | |
| US7933211B2 (en) | Method and system for providing prioritized failure announcements | |
| CN112650642B (en) | Alarm processing method and device, equipment and storage medium | |
| CN110417586A (en) | Service monitoring method, service node, server and computer readable storage medium | |
| CN114154651A (en) | Production control method, production control device, production equipment and storage medium | |
| CN107171861A (en) | A kind of information processing method, electronic equipment and computer-readable storage medium | |
| CN102082652B (en) | Method, device and system for acquiring network clock topological structure | |
| CN116938881A (en) | A method, system, device and readable storage medium for implementing a dynamic IP pool | |
| CN106330497A (en) | Method, device, main control board and single board system for determining single board to be upgraded | |
| US11062681B2 (en) | Monitoring system, data model management device, and method of generating display data | |
| CN112714010B (en) | Network topology management method and device, expansion unit and storage medium | |
| KR20170015262A (en) | A method for automatically associating a module to a corresponding inverter, and related module and power generation system | |
| CN103118156A (en) | Alarm clock setting method and corresponding device | |
| CN109542983A (en) | A data synchronization method, apparatus, device and readable storage medium | |
| CN109597728B (en) | Control method and device of test equipment and computer readable storage medium | |
| EP4354297B1 (en) | Data integrity processing method and apparatus, and electronic device | |
| CN107835097B (en) | Alarm information synchronization method and device, and network element |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |